Stand Up & Math · Teacher Answers

Gridlock

Not for distribution · Arrangements with repeats · Lattice paths · Full worked solutions
🔐 Student Activity Unlock Codes (case-insensitive)
Phase 1 → 2
TWINNED
Phase 2 → 3
CROSSTOWN
Phase 3 → 4
DETOUR
Phase 4 → Done
PASCAL
🎯 Why this activity is built this way

Same recipe as The Starting Five: the first idea in each phase (divide by the repeats, a route is a word, subtract the roadblock routes, add the neighbours’ labels) is quick to find, and the weight sits in the proofs, in combining two conditions without double counting, and in Task 3e, where intuition (“close the middle”) turns out to be wrong. Phase 2 reuses The Starting Five in a new costume: a route is at once an arrangement with repeats and a selection of positions. Phase 4 proves Pascal’s rule a second time. Do not accept “it worked for a few grids” as a proof. Hint ladders are for you only: one rung at a time, only if a group is stuck on the idea rather than the write-up.

🗣 Oral Launch: Read Aloud to Class

“You run a courier company in a city whose streets form a perfect grid. Couriers only ever walk east or north, never backtracking, so every route from the south-west depot to a north-east address has the same length. The council prices deliveries by how many different routes exist, and its road crews keep closing intersections. Your formulas have to work for any size of city and any closure, not just the map in front of you, and you will need to justify each one.”

Students work entirely on their whiteboard. Display phase content on student devices only after each gate is unlocked.

⏱ Pacing guide (aim for roughly this; phases 2 and 3 usually run long)
0–2 minOral launch; random groups at whiteboards
2–15 minPhase 1, Twin Trouble (1f is the long task)
15–27 minPhase 2, Crosstown
27–41 minPhase 3, Detour (3e is the long task)
41–54 minPhase 4, Pascal’s Grid
54–60 minConsolidation; challenge groups present
1

Twin Trouble

When some letters are identical

💬 Hint ladder: give ONE at a time, only if truly stuck
1"List AAB. Now imagine the two A’s were different colours, A1 and A2: how many arrangements would there be? How many of those turn into the same word when the colours are removed?"
2"If every letter were different you would have \(n!\) arrangements. When some letters are identical, how many of those \(n!\) arrangements collapse into one word?"
3"For a letter that appears \(a\) times, how many ways can you shuffle just those \(a\) copies among the positions they occupy?"
4"For 1e: if the four I’s are glued into a single block, how many objects are you arranging now? Does the order inside the block matter when the I’s are identical?"
5"For 1f: place the letters that are not S first. Where are the gaps that the S’s could go into so that no two touch? How many gaps are there, and how many S’s must go into different gaps?"
Task 1a: Short words
AAB: AAB, ABA, BAA  (3)
AAAB: AAAB, AABA, ABAA, BAAA  (4)
AABB: AABB, ABAB, ABBA, BAAB, BABA, BBAA  (6)
AABBB: 10    AAABBB: 20

Compare with \(n!\): \(3!=6,\ 4!=24,\ 4!=24,\ 5!=120,\ 6!=720\). The ratios are \(2,\ 6,\ 4,\ 12,\ 36\), which are exactly \(2!\,1!,\ 3!\,1!,\ 2!\,2!,\ 2!\,3!,\ 3!\,3!\).

🔍 What to look for

The ratio pattern is the discovery. Groups that tabulate (word, \(n!\), count, ratio) find it fastest. A tempting first rule is “divide by the number of repeated letters”: AABB seems to support it (\(24 \div 4 = 6\)), but AAAB breaks it (\(24 \div 3 = 8\), not 4). That moment is the point: the data forces \(a!\), not \(a\).

Task 1b: The rule
\(\dfrac{n!}{a!\,b!\,c!\cdots}\)
BANANA: \(\dfrac{6!}{3!\,2!\,1!} = \dfrac{720}{12} = 60\)
Task 1c: Proof

Give the identical letters different colours so that all \(n\) letters are distinct. Then there are \(n!\) arrangements.

Now group together the coloured arrangements that become the same word once the colours are removed: they differ only in how the \(a\) identical A’s are shuffled among their own positions, how the \(b\) B’s are shuffled, and so on. That is \(a! \times b! \times c! \times \cdots\) arrangements in every group, and every group has the same size.

So the number of distinct words is \(\dfrac{n!}{a!\,b!\,c!\cdots}\).

🔍 Link back

This is the same “equal-sized groups, so divide” argument as Task 1d of The Starting Five (each squad is counted \(r!\) times) and Round Table Trouble. If groups have done those activities, listen for them to say so unprompted.

Task 1d: MISSISSIPPI

Letters: M ×1, I ×4, S ×4, P ×2, total 11.

\(\dfrac{11!}{1!\,4!\,4!\,2!} = \dfrac{11 \times 10 \times 9 \times 8 \times 7 \times 6 \times 5}{4! \times 2!} = \dfrac{11 \times 10 \times 9 \times 8 \times 7 \times 6 \times 5}{48}\)
cancel \(8 \times 6 = 48\): \(11 \times 10 \times 9 \times 7 \times 5\)
34,650

Second route (choose the positions, from The Starting Five): \(\binom{11}{1}\binom{10}{4}\binom{6}{4}\binom{2}{2} = 11 \times 210 \times 15 \times 1 = 34\,650\). This agrees, and it is the identical expression from Task 3e of The Starting Five.

Task 1e: A block

Glue the four I’s into one block. Then the objects are M, the block, S, S, S, S, P, P: 8 objects with S repeated 4 times and P repeated twice. The I’s are identical, so there is no ordering inside the block.

\(\dfrac{8!}{4!\,2!} = \dfrac{40320}{48}\)
840
⚠ Common error

Multiplying by \(4!\) for the order inside the block. That factor belongs in Round Table Trouble, where the guests are different people. Here the I’s are identical, so there is nothing to order.

Task 1f: No two S’s adjacent (gap method)

Arrange the 7 non-S letters (M, I, I, I, I, P, P) first:

\(\dfrac{7!}{4!\,2!} = 105\)

These 7 letters leave 8 gaps (one before, one after, and six between). The four S’s must go into four different gaps, and since the S’s are identical only which gaps matter:

\(\binom{8}{4} = 70\)
\(105 \times 70\)
7,350
🔍 Facilitation note

This is the hard task of Phase 1 and many groups will try to subtract the “bad” arrangements from 34,650. That approach is possible but very messy (S’s can be adjacent in many overlapping ways); let them try it for a few minutes, then offer the last rung of the ladder. The gap method is the new idea of the lesson, and it returns on the worksheet.

⚠ Common error

Counting only 6 gaps (forgetting the two ends), or counting \({}^{8}P_{4}\) instead of \(\binom{8}{4}\) (the S’s are identical, so which S goes in which gap does not matter).

✓ Gate check before giving TWINNED

Require: the rule \(\dfrac{n!}{a!\,b!\cdots}\) with the “equal-sized groups” proof, 34,650 with visible cancellation, 840, and 7,350. If time is short, a group with a working idea for 1f (gaps) but an arithmetic slip can proceed.


2

Crosstown

Every route is a word

💬 Hint ladder: give ONE at a time, only if truly stuck
1"Write each route as a word using R and U. How long is the word for an \(a \times b\) grid? How many R’s and how many U’s does it have?"
2"What did Phase 1 say about counting words with repeated letters?"
3"A route is decided by which of the \(a+b\) steps are east steps; the rest are north. Is choosing those steps an arrangement or a selection?"
4"For 2d(ii): what would the same route look like if you reflected the whole city in the diagonal from the depot to the destination?"
5"For 2d(iii): write the number of routes across an \(n \times n\) grid as a choose-number and try a few values of \(n\) on your calculator."
Task 2a: Small cities

A \(2 \times 2\) grid has 6 routes:

RRUU, RURU, RUUR, URRU, URUR, UURR
\(3 \times 2\): 10   \(3 \times 3\): 20   \(4 \times 4\): 70
✏ Expected whiteboard sketch: all six routes of the 2 × 2 grid
D★
RRUU
D★
RURU
D★
RUUR
D★
URRU
D★
URUR
D★
UURR
🔍 What to look for

Groups will either list systematically (a good sign) or fill in the number of ways to reach each intersection by adding (which anticipates Phase 4). Both are fine here. Make sure they write each route as an R/U word; that is the bridge to Phase 1.

Task 2b: A formula

Every route is a word of \(a\) R’s and \(b\) U’s, so its length is \(a+b\). Counting words with repeated letters (Phase 1):

\(\dfrac{(a+b)!}{a!\,b!}\)
\(5 \times 5\): \(\dfrac{10!}{5!\,5!} = 252\)
Task 2c: A route is a choice of east steps

A route has \(a+b\) steps. Once we choose which \(a\) of those steps are east, the other \(b\) steps must be north, so the route is completely determined; and every choice of \(a\) steps gives a different route. So the number of routes is the number of ways to choose \(a\) positions from \(a+b\):

\(\binom{a+b}{a} = \dfrac{(a+b)!}{a!\,\big((a+b)-a\big)!} = \dfrac{(a+b)!}{a!\,b!}\)

This agrees with 2b. A route is simultaneously an arrangement of a word with repeated letters and a selection of positions.

🔍 The big idea of the lesson

Arrangements with repeats and selections turn out to be the same thing seen from two sides: choosing which positions get the R’s is exactly the same decision as arranging the word. Ask: “Which would you rather use to count MISSISSIPPI, and could you have used the other?” The answer (yes: \(\binom{11}{1}\binom{10}{4}\binom{6}{4}\binom{2}{2}\)) closes the loop with Phase 1.

Task 2d: Using the formula
(i) \(7 \times 4\): \(\binom{11}{4} = \dfrac{11 \times 10 \times 9 \times 8}{4 \times 3 \times 2 \times 1} = 330\)

(ii) Algebra: \(\dfrac{(a+b)!}{a!\,b!}\) is unchanged when \(a\) and \(b\) are swapped. Or: \(\binom{a+b}{a} = \binom{a+b}{b}\) by the Mirror rule. Story: reflect the whole city in the diagonal through the depot, swapping east and north. Every \(a \times b\) route becomes a \(b \times a\) route and vice versa, so the two grids have equally many routes. (Or: choosing which steps are east is the same as choosing which are north.)

(iii) \(\binom{2n}{n}\): \(n = 11\) gives \(\binom{22}{11} = 705\,432\); \(n = 12\) gives \(\binom{24}{12} = 2\,704\,156\)
\(12 \times 12\) is the smallest (the \(8 \times 3\) and \(3 \times 8\) grids both give 165)
✓ Gate check before giving CROSSTOWN

Require: all six routes of the \(2 \times 2\) grid, the formula with its choose-number form and the proof that they agree, 252 and 330, and both explanations in 2d(ii). The calculator check in (iii) must name \(\binom{2n}{n}\) (nCr on the GDC), not just a number.


3

Detour

When the road crews arrive

💬 Hint ladder: give ONE at a time, only if truly stuck
1"For 3a: how many routes go through (2,2)? Break such a route into two separate journeys and count each."
2"Total routes minus the routes that use the closed intersection: how do you count the bad ones?"
3"For 3c: a route that passes through (2,3) but avoids (2,2): where must it have been one step earlier?"
4"For 3d: if you subtract the routes through (2,2) and the routes through (3,3), have you removed some routes twice? Which ones, and how do you fix that?"
5"For 3e: write a formula for the number of routes through a general intersection \((x,y)\). The grid has symmetries, so you do not need to compute all 34 intersections."
Tasks 3a to 3d: Closures and checkpoints

3a Routes through \((2,2)\): \(\binom{4}{2} \times \binom{6}{3} = 6 \times 20 = 120\) (journey D to \((2,2)\), then \((2,2)\) to ★).

\(252 - 120 = 132\)

3b D to \((2,3)\): \(\binom{5}{2} = 10\). \((2,3)\) to ★ (3 east, 2 north): \(\binom{5}{2} = 10\).

\(10 \times 10 = 100\)

3c Two methods that must agree:

subtract: \(100 - \big(6 \times 1 \times 10\big) = 100 - 60 = 40\)
direct: to avoid \((2,2)\) the route must reach \((2,3)\) from the west, via \((1,3)\): \(\binom{4}{1} \times 1 \times 10 = 40\)

3d Routes through both closed intersections: \(6 \times 2 \times 6 = 72\) (D to \((2,2)\), then \((2,2)\) to \((3,3)\), then \((3,3)\) to ★). Inclusion and exclusion:

\(252 - 120 - 120 + 72\)
132, 100, 40, 84
✏ Expected whiteboard sketches (rose = closed, teal = checkpoint)
D★0123450123453a: (2,2) closedD★0123450123453b: through (2,3)D★0123450123453c: bothD★0123450123453d: (2,2) and (3,3) closed
⚠ Common error

In 3d, subtracting \(120 + 120 = 240\) and answering 12. The 72 routes that use both closures were subtracted twice. Ask the group which routes those are and how many, then have them repair the count. This is the same “subtract twice, add back once” idea as the Round Table Trouble challenge.

⚠ Common error

In 3a, subtracting only the 6 routes to (2,2) and forgetting that each of them can finish in 20 ways. A route through (2,2) has two halves, so the bad routes number \(6 \times 20 = 120\), not 6.

Task 3e: The worst closure

The number of routes through \((x,y)\) is \(\binom{x+y}{x} \times \binom{10-x-y}{5-x}\). Computing it for every intersection (the grid is unchanged by reflecting in the diagonal \(x \leftrightarrow y\) and by turning it through 180 degrees, so only a few distinct values are needed) gives:

y \ x012345
5162156126★
462560105140126
3216010012010556
2561051201006021
112614010560256
0D126562161
The most damaging single closure is \((1,1)\) or \((4,4)\): 140 routes removed, 112 remain
🔍 Why the surprise?

Most groups predict the middle, around \((2,2)\) or \((3,3)\), which removes only 120. The reason: every route must leave D through \((1,0)\) or \((0,1)\), and routes are most concentrated near the start and the end where they have been funnelled together. \((1,1)\) is the busiest intersection, but even \((0,1)\) (126) beats the centre. Any group that tabulates correctly deserves the full proof mark; a group that only argues intuitively has not proved anything.

⚠ Common error

Predicting the centre and then checking only the centre. The prediction step is deliberate: being wrong is the point. Praise groups who found the error through computation.

✓ Gate check before giving DETOUR

Require: 132, 100, 40 (two methods), 84 with the add-back explained, and for 3e a table or formula for through-counts and the correct maximum. Groups that run out of time on 3e may get the code if 3a to 3d are solid and they have a correct formula for through-counts.


4

Pascal’s Grid

Counting the whole city at once

💬 Hint ladder: give ONE at a time, only if truly stuck
1"Look at one label next to its neighbours. Think about the last step of a route to that intersection: what are the only two possibilities?"
2"Does your rule need a special case along the left column and the bottom row?"
3"Where have you seen 1, 5, 10, 10, 5, 1? Look along the diagonals that run from top-left to bottom-right."
4"For 4c: stop thinking about the destination. How many routes of exactly \(n\) steps can you make from D if you can choose R or U at every step?"
5"Challenge (i): write one way of handing out the sweets as a string of stars (sweets) and bars (dividers between children). What kind of string is that?"
Task 4a: Label the city

The left column and the bottom row are all 1 (only one route goes straight along an edge). Every other label is the sum of the label to its left and the label below it:

label\((x,y)\) = label\((x-1,y)\) + label\((x,y-1)\)
✏ Expected whiteboard sketch: the completed 5 × 5 grid
111111123456136101521141020355615153570126162156126252012345012345
🔍 What to look for

Groups may fill the grid either by adding or by using \(\binom{x+y}{x}\). Both give the same grid; ask which they used and whether they can get the other to confirm it. Check the corner: the label at \((5,5)\) is 252, matching Phase 2.

Task 4b: Proof and Pascal’s identity

Every route to \((x,y)\) ends with a final step, and that step is either east (coming from \((x-1,y)\)) or north (coming from \((x,y-1)\)). No route is both, and every route is one or the other. So the routes to \((x,y)\) split into two separate groups, and their sizes add.

Since label\((x,y) = \binom{x+y}{x}\), put \(n = x+y\) and \(r = x\):

\(\binom{n}{r} = \binom{n-1}{r-1} + \binom{n-1}{r}\)

These are the numbers of Pascal’s triangle: along the diagonal \(x + y = 4\) the labels read \(1, 4, 6, 4, 1\), and along \(x+y=5\) they read \(1, 5, 10, 10, 5, 1\).

🔍 Two proofs, one identity

This is the second proof of the identity from the challenge in The Starting Five (“does the star player make the squad?”). The first counted squads by whether a given player is in or out; this one counts routes by their last step. Ask the class to say what the two proofs have in common: both split a set into two disjoint pieces by one yes-or-no question, and then count each piece.

Task 4c: Diagonal sums
\(x+y=0\): 1    \(x+y=1\): 1+1 = 2    \(x+y=2\): 1+2+1 = 4
\(x+y=3\): 8    \(x+y=4\): 16    \(x+y=5\): 32

Proof. A route of exactly \(n\) steps from D is a word of \(n\) letters, each R or U, so there are \(2^n\) such words. Every word ends at exactly one intersection with \(x + y = n\), and the number of words ending at \((x,y)\) is by definition its label. So the labels on that diagonal add to \(2^n\). (Inside this \(5 \times 5\) grid, this works for \(n \le 5\); beyond that the edge of the city cuts routes off.)

\(\displaystyle\sum_{r=0}^{n}\binom{n}{r} = 2^n\)
🔍 Link back

This is the row-sum result from Task 4b of The Starting Five, proved again by a completely different route (yes-or-no at every step becomes R or U at every step).

✓ Gate check before giving PASCAL

Require: the completed grid with the adding rule, the last-step proof, the choose-number identity, and the \(2^n\) proof for diagonal sums.

Challenge extension

(i) Stars and bars. Write a handing-out as a string of 10 stars (sweets) and 3 bars (dividers between the 4 children); for example \(\star\star|\star\star\star\star|\,|\star\star\star\star\) means 2, 4, 0, 4. Every handing-out is exactly one such string, and every string is one handing-out. The number of strings is an arrangement of 13 symbols with repeats (Phase 1):

\(\dfrac{13!}{10!\,3!} = \binom{13}{3} = 286\)

If every child must receive at least one: give each child one sweet first (4 used), then hand out the remaining 6 with no restriction: \(\dfrac{9!}{6!\,3!} = \binom{9}{3} = 84\).

(ii) A 3D city. A route is a word of \(a\) E’s, \(b\) N’s and \(c\) U’s, so by Phase 1:

\(\dfrac{(a+b+c)!}{a!\,b!\,c!}\)   and for \(3 \times 3 \times 3\): \(\dfrac{9!}{3!\,3!\,3!} = 1680\)

(Equivalently \(\binom{9}{3}\binom{6}{3} = 84 \times 20 = 1680\): choose which steps are east, then which of the rest are north. This is the same product as Task 3e of The Starting Five.)

🔍 Facilitation note

Few groups will reach these. If one does reach the stars-and-bars question, have them show the star-and-bar string model to the class, because it turns a distribution problem into a Phase 1 problem and is the single most reusable counting trick in the lesson.


📋 Consolidation sequence (whole class, after all groups finish)

1. Have a group present the Phase 1 proof and say where they have seen “equal-sized groups, so divide” before (The Starting Five 1d, Round Table Trouble).
2. Ask: “In 2c, a route is both a word with repeated letters and a choice of positions. Why are those the same problem?”
3. Reveal the answer to 3e on the board and ask groups what they predicted and why it was wrong. The funnelling explanation is worth having a student say.
4. Put the two proofs of Pascal’s identity side by side (star player from The Starting Five, last step from Phase 4b) and ask what they have in common.
5. Tease the next topic: “Where do you think the numbers \(1, 4, 6, 4, 1\) would show up if you expanded \((a+b)^4\)?” Do not answer it today.