Note AcademyNote Academy

Mathematics (AS & A Level) 9709 · Chapter 14

Numerical solution of equations

Papers 2 and 3. Locating a root with a graph or a sign change, and using an iterative formula to find a root to a required accuracy.

Written for the 2026–2027 syllabus · 4 min read

Numerical solution of equations

Why numerical methods

Many equations, such as x3+x−3=0x^3 + x - 3 = 0 or ex=3−x\mathrm{e}^x = 3 - x, have no neat algebraic solution. A numerical method finds a root to whatever accuracy is needed.

Locating a root from a graph

The number of roots of f(x)=g(x)\mathrm{f}(x) = \mathrm{g}(x) is the number of times y=f(x)y = \mathrm{f}(x) and y=g(x)y = \mathrm{g}(x) cross. Sketching the two graphs shows how many roots there are and roughly where.

y=exy = \mathrm{e}^x is always increasing and y=3−xy = 3 - x is always decreasing, so they cross exactly once.

Locating a root by a sign change

If f\mathrm{f} is continuous and f(a)\mathrm{f}(a) and f(b)\mathrm{f}(b) have opposite signs, there is a root between aa and bb.

f(1)=−1<0\mathrm{f}(1) = -1 < 0 and f(2)=7>0\mathrm{f}(2) = 7 > 0. The sign changes and f\mathrm{f} is continuous, so there is a root in the interval.

Iterative formulae

An iterative formula xn+1=F(xn)x_{n+1} = \mathrm{F}(x_n) uses each value to produce the next. If the sequence converges to a limit α\alpha, then α=F(α)\alpha = \mathrm{F}(\alpha), so the limit is a root of x=F(x)x = \mathrm{F}(x).

The graphs of y = x and y = F(x), with a staircase of steps from the iteration closing in on the point where they cross

The graphs of y = x and y = F(x), with a staircase of steps from the iteration closing in on the point where they cross

At the limit, x=(3−x)13x = (3 - x)^{\frac{1}{3}}. Cubing gives x3=3−xx^3 = 3 - x, so x3+x−3=0x^3 + x - 3 = 0.

Using an iteration

Store each answer and use the calculator's answer key, so that no accuracy is lost. Keep at least two more decimal places than the question asks for.

x2=1.2599x3=1.2028x4=1.2158x5=1.2129x6=1.2135x7=1.2134x_2 = 1.2599 \quad x_3 = 1.2028 \quad x_4 = 1.2158 \quad x_5 = 1.2129 \quad x_6 = 1.2135 \quad x_7 = 1.2134

The root is 1.21 to 2 decimal places.

Checking the accuracy

To prove that 1.21 is correct to 2 decimal places, test the two ends of the rounding interval:

f(1.205)=−0.045<0f(1.215)=0.009>0\mathrm{f}(1.205) = -0.045 < 0 \qquad \mathrm{f}(1.215) = 0.009 > 0

The sign changes, so the root lies between 1.205 and 1.215, and it rounds to 1.21.

Common forms of question

Questions in this topic often follow the same path.

  1. Set up an equation from a context, often from a sector, a triangle or a stationary point: "Show that α\alpha satisfies x=…x = \dots".
  2. Show by a sign change that the root lies in a given interval.
  3. Use the iteration to find it, with each step shown.
Test yourself10 flashcards on this chapter.Flashcards →