2.7.10 · D3Statistics & Probability — Intermediate

Worked examples — Permutations — nPr, arrangements with restrictions

2,732 words12 min readBack to topic

Before we start, one reminder of the ONE tool underneath everything: the multiplication principle from Fundamental Counting Principle"if a first choice can be made in ways and a following choice in ways, the pair can be made in ways." Every count below is just this, applied slot by slot.


The scenario matrix

Think of each permutation problem as landing in exactly one cell of this table. The rightmost column names the worked example (E1–E9) that lands there.

# Case class What makes it tricky Covered by
A Plain just fill slots E1
B Degenerate: or empty arrangement / all objects; needs E2
C Degenerate: asking the impossible → count is E2
D Restricted slot (fill forced first) a position accepts only some objects E3
E Together (glue block) must remember internal E4
F Apart (gaps method) count gaps as E5
G Fixed ends / both ends forced two constraints at once E6
H "At least" / forbidden (complement) count total − bad E7
I Real-world word problem translate words → slots E8
J Exam twist (mixed patterns + parity) two restrictions interacting E9

Every cell A–J gets solved below. If you can do all nine, you have literally seen every shape this topic takes.


E1 — Cell A · Plain


E2 — Cells B & C · The degenerate inputs

These are the cases students skip and then lose easy marks on. We take all three at once.


E3 — Cell D · Restricted slot, fill the forced position first


E4 — Cell E · Together (glue the block)


E5 — Cell F · Apart (gaps method)


E6 — Cell G · Both ends fixed (two constraints)


E7 — Cell H · "At least" via complement


E8 — Cell I · Real-world word problem


E9 — Cell J · Exam twist (mixed patterns + parity)


Recall Which cell am I in? (quick triage)

Is ? ::: Answer is (E2, cell C). Is or ? ::: Answer is or — remember (E2, cells B). One position accepts only some objects? ::: Fill that slot first (E3, cell D). Objects must be adjacent? ::: Glue into a block, times internal (E4, cell E). Objects must all be separated? ::: Gaps method, gaps (E5, cell F). Two forced ends? ::: Fill both, check if they share objects (E6/E9, cells G/J). "At least" / "or" / "not"? ::: Complement or inclusion–exclusion (E7/E8, cells H/I). Two restrictions fight over the same digits? ::: Case-split on the shared resource, then add (E9, cell J).


Connections

  • Fundamental Counting Principle — every multiply-the-choices step here is this rule.
  • Combinations — nCr — use when order stops mattering (E1's contrast).
  • Factorials and 0! — makes the degenerate cells B work ().
  • Circular Permutations — the row problems above become in a ring.
  • Permutations with Repetition — drop the "no repeats" and counts change.
  • Probability — Equally Likely Outcomes — the fractions in our "Verify" steps are exactly these probabilities.