Iteration
x

Revision notes for Edexcel GCSE Maths Iteration. Open the guide for explanations and worked examples. Written against the Edexcel GCSE Maths (1MA1) specification, so the content matches what's examinable rather than general Maths background.

Iteration

What you'll learn

  • Read notation like x0x_0x0​, xnx_nxn​ and xn+1x_{n+1}xn+1​.
  • Use an iterative formula to generate values such as x1x_1x1​, x2x_2x2​, x3x_3x3​.
  • Use iteration to estimate solutions to equations.
  • Show a solution lies in an interval and explain the link between an iteration and an equation.

1. Reading the notation

A sequence is a list of numbers in order. Each number in the list is called a term.

A subscript is the small lower number on a letter. For example, x3x_3x3​ means “the term with subscript 3”. It does not mean x3x^3x3.

A starting value is the value you are given before any formula is used, usually x0x_0x0​ or P0P_0P0​.

Definition

Iteration

Iteration means repeatedly applying the same rule. A recurrence formula is a rule that tells you how to get the next term from the current term, such as Pt+1=1.10(Pt−12)P_{t+1}=1.10(P_t-12)Pt+1​=1.10(Pt​−12).

Iteration uses the output from one step as the input for the next step.

Worked example: a changing population

Example

Finding a future population

The number of birds in a park after ttt weeks is PtP_tPt​, where P0=180P_0=180P0​=180 and Pt+1=1.10(Pt−12)P_{t+1}=1.10(P_t-12)Pt+1​=1.10(Pt​−12). Find P3P_3P3​.

Each week’s population is found from the previous week’s value, not by reusing the starting value each time.

  1. Start with the given value P0=180P_0=180P0​=180.

  2. Substitute P0P_0P0​ into the rule to find P1P_1P1​.

    P1=1.10(180−12)=1.10×168=184.8P_1=1.10(180-12)=1.10 \times 168=184.8P1​=1.10(180−12)=1.10×168=184.8
  3. Use P1P_1P1​, not P0P_0P0​, to find P2P_2P2​.

    P2=1.10(184.8−12)=1.10×172.8=190.08P_2=1.10(184.8-12)=1.10 \times 172.8=190.08P2​=1.10(184.8−12)=1.10×172.8=190.08
  4. Use P2P_2P2​ to find P3P_3P3​.

    P3=1.10(190.08−12)=1.10×178.08=195.888P_3=1.10(190.08-12)=1.10 \times 178.08=195.888P3​=1.10(190.08−12)=1.10×178.08=195.888
  5. So the formula gives P3=195.888P_3=195.888P3​=195.888, which is about 196 birds if a whole number is required.

Common Mistake

Reusing the starting value

Do not put P0P_0P0​ into every line. P1P_1P1​ uses P0P_0P0​, then P2P_2P2​ uses P1P_1P1​, then P3P_3P3​ uses P2P_2P2​.

2. Iterating algebraic formulae

Many questions use a rule like:

xn+1=2+6xn2x_{n+1}=2+\frac{6}{x_n^2}xn+1​=2+xn2​6​

Here, xnx_nxn​ means the current value, and xn+1x_{n+1}xn+1​ means the next value.

The subscript n marks the current term, while n+1 marks the term produced by the formula.

Key Idea

Current value to next value

To find the next term, substitute the current term into the formula. After one use of the formula you get x1x_1x1​; after two uses you get x2x_2x2​; after three uses you get x3x_3x3​.

Worked example: finding x1x_1x1​, x2x_2x2​ and x3x_3x3​

Example

Using an iteration formula three times

Use xn+1=2+6xn2x_{n+1}=2+\frac{6}{x_n^2}xn+1​=2+xn2​6​, with x0=2x_0=2x0​=2, to find x1x_1x1​, x2x_2x2​ and x3x_3x3​.

The formula is applied three times, feeding each answer into the next step.

  1. Find the first new value, x1x_1x1​, by using x0=2x_0=2x0​=2.

    x1=2+622=2+64=3.5x_1=2+\frac{6}{2^2}=2+\frac{6}{4}=3.5x1​=2+226​=2+46​=3.5
  2. Find x2x_2x2​ by using x1=3.5x_1=3.5x1​=3.5.

    x2=2+63.52=2.489795918…x_2=2+\frac{6}{3.5^2}=2.489795918\ldotsx2​=2+3.526​=2.489795918…
  3. Find x3x_3x3​ by using the full calculator value for x2x_2x2​.

    x3=2+62.489795918…2=2.967884977…x_3=2+\frac{6}{2.489795918\ldots^2}=2.967884977\ldotsx3​=2+2.489795918…26​=2.967884977…
  4. To 3 d.p., the values are x1=3.500x_1=3.500x1​=3.500, x2=2.490x_2=2.490x2​=2.490 and x3=2.968x_3=2.968x3​=2.968.

Tip

Calculator shortcut

Use the calculator’s Ans key carefully: enter the starting value first, then type the formula using Ans wherever xnx_nxn​ appears, and press equals repeatedly.

3. Using iteration to estimate solutions

Some equations are difficult to solve exactly. Instead, you may be given an iteration formula that produces better and better estimates.

If the terms get closer and closer to one value, we say the sequence converges.

Definition

Root and fixed point

A root is a value of xxx that makes an equation true. A fixed point is a value that stays unchanged by an iteration, so the current value and next value are equal.

At a fixed point, applying the iteration rule leaves the value unchanged.

Worked example: estimating a solution

Example

Three iterations for an estimate

Starting with x0=0x_0=0x0​=0, use xn+1=2xn2+4x_{n+1}=\frac{2}{x_n^2+4}xn+1​=xn2​+42​ three times to estimate the solution of x3+4x=2x^3+4x=2x3+4x=2.

The sequence of estimates moves towards a stable fixed point where the current and next values are nearly equal.

  1. Start with x0=0x_0=0x0​=0.

  2. First iteration:

    x1=202+4=0.5x_1=\frac{2}{0^2+4}=0.5x1​=02+42​=0.5
  3. Second iteration:

    x2=20.52+4=0.470588235…x_2=\frac{2}{0.5^2+4}=0.470588235\ldotsx2​=0.52+42​=0.470588235…
  4. Third iteration:

    x3=20.470588235…2+4=0.473770491…x_3=\frac{2}{0.470588235\ldots^2+4}=0.473770491\ldotsx3​=0.470588235…2+42​=0.473770491…
  5. After three iterations, the estimate is x≈0.474x\approx0.474x≈0.474.

Common Mistake

Stopping too early

If a question says use the formula three times from x0x_0x0​, calculate x1x_1x1​, x2x_2x2​ and x3x_3x3​. Do not stop at x2x_2x2​.

4. Explaining the relationship to an equation

You may be asked what the values x1x_1x1​, x2x_2x2​, x3x_3x3​ have to do with an equation.

The key idea is: if the iteration settles down, then eventually the current value and next value are almost the same.

Worked example: linking the formula and equation

Example

Why the iteration solves the equation

An iteration is xn+1=2xn2+4x_{n+1}=\frac{2}{x_n^2+4}xn+1​=xn2​+42​. Explain its relationship with x3+4x−2=0x^3+4x-2=0x3+4x−2=0.

When the iteration converges, replacing both the current and next values by the same fixed value links the formula to the equation.

  1. If the sequence converges to a value aaa, then both xnx_nxn​ and xn+1x_{n+1}xn+1​ are close to aaa.

  2. Replace xnx_nxn​ and xn+1x_{n+1}xn+1​ with aaa.

    a=2a2+4a=\frac{2}{a^2+4}a=a2+42​
  3. Multiply both sides by a2+4a^2+4a2+4.

    a(a2+4)=2a(a^2+4)=2a(a2+4)=2
  4. Expand and rearrange.

    a3+4a−2=0a^3+4a-2=0a3+4a−2=0
  5. Therefore the converging values are estimates for a root of x3+4x−2=0x^3+4x-2=0x3+4x−2=0.

Common Mistake

Not every rearrangement works

Different rearrangements of the same equation can behave differently. In an exam, use the iteration formula you are given unless you are specifically asked to rearrange it.

5. Showing a solution lies in an interval

To test an interval, write the equation as f(x)=0f(x)=0f(x)=0. Function notation f(x)f(x)f(x) means “the value of the expression when the input is xxx”.

Definition

Sign change

A sign change means one output is negative and the other is positive. For a continuous graph, this shows the graph crosses the x-axis between the two inputs.

Equations made from powers of xxx, such as x3+5x−2=0x^3+5x-2=0x3+5x−2=0, have continuous graphs.

Worked example: showing a solution is between two values

Example

Using a sign change

Show that x3+5x−2=0x^3+5x-2=0x3+5x−2=0 has a solution between x=0x=0x=0 and x=1x=1x=1.

A continuous graph with opposite signs at the endpoints must cross the x-axis between them.

  1. Let f(x)=x3+5x−2f(x)=x^3+5x-2f(x)=x3+5x−2.

  2. Substitute x=0x=0x=0.

    f(0)=03+5(0)−2=−2f(0)=0^3+5(0)-2=-2f(0)=03+5(0)−2=−2
  3. Substitute x=1x=1x=1.

    f(1)=13+5(1)−2=4f(1)=1^3+5(1)-2=4f(1)=13+5(1)−2=4
  4. The outputs -2 and 4 have opposite signs, so there is a sign change.

  5. Because the graph is continuous, there is a solution between x=0x=0x=0 and x=1x=1x=1.

6. Rearranging into an iteration formula

Sometimes you must rearrange an equation into the form:

x=an expression involving xx=\text{an expression involving }xx=an expression involving x

Then you turn it into an iteration formula by writing the next value on the left and the current value on the right.

Worked example: rearrange and iterate

Example

Creating and using an iteration formula

Show that x3+5x=2x^3+5x=2x3+5x=2 can be rearranged as x=25−x35x=\frac{2}{5}-\frac{x^3}{5}x=52​−5x3​. Then use x0=0x_0=0x0​=0 to iterate twice.

  1. Rearrange the equation.

    x3+5x=25x=2−x3x=2−x35=25−x35\begin{aligned} x^3+5x&=2\\ 5x&=2-x^3\\ x&=\frac{2-x^3}{5}=\frac{2}{5}-\frac{x^3}{5} \end{aligned}x3+5x5xx​=2=2−x3=52−x3​=52​−5x3​​
  2. Write it as an iteration formula.

    xn+1=25−xn35x_{n+1}=\frac{2}{5}-\frac{x_n^3}{5}xn+1​=52​−5xn3​​
  3. Use x0=0x_0=0x0​=0 to find x1x_1x1​.

    x1=25−035=0.4x_1=\frac{2}{5}-\frac{0^3}{5}=0.4x1​=52​−503​=0.4
  4. Use x1=0.4x_1=0.4x1​=0.4 to find x2x_2x2​.

    x2=25−0.435=0.3872x_2=\frac{2}{5}-\frac{0.4^3}{5}=0.3872x2​=52​−50.43​=0.3872
  5. After two iterations, the estimate is x≈0.3872x\approx0.3872x≈0.3872.

Common Mistake

Mixing the symbols

Once you turn a rearrangement into an iteration formula, write the next value as xn+1x_{n+1}xn+1​ and every current value on the right as xnx_nxn​.

Exam technique

In the exam

  1. Write down the starting value clearly, then label each new value x1x_1x1​, x2x_2x2​, x3x_3x3​ or P1P_1P1​, P2P_2P2​, P3P_3P3​.

  2. Use the previous answer each time; keep full calculator accuracy and round only the final answer unless told otherwise.

  3. For interval questions, substitute both endpoints into f(x)f(x)f(x) and state that opposite signs show a root between them.

  4. For relationship questions, set xn+1=xn=xx_{n+1}=x_n=xxn+1​=xn​=x, then rearrange back to the original equation.

Self review

Check yourself

  • If you start with x0x_0x0​, what values do you find after three iterations?
  • How would you show that x3+5x−2=0x^3+5x-2=0x3+5x−2=0 has a root between 0 and 1?
  • Why does a fixed point of xn+1=2xn2+4x_{n+1}=\frac{2}{x_n^2+4}xn+1​=xn2​+42​ solve x3+4x−2=0x^3+4x-2=0x3+4x−2=0?

Recap questions

Test yourself with 5 quick questions on this guide. Answer them all correctly to complete it.

You've reached the end

Test yourself on this topic, or move on to the next guide.

Practice questionsTake a quick quiz on this topicFlashcardsSelf-test with active recall
Finding the Area of Any TriangleUp next

How was this guide?

Iteration Revision Guide

  1. GCSE
  2. /Maths
  3. /Iteration