Iteration — Closing in on a Solution
Grade 7The idea behind iteration
Iteration is a method for solving equations that you cannot rearrange exactly. You start with an initial estimate, feed it into a recurrence relation (a formula of the form xₙ₊₁ = f(xₙ)), and the outputs get closer and closer to the true solution with each step.
The iteration converges when the values stop changing significantly — your estimate has homed in on the solution.
Worked example
How many decimal places to carry
What equation does the iteration solve?
The recurrence relation xₙ₊₁ = √(xₙ + 5) converges to a fixed point where x = √(x + 5). Squaring: x² = x + 5, so x² − x − 5 = 0. This is the equation being solved. Examiners often ask you to show this connection by rearranging the given equation to match the iteration formula.
Try this one
A sequence is generated using the iteration formula
\[ x_{n+1} = 1 + \dfrac{1}{x_n} \]
with \( x_0 = 1 \).
Work out the values of \( x_1 \), \( x_2 \) and \( x_3 \). Give your answers to 3 decimal places where needed.
Work out the reciprocal of the current value, then add 1.
Ask yourself: 'what is 1 divided by the current value?' Add 1 to that, then repeat.