Two questions decide almost everything: does order matter? and can things repeat? This section covers the case with no repetition. (Repetition is 6.5.)
Permutations
A permutation of a set of distinct objects is an ordered arrangement of them. An -permutation is an ordered arrangement of of them.
In particular and .
- 4 of 6 students standing in a line: .
- 1st, 2nd, 3rd prize among 50 contestants: .
- Permutations of ABCDEFG containing EFG as a substring: glue EFG into one block, giving 5 units, so .
Combinations
An -combination is an unordered selection (a subset) of elements.
Build an -permutation in two steps: choose the objects ( ways), then arrange them ( ways). So
Symmetry: . Choosing who's in is the same as choosing who's out. That's why 5-card hands and 47-card hands from 52 cards are equal in number.
| Order matters | Order doesn't matter | |
|---|---|---|
| Words that signal it | arrange, line up, ranking, 1st/2nd/3rd, officers with titles, strings | committee, subset, hand of cards, team, group, choose |
| Count |
Standard patterns
A length- bit string with exactly ones is determined by which positions hold the 1s: .
- "At most ":
- "At least ": , using the complement when that is shorter.
Same for coin flips (heads = 1).
- Required substring(s): glue each into a block and permute the blocks plus the leftover letters.
- Two required substrings that overlap (share letters, like ABC and CDE): merge them into one block (ABCDE).
- Two required substrings that conflict (like CBA and BED, where B would need two different followers): the answer is .
Arrange the others first, then choose gaps for the X's. With others there are gaps (including both ends), and you place the X's into distinct gaps.
8 men and 5 women, no two women adjacent: .
- Exactly from group 1 and from group 2: (product rule).
- At least one woman: .
- At least one woman and at least one man: .
for "at least one woman" counts committees with 2 women twice, once for each woman picked first. Use the complement.
Seating of people around a table, rotations equal: . This is the division rule from 6.1.
Combinatorial proofs
A combinatorial proof shows an identity by explaining that both sides count the same set (double counting), or by building a bijection.
Example: . Both sides count the -subsets of an -set: the left chooses the members, the right chooses the non-members.
Arithmetic without a calculator
- , ,
- Row 5: 1, 5, 10, 10, 5, 1
- Row 6: 1, 6, 15, 20, 15, 6, 1
- Row 8: 1, 8, 28, 56, 70, 56, 28, 8, 1
- Row 10: 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1
- (e.g. )
To compute by hand, write and cancel before multiplying. Example: .
Your notes write . The bottom should be , i.e. . Everything else matches.
Exam checklist
- Decide permutation vs. combination from the wording.
- Compute and by hand (cancel first!).
- Bit strings or coin flips with exactly / at most / at least .
- Substring problems (glue blocks; overlaps merge; conflicts give 0).
- No-two-adjacent problems (gap method).
- Committees with "exactly" and "at least" constraints.