Visual walkthrough — Permutations — nPr, arrangements with restrictions
This page is a slow-motion replay of the parent note's central derivation. If a symbol appears, we define it first.
Step 1 — What are we even counting?
WHAT. We have a set of distinct objects. "Distinct" just means you can tell them apart — like 5 different letters , not 5 identical marbles. We want to line up some of them in a row of positions, and we care about the order.
WHY. Order is the whole point of a permutation. The row is a different line-up from , even though the same two letters were used. If we did not care about order, we'd be selecting a group, which is a different subject (Combinations — nCr).
PICTURE. Look at the figure: the same two tiles placed in two orders give two different arrangements. That "two different pictures from the same tiles" is exactly why order matters.

Step 2 — The one rule underneath everything: multiply the choices
WHAT. Suppose the first position can be filled in ways, and for each of those, the second position can be filled in ways. Then the number of complete rows is .
WHY. This is the Fundamental Counting Principle: when you make one decision and then another, the totals multiply (you don't add them). Think of it as a branching tree — each first choice sprouts a full set of second choices.
PICTURE. The tree below starts with branches. Each branch splits into . Counting the leaves at the bottom gives — every leaf is one finished arrangement.

Step 3 — Watch the choices shrink, position by position
WHAT. Now fill positions from distinct objects, no repeats (once a letter is used, it's gone). Fill left to right and record how many are still available at each step.
WHY. "No repeats" is what makes the count drop by exactly one each time. That single shrinking-by-one behaviour is the engine of the whole formula.
PICTURE. The row of boxes below shows the available count above each box: , then , then , … The pool of leftover tiles on the right physically shrinks by one tile per box.

| Position | Available choices | Why one fewer? |
|---|---|---|
| 1st | nothing used yet | |
| 2nd | one object is now placed | |
| 3rd | two are placed | |
| -th | already placed |
Step 4 — Multiply the boxes: the raw formula
WHAT. Apply Step 2's multiply-rule across all the boxes from Step 3:
WHY. Each box is an independent decision given the ones before it, so by the counting principle their choice-counts multiply. The symbol (read " permute ") is just a name for this product.
PICTURE. The figure stacks the boxes and draws a big between them, with the descending numbers written in. It's the product, made visible.

Step 5 — Compress it with factorials (the clever trick)
WHAT. A factorial means "multiply every whole number from down to ": . Our raw product stops early — it stops at and never reaches the "tail" .
WHY. We want a tidy closed form. Trick: multiply and divide by the missing tail . Multiplying and dividing by the same thing changes nothing, but it lets the top become a full factorial.
PICTURE. Below, the full ladder is drawn top to bottom. The coral part is the piece we actually want (); the mint part is the leftover tail . Dividing chops the mint tail off.

Let's verify on our running example, :
Step 6 — Edge case A: filling every position ()
WHAT. What if you arrange all the objects, so ? The formula gives
WHY. We need to make sense. The rule is (see Factorials and 0!). With that, — arranging all objects has orders, which is exactly what Step 4 predicts (the boxes count down ).
PICTURE. The figure fills all boxes; the leftover pool becomes empty, and the descending numbers reach all the way down to .

Step 7 — Edge case B: filling no position ()
WHAT. Fill zero positions:
WHY. There is exactly one empty arrangement — the blank row. Not zero (that would mean "impossible"); doing nothing is one valid outcome. The formula agrees: top and bottom are identical, so they cancel to .
PICTURE. An empty row of no boxes, labelled "1 way: the empty line-up." The full pool sits untouched on the side.

Recall Quick self-test
Why is and not ? ::: Because "arrange nothing" is possible in exactly one way (the empty arrangement); would mean impossible. What is ? ::: , since .
The one-picture summary
Everything above, compressed into a single diagram: row of boxes → shrinking choices → multiply → cancel the unused tail → clean formula. Trace it left to right.

Recall Feynman retelling — explain the whole walkthrough to a 12-year-old
Picture lining up friends for a photo but you only have room for a few of them. For the first spot in the row, any friend can stand there — that's a lot of choices, call it . Once one is standing, they're used up, so the next spot has one fewer friend to pick, then one fewer again. To count all possible photos you just multiply "how many are left" at each spot — because each first choice carries a whole fresh set of second choices (that's the branching tree). Multiply the boxes and you get a chain like . Mathematicians like tidy formulas, so they notice this chain is just the top part of (the full countdown down to ) with the bottom part chopped off. To chop it cleanly they divide by the factorial of "the friends who didn't make it into the photo," . That gives the neat . And the weird cases behave: photograph everyone and you get (because dividing by does nothing); photograph no one and there's exactly one way — the empty photo.
Connections
- Fundamental Counting Principle — Step 2's multiply-rule is this principle.
- Factorials and 0! — Steps 5–7 lean on .
- Combinations — nCr — when order stops mattering, divide by : .
- Circular Permutations — same shrinking idea, bent into a ring.
- Permutations with Repetition — what changes when objects aren't all distinct.
- Probability — Equally Likely Outcomes — these counts become numerators and denominators.