Why the Sum of Binomial Coefficients Equals 2 to the n

Adds up nC0 + nC1 + … + nCn, the sum of row n of Pascal's triangle. It always equals 2ⁿ, the number of subsets of an n-element set.

The binomial coefficient (nk)\binom{n}{k} counts the ways of choosing kk items out of nn. Add these up across every kk from 0 to nn and the total always lands on 2n2^n exactly. In terms of Pascal's triangle, you are summing row nn.

(n0)+(n1)++(nn)=2n\binom{n}{0} + \binom{n}{1} + \cdots + \binom{n}{n} = 2^n

The identity is clearest when you count subsets two ways. The left side sorts the subsets of an nn-element set by size and tallies each group separately. The right side counts the same subsets by walking through the nn elements and deciding, for each one, whether to include it: two choices, nn times over. Same collection, two ways of counting it, so the totals must match.

Example

Take n=10n = 10. Row 10 of Pascal's triangle reads

1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 11,\ 10,\ 45,\ 120,\ 210,\ 252,\ 210,\ 120,\ 45,\ 10,\ 1

Adding those eleven numbers gives 1024, which is exactly 2102^{10}.

Notes