Back to homeMathematics · 5th Year OL · Change subject
Start for free
5th Year OL · Mathematics
Combinatorics · Combinatorics

Arrangements

Before you start, make sure you know: Quadratic equations (3rd Year, Junior Cycle)

Arranging all n distinct objects can be done in $n!$ ways. But many situations are different: arranging only some of them. In how many ways can the gold, silver and bronze medals be awarded among 8 athletes at a Dublin schools' athletics meet? You are not arranging all 8, just choosing 3 and placing them in 3 positions. That is an arrangement of 3 objects from 8.

Arrangements without repetition

You reason as with $n!$, but you stop at the $r$-th factor instead of going all the way down to 1: for the first position there are $n$ options, for the second $n-1$, and so on until position $r$, where there are $n-r+1$ options left.

$$^nP_r = n \times (n-1) \times (n-2) \times \cdots \times (n-r+1) = \frac{n!}{(n-r)!}$$

If $r = n$ you arrange everything: $n!$ ways. For example, 5 friends sitting in 5 seats can do so in $5! = 120$ ways, and in 4 seats in ${}^5P_4 = 5 \times 4 \times 3 \times 2 = 120$ ways.

Product of r decreasing factors from n down to n minus r plus 1 to calculate arrangements without repetition. n n−1 ··· n−r+1 only r factors: you stop before reaching 1
Practice★☆☆Not started
Five friends go to the cinema and find a row with $4$ consecutive empty seats. In how many different ways can they sit to watch the film?

Five friends go to the cinema and find a row with $4$ consecutive empty seats. In how many different ways can they sit to watch the film?

Solve
Practice★☆☆Not started
In a $100\text{ m}$ flat race, $8$ athletes participate. In how many different ways can the gold, silver, and bronze medals be awarded, knowing that there can be no ties?

In a $100\text{ m}$ flat race, $8$ athletes participate. In how many different ways can the gold, silver, and bronze medals be awarded, knowing that there can be no ties?

1º 2º 3º
Solve
Practice★☆☆Not started
A book club has $9$ members. They need to choose a committee consisting of a chairperson, a vice-chairperson, and a secretary. As the positions are distinct and each…

A book club has $9$ members. They need to choose a committee consisting of a chairperson, a vice-chairperson, and a secretary. As the positions are distinct and each person can only hold one, in how many ways can the committee be formed?

Solve

Arrangements with repetition

What if the same element can appear more than once in the sequence? When you roll a die 4 times in a row, the result of each roll does not depend on the previous ones: a "6" can come up all 4 times. You no longer remove options at each stage.

$$\text{number of sequences} = n^r$$

Each of the $r$ positions always has the same $n$ options available, because nothing is "used up": it is the fundamental principle of counting with the same factor repeated $r$ times.

Representation of r successive boxes with n independent options each, illustrating the product n to the power r in arrangements with repetition. n n ··· n r positions, always the same n options = n^r
Practice★☆☆Not started
We roll a traditional $6$-sided cubic die $4$ consecutive times and record the result of each roll in order. How many different outcomes can we obtain in total?

We roll a traditional $6$-sided cubic die $4$ consecutive times and record the result of each roll in order. How many different outcomes can we obtain in total?

Solve
Practice★☆☆Not started
We want to paint $3$ postboxes lined up in a street. We have $4$ different colours available (red, green, blue, and yellow). If we can repeat colours on different…

We want to paint $3$ postboxes lined up in a street. We have $4$ different colours available (red, green, blue, and yellow). If we can repeat colours on different postboxes, in how many different ways can we paint them?

Solve
Practice★★☆Not started
A country's number plate system consists of a block of $4$ digits (from $0$ to $9$) followed by a block of $2$ letters chosen from an alphabet of $20$ consonants. In…

A country's number plate system consists of a block of $4$ digits (from $0$ to $9$) followed by a block of $2$ letters chosen from an alphabet of $20$ consonants. In both blocks, repetition of characters is permitted. How many different number plates can be issued in total with this format?

Solve
Practice★★☆Not started
In Morse code, letters are represented by sequences of dots and dashes. How many different signals can be formed using a maximum of $3$ symbols per signal?

In Morse code, letters are represented by sequences of dots and dashes. How many different signals can be formed using a maximum of $3$ symbols per signal?

1st symbol 2nd symbol 3rd symbol 2³ = 8 (only 3-symbol signals)
Solve

Which counting method?

Before applying a formula, ask: can objects be repeated? Are all the objects used or only some of them? Does the order matter?

Decision tree for classifying a problem as variations, permutations or combinations according to repetition and order. Are elements repeated? no yes does order matter? yes → nPr = n!/(n-r)! no → selecting does order matter? yes → n^r no → beyond course

If repeats were allowed, each wheel would have all 10 digits: $10^4 = 10{,}000$ codes. The difference, $10{,}000 - 5{,}040 = 4{,}960$, is the number of codes with at least one repeated digit.

Practice★☆☆Not started
To access her high school gym locker, Aoife must set a secret code of $3$ distinct digits chosen exclusively from prime numbers less than $10$, that is, from the set…

To access her high school gym locker, Aoife must set a secret code of $3$ distinct digits chosen exclusively from prime numbers less than $10$, that is, from the set $\{2, 3, 5, 7\}$. Her classmate Cian states: "Since the order of the digits matters and we have $4$ elements to form groups of $3$, the total number of possible codes is $VR_{4,3} = 4^3 = 64$."

  1. a) Find the conceptual error made by Cian and clearly explain which condition from the statement he ignored.
  2. b) Correct his approach by deducing the appropriate formula and calculate the actual number of distinct codes that Aoife can program.
Solve
Practice★★☆Not started
A bicycle security lock has $3$ independent wheels, each numbered from $0$ to $9$. Calculate the difference between the total number of possible combinations (allowing…

A bicycle security lock has $3$ independent wheels, each numbered from $0$ to $9$. Calculate the difference between the total number of possible combinations (allowing repetition) and the number of combinations in which all three digits must be strictly distinct.

7 0 4
Solve
Practice★★★Not started
To access a secure database, a $5$-character password is required. For security reasons, the system requires the first two characters to be vowels (repetition is…

To access a secure database, a $5$-character password is required. For security reasons, the system requires the first two characters to be vowels (repetition is allowed) and the last three characters to be numbers from $0$ to $9$ (with none repeated). How many different passwords satisfy this format?

Solve

Restrictions on positions

Sometimes one position has a condition, for example "the number must be even" or "the first digit cannot be 0". Fill the restricted position first, then fill the others with what is left.

Practice★★☆Not started
Using the digits $\{1, 2, 3, 4, 5, 6, 7\}$, how many even $3$-digit numbers can be formed if repeating digits in the same number is not allowed?

Using the digits $\{1, 2, 3, 4, 5, 6, 7\}$, how many even $3$-digit numbers can be formed if repeating digits in the same number is not allowed?

Solve
Practice★★☆Not started
How many $4$-digit numbers can be formed using the digits $\{1, 2, 3, 4, 5\}$ (repetition allowed) that are strictly greater than $3000$?

How many $4$-digit numbers can be formed using the digits $\{1, 2, 3, 4, 5\}$ (repetition allowed) that are strictly greater than $3000$?

Solve
Practice★★★Not started
How many numbers with $4$ distinct digits can be formed using only the digits $\{0, 1, 2, 3, 4, 5\}$? Note that, by definition, a valid number cannot start with the…

How many numbers with $4$ distinct digits can be formed using only the digits $\{0, 1, 2, 3, 4, 5\}$? Note that, by definition, a valid number cannot start with the digit $0$.

Solve
Practice★★★Not started
We want to form $4$-digit numbers with distinct digits using only the digits $\{1, 2, 3, 4, 5, 6, 7\}$, with the essential condition that the resulting number must be…

We want to form $4$-digit numbers with distinct digits using only the digits $\{1, 2, 3, 4, 5, 6, 7\}$, with the essential condition that the resulting number must be even. Two students debate the best strategy to count them:

  • Seán's strategy (direct method): "First, we fix the last digit, which must be even ($\{2, 4, 6\}$), and then we complete the other $3$ positions by choosing and arranging digits from the remaining $6$".

  • Aoife's strategy (complementary method): "We calculate all possible $4$-digit numbers with distinct digits without restrictions and subtract those that end in an odd digit".

  1. a) Fully work out both methods by applying the corresponding permutation (variation) formulas and verify that they yield exactly the same total number.
  2. b) If we added a second simultaneous restriction: "the number must be even and also greater than $5\,000$", analyze with reasoning which of the two methods would be more convenient and describe what added difficulties the discarded method would present.
Solve
Practice★★★Not started
A palindrome number is one that reads the same forwards and backwards (for example, $35853$). How many $5$-digit palindrome numbers can be formed using only the digits…

A palindrome number is one that reads the same forwards and backwards (for example, $35853$). How many $5$-digit palindrome numbers can be formed using only the digits from $1$ to $9$?

Solve
Practice★★★Not started
A flag with $4$ vertical stripes is to be designed. There are $5$ different colours available. In how many ways can the flag be coloured if the only condition is that…

A flag with $4$ vertical stripes is to be designed. There are $5$ different colours available. In how many ways can the flag be coloured if the only condition is that two adjacent stripes cannot have the same colour?

F1 F2 F3 F4
Solve

Equations with arrangements

In inverse problems, you know the result of ${}^nP_r$ or $n^r$ and have to find $n$. It is usually enough to expand the formula and solve the resulting equation, trying small values if necessary.

Step-by-step algebraic working to solve an equation with variations by simplifying factorials. nP2 = n·(n-1) = 90 9·8=72 10·9=90 ✓ try consecutive natural-number values
Practice★★☆Not started
The IT department of a school is creating temporary access identifiers for students. The codes are generated by arranging $k$ distinct digits chosen from the set of odd…

The IT department of a school is creating temporary access identifiers for students. The codes are generated by arranging $k$ distinct digits chosen from the set of odd numbers $\{1, 3, 5, 7, 9\}$, without repeating any digit within the same code.

  1. a) If the server has registered exactly $60$ total possible identifiers, set up an equation using the definition of permutations (variations) without repetition where the unknown is the length $k$ of the code, and find its value with reasoned steps.
  2. b) If the security rules changed and repeating digits were now permitted while maintaining the same length $k$ found in the previous section, how many total codes could be created? Compare both results by calculating how many additional identifiers are gained, and explain why repetition increases the options.
Solve
Practice★★★Not started
In a chess tournament, a double round-robin is played (each player faces all the others twice, alternating the colour of the pieces). If a total of $90$ games were…

In a chess tournament, a double round-robin is played (each player faces all the others twice, alternating the colour of the pieces). If a total of $90$ games were played, set up the corresponding equation using the formula for variations (arrangements) and find how many players participated in the tournament.

Solve
Practice★★★Not started
Given that the number of variations with repetition of $x$ elements taken $2$ by $2$ exceeds by $12$ the number of variations without repetition of the same $x$ elements…

Given that the number of variations with repetition of $x$ elements taken $2$ by $2$ exceeds by $12$ the number of variations without repetition of the same $x$ elements taken $2$ by $2$, set up the corresponding mathematical equation and find the value of $x$.

Solve

Summary

See all the exercises in this section