2.7.11 · D3Statistics & Probability — Intermediate

Worked examples — Combinations — nCr, Pascal's triangle

2,217 words10 min readBack to topic

This page is the workout room for combinations. The parent note built the machinery; here we drag it through every kind of situation a problem can hand you — tiny edge cases, degenerate zeros, symmetry shortcuts, "at least one" complements, real-world word problems, and an exam-style trap.

Before we count anything, one reminder in plain words: (say " choose ") is how many different groups of things you can pull out of things when the order you grabbed them in does not matter. Every symbol below is that same idea in disguise.


The scenario matrix

Think of a topic as a machine with dials. Each dial setting is a different kind of problem. If we test every setting, nothing on the exam can surprise us. Here are the settings for combinations:

# Case class What makes it tricky Hit by example
A Ordinary plain counting, expect a medium number Ex 1
B Edge: (choose nothing) tempting to say , truth is Ex 2
C Edge: (choose everything) only one full group exists Ex 2
D Degenerate: (asking too much) impossible — answer must be Ex 2
E Symmetry shortcut close to huge-looking, actually tiny via Ex 3
F Pascal check — build a value two ways verifies the addition law Ex 4
G "At least one" via complement many sub-cases collapse to Total − None Ex 5
H Split selection (choose from two groups) multiply independent choices Ex 6
I Real-world word problem translate English → and Ex 7
J Exam twist: permutation-vs-combination trap order secretly matters (or doesn't) Ex 8

We now walk through examples 1–8 so that every row above gets covered.


Example 1 — Cell A: the plain vanilla count


Example 2 — Cells B, C, D: the three edge/degenerate cases at once


Example 3 — Cell E: symmetry turns a giant into an ant


Example 4 — Cell F: build one value two ways (Pascal's rule live)


Example 5 — Cell G: "at least one" via the complement


Example 6 — Cell H: split selection (multiply independent choices)


Example 7 — Cell I: a real-world word problem


Example 8 — Cell J: the exam trap (order secretly matters)



Active recall

Why is and not ?
There is exactly one way to choose nothing (the empty set); the formula gives using .
What is and why?
— you cannot choose more items than exist; is undefined, signalling impossibility.
Fast way to compute ?
Use symmetry .
"At least one chemist" from a pool — strategy?
Total minus complement: .
2 boys and 3 girls — add or multiply the sub-counts?
Multiply (independent stages): .
Group of 3 vs gold/silver/bronze from 8 — which is bigger and by how much?
Medals bigger by factor : .

Connections

  • Combinations — nCr, Pascal's triangle — the parent machinery these examples exercise.
  • Permutations — nPr — Example 8's trap lives on the order-matters side.
  • Factorials and 0! — Example 2's edge cases hinge on .
  • Binomial Theorem — the same appear as coefficients of .
  • Probability — counting outcomes — these counts become numerators/denominators of probabilities.
  • Pascal's Triangle patterns — Example 4's addition law is the triangle's growth rule.