Statistics · Probability
1 / 10
Permutations and combinations
Counting arrangements and selections — factorials, arrangements with repeated items, ordered selections (nPr), unordered selections (nCr), and the standard restriction tricks: objects kept together, objects separated, and "at least" counts built case by case or by complement.
Statistics · Probability
Permutations and combinations
Counting arrangements and selections — factorials, arrangements with repeated items, ordered selections (nPr), unordered selections (nCr), and the standard restriction tricks: objects kept together, objects separated, and "at least" counts built case by case or by complement.
Why it works
Arrangements. different objects can be arranged in a line in ways: choices for the first position, for the second, and so on. That "multiply the choices" idea is the whole subject; everything else is bookkeeping.Repeated objects. If some objects are identical, arrangements that only swap identical objects look the same, so the count shrinks. With objects of which are alike of one kind, alike of another, …: For BANANA ( letters: three As, two Ns): .
Ordered selections — permutations. Choosing objects from *and arranging them in order*:
Unordered selections — combinations. Choosing from when order does not matter divides out the orderings of each chosen set: The test for which to use: *would swapping two chosen items give a different outcome?* A committee is the same committee in any order (); a 4-digit code is not ().
Restrictions — the three standard moves.
- Together: tie the items that must be together into one block, arrange the
- Apart (no two adjacent): arrange the others first, then slot the restricted
- "At least" counts: either add the cases ( girls girls )
Positions with special rules go first. For even numbers, fix the last digit first; for numbers that must not start with , fix the first digit first. Fill the most constrained slot, then multiply out the rest.