Numerical solution of equations

Maths Pure 3 · Numerical solution of equations. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths Pure 3 topics

The idea

Many equations, such as ex = 3x, cannot be solved exactly, so we find a root as a decimal instead.

First we locate the root. Write the equation as f(x) = 0. If f is continuous and f(a) and f(b) have opposite signs, there is a root between a and b. This is the change of sign method. A sketch of two graphs, for example y = ex and y = 3x, shows how many roots there are: one for each crossing point.

Then we improve the value with an iterative formula xn+1 = F(xn), made by rearranging the equation into the form x = F(x). Each answer is put back into the formula. If the values settle down, they converge to a root.

Rules to remember

Common mistake

Students stop the iteration too early or round each iterate to 2 decimal places before using it again. Use the full calculator value (the ANS key) each time, write down each iterate to 4 decimal places, and round only at the end.

Worked example

The equation x3 − 2x − 5 = 0 has a root between 2 and 3. Use xn+1 = ∛(2xn + 5) with x1 = 2 to find the root correct to 2 decimal places.

  1. Check the interval: f(2) = 8 − 4 − 5 = −1 and f(3) = 27 − 6 − 5 = 16, so the sign changes.
  2. x2 = ∛(2 × 2 + 5) = ∛9 = 2.0801.
  3. x3 = ∛(2 × 2.0801 + 5) = 2.0924, x4 = 2.0942, x5 = 2.0945.
  4. The iterates all round to 2.09 from x3 onwards.

Answer: The root is 2.09 (2 decimal places)

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← IntegrationVectors →Take a Maths Pure 3 test