๐ Everything, one last time
Choices: multiply the slots (3 ร 4 = 12) All in a line: n! (4! = 24) Some, in order: P(n, r) (P(8, 3) = 336) Some, any order: C(n, r) = P รท r! (C(8, 3) = 56)
The recap:
- ยทCounting principle: one choice AND another โ multiply. Each option
pairs with EVERY option of the other kind. - ยทFactorial: n things in a line โ n!. It grows terrifyingly fast.
- ยทPermutation: some of them, order matters โ start at n and multiply
r decaying numbers. - ยทCombination: order doesn't matter โ the permutation counted each
group r! times, so divide the clones out. - ยทNot sure which? The swap test: swap two chosen things โ different
result means P, same result means C. - ยทRules on slots: fill the picky slot FIRST, then decay.
- ยท"At least one": total โ none. OR-cases that don't overlap: add.
- ยทGrids: each corner = left + below. (Secretly a combination!)
The magic sentence:
Multiply the slots. If order matters, keep the clones; if it doesn't, divide them out.
Say it three times. That sentence โ plus the swap test and picky-slots-first โ solves nearly every counting problem you'll meet for years.
And here's the secret payoff: combinatorics is the engine under probability. Every probability is "count what you want รท count everything" โ and now you can count HUGE spaces without listing a single one. How likely is one exact 5-card hand out of a deck? Count the hands: C(52, 5) = 2,598,960. One in about two and a half million. You just counted millions of things without listing one. That's the whole lesson.