Counting principles let you find how many outcomes exist without listing them. The addition principle handles "or" choices that can't happen together. If you pick one item from 5 shirts or 3 hats, you have 5+3=8 choices. The multiplication principle handles "and" choices made in stages. A shirt and a hat give 5×3=15 outfits.
Permutations count arrangements where order matters. Arranging all n distinct objects gives n! ways, and arranging r of them gives P(n,r)=(n−r)!n!.
Combinations count selections where order doesn't matter, using C(n,r)=(rn)=r!(n−r)!n!. Each group of r items can be ordered r! ways, so C(n,r)=r!P(n,r).
Worked example. A club has 10 members. Electing a president, vice president and secretary means the positions are different, so order matters, and P(10,3)=10⋅9⋅8=720. Picking a 3-person committee means order doesn't matter, so C(10,3)=3!720=120.
Two extra cases come up often. When letters repeat, divide by the factorial of each repeat count, so BOOK has 2!4!=12 arrangements. A set with n elements has 2n subsets, counting the empty set, because each element is either in or out.
- Multiplication principle: If the first choice has mmm options and each first choice allows nnn second choices, making both choices gives m×nm \times nm×n outcomes.
- Permutation: An arrangement of objects in which order matters, counted by P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!}P(n,r)=(n−r)!n!.
- Combination: A selection of objects in which order doesn't matter, counted by (nr)=n!r!(n−r)!\binom{n}{r} = \frac{n!}{r!(n-r)!}(rn)=r!(n−r)!n!.
Check yourself: How many 4-digit PINs are possible if digits can repeat? (Answer: 10×10×10×10=10,000)
| Question to ask | Permutation | Combination |
|---|
| Does order matter? | Yes | No |
| Formula | $\frac{n!}{(n-r)!}$ | $\frac{n!}{r!(n-r)!}$ |
| Typical wording | Arrange, rank, assign roles, line up | Choose, select, form a group or committee |
| 10 people, pick 3 | 720 (president, VP, secretary) | 120 (a committee of 3) |