CSCA Mathematics · Calculus & Statistics · Section 8 of 12
Combinations & Permutations
Counting is the foundation of probability. Two key tools: permutations (order matters) and combinations (order does not matter).
The two counting principles
- Multiplication principle (分步乘法计数原理): if a job is done in two steps, with m ways for step 1 and n ways for step 2, there are m × n ways.
- Addition principle (分类加法计数原理): if a job can be done by one of two separate methods (cases), with m ways and n ways, there are m + n ways. E.g. going by one of 3 trains or one of 2 buses: 3 + 2 = 5 ways; a train and then a bus: 3 × 2 = 6 ways.
Factorial: n! = n × (n-1) × … × 2 × 1. By convention, 0! = 1.
Permutations (Order Matters)P(n, r) = n! / (n-r)! — the number of ways to arrange r items from n. Chinese textbooks write this as Aₙʳ (排列数), e.g. A₅³ = 60, and the combination number as Cₙʳ (组合数), e.g. C₁₀³ = 120; Cₙʳ = Aₙʳ / r!.
Example: How many 3-letter "words" with no letter repeated from {A,B,C,D,E}? P(5,3) = 5!/(5-3)! = 120/2 = 60. (With repeats allowed it would be 5 × 5 × 5 = 125.)
Combinations (Order Doesn't Matter)C(n, r) = n! / (r!(n-r)!) — also written (n choose r) or ⁿCᵣ.
Example: Choose 3 people from 10 for a committee: C(10,3) = 10!/(3!7!) = 120.
When to Use Which?
- Does the order of selection matter (e.g., president, VP, secretary)? → Permutation.
- Is it just a group with no positions (e.g., committee)? → Combination.
Key Properties
- C(n, 0) = C(n, n) = 1.
- C(n, r) = C(n, n-r) — choosing r to include = choosing n-r to exclude.
Key takeaway: Permutation P(n,r) = n!/(n-r)! when order matters. Combination C(n,r) = n!/(r!(n-r)!) when order does not matter. Ask: "Does order matter?"
Key Formulas
P(n,r) = n!/(n-r)! | C(n,r) = n!/(r!(n-r)!)
n! = n(n-1)...1 | 0! = 1
Worked Example 1
Example 1: How many ways to arrange 4 books on a shelf from 7 books?
Order matters (left to right). P(7,4) = 7!/3! = 7×6×5×4 = 840.
Worked Example 2
Example 2: Choose 5 students from 12 for a team.
Order doesn't matter. C(12,5) = 12!/(5!·7!) = 792.
Worked Example 3
Example 3: A pizza menu has 8 toppings. How many 3-topping pizzas?
C(8,3) = 8!/(3!5!) = 56.
Exam Tips
Ask yourself: "Would rearranging the selected items give a DIFFERENT result?" If yes → permutation. If no → combination.
C(n,r) = C(n,n-r) can simplify calculations: C(20,18) = C(20,2) = 190.
Common Mistakes
Using permutations when combinations are needed: Choosing a team of 3 from 10 is C(10,3) = 120, not P(10,3) = 720.
Forgetting 0! = 1: C(5,5) = 5!/(5!·0!) = 1, not 0.
Try This Yourself
How many ways can a committee of 4 be chosen from 9 people?
Show the answer
C(9,4) = 9!/(4!5!) = 126.