In short
The binomial coefficients \binom{n}{r} are the coefficients in the expansion of (a + b)^n. Beyond counting combinations, they satisfy a web of identities: the row sum \sum \binom{n}{r} = 2^n, the alternating sum \sum (-1)^r \binom{n}{r} = 0, the symmetry \binom{n}{r} = \binom{n}{n-r}, Pascal's identity, and the Vandermonde identity. Each of these has both an algebraic proof (plug specific values into the binomial theorem) and a combinatorial proof (count the same set in two ways).
Take the expansion of (1 + 1)^5 = 2^5 = 32. From the binomial theorem:
Add those up: 1 + 5 + 10 + 10 + 5 + 1 = 32. So the six binomial coefficients in row 5 of Pascal's triangle sum to exactly 2^5. Is this a coincidence?
Now try (1 - 1)^5 = 0^5 = 0:
The same six numbers, with alternating signs, cancel to zero. These are not coincidences — they are identities that hold for every n, and the binomial theorem proves them in one line. This article develops these identities and several more.
Properties of \binom{n}{r}
Before the main identities, recall the core properties from combinations and properties of combinations:
Symmetry. \binom{n}{r} = \binom{n}{n-r}. Choosing r items to include is the same as choosing n - r items to exclude.
Pascal's identity. \binom{n}{r} = \binom{n-1}{r-1} + \binom{n-1}{r}. Each entry in Pascal's triangle is the sum of the two entries above it.
Boundary values. \binom{n}{0} = \binom{n}{n} = 1. There is one way to choose nothing and one way to choose everything.
The product form. \binom{n}{r} = \frac{n(n-1)(n-2)\cdots(n-r+1)}{r!}, with r factors in both numerator and denominator.
Identity 1: Sum of binomial coefficients
Sum of binomial coefficients
For every positive integer n:
That is, \binom{n}{0} + \binom{n}{1} + \binom{n}{2} + \cdots + \binom{n}{n} = 2^n.
Algebraic proof. Start from the binomial theorem:
Set a = 1 and b = 1:
The left side is 2^n. Done.
Combinatorial proof. The left side counts subsets of an n-element set, grouped by size: \binom{n}{r} subsets have exactly r elements. The right side counts all subsets directly: each of the n elements is either in or out, giving 2^n subsets. Both sides count the same collection.
Identity 2: Alternating sum of binomial coefficients
Alternating sum of binomial coefficients
For every positive integer n:
That is, \binom{n}{0} - \binom{n}{1} + \binom{n}{2} - \binom{n}{3} + \cdots = 0.
Algebraic proof. Set a = 1 and b = -1 in the binomial theorem:
The left side is 0^n = 0 (for n \geq 1). Done.
Combinatorial proof. Split the subsets of \{1, 2, \dots, n\} into two groups: those with an even number of elements and those with an odd number. The even-sized subsets contribute +\binom{n}{r} and the odd-sized subsets contribute -\binom{n}{r}. The identity says these two groups are equal in total count:
Both sides equal 2^{n-1}. You can prove this by constructing a bijection: pair each subset S with the subset S \triangle \{1\} (toggle element 1). This pairing maps even-sized subsets to odd-sized subsets and vice versa, so the two groups have the same count.
Identity 3: Sum of even-indexed and odd-indexed coefficients
From the two identities above, you can extract each half.
Add the sum identity and the alternating-sum identity:
So the sum of the even-indexed binomial coefficients is 2^{n-1}. Subtracting instead:
The sum of the odd-indexed binomial coefficients is also 2^{n-1}.
Identity 4: Weighted sum \sum r \binom{n}{r} = n \cdot 2^{n-1}
This identity computes a different kind of sum — each coefficient is multiplied by its index r.
Proof. Start from (1 + x)^n = \sum_{r=0}^{n} \binom{n}{r} x^r. Differentiate both sides with respect to x:
Set x = 1:
(The r = 0 term is zero, so including it does not change the sum.)
Check for n = 4: 0 \cdot 1 + 1 \cdot 4 + 2 \cdot 6 + 3 \cdot 4 + 4 \cdot 1 = 0 + 4 + 12 + 12 + 4 = 32 = 4 \cdot 2^3. Confirmed.
Identity 5: Vandermonde's identity
Vandermonde's identity
For non-negative integers m, n, and p with p \leq m + n:
Combinatorial proof. You have two groups: one with m people and another with n people. Choose p people from the combined group. The left side counts this directly. The right side counts by splitting: choose k from the first group (\binom{m}{k} ways) and p - k from the second group (\binom{n}{p-k} ways), then sum over all possible k.
Check. \binom{4+3}{3} = \binom{7}{3} = 35. Sum: \binom{4}{0}\binom{3}{3} + \binom{4}{1}\binom{3}{2} + \binom{4}{2}\binom{3}{1} + \binom{4}{3}\binom{3}{0} = 1 \cdot 1 + 4 \cdot 3 + 6 \cdot 3 + 4 \cdot 1 = 1 + 12 + 18 + 4 = 35. Confirmed.
Interactive: verify identities with any row
Drag the red point to select a row n (from 1 to 8). The readouts show the row sum, the alternating sum, and the weighted sum for that row, verifying the three main identities.
Summary of identities
| Identity | Formula | Proof method |
|---|---|---|
| Row sum | \displaystyle\sum_{r=0}^{n} \binom{n}{r} = 2^n | Set a = b = 1 |
| Alternating sum | \displaystyle\sum_{r=0}^{n} (-1)^r \binom{n}{r} = 0 | Set a = 1, b = -1 |
| Even/odd split | Each half = 2^{n-1} | Add/subtract the two above |
| Weighted sum | \displaystyle\sum_{r=0}^{n} r\binom{n}{r} = n\cdot 2^{n-1} | Differentiate, set x = 1 |
| Vandermonde | \displaystyle\binom{m+n}{p} = \sum_{k} \binom{m}{k}\binom{n}{p-k} | Combinatorial counting |
Two worked examples
Example 1: Find the value of $\binom{10}{0} + \binom{10}{1} + \binom{10}{2} + \cdots + \binom{10}{10}$
Step 1. Recognise the pattern. This is the sum of all binomial coefficients for n = 10.
Why: the sum runs from r = 0 to r = 10 with no sign changes and no weights — it matches the row-sum identity exactly.
Step 2. Apply the identity \sum_{r=0}^{n} \binom{n}{r} = 2^n.
Why: this is the binomial theorem with a = b = 1: (1 + 1)^{10} = 2^{10}.
Step 3. Compute 2^{10}.
Why: 2^{10} = 1024 is a standard power of 2 worth memorising.
Step 4. Verify with a partial check. \binom{10}{0} + \binom{10}{1} + \binom{10}{2} = 1 + 10 + 45 = 56. The remaining terms must sum to 1024 - 56 = 968. Since \binom{10}{3} = 120 and the terms grow to \binom{10}{5} = 252, this is plausible.
Result. \displaystyle\sum_{r=0}^{10} \binom{10}{r} = 1024.
The hill shape — rising to a peak at r = n/2 and then falling symmetrically — is characteristic of binomial coefficients. The peak is always at r = n/2 (or the two values nearest n/2 when n is odd). This connects to the general and middle terms article's discussion of the greatest coefficient.
Example 2: Prove that $\binom{8}{0} - \binom{8}{1} + \binom{8}{2} - \cdots + \binom{8}{8} = 0$, and find $\binom{8}{0} + \binom{8}{2} + \binom{8}{4} + \binom{8}{6} + \binom{8}{8}$
Step 1. Apply the alternating-sum identity for n = 8.
Why: setting a = 1, b = -1 in the binomial theorem gives (1 + (-1))^8 = 0^8 = 0 on the left, and the alternating sum on the right.
Step 2. Write the identity explicitly.
That is: 1 - 8 + 28 - 56 + 70 - 56 + 28 - 8 + 1 = 0.
Why: the positive terms (1 + 28 + 70 + 28 + 1 = 128) exactly cancel the negative terms (8 + 56 + 56 + 8 = 128).
Step 3. Find the sum of even-indexed coefficients. Add the row sum (2^8 = 256) and the alternating sum (0):
Why: when you add the row sum and the alternating sum, all the odd-indexed terms cancel (they appear with opposite signs), leaving twice the even-indexed sum.
Step 4. Verify: 1 + 28 + 70 + 28 + 1 = 128. And the odd-indexed sum: 8 + 56 + 56 + 8 = 128. Both halves equal 2^{8-1} = 2^7 = 128. Confirmed.
Result. The alternating sum is 0, and the sum of even-indexed coefficients is 128 = 2^7.
The even-odd split is a recurring technique in binomial-coefficient problems. Any time a sum involves only the even-indexed or only the odd-indexed coefficients, the answer is 2^{n-1}. This fact, combined with the row sum 2^n, handles a large class of JEE-style questions.
Common confusions
-
"The row sum is n \cdot 2^{n-1}." That is the weighted sum \sum r\binom{n}{r}, not the plain row sum. The plain row sum is 2^n. Confusing the two is common when the problem asks for "the sum of the coefficients."
-
"The alternating sum is (-1)^n." For n \geq 1, the alternating sum is 0, not (-1)^n. The formula (1-1)^n = 0^n gives 0 for all n \geq 1. (For n = 0, the sum is \binom{0}{0} = 1 = 2^0, but this case rarely appears in problems.)
-
"Vandermonde's identity requires m = n." It works for any non-negative integers m, n, p with p \leq m + n. The special case m = n is useful but not required.
-
"Differentiating the binomial theorem requires calculus." The differentiation proof of the weighted-sum identity does use calculus. If you have not studied derivatives yet, you can prove the same identity using the absorption identity r\binom{n}{r} = n\binom{n-1}{r-1} — which is purely algebraic — and then summing.
-
"The sum of coefficients of (2x+3)^n is 2^n." Be careful. The sum of the binomial coefficients \binom{n}{r} is 2^n. The sum of the coefficients of the expansion of (2x+3)^n is obtained by setting x = 1: (2 + 3)^n = 5^n, not 2^n. The binomial coefficients are the combinatorial factors \binom{n}{r}, not the final numerical coefficients.
Going deeper
If you can compute row sums, alternating sums, and weighted sums, and you understand Vandermonde's identity, you are ready for general and middle terms. The rest of this section collects a few more identities and a deeper perspective.
The absorption identity
The identity r\binom{n}{r} = n\binom{n-1}{r-1} is proved by writing out both sides:
This identity converts a factor of r in front of a binomial coefficient into a simpler expression. It is the algebraic engine behind the weighted sum \sum r\binom{n}{r} = n \cdot 2^{n-1}: replace r\binom{n}{r} with n\binom{n-1}{r-1}, pull the n out of the sum, and what remains is \sum \binom{n-1}{r-1} = 2^{n-1}.
The second-moment identity
Differentiating (1+x)^n twice and setting x = 1 gives:
Combined with the first-moment identity \sum r\binom{n}{r} = n \cdot 2^{n-1}, this lets you compute \sum r^2\binom{n}{r}:
Generating functions perspective
Each identity in this article is a special case of a single idea: the binomial theorem defines a polynomial (1+x)^n = \sum \binom{n}{r} x^r, and evaluating or differentiating this polynomial at specific values of x extracts different sums of the coefficients. Setting x = 1 gives the total; setting x = -1 gives the alternating sum; differentiating and setting x = 1 gives the weighted sum. This is the generating-function approach — the polynomial encodes all the coefficient information, and algebraic operations on the polynomial decode it.
Where this leads next
- General and Middle Terms — finding specific terms, the middle term, the greatest coefficient, and the term independent of x.
- Binomial Theorem for Positive Integer — the theorem itself, with statement, proof, and the general-term formula.
- Properties of Combinations — Pascal's identity, symmetry, and the recursion that builds the triangle.
- Multinomial Theorem — the extension to sums of more than two terms.
- Sigma and Pi Notation — the summation notation used throughout this article.