Binomial Expansions with Unknowns (AA HL)

In some binomial questions a quantity is unknown: the power nn, a constant inside the bracket, or a condition relating two terms. Write the general term (nr)an−rbr\binom{n}{r}a^{n-r}b^r for the term you need, translate the given condition into an equation, and solve it. The expansion itself works as usual. It's part of the broader Binomial Theorem topic.

28 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL1.9The binomial theorem: expansion of (a+b)n, n∈N(a+b)^n,\ n\in\mathbb N. Use of Pascal's triangle and (nr)\binom{n}{r}, found using both the formula and technology.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The formulas you need

Both formulas below are in the formula booklet.

Binomial theorem

(a+b)n=∑r=0n(nr)an−rbr(a+b)^n=\displaystyle\sum_{r=0}^{n}\binom{n}{r}a^{n-r}b^r

Positive integer nn. When nn is itself the unknown, leave it as a letter in this formula and build an equation from whatever condition the question gives you.

Binomial coefficient

(nr)=n!r!(n−r)!\binom{n}{r}=\dfrac{n!}{r!(n-r)!}

Use this to compare or equate two coefficients symbolically - the ratio (nr+1)/(nr)\binom{n}{r+1}/\binom{n}{r} often simplifies an "equal coefficients" condition down to a single linear equation.

Need the full syllabus wording and formula-booklet reference table? See Binomial Theorem. GDC methods for these expansions are covered in the parent topic's GDC section.

Key terms

What is the general term of a binomial expansion?

In (a+b)n(a+b)^n, the general term is (nr)an−rbr\binom{n}{r}a^{n-r}b^r for r=0,1,…,nr=0,1,\dots,n. It is the (r+1)(r+1)th term and contains bb to the power rr.

e.g. In (1+x)5(1+x)^5 the general term is (5r)xr\binom{5}{r}x^r, and r=2r=2 gives 10x210x^2.

What is a binomial coefficient?

The binomial coefficient is (nr)=n!r!(n−r)!\binom{n}{r}=\dfrac{n!}{r!\,(n-r)!}, the number in front of each term. It can also be read from Pascal's triangle or found with technology.

e.g. (62)=6×52×1=15\binom{6}{2}=\dfrac{6\times5}{2\times1}=15.

How do you use the ratio of consecutive coefficients?

The ratio (nr+1)(nr)=n−rr+1\dfrac{\binom{n}{r+1}}{\binom{n}{r}}=\dfrac{n-r}{r+1} lets you compare neighbouring coefficients without expanding factorials. This is useful when nn is unknown.

e.g. If (n2)=(n3)\binom{n}{2}=\binom{n}{3}, then n−23=1\dfrac{n-2}{3}=1, so n=5n=5.

How do you find an unknown constant inside the bracket?

Keep the constant as a letter in bb, find the coefficient of the required power, and set it equal to the given value. Solve the resulting equation.

e.g. In (1+kx)4(1+kx)^4 the coefficient of x2x^2 is (42)k2=6k2\binom{4}{2}k^2=6k^2; if this equals 5454, then k2=9k^2=9, so k=±3k=\pm3.

Worked examples

1
Medium
No calc
[4 marks]

Find the coefficient of x4x^4 in (1+x+x2)(1+x)6.(1+x+x^2)(1+x)^6.

Worked solution

x4:15, x3:20, x2:15.x^4:15,\ x^3:20,\ x^2:15. M1 A1
1⋅15+1⋅20+1⋅151\cdot 15 + 1\cdot 20 + 1\cdot 15 M1 =50.= 50. A1

M1 Relevant coefficients A1 15,20,1515, 20, 15 M1 Collect contributions A1 Coefficient =50=50
2
Hard
No calc
[4 marks]

In the expansion of (1+x)n(1 + x)^{n}, the coefficients of x4x^4 and x5x^5 are equal.

Find n.n.

Worked solution

(n4)=(n5).\binom n4 = \binom n5. M1
(n5)(n4)=n−45.\dfrac{\binom n5}{\binom n4} = \dfrac{n-4}{5}. M1 A1
n−45=1⇒n−4=5⇒n=9.\dfrac{n-4}{5} = 1 \Rightarrow n - 4 = 5 \Rightarrow n = 9. A1

M1 Equate coefficients M1 Form the ratio A1 Ratio =n−45=\tfrac{n-4}{5} A1 n=9n=9
3
Easy
No calc
[4 marks]

Expand (2−x)4(2-x)^4 fully.

Worked solution

(40)24−(41)23x+(42)22x2−(43)2x3+(44)x4.\binom40 2^4 - \binom41 2^3 x + \binom42 2^2 x^2 - \binom43 2x^3 + \binom44 x^4. M1
16−32x+24x2−8x3+x4.16 - 32x + 24x^2 - 8x^3 + x^4. A1 A1 A1

M1 Expansion with coefficients A1 16−32x16-32x A1 24x2−8x324x^2-8x^3 A1 +x4+x^4, full expansion

Common mistakes

  • Ignoring the validity range |x|<1|x|<1. If the question extends to a fractional or negative power, the expansion only converges where |x|<1|x|<1 - state this range whenever asked to justify an approximation.
  • Assuming an unknown nn fixes the position rr too. When a condition links two coefficients, nn and rr are two separate unknowns - write both binomial coefficients in terms of both letters before you start cancelling.
  • Expanding (nr)\binom{n}{r} from scratch instead of using the ratio. Full factorial expansion of an unknown-nn coefficient gets messy fast; forming (nr+1)/(nr)\binom{n}{r+1}/\binom{n}{r} collapses almost everything and leaves one clean linear equation.

Using your GDC

Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.

Show steps for:
Permutations and combinations (nPr, nCr)

Count arrangements and selections quickly - and get the coefficients used in the binomial theorem.

  1. Type n, then MATH → PROB → nCr (or nPr), then r, then ENTER.TI-84
  2. Use nCr(n, r) or nPr(n, r) from the catalog.Nspire
  3. Type n, then OPTN → PROB → nCr (or nPr), then r.Casio

Tip: nCr ignores order (choosing a team); nPr counts order (ranking places). nCr(n, r) is the binomial coefficient.

Enter scientific notation (standard form)

For very large or very small numbers thrown up by expansions with big coefficients - avoids typing long strings of zeros and prevents rounding errors.

  1. Scientific notation means a×10na\times10^n, e.g. 3.2×1083.2\times10^8 or 4.5×10−34.5\times10^{-3}.
  2. Use 2nd → , (EE) to enter the ×10 part: type 3.2 2nd , 8 to enter 3.2×1083.2\times10^8. Do NOT type ×10^ separately.TI-84
  3. Use the EE key (or type ×10^ from the keyboard template) to enter scientific notation. Or just type 3.2×10^8 using the ^ key.Nspire
  4. Use the ×10ˣ key (EXP key) - type 3.2 then EXP then 8. Do NOT type ×10^ manually.Casio
  5. To display answers in scientific notation: on TI-84 press MODE and choose SCI; on Casio set the display mode in SET UP.

Tip: A common mistake is typing ×10^ instead of using the EE/EXP key - this gives ×10×... (multiplication, then a power) rather than proper scientific notation.

See the full GDC guide for more calculator models and topics.

Quick questions

How do I expand a binomial like (1+x)n(1+x)^n?

Use the binomial theorem (a+b)n=∑r=0n(nr)an−rbr(a+b)^n=\sum_{r=0}^{n}\binom{n}{r}a^{n-r}b^r, reading the coefficients (nr)\binom{n}{r} off Pascal's triangle or from the formula n!r!(n−r)!\dfrac{n!}{r!(n-r)!}.

What if the power nn is unknown in the question?

Keep nn as a letter in the general term, turn whatever condition the question gives (two coefficients equal, one coefficient stated) into an equation, and solve that equation for nn.

How do I find nn when a coefficient is given?

Write the coefficient using (nr)\binom{n}{r}, set it equal to the given value, and solve for nn. If the coefficient of x2x^2 in (1+x)n(1+x)^n is 4545, then n(n−1)2=45\dfrac{n(n-1)}{2}=45, so n2−n−90=0n^2-n-90=0, giving n=10n=10 after rejecting n=−9n=-9.

Can there be two possible values of the unknown?

Yes. If the unknown appears squared, solving gives positive and negative values, such as k2=9k^2=9 so k=3k=3 or k=−3k=-3. Check each value against every condition in the question.

How do I find a coefficient when two brackets are multiplied?

List each pair of terms, one from each bracket, whose powers add to the required power, multiply the pairs and add the results. In (2+x)(1+x)3(2+x)(1+x)^3, the coefficient of x2x^2 is 2×3+1×3=92\times3+1\times3=9.

Ready to practise properly?

28 binomial-with-unknowns questions, marked instantly like the real exam.