5.2 Permutations and combinations
Permutations and combinations
| Term | Means | Formula |
|---|---|---|
| Permutation | Order matters | |
| Combination | Order does not matter |
Arrangements in a line
different objects can be arranged in ways. Picking and arranging of them gives ways.
Repeated objects
If some objects are the same, divide by the factorial of each repeat, since swapping them changes nothing.
There are 8 letters, with E three times and S twice:
Things that must be together
Glue the group into a single block, arrange the blocks, then arrange inside the block.
Treat the pair as one, giving 5 objects: ways. The pair can swap: ways.
Treat EEE as one block, giving 6 objects with S repeated. The block has no internal order, since the Es are the same.
Things that must be apart
There are two methods.
Total minus together, which works for a pair:
Filling the gaps, which works for several items that must be apart. Arrange the others first, then place the separated items in the gaps.
Arrange the boys: ways. This leaves 5 gaps, counting the two ends, and the 3 girls go into different gaps: ways.
Items in fixed positions
Fill any restricted positions first.
The two Ss are placed. The other 6 letters include EEE, so .
Selections
Multiply when you are making one choice and then another. Add when listing separate cases.
"At least" and "at most"
It is quicker to subtract the all-men committees from the total:
List the cases: 3 men and 2 women, or 4 men and 1 woman.
People who must or must not be together in a selection
If two people must both be on the committee, include them and choose the rest from those left. If they refuse to serve together, take the total minus the selections with both.
With both: . So the number allowed is .
Selections from repeated letters
If letters are repeated, split the cases by how many of the repeated letter you use.
The letters are N, E, E, E, D, L, S, S. List by the number of Es, and within each, the number of Ss, with the rest from N, D, L.
| Es | Ss | Others | Number |
|---|---|---|---|
| 0 | 0 | 4 from 3 | Not possible |
| 0 | 1 | 3 from 3 | 1 |
| 0 | 2 | 2 from 3 | 3 |
| 1 | 0 | 3 from 3 | 1 |
| 1 | 1 | 2 from 3 | 3 |
| 1 | 2 | 1 from 3 | 3 |
| 2 | 0 | 2 from 3 | 3 |
| 2 | 1 | 1 from 3 | 3 |
| 2 | 2 | 0 from 3 | 1 |
| 3 | 0 | 1 from 3 | 3 |
| 3 | 1 | 0 from 3 | 1 |
The total is 22.

