Skip to main content

The binomial theorem and Pascal's triangle: expansion of (a+b)n(a + b)^n and the general term

Syllabus dot point

“State and use the binomial theorem, identify general and specific terms, and relate it to Pascal's triangle”

HSCMaths Extension 1Combinatorics (ME-A1)13 min read

Quick answer

The binomial theorem expands (a+b)n(a + b)^n as ∑k=0n(nk)an−kbk\sum_{k = 0}^{n} \binom{n}{k} a^{n - k} b^k with general term Tk+1=(nk)an−kbkT_{k + 1} = \binom{n}{k} a^{n - k} b^k; the coefficients are the entries of Pascal's triangle (built by adding the two entries above), and they satisfy ∑(nk)=2n\sum \binom{n}{k} = 2^n and Pascal's rule. Most exam questions reduce to writing Tk+1T_{k+1}, balancing the power of xx, and evaluating one term.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

NESA wants you to expand (a+b)n(a + b)^n using the binomial theorem, identify the general term and specific powered terms, find coefficients (including the independent or constant term), and use Pascal's triangle for small nn. The two halves of the dot point are tightly linked: the entries of Pascal's triangle are the binomial coefficients (nk)\binom{n}{k}, so understanding one explains the other. The workhorse for almost every exam question is the general term Tk+1T_{k+1}.

The answer

The binomial theorem

For any non-negative integer nn,

(a+b)n=∑k=0n(nk)an−kbk.(a + b)^n = \sum_{k = 0}^{n} \binom{n}{k} a^{n - k} b^k.

Each term has a coefficient (nk)\binom{n}{k} and powers of aa and bb that always add to nn. The reason the coefficient is (nk)\binom{n}{k} is itself a counting argument: expanding (a+b)n=(a+b)(a+b)⋯(a+b)(a+b)^n = (a+b)(a+b)\cdots(a+b) means choosing aa or bb from each of the nn brackets; a term an−kbka^{n-k}b^k comes from choosing bb in exactly kk of the brackets, and there are (nk)\binom{n}{k} ways to do that. So the binomial theorem is combinations in disguise, which is why this dot point sits in the combinatorics module.

Expanded form for small nn

(a+b)2=a2+2ab+b2,(a + b)^2 = a^2 + 2 a b + b^2,

(a+b)3=a3+3a2b+3ab2+b3,(a + b)^3 = a^3 + 3 a^2 b + 3 a b^2 + b^3,

(a+b)4=a4+4a3b+6a2b2+4ab3+b4,(a + b)^4 = a^4 + 4 a^3 b + 6 a^2 b^2 + 4 a b^3 + b^4,

(a+b)5=a5+5a4b+10a3b2+10a2b3+5ab4+b5.(a + b)^5 = a^5 + 5 a^4 b + 10 a^3 b^2 + 10 a^2 b^3 + 5 a b^4 + b^5.

The coefficients 1,2,11, 2, 1; 1,3,3,11, 3, 3, 1; 1,4,6,4,11, 4, 6, 4, 1; 1,5,10,10,5,11, 5, 10, 10, 5, 1 are exactly the rows of Pascal's triangle, and the powers of aa count down from nn to 00 while the powers of bb count up from 00 to nn.

The general term

The (k+1)(k + 1)-th term in the expansion of (a+b)n(a + b)^n is

Tk+1=(nk)an−kbk.T_{k + 1} = \binom{n}{k} a^{n - k} b^k.

So T1=anT_1 = a^n (with k=0k = 0), T2=nan−1bT_2 = n a^{n - 1} b, and the last term is Tn+1=bnT_{n + 1} = b^n. The general term is the single most useful object in this topic: "find the coefficient of xmx^m" and "find the term independent of xx" both reduce to writing Tk+1T_{k+1}, finding which kk produces the power you want, and evaluating.

Pascal's triangle, built row by row

Each row of Pascal's triangle gives the coefficients of (a+b)n(a + b)^n for that nn. The triangle is built from two simple rules: every row begins and ends with 11, and every interior entry is the sum of the two entries directly above it. That second rule is Pascal's rule, (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n - 1}{k - 1} + \binom{n - 1}{k}, so the triangle is a fast way to generate binomial coefficients for small nn without any factorials.

Stage 1, the apex and the edges. Start with a single 11 at the top (this is (00)\binom{0}{0}, the coefficient in (a+b)0=1(a+b)^0 = 1). Each new row begins and ends with 11, because (n0)=(nn)=1\binom{n}{0} = \binom{n}{n} = 1.

Pascal's triangle stage 1: the apex and first rowsPascal's triangle started: row zero is one, row one is one one, row two is one two one. Every row begins and ends with one.Rows n = 0 to 2n=0n=1n=2111121Start with 1 at the apex. Each new row begins and ends with 1.

Stage 2, add the two above. To make the next row, each interior entry is the sum of the two entries diagonally above it. In row 33 the middle entry is 1+2=31 + 2 = 3. This is Pascal's rule in action.

Pascal's triangle stage 2: each entry is the sum of the two aboveBuilding row three: the middle entry three is formed by adding the two entries one and two directly above it. Arrows show one plus two equals three.Row n = 3: add the two aboven=0n=1n=2n=31111211331Interior entries are the sum of the two above: 1 + 2 = 3 (Pascal's rule).

Stage 3, the triangle to row 5. Continuing the same rule fills out every row. Row 55 reads 1,5,10,10,5,11, 5, 10, 10, 5, 1, and these are precisely the coefficients in (a+b)5=a5+5a4b+10a3b2+10a2b3+5ab4+b5(a+b)^5 = a^5 + 5a^4b + 10a^3b^2 + 10a^2b^3 + 5ab^4 + b^5.

Pascal's triangle stage 3: rows to n = 5Pascal's triangle completed to row five: one five ten ten five one. These are the coefficients of the expansion of a plus b to the power five.Row n = 5n=0n=1n=2n=3n=4n=511112113311464115101051Row 5 reads 1 5 10 10 5 1: the coefficients of (a + b) to the power 5.

Reading the rows (nn starting from 00):

  • n=0n = 0: 11
  • n=1n = 1: 1,11, 1
  • n=2n = 2: 1,2,11, 2, 1
  • n=3n = 3: 1,3,3,11, 3, 3, 1
  • n=4n = 4: 1,4,6,4,11, 4, 6, 4, 1
  • n=5n = 5: 1,5,10,10,5,11, 5, 10, 10, 5, 1
  • n=6n = 6: 1,6,15,20,15,6,11, 6, 15, 20, 15, 6, 1

Entry kk of row nn (counting from k=0k = 0) is (nk)\binom{n}{k}, so Pascal's triangle is just a table of binomial coefficients.

Key fact

(a+b)n=∑k=0n(nk)an−kbk,Tk+1=(nk)an−kbk.(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k, \qquad T_{k+1} = \binom{n}{k} a^{n-k} b^k.

The coefficients are the entries of Pascal's triangle (row nn, entry kk is (nk)\binom{n}{k}), built by the rule that each interior entry is the sum of the two above it. For any "find the coefficient of xmx^m" or "find the constant term" question, write Tk+1T_{k+1}, set the power of xx to the value you want, solve for kk, then evaluate that one term.

Sum identities

∑k=0n(nk)=2n\displaystyle\sum_{k = 0}^{n} \binom{n}{k} = 2^n (set a=b=1a = b = 1): the sum of each row of Pascal's triangle is a power of 22.

∑k=0n(−1)k(nk)=0\displaystyle\sum_{k = 0}^{n} (-1)^k \binom{n}{k} = 0 for n≥1n \ge 1 (set a=1a = 1, b=−1b = -1): the alternating row sum is 00.

∑k=0nk(nk)=n 2n−1\displaystyle\sum_{k = 0}^{n} k \binom{n}{k} = n \, 2^{n - 1} (differentiate (1+x)n(1 + x)^n then set x=1x = 1).

These show up regularly in HSC binomial-identity proofs, almost always proved by substituting convenient values of aa and bb into the binomial theorem.

Finding specific terms

Coefficient of xmx^m in (ax+b)n(a x + b)^n
write Tk+1=(nk)(ax)n−kbkT_{k+1} = \binom{n}{k}(ax)^{n-k} b^k, find the kk that gives xmx^m, then read the coefficient.
Term independent of xx (the constant term)
set the power of xx in Tk+1T_{k + 1} to 00 and solve for kk.
Approximation (1+x)n≈1+nx+(n2)x2+…(1 + x)^n \approx 1 + n x + \binom{n}{2} x^2 + \dots for small xx
keep only the first few terms, because higher powers of a small xx are negligible.

How exam questions ask about the binomial theorem

  • "Expand (a+b)n(a + b)^n" for small nn: read the coefficients off Pascal's triangle and attach the descending and ascending powers.
  • "Find the coefficient of xmx^m in ...": general term, solve the power equation for kk, evaluate. The most common type.
  • "Find the term independent of xx / the constant term in ...": general term, set the power of xx to 00, solve for kk.
  • "Find the middle term of ...": for even nn the middle term is Tn/2+1T_{n/2 + 1}.
  • "Find the greatest coefficient / the greatest term when x=…x = \ldots": form the ratio Tk+1Tk\frac{T_{k+1}}{T_k} and find where it crosses 11.
  • "Show that ∑(nk)=2n\sum \binom{n}{k} = 2^n" (or an alternating / weighted sum): substitute suitable aa, bb (often 11 and ±1\pm 1) into the binomial theorem, or differentiate (1+x)n(1+x)^n first.
  • "Use the expansion to approximate (1.0…)n(1.0\ldots)^n": write the base as 1+x1 + x with small xx and keep the first two or three terms.
  • A (pxa+qxb)n\left(px^a + \frac{q}{x^b}\right)^n form is the cue that the power of xx in the general term is a(n−k)−bka(n - k) - bk; balance it to the target power.
Exam technique

For any "coefficient" or "constant term" question, write the general term Tk+1=(nk)an−kbkT_{k+1} = \binom{n}{k}a^{n-k}b^k first, then collect all the powers of xx into one exponent and set it equal to the target before touching the arithmetic. This separates the (cheap) index-finding from the (error-prone) evaluating. Keep every constant inside its bracket raised to the right power, so for (2x+3)7(2x+3)^7 write (2x)7−k(3)k(2x)^{7-k}(3)^k, not just x7−kx^{7-k}. Watch signs: a minus inside the bracket gives a (−1)k(-1)^k that flips alternate terms. For Pascal's triangle, you only need it for small nn; for larger nn compute (nk)\binom{n}{k} directly. State the final answer as the coefficient (a number) unless the question asks for the whole term.

Worked example

Expand using a Pascal row

To expand (x+2)4(x + 2)^4, we need the coefficients for n=4n = 4. Row 4 of Pascal's triangle gives 1,4,6,4,11, 4, 6, 4, 1. Each coefficient multiplies the corresponding powers of xx and 22.

Write out all five terms:

In (x+2)4=(40)x4+(41)x3⋅2+(42)x2⋅4+(43)x⋅8+(44)⋅16(x + 2)^4 = \binom{4}{0} x^4 + \binom{4}{1} x^3 \cdot 2 + \binom{4}{2} x^2 \cdot 4 + \binom{4}{3} x \cdot 8 + \binom{4}{4} \cdot 16, compute each product.

=x4+8x3+24x2+32x+16.= x^4 + 8x^3 + 24x^2 + 32x + 16.

Final answer: x4+8x3+24x2+32x+16x^4 + 8x^3 + 24x^2 + 32x + 16.


Find a coefficient with the general term

To find the coefficient of x3x^3 in (1+2x)6(1 + 2x)^6, write the general term with a=1a = 1 and b=2xb = 2x.

Tk+1=(6k)(1)6−k(2x)k=(6k)2kxk.T_{k+1} = \binom{6}{k}(1)^{6-k}(2x)^k = \binom{6}{k} 2^k x^k.

The power of xx is kk, so we need k=3k = 3.

Evaluate the term at k=3k = 3:

T4=(63)23=20⋅8=160.T_4 = \binom{6}{3} 2^3 = 20 \cdot 8 = 160.

Final answer: the coefficient of x3x^3 is 160160.


Find the term independent of xx

To find the term independent of xx in (2x2+1x)6\left(2x^2 + \dfrac{1}{x}\right)^6, write the general term with a=2x2a = 2x^2 and b=x−1b = x^{-1}.

Tk+1=(6k)(2x2)6−k(1x)k=(6k)26−kx12−2k⋅x−k=(6k)26−kx12−3k.T_{k+1} = \binom{6}{k}(2x^2)^{6-k}\left(\frac{1}{x}\right)^k = \binom{6}{k} 2^{6-k} x^{12-2k} \cdot x^{-k} = \binom{6}{k} 2^{6-k} x^{12-3k}.

Set the power of xx to zero and compute the term:

For the term to be independent of xx, we need 12−3k=012 - 3k = 0, so k=4k = 4.

T5=(64)26−4=15⋅4=60.T_5 = \binom{6}{4} 2^{6-4} = 15 \cdot 4 = 60.

Final answer: the term independent of xx is 6060.


Prove a sum identity by choosing values of aa and bb

To prove ∑k=0n(nk)=2n\sum_{k=0}^{n} \binom{n}{k} = 2^n, start from the binomial theorem: (a+b)n=∑k=0n(nk)an−kbk(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k. Setting a=1a = 1 and b=1b = 1 makes every an−kbka^{n-k} b^k equal to 11, collapsing the sum.

Evaluate both sides at a=b=1a = b = 1:

(1+1)n=∑k=0n(nk)1n−k1k=∑k=0n(nk).(1 + 1)^n = \sum_{k=0}^{n} \binom{n}{k} 1^{n-k} 1^k = \sum_{k=0}^{n} \binom{n}{k}.

The left side is 2n2^n, so ∑k=0n(nk)=2n\sum_{k=0}^{n} \binom{n}{k} = 2^n. As required.


Approximate a power with the first few terms

To approximate (1.01)5(1.01)^5, write 1.01=1+x1.01 = 1 + x with x=0.01x = 0.01, which is small, so higher powers of xx are negligible. The binomial expansion gives:

(1+x)5=1+5x+10x2+10x3+⋯(1 + x)^5 = 1 + 5x + 10x^2 + 10x^3 + \cdots

Evaluate the leading terms:

≈1+5(0.01)+10(0.01)2=1+0.05+0.0010=1.0510.\approx 1 + 5(0.01) + 10(0.01)^2 = 1 + 0.05 + 0.0010 = 1.0510.

Compared to the exact value 1.0510100501…1.0510100501\ldots, this is accurate to three decimal places.

Final answer: (1.01)5≈1.0510(1.01)^5 \approx 1.0510.


Expand with a negative second term

To expand (x−1)4(x - 1)^4, write it as (x+(−1))4(x + (-1))^4. The general term is (4k)x4−k(−1)k\binom{4}{k} x^{4-k} (-1)^k, so the sign of each term is (−1)k(-1)^k, alternating as kk increases.

List the five terms:

(40)x4−(41)x3+(42)x2−(43)x+(44)=x4−4x3+6x2−4x+1.\binom{4}{0}x^4 - \binom{4}{1}x^3 + \binom{4}{2}x^2 - \binom{4}{3}x + \binom{4}{4} = x^4 - 4x^3 + 6x^2 - 4x + 1.

Final answer: x4−4x3+6x2−4x+1x^4 - 4x^3 + 6x^2 - 4x + 1.

Common traps
Index off by one
Tk+1T_{k + 1} has kk ranging from 00 to nn, so T1T_1 has k=0k = 0 and Tn+1T_{n + 1} has k=nk = n. Mixing TkT_k and Tk+1T_{k + 1} shifts the index by one.
Wrong power balance
In (axp+bxq)n(a x^p + b x^q)^n, the power of xx in Tk+1T_{k + 1} is p(n−k)+qkp(n - k) + q k. Combine both contributions before setting the target; do not forget the power coming from the second term.
Forgetting an−ka^{n - k} when a≠1a \neq 1
(2x+3)5(2 x + 3)^5 has Tk+1=(5k)(2x)5−k(3)kT_{k + 1} = \binom{5}{k} (2 x)^{5 - k} (3)^k. Both the 22 and the 33 carry their own powers.
Sign error with a negative term
(a−b)n(a - b)^n alternates signs because (−b)k(-b)^k contributes (−1)k(-1)^k. Track the sign through to the final coefficient.
Pascal vs the full term
The triangle gives only the coefficient (nk)\binom{n}{k}; the full term also includes an−kbka^{n - k} b^k. A "coefficient" answer in a question with constants (like (2x+3)n(2x+3)^n) must fold those constants in, not just quote the triangle entry.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style3 marks
Find the coefficient of x4x^4 in the expansion of (2x+3)7(2 x + 3)^7.
Show worked answer →

General term: Tk+1=(7k)(2x)7−k(3)kT_{k + 1} = \binom{7}{k} (2 x)^{7 - k} (3)^k.

For x4x^4: 7−k=47 - k = 4, so k=3k = 3.

T4=(73)(2x)4(3)3=35⋅16x4⋅27=35⋅432x4=15 120 x4T_4 = \binom{7}{3} (2 x)^4 (3)^3 = 35 \cdot 16 x^4 \cdot 27 = 35 \cdot 432 x^4 = 15 \, 120 \, x^4.

Coefficient: 15 12015 \, 120.

Markers reward the general term, identifying the right kk, and the arithmetic.

HSC-style4 marks
Find the term independent of xx in the expansion of (x−2x2)9\left( x - \frac{2}{x^2} \right)^9.
Show worked answer →

General term: Tk+1=(9k)x9−k(−2x2)k=(9k)(−2)kx9−k−2k=(9k)(−2)kx9−3kT_{k + 1} = \binom{9}{k} x^{9 - k} \left( -\frac{2}{x^2} \right)^k = \binom{9}{k} (-2)^k x^{9 - k - 2 k} = \binom{9}{k} (-2)^k x^{9 - 3 k}.

Term independent of xx: 9−3k=09 - 3 k = 0, so k=3k = 3.

T4=(93)(−2)3=84⋅(−8)=−672T_4 = \binom{9}{3} (-2)^3 = 84 \cdot (-8) = -672.

Markers reward the general term in terms of kk, the power-balancing equation, and the final value.

Practise this

Sources & how we know this

ExamExplained