๐Ÿ  Home โ€บ ๐Ÿงฉ Combinatorics โ€บ Lesson 7

๐Ÿ› ๏ธ Sneaky Shortcuts โ€” Complements, Cases, and Grids

๐Ÿ“– Lesson 7 of 9

๐Ÿ“Œ Key ideas of this section

"At least one"  =  total โˆ’ none
OR means ADD: split into cases that don't overlap, then add.

Sometimes the direct count is a monster, and the smart move is to count around it.

Shortcut 1: the complement. A gym class has 4 boys and 3 girls. How many 3-person groups include AT LEAST ONE girl? Counting directly means cases (1 girl + 2 girls + 3 girls โ€” ugh). Instead, count everything and subtract what you DON'T want:

Total groups:                    C(7, 3) = 35
Groups with NO girls (all boys): C(4, 3) = 4
At least one girl = 35 โˆ’ 4 = 31 โœ…

Every "at least one" is a subtraction in disguise: total โˆ’ none. (The Probability lesson's killer combo โ€” same move!)

Shortcut 2: casework. Five toppings include pepperoni. How many 2-topping pizzas are there? You already know: C(5, 2) = 10. But split it by cases โ€” pizzas WITH pepperoni and pizzas WITHOUT:

With pepperoni: pick 1 more from the other 4:  C(4, 1) = 4
Without:        pick 2 from the other 4:       C(4, 2) = 6
Total: 4 + 6 = 10 โœ…

Same answer โ€” because cases that don't overlap get ADDED (with pepperoni OR without โ€” no pizza is both). Casework is the slow road here, but some problems only open up this way, so keep it in the toolbox.

Shortcut 3: the grid โ€” casework on autopilot. How many ways can you walk from the start corner to the finish corner of this neighborhood, moving only RIGHT or UP?

finish โ—‹โ”€โ”€โ”€โ”€โ—‹โ”€โ”€โ”€โ”€โ—‹
       โ”‚    โ”‚    โ”‚
       โ—‹โ”€โ”€โ”€โ”€โ—‹โ”€โ”€โ”€โ”€โ—‹
       โ”‚    โ”‚    โ”‚
start  โ—‹โ”€โ”€โ”€โ”€โ—‹โ”€โ”€โ”€โ”€โ—‹

Trick: write at each corner the number of ways to ARRIVE there. You can only arrive from the left or from below โ€” two cases, so ADD those two corners:

  1โ”€โ”€โ”€โ”€3โ”€โ”€โ”€โ”€6   โ† 6 ways to reach the finish!
  โ”‚    โ”‚    โ”‚
  1โ”€โ”€โ”€โ”€2โ”€โ”€โ”€โ”€3
  โ”‚    โ”‚    โ”‚
  1โ”€โ”€โ”€โ”€1โ”€โ”€โ”€โ”€1
  โ†‘
write 1 at the start (one way to "arrive" โ€” start there!)

Six paths. Try listing them: RRUU, RURU, RUUR, URRU, URUR, UURR. And here's the beautiful part โ€” every path is just the letters R, R, U, U in some order, so the grid was really C(4, 2) = 6 all along: choose which 2 of the 4 steps are UP. The grid, the cases, and the combination all agree. They always do.

โœ๏ธ Your Turn!

  • (a)
    How many outcomes of 3 coin flips have at least one head?
  • (b)
    Verify the grid method on a 1-block neighborhood โ€” a single square.
๐Ÿ‘€ Show the answers

Answers: (a) total 2 ร— 2 ร— 2 = 8, no-heads (TTT) is 1, so 8 โˆ’ 1 = 7. (b) corners: 1, 1, 1, then 1 + 1 = 2 โ€” two paths, RU and UR โœ….

V.3.1