๐ Key idea of this section
P(n, r) = n ร (nโ1) ร ... (r numbers) = n! รท (nโr)! P(8, 3) = 8 ร 7 ร 6 = 336
Eight runners race. How many ways can the gold, silver, and bronze medals be given out?
Careful โ this is NOT 8!. We're not lining up all 8 runners; only 3 medals exist. But the slot method doesn't mind:
___ ___ ___ ๐ฅ ๐ฅ ๐ฅ
- ยทGold: 8 choices
- ยทSilver: 7 choices (whoever didn't win gold)
- ยทBronze: 6 choices
8 ร 7 ร 6 = 336 podiums โ
An arrangement where ORDER MATTERS is called a permutation โ "Ana gold, Ben silver" is a different result from "Ben gold, Ana silver." The count has a name and a formula:
P(n, r) = the number of ways to arrange r things chosen from n P(8, 3) = 8 ร 7 ร 6 = 336
Notice the pattern: start at n and multiply r descending numbers. P(8, 3) has three factors because there are three medals. P(7, 2) = 7 ร 6 = 42 โ two factors, two slots.
There's also a slick factorial form:
P(n, r) = n! / (nโr)!
Why does that work? 8! would line up ALL 8 runners. The medal problem only cares about the first 3 slots โ every arrangement of the 5 non-medalists standing behind them is a clone of the same podium. There are 5! ways to shuffle those clones, so divide them out:
8! / 5! = 40,320 / 120 = 336 โ
The factorials even cancel on paper: (8 ร 7 ร 6 ร 5 ร 4 ร 3 ร 2 ร 1) รท (5 ร 4 ร 3 ร 2 ร 1) = 8 ร 7 ร 6. Canceling beats computing 40,320 every time.
The slot method and the formula are the same machine โ use whichever feels friendlier. Just remember the decay: no repeats allowed, so every slot has one fewer choice than the one before.
โ๏ธ Your Turn!
A club has 9 members. How many ways can it choose a president and a vice-president? (Different jobs โ order matters!)
๐ Show the answers
Answer: P(9, 2) = 9 ร 8 = 72. Two slots, decay by one each time.