Lecture 15 — Counting, Combinatorics, and Choice

Position in the course

This is lecture 15 of 32. It belongs to the course arc described in the course outline and uses the standard interactive case method: display, attempt (5 minutes), discuss, reveal, name the technique.

Learning objectives

By the end of this lecture students can do all three under time pressure, which is what the four cases exercise.

Prerequisite knowledge

Before this lecture: Lecture 05 — numbers and cycles; Lecture 13 — dictionaries

Assumed fluencies:

Preparation task: List all orderings of three items by hand, then count them.

Detailed topic outline

Core (mandatory):

  1. systematic counting without tears
  2. permutations and constraints
  3. combinations and the complement trick
  4. probability from counting

Extension (optional enrichment):

  1. simulation as a counting check
  2. surprising coincidences, quantified

Case sequence

CaseTitleDifficulty
cs-057The Locker ProblemBeginner
cs-058Team Photo LineupsFoundational
cs-133The Late Bus LedgerFoundational
cs-059The Committee DrawIntermediate
cs-060The Birthday QuestionAdvanced

Display each case full-screen from the student page (cases cs-057–cs-060); instructor pages cs-057–cs-060 under case-studies/instructor/ hold the full solutions, reveal guides, and discussion prompts. Applied additions cs-133 extend the session as optional extra attempts or homework; they share the lecture's theme but teach an applied, real-world angle.

Timing plan (120 minutes)

MinutesSegment
0–10Framing: where this fits; recall of the previous lecture
10–30Case 1 (cs-057): 5-minute attempt, then discussion and reveal
30–50Case 2 (cs-058): same rhythm
50–70Case 3 (cs-059): same rhythm, harder case
70–75Break
75–100Case 4 (cs-060): same rhythm, hardest case
100–115Synthesis: name the techniques; misconceptions check
115–120Exit questions, homework, next-lecture preview

Timing flexes with the room: if a case ignites the class, let the discussion run and compress the synthesis; if the attempts stall, harvest partial attempts rather than extending the clock.

Worked examples

Instructor demonstration to open the lecture: Act the locker problem (cs-057) out with 10 lockers and 10 volunteers; the square-number pattern emerges physically.

Classroom activities

#ActivityMinutesFormat and prompt
1Locker act-it-out7Ten lockers, ten students, two passes; the square pattern is discovered before it is explained.
2Counting stations8Three stations: orderings, committees, complement counting; two minutes each, answers posted.
3Birthday poll5Poll the room for real birthdays, then compare against the 23-student prediction from cs-060.

Board plan

Instructor explanation notes

Reading the room. Counting is made concrete: act it out, tabulate, then generalise. The complement trick (cs-060) is the lecture's transferable gem — 'count the opposite, subtract'.

Running the reveal. Probability here is counting with fair assumptions; keep formality out, simulation as a check in.

Lecture focus. One sentence to repeat verbatim: Enumerate small, tabulate, generalise; complement when stuck.

Common misconceptions

Each case's instructor page lists the specific wrong turn to expect; the reveal should address it by name.

Student practice exercises

Core:

  1. Count the committees of 3 from 7 students by hand, then verify with the formula.
  2. List and count the team photo lineups (cs-058) for 4 students with the height constraint.
  3. Compute the birthday question's complement for n = 10, 23, 30 without simulation.

Enrichment (optional):

Formative assessment

Exit questions (choose one; answer on a card in 60 seconds):

  1. When is the complement trick the right tool? Expected: when counting the desired set directly is tangled but its opposite is simple
  1. Permutations vs combinations in one phrase each. Expected: order matters / order does not
  1. How does simulation back up counting? Expected: many random trials approximate the counted probability

Cards are skimmed before the next lecture; three answers become the framing. Persistent wrong answers route students to the review stations of lecture 16 or to office hours.

Homework and preparation

Learning-outcome mapping

Differentiation