Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

double counting

Counting one set of objects two different, valid ways, proving the two resulting expressions equal.

A double-counting proof fixes a single set and computes its size two different ways; since both expressions count the same objects, they must be equal.

Examples

  • Counting k-subsets directly gives \binom{n}{k}; counting by which n-k elements are excluded gives \binom{n}{n-k}.

See also

Read the full section →
Graph settings

Calculator