Arrangements with identical elements
Count arrangements of objects where some are identical by dividing by the arrangements of each identical group, including words with repeated letters and patterns of two kinds of object.
How many different "words" can be made from the letters of BANANA? It isn't $6!$, because swapping two of the A's gives the same word. This section fixes the overcount, and the formula it produces is the one behind combinations in the next section.
Dividing out the repeats
Pretend for a moment the letters are all different: $\text{B}\,\text{A}_1\,\text{N}_1\,\text{A}_2\,\text{N}_2\,\text{A}_3$. There are $6! = 720$ arrangements. Now take any real word, such as ANABAN. The three A's can be labelled in $3! = 6$ ways and the two N's in $2! = 2$ ways, all giving the same word. So every real word was counted $3! \times 2! = 12$ times.
$$\text{words from BANANA} = \frac{6!}{3!\,2!} = \frac{720}{12} = 60$$
Here $n$ is the total number of objects, and $r_1, r_2, \ldots$ are the sizes of the groups of identical objects. A single letter contributes $1! = 1$, so it can be left out.
How many arrangements are there of the letters of COMMITTEE?
Restrictions still work
All the principles from 4B and 4C still apply: fix the restricted letters first, or tie letters together, then use the formula on what's left.
How many arrangements of BANANA (a) begin with B, (b) have all three A's together?
Just two kinds of object
Patterns of two kinds, such as heads and tails, or yes and no answers, come up all the time.
- A row of $n$ places, each filled with one of two kinds: $2^n$ patterns (two choices in each box).
- Exactly $r$ of one kind and $n - r$ of the other: $\dfrac{n!}{r!\,(n - r)!}$ patterns.
A coin is tossed $10$ times. How many sequences of results are there? How many have exactly $4$ heads?
The same count gives the number of shortest paths on a grid. To go $5$ blocks east and $3$ blocks north, every route is an arrangement of EEEEENNN, so there are $\dfrac{8!}{5!\,3!} = 56$ routes.
Using only some of the letters
When you use only some of the letters, the repeats you end up with depend on which letters you choose. So split into cases by which letters are used.
How many 4-letter words can be made from the letters of BANANA?
Your turn
The letters of PARALLEL are arranged in a row. How many arrangements start and end with L?
Show the working
Put an L at each end. The six letters left are P, A, R, A, L, E: two A's alike. So $\dfrac{6!}{2!} = 360$.
How many arrangements are there of the letters of BANANA?
$6$ letters, with $3$ A's and $2$ N's: $\dfrac{6!}{3!\,2!} = \dfrac{720}{12} = 60$.
How many arrangements are there of the letters of ELEVEN?
$6$ letters with $3$ E's: $\dfrac{6!}{3!} = 120$.
The number of arrangements of MISSISSIPPI is:
There are $4$ S's, $4$ I's and $2$ P's. Divide by $4!\,4!\,2!$, which gives $34\,650$.
A coin is tossed $10$ times. How many sequences have exactly $4$ heads?
Arrangements of $4$ H's and $6$ T's: $\dfrac{10!}{4!\,6!} = 210$.
How many shortest routes are there on a grid from one corner to a point $5$ blocks east and $3$ blocks north?
Each route is an arrangement of $5$ E's and $3$ N's: $\dfrac{8!}{5!\,3!} = 56$.
How many arrangements of BANANA begin with B?
Arrange A, A, A, N, N after the B: $\dfrac{5!}{3!\,2!} = 10$.
How many arrangements of BANANA have all three A's together?
Tie AAA into one block. Arrange the block, B, N, N: $\dfrac{4!}{2!} = 12$. There's no extra factor, since swapping identical A's inside the block changes nothing.
How many arrangements of ELEVEN do not start with E?
Total $\dfrac{6!}{3!} = 120$. Starting with E: arrange L, E, V, E, N after it, $\dfrac{5!}{2!} = 60$. So $120 - 60 = 60$ do not.
Exam style: the letters of PARALLEL are arranged in a row. How many arrangements start and end with L?
Fix an L at each end. Arrange P, A, R, A, L, E in between: $\dfrac{6!}{2!} = 360$.
Exam style: how many 4-letter words can be made using letters of BANANA (no letter used more often than it appears)?
Cases by the letters used: AAAN ($4$), AAAB ($4$), AANN ($\tfrac{4!}{2!2!} = 6$), AANB ($\tfrac{4!}{2!} = 12$), ANNB ($12$). Total $38$.
Coaching Centre