In this guide
← Maths AA guides

Number & algebra · AA SL & HL

Binomial expansion

Expand a power efficiently and find a chosen coefficient without multiplying every bracket.

Course focus: AA SL & HL: shared methods are taught first. Sections labelled HL extension go beyond SL requirements.

Before you start: Index laws, factorials and collecting like terms.

Start with a small example

Build it from the beginning

Expanding a power means multiplying identical brackets. Coefficients count the ways of choosing terms from those brackets. Learn the square case first: the middle term comes from two different choices, so it must not disappear.

Coefficients count choicesn=01n=111n=2121n=31331n=414641
Each interior coefficient is the sum of the two above it. Row 4 gives 1, 4, 6, 4, 1: the coefficients in (a+b)⁴ before the powers of a and b are included.

A first walkthrough

Expand \((x+3)^2\).

  1. Write \((x+3)(x+3)\).
  2. Multiply all pairs: \(x^2+3x+3x+9\).
  3. Collect terms: \(x^2+6x+9\). Squaring each term separately would miss \(6x\).
Try the practice ladder after learning the methods ↓

The foundations behind the method

Understand what the symbols mean

Expansion means multiplying brackets, whereas factorisation reverses the process. In \((a+b)^n\), each term comes from choosing either a or b from every bracket. The coefficient counts how many choices produce the same powers. For a nonnegative integer n there are exactly \(n+1\) terms before any like terms are combined.

How the ideas connect

The term containing \(b^k\) selects b from k brackets, giving \(\binom nk a^{n-k}b^k\). This explains both the coefficient and why the exponents sum to n. A negative quantity inside the bracket stays inside its power, so odd and even k give different signs.

01

Start with the idea

Build your understanding

A binomial expansion tracks choices made when multiplying identical brackets. Coefficients count how often the same product occurs. Once you understand that counting pattern, you can find a single term without writing the full expansion.

Coefficient versus term

A coefficient is the multiplier of a specified power. The complete term includes that power; a constant term is the term whose final exponent is zero.

Exponent bookkeeping

In products involving powers or reciprocals of the variable, add every contribution to the exponent before deciding which term you need.

Compare the approaches

Choose by the information in the question, rather than the formula you recognise first.

Full expansion

When it helpsUseful for a small positive integer exponent or several required terms.

Check before using itCollect like powers and preserve signs.

General term

When it helpsUseful for one coefficient or the constant term.

Check before using itThe selection index must be an integer within the expansion bounds.

Your method plan

  1. Write the general term with its selection index.
  2. Simplify its coefficient and total variable exponent separately.
  3. Match the requested exponent and check the allowed index.
02

Learn the methods

Learn step by step

1. The pattern behind the coefficients

In \((a+b)^n\), each term chooses b from some of the n brackets and a from the rest. Choosing b r times can happen in \(\binom nr\) ways. The a power falls as the b power rises; their exponents add to n.

Finite binomial theorem

Why this formula works

Expanding n brackets creates a term by choosing b from r of them and a from the remaining \(n-r\). The number of such choices is the coefficient \(\binom nr\), so the theorem counts bracket choices rather than relying on a memorised pattern.

The formula

\((a+b)^n=\sum_{r=0}^n\binom nr a^{n-r}b^r\) for nonnegative integer n.

Quick example

In \((1+x)^3\), an \(x^{2}\) term comes from choosing x in two of three brackets. There are three choices, so its coefficient is 3.

2. Find one term directly

The term indexed by r is \(\binom nr a^{n-r}b^r\). This is the \((r+1)th\) term, because r begins at zero. If b contains x, solve for the desired power of x before finding the coefficient. Include every constant factor and every sign.

Binomial coefficient

Why this formula works

There are n! orderings of all n objects. For an unordered selection of r, the r chosen objects can be ordered in r! ways and the remaining objects in \((n-r)\)! ways without changing the selection. Dividing removes those repetitions.

The formula

\(\binom nr=\frac{n!}{r!(n-r)!}\), with \(0!=1\).

Quick example

\(\binom52=5!/(2!3!)=10\). Choosing the pair A,B is the same selection as B,A.

Worked example: A signed coefficient

Find the coefficient of \(x^3\) in \((2-3x)^5\).

  1. The general term is \(\binom5r2^{5-r}(-3x)^r\). For \(x^{3}\) choose \(r=3\).
  2. Compute \(\binom532^2(-3)^3=10\times4\times(-27)\).
  3. The coefficient is −1080; the term itself is \(-1080x^3\).

3. Non-standard powers of x

For a bracket such as \((x^2+3/x)^n\), the general x exponent is \(2(n-r)-r=2n-3r\). Set it equal to the required exponent. If r is not an integer between 0 and n, that term does not occur.

Worked example: A constant term

Find the constant term in \((x^2+2/x)^6\).

  1. The general term is \(\binom6r2^r x^{12-3r}\).
  2. For a constant set \(12-3r=0\), giving \(r=4\).
  3. The coefficient is \(\binom642^4=15(16)=240\).

4. Expansion versus approximation

For a nonnegative integer n the expansion is finite and exact. An approximation for small x truncates the expression; state the requested accuracy. General non-integer powers produce an infinite series with convergence restrictions, covered in the HL counting and general binomial guide.

First terms

Why this formula works

The first terms follow by choosing \(r=0,1,2\) in the finite theorem. For a nonnegative integer n, a later falling factor becomes zero and the series terminates; a non-integer exponent instead requires an infinite-series treatment.

The formula

\((1+x)^n=1+nx+\frac{n(n-1)}2x^2+\cdots\). For integer \(n\ge 0\) this terminates.

Quick example

For \(n=4\), the first three terms of \((1+x)^4\) are \(1+4x+6x^2\). The coefficient 6 is \(4\cdot3/2\).

5. Checking and combining expansions

For a small integer power, Pascal’s triangle provides a quick coefficient check: row n begins and ends with 1 and is symmetric. That symmetry belongs to the binomial coefficients, not necessarily to the final coefficients once a and b contain constants. If a question asks for a coefficient in a product of two expansions, list every pair of terms whose exponents add to the target. For example, the \(x^{2}\) coefficient in \((1+x)^2(1+2x)\) is 1 from \(x^{2}\) times 1 plus 4 from 2x times 2x, giving 5. A single selected term from one bracket does not capture all contributions.

Quick formula reference

For revision once you understand the methods above. Check the conditions before using a formula.

Finite binomial theorem

\((a+b)^n=\sum_{r=0}^n\binom nr a^{n-r}b^r\) for nonnegative integer n.

Return to the explanation →

Binomial coefficient

\(\binom nr=\frac{n!}{r!(n-r)!}\), with \(0!=1\).

Return to the explanation →

First terms

\((1+x)^n=1+nx+\frac{n(n-1)}2x^2+\cdots\). For integer \(n\ge 0\) this terminates.

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

The \(x^2\) term in \((1-2x)^4\) is \(-24x^2\).

Explain and repair the mistake

It is \(\binom42(-2x)^2=6(4x^2)=24x^2\). The minus sign is squared. Write the whole substituted factor in brackets before raising it to a power.

03

Connect and apply

Put the ideas together

A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.

Worked application

A constant term with reciprocal powers

Find the constant term in \((2x^2-x^{-1})^6\).

  1. Choosing the second expression \(r\) times gives \(T_{r+1}=\binom6r(2x^2)^{6-r}(-x^{-1})^r\).
  2. The power of \(x\) is \(2(6-r)-r=12-3r\). The constant term therefore requires \(r=4\).
  3. The coefficient is \(\binom64 2^2(-1)^4=15\cdot4=60\). Since the final exponent is zero, the whole constant term is 60.
  4. The negative bracket does not make every coefficient negative. Here four selections produce a positive sign. The reciprocal also means the original expression requires \(x\ne0\).
Pause and explain

Would choosing \(r=3\) give the middle term and therefore the constant term?

Check your reasoning

It gives the fourth term, but its power is \(12-9=3\). Position within an expansion does not determine whether a term is constant.

Common mistakes and how to avoid them

  • Term \(r+1\) is indexed by r, not by \(r+1\).
  • Keep negative signs inside the powered bracket.
  • A coefficient excludes the power of x; a term includes it.
04

Practise independently

Build confidence, then apply it

Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.

  1. 1

    Build confidence

    Expand \((x-2)^2\).

    Need a starting point?

    Keep the sign when multiplying the two middle terms.

    Show the worked solution
    1. \(x^2-2x-2x+4\).
    2. Collecting gives \(x^2-4x+4\).
  2. 2

    Apply and explain

    Find the coefficient of \(x^2\) in \((1+2x)^3\).

    Need a starting point?

    Choose \(2x\) from two of the three brackets.

    Show the worked solution
    1. There are 3 choices for the pair of brackets.
    2. Each contributes \((2x)^2=4x^2\), giving coefficient 12.
  3. 3

    Check your understanding

    Find the coefficient of x in \((3+x)^4\).

    Show the worked solution

    Choose x once and 3 three times: \(\binom41 3^3=108\). The term is \(108x\).

  4. 4

    Use the method

    Find the coefficient of \(x^{2}\) in \((1+2x)^4\).

    Show the worked solution

    Take \(r=2\): \(\binom422^2=6(4)=24\).

Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.

Using these methods in exam questions

AA Paper 1

No calculator

Practise the algebra and exact values by hand. Keep fractions, surds and multiples of π exact where required. Show the steps that justify the result.

AA Paper 2

GDC required

Use graphing, numerical solving or statistical tools when appropriate. Write the setup before giving the output, and keep extra precision until the final answer.

For this topic: Keep algebraic transformations visible. State restrictions before cancelling or taking logarithms, and check whether the question needs an exact expression or a rounded value.

HL only · GDC required

Paper 3: build a connected argument

Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
  3. Check the conclusion against an earlier numerical case and explain its meaning or limitation.

For the first-assessment-2021 courses. IB assessment reference ↗

Find a specific method or formula

Now practise the method

If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.

Practise this subtopic →

Want a broader practice session? Explore IB Maths AA SL practice questions →Explore IB Maths AA HL practice questions →Try free IB Maths exam-style questions and worked solutions →

Original Arc Practice teaching notes for Maths AA. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.