Math 2.0

Combinatorics Proof

Proof of the number of k-element subsets by induction

Builds on Cardinality of a finite setCombinationBinomial coefficientBijective functionRule of sumComplement principleBijection principlePascal's rule

Proof

For a set XX and a natural number kk, let C(X,k)C(X, k) be the set of kk-combinations of XX, the subsets with exactly kk elements. We argue by induction on n=∣X∣n = |X| that ∣C(X,k)∣=(nk)|C(X, k)| = \binom{n}{k} for every kk.

  1. Let n=0n = 0. Then X=∅X = \varnothing, and its only subset ∅\varnothing has 00 elements.
  2. So ∣C(X,0)∣=1=(00)|C(X, 0)| = 1 = \binom{0}{0} and ∣C(X,k+1)∣=0=(0k+1)|C(X, k+1)| = 0 = \binom{0}{k+1}, by the definition of the binomial coefficient.
  3. Suppose the claim holds for all sets with nn elements. Let ∣X∣=n+1|X| = n + 1, with a bijection f:{1,…,n+1}→Xf : \set{1, \dots, n+1} \to X.
  4. Put x=f(n+1)x = f(n+1) and X′=X∖{x}X' = X \setminus \set{x}. The restriction of ff to {1,…,n}\set{1, \dots, n} is a bijection onto X′X', so ∣X′∣=n|X'| = n.
  5. Only ∅\varnothing has 00 elements, so ∣C(X,0)∣=1=(n+10)|C(X, 0)| = 1 = \binom{n+1}{0}.
  6. Now fix k≥0k \ge 0. Split C(X,k+1)C(X, k+1) into CoutC_{\mathrm{out}}, the sets that omit xx, and CinC_{\mathrm{in}}, the sets that contain xx. These parts are disjoint.
  7. The sets in CoutC_{\mathrm{out}} are exactly the (k+1)(k+1)-element subsets of X′X'. By the induction hypothesis, ∣Cout∣=(nk+1)|C_{\mathrm{out}}| = \binom{n}{k+1}.
  8. For S∈CinS \in C_{\mathrm{in}}, the set S∖{x}S \setminus \set{x} is a subset of X′X'. By the complement principle in SS, it has (k+1)−1=k(k+1) - 1 = k elements.
  9. For T∈C(X′,k)T \in C(X', k), the sets TT and {x}\set{x} are disjoint, since x∉X′x \notin X'. By the rule of sum, T∪{x}T \cup \set{x} has k+1k + 1 elements, so it lies in CinC_{\mathrm{in}}.
  10. The maps S↦S∖{x}S \mapsto S \setminus \set{x} and T↦T∪{x}T \mapsto T \cup \set{x} are mutually inverse. So they are bijections between CinC_{\mathrm{in}} and C(X′,k)C(X', k).
  11. By the induction hypothesis, C(X′,k)C(X', k) has (nk)\binom{n}{k} elements. Composing a numbering of it with T↦T∪{x}T \mapsto T \cup \set{x} numbers CinC_{\mathrm{in}}. So ∣Cin∣=(nk)|C_{\mathrm{in}}| = \binom{n}{k}, as in the bijection principle.
  12. By the rule of sum, ∣C(X,k+1)∣=(nk)+(nk+1)|C(X, k+1)| = \binom{n}{k} + \binom{n}{k+1}.
  13. By Pascal's rule, this equals (n+1k+1)\binom{n+1}{k+1}. Together with step 5, the claim holds for all kk, and the induction is complete.

Idea

Fix one element xx. A subset of size k+1k+1 either avoids xx, or contains xx together with kk other elements. These two cases are counted by the smaller set, and they add up exactly as the defining recursion of (nk)\binom{n}{k} does.

Reading path

To understand this page from the ground up, read these 43 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof of the complement principle, Proof of Pascal's rule from the recursive definition, Proof that a composition of surjections is surjective, Proof of the rule of sum, Proof of the bijection principle.

  1. Binomial coefficient definition
  2. Cardinality of a finite set definition
  3. Combination definition
  4. Element definition
  5. Proposition concept
  6. Proof of Pascal's rule from the recursive definition proof
  7. Set definition
  8. Conjunction definition
  9. Implication definition
  10. Predicate definition
  11. Pascal's rule statement
  12. Empty set object
  13. Ordered pair definition
  14. Intersection definition
  15. Existential quantifier definition
  16. Universal quantifier definition
  17. Cartesian product definition
  18. Disjoint sets definition
  19. Subset definition
  20. Uniqueness quantifier definition
  21. Binary relation definition
  22. Function definition
  23. Codomain definition
  24. Function composition definition
  25. Identity function definition
  26. Injective function definition
  27. Surjective function definition
  28. Left inverse definition
  29. Right inverse definition
  30. Proof that a composition of injections is injective proof
  31. Proof that a composition of surjections is surjective proof
  32. Bijective function definition
  33. Composition of injections is injective statement
  34. Composition of surjections is surjective statement
  35. Proof of the rule of sum proof
  36. Proof that a function is bijective iff it has a two-sided inverse proof
  37. Rule of sum statement
  38. Bijective iff it has a two-sided inverse statement
  39. Proof of the complement principle proof
  40. Proof of the bijection principle proof
  41. Complement principle statement
  42. Bijection principle statement
  43. Proof of the number of k-element subsets by induction proof

Where this leads

22 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Cardinality_of_Set_of_Subsets, Proof 4
About this page
Tag5T8YDW60RV
URIm2://5T8YDW60RV
Kindproof
WritingW0 stub
MSC05A10
ProvesNumber of k-element subsets
UsesCardinality of a finite set, Combination, Binomial coefficient, Bijective function, Rule of sum, Complement principle, Bijection principle, Pascal's rule
MethodsMathematical induction
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.