Divide by r! to forget the order
Each r-subset arises from exactly r! ordered selections, so C(n,r) = P(n,r)/r!.
C(n, r) = n!/(r!(n−r)!) counts subsets of size r. It is P(n, r) divided by r!, because each subset was counted once for every order of its elements.
Core ideas
One formula, derived from permutations by dividing out the orderings that do not matter.
Each r-subset arises from exactly r! ordered selections, so C(n,r) = P(n,r)/r!.
Choosing which r to include is the same as choosing which n−r to leave out, so C(n,r) = C(n,n−r).
Every subset has exactly one size, so summing C(n,r) over all r counts every subset once — and “Subsets and Power Sets” in Sets, Relations, and Functions already knew the total.
The material
The derivation, the identities, and the standard applications.
An r-combination of a set is a subset of size r. The number of them is written C(n, r) or binom(n, r) and read "n choose r".
C(n, r) = P(n, r)/r! = n!/(r!(n−r)!) for 0 ≤ r ≤ n.
Count ordered selections of r distinct objects in two ways. Directly there are P(n, r) of them.
Alternatively, choose which r objects to use (C(n, r) ways) and then arrange them (r! ways), giving C(n, r) · r!.
The two counts are of the same set, so P(n, r) = C(n, r) · r!, and dividing gives the formula.
□
That proof is a double count: one set counted two ways, and the two expressions therefore equal. “Combinatorial Proof” makes the technique explicit; it appears here because it is the cleanest derivation of the formula.
C(n, r) = C(n, n−r).
The map sending a subset to its complement is a bijection between the r-subsets and the (n−r)-subsets: it is injective because a set is determined by its complement, and surjective because every (n−r)-subset is the complement of its own complement.
□
The bijective proof is better than the algebraic one, which merely observes that the formula is symmetric in r and n−r. A bijection says why: the two collections are the same objects, described from opposite sides.
Σ_{r=0}^{n} C(n, r) = 2ⁿ.
Count the subsets of an n-set two ways. By size: C(n, r) of each size r, and every subset has exactly one size, so the total is the sum. Directly: each element is independently in or out, giving 2ⁿ.
□
A 5-card hand from 52 is C(52,5) = 2 598 960, since the order cards arrive in does not matter. Hands containing all four aces: choose the four aces (1 way) and one more card from 48, giving 48. So the probability is 48/2598960 ≈ 0.0000185 — Discrete Probability makes that division legitimate.
Paths from (0,0) to (m,n) using unit steps right and up: each path is a sequence of m + n steps of which m are right, so there are C(m+n, m) of them. Choosing which steps are right determines the path completely.
Interactive
Enumerated while enumeration is possible
Method
Order and repetition, in that order.
Committees, hands and subsets: no. Podiums, passwords and sequences: yes. This one question separates “Permutations” and “Combinations”.
If objects may be chosen more than once, “Combinations with Repetition” applies instead.
C(20,18) = C(20,2) = 190. Computing the smaller side is faster and less error-prone.
C(4,2) = 6 should match the six pairs you can list. The lab does this automatically up to 400 selections.
From 8 mathematicians and 6 physicists, choose 5 with at least 3 mathematicians.
Within each case the product rule applies because the two choices are independent: which mathematicians are chosen does not change how many ways the physicists can be. The sum rule then combines the cases, which are disjoint because a committee has one definite composition.
Count the 5-card hands that contain at least two aces, by cases (exactly two, three or four aces) and by complement (all hands minus those with no ace minus those with exactly one). Each case is a product C(4, k) · C(48, 5 − k); say why the two choices in it are independent, and why the cases are disjoint. The two totals must agree, and the poker example above fixes the magnitude.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.