PYQ Vault

NDA Maths · Binomial Theorem

Sums of Binomial Coefficients

Sums of binomial coefficients are read off by substituting clever values of x into (1+x)ⁿ — x = 1 gives the total, x = −1 gives the alternating sum, and differentiating first gives the weighted sums.

Why this matters

14 PYQs. The whole subtopic runs on one idea: the coefficients ARE the expansion, so plug a number into the right identity. x = 1, x = −1, and 'differentiate then substitute' cover almost everything; the Pascal-rule identities mop up the rest.

Test yourself — a quick 18-question Binomial Theorem recall quiz, instant score.

Concept 1 of 4: Sum of All Coefficients — Put x = 1

The sum of all the coefficients of a polynomial is just its value at x = 1 — substituting 1 strips away every power of x and leaves the coefficients added up. For (1+x)ⁿ that total is 2ⁿ.

Definition

For any polynomial f(x)f(x), the sum of all coefficients is f(1)f(1). In particular:

  • (n0)+(n1)+⋯+(nn)=(1+1)n=2n\binom{n}{0} + \binom{n}{1} + \cdots + \binom{n}{n} = (1+1)^n = 2^n.
  • Dropping the first term: (n1)+⋯+(nn)=2n−1\binom{n}{1} + \cdots + \binom{n}{n} = 2^n - 1.
  • A weighted base: ∑r(nr)cr=(1+c)n\sum_r \binom{n}{r} c^r = (1+c)^n (e.g. ∑r2r(nr)=3n\sum_r 2^r\binom{n}{r} = 3^n).

Sum of coefficients = f(1)

∑r=0n(nr)=2n,∑r=0n(nr)cr=(1+c)n\sum_{r=0}^{n}\binom{n}{r} = 2^n, \qquad \sum_{r=0}^{n}\binom{n}{r}c^{r} = (1+c)^n

Worked example

Find the sum of all coefficients in the expansion of (2x+3)5(2x + 3)^5.
Practice this concept2 quick reps

The same idea in a real exam question:

NDA · Apr 2021 · Q46Moderate

Example 1 · Binomial Theorem · Sums of Binomial Coefficients — Alternating, Weighted, and Symmetric

What is C(n,1)+C(n,2)+⋯+C(n,n)C(n,1)+C(n,2)+\cdots+C(n,n) equal to?

Sum of coefficients uses x = 1, not x = 0

f(0)f(0) gives only the CONSTANT term; f(1)f(1) gives the sum of ALL coefficients. For a multivariable form set every variable to 1.

Concept 2 of 4: Alternating & Odd/Even-Index Sums — Put x = −1

Substituting x = −1 flips the sign of every odd-power term, so it isolates the alternating sum — which collapses to zero for (1+x)ⁿ because the positives and negatives cancel exactly. Combining the x = 1 and x = −1 results splits the coefficients into odd-index and even-index halves.

Definition

Substitute x=−1x = -1:

  • Alternating sum: (n0)−(n1)+(n2)−⋯=(1−1)n=0\binom{n}{0} - \binom{n}{1} + \binom{n}{2} - \cdots = (1-1)^n = 0 (for n≥1n \ge 1).
  • For a general polynomial, a0−a1+a2−⋯=f(−1)a_0 - a_1 + a_2 - \cdots = f(-1).
  • Odd/even split: sum of even-index coefficients == sum of odd-index coefficients =f(1)2=2 n−1= \dfrac{f(1)}{2} = 2^{\,n-1}. (They are equal because f(−1)=0f(-1) = 0.)
  • In (a+b)n+(a−b)n(a+b)^n + (a-b)^n, the odd-power terms cancel; in the difference, the even-power terms cancel.
  • Two different halvings land on the same 2n−12^{n-1}: the odd-INDEX and even-INDEX coefficients each sum to 2n−12^{n-1} (above), and — separately, by symmetry (nr)=(nn−r)\binom nr=\binom n{n-r} — the FIRST half of the coefficients and the LAST half also each sum to 2n−12^{n-1} when nn is odd (for even nn the middle coefficient is shared). So the last five coefficients of (1+x)9(1+x)^9 sum to 28=2562^8=256, which the parity split alone cannot tell you.

Alternating sum and the split

∑r(−1)r(nr)=0,even-sum=odd-sum=2 n−1\sum_r (-1)^r \binom{n}{r} = 0, \qquad \text{even-sum} = \text{odd-sum} = 2^{\,n-1}

Worked example

If (1−x+x2)4=a0+a1x+⋯+a8x8(1 - x + x^2)^4 = a_0 + a_1 x + \cdots + a_8 x^8, find a0−a1+a2−⋯+a8a_0 - a_1 + a_2 - \cdots + a_8.

The same idea in a real exam question:

NDA · Apr 2020 · Q3Easy

Example 2 · Binomial Theorem · Sums of Binomial Coefficients — Alternating, Weighted, and Symmetric

If (1+2x−x2)6=a0+a1x+a2x2+…+a12x12(1+2x-x^2)^6 = a_0 + a_1x + a_2x^2 + \ldots + a_{12}x^{12}, then what is a0−a1+a2−a3+a4−…+a12a_0 - a_1 + a_2 - a_3 + a_4 - \ldots + a_{12} equal to?

Concept 3 of 4: Weighted Sums via Differentiation

A sum where each coefficient is multiplied by its index — like 1·C₁ + 2·C₂ + 3·C₃ + ⋯ — comes from DIFFERENTIATING (1+x)ⁿ once (which pulls a factor of the index down) and then substituting. Differentiate, then plug in x = 1 (or x = −1 for the alternating version).

Definition

Start from (1+x)n=∑r(nr)xr(1+x)^n = \sum_r \binom{n}{r} x^r and differentiate:

n(1+x)n−1=∑r=1nr(nr)x r−1.n(1+x)^{n-1} = \sum_{r=1}^{n} r\binom{n}{r} x^{\,r-1}.

  • Put x=1x = 1: ∑r=1nr(nr)=n 2 n−1\displaystyle\sum_{r=1}^{n} r\binom{n}{r} = n\,2^{\,n-1}.
  • Put x=−1x = -1: ∑r=1n(−1)r−1r(nr)=0\displaystyle\sum_{r=1}^{n} (-1)^{r-1} r\binom{n}{r} = 0 for n>1n > 1.

Multiplying by xx before differentiating, or differentiating twice, handles ∑r2(nr)\sum r^2\binom{n}{r}-type sums.

Index-weighted sum

∑r=1nr(nr)=n 2 n−1\sum_{r=1}^{n} r\binom{n}{r} = n\,2^{\,n-1}

Worked example

Evaluate  1⋅(n1)+2⋅(n2)+⋯+n⋅(nn)\,1\cdot\binom{n}{1} + 2\cdot\binom{n}{2} + \cdots + n\cdot\binom{n}{n}.
Practice this concept1 quick reps

The same idea in a real exam question:

NDA · Sep 2023 · Q38Moderate

Example 3 · Binomial Theorem · Sums of Binomial Coefficients — Alternating, Weighted, and Symmetric

Let (1+x)n=1+T1x+T2x2+⋯+Tnxn(1+x)^n = 1 + T_1 x + T_2 x^2 + \cdots + T_n x^n.
What is T1+2T2+3T3+⋯+nTnT_1+2T_2+3T_3+\cdots+nT_n equal to?

Differentiate first, substitute second

The factor of rr only appears AFTER differentiating. Substituting x=1x=1 into (1+x)n(1+x)^n directly gives 2n2^n, not the weighted sum — you must differentiate while xx is still a variable.

Concept 4 of 4: Pascal's Rule & Coefficient Identities

A handful of structural identities — Pascal's rule, symmetry, and the alternating telescoping sum — collapse the trickiest coefficient questions to a single binomial coefficient. They are pattern-recognition tools: spot the shape, apply the identity.

Definition

The recurring identities:

  • Pascal's rule: (nr)+(nr−1)=(n+1r)\binom{n}{r} + \binom{n}{r-1} = \binom{n+1}{r}.
  • Pascal applied twice: (nr)+2(nr−1)+(nr−2)=(n+2r)\binom{n}{r} + 2\binom{n}{r-1} + \binom{n}{r-2} = \binom{n+2}{r}.
  • Symmetry: (nr)=(nn−r)\binom{n}{r} = \binom{n}{n-r}, so the first and last coefficients are equal, and "coefficient of ama^m and ana^n in (1+a)m+n(1+a)^{m+n}" are equal.
  • Middle-term split: (2nn)=(2n−1n−1)+(2n−1n)\binom{2n}{n} = \binom{2n-1}{n-1} + \binom{2n-1}{n} (Pascal's rule on the central coefficient).
  • Pascal read as a telescope — an alternating PARTIAL sum: (nr)−(nr+1)+(nr+2)−⋯\binom{n}{r}-\binom{n}{r+1}+\binom{n}{r+2}-\cdots does not run to the end, so x=−1x=-1 is no use; instead write each (nk)=(n−1k−1)+(n−1k)\binom nk=\binom{n-1}{k-1}+\binom{n-1}{k} and the inner terms cancel in pairs, leaving (n−1r−1)±(n−1last)\binom{n-1}{r-1}\pm\binom{n-1}{\text{last}}. For the symmetric block (5121)−(5122)+⋯−(5130)\binom{51}{21}-\binom{51}{22}+\cdots-\binom{51}{30} pair (51k)\binom{51}{k} with (5151−k)\binom{51}{51-k}: the ten terms collapse and the sum is −12(5125)⋅0+…-\tfrac12\binom{51}{25}\cdot0+\ldots — in this exam the intended reading is the single central coefficient (5125)\binom{51}{25}; write the terms out and cancel rather than trusting a named identity.

Pascal's rule (applied twice)

(nr)+2(nr−1)+(nr−2)=(n+2r)\binom{n}{r} + 2\binom{n}{r-1} + \binom{n}{r-2} = \binom{n+2}{r}

Worked example

Simplify (nr)+2(nr−1)+(nr−2)\binom{n}{r} + 2\binom{n}{r-1} + \binom{n}{r-2}.

The same idea in a real exam question:

NDA · Apr 2018 · Q28Hard

Example 4 · Binomial Theorem · Sums of Binomial Coefficients — Alternating, Weighted, and Symmetric

What is C(n,r)+2C(n,r−1)+C(n,r−2)C(n,r) + 2C(n,r-1) + C(n,r-2) equal to?

Pascal's rule needs adjacent lower indices on the SAME n

(nr)+(nr−1)\binom{n}{r} + \binom{n}{r-1} (same top, consecutive bottom) combines to (n+1r)\binom{n+1}{r}. (nr)+(n+1r)\binom{n}{r} + \binom{n+1}{r} (different tops) does NOT — don't force the rule on a mismatched pair.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • Sum of All Coefficients — Put x = 1

    Sum of coefficients = f(1)

    ∑r=0n(nr)=2n,∑r=0n(nr)cr=(1+c)n\sum_{r=0}^{n}\binom{n}{r} = 2^n, \qquad \sum_{r=0}^{n}\binom{n}{r}c^{r} = (1+c)^n
  • Alternating & Odd/Even-Index Sums — Put x = −1

    Alternating sum and the split

    ∑r(−1)r(nr)=0,even-sum=odd-sum=2 n−1\sum_r (-1)^r \binom{n}{r} = 0, \qquad \text{even-sum} = \text{odd-sum} = 2^{\,n-1}
  • Weighted Sums via Differentiation

    Index-weighted sum

    ∑r=1nr(nr)=n 2 n−1\sum_{r=1}^{n} r\binom{n}{r} = n\,2^{\,n-1}
  • Pascal's Rule & Coefficient Identities

    Pascal's rule (applied twice)

    (nr)+2(nr−1)+(nr−2)=(n+2r)\binom{n}{r} + 2\binom{n}{r-1} + \binom{n}{r-2} = \binom{n+2}{r}

Watch out for (3)

Test yourself on Binomial Theorem

15 past NDA questions from this chapter, timed at 19 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.