Study Guide

Numerical methods

CIE A-Level Mathematics· 15 min read

1. Locating Roots by Sign Change★★☆☆☆⏱ 15 min

If a function is continuous on the closed interval , and and have opposite signs, then there is at least one root of in the open interval . This is the foundation of all numerical root finding.

📘 Definition

Root of an equation

A value such that , also called a zero of the function .

📐 Worked Example

Show that has a root between and .

  1. 1

    Define the function for the equation:

  2. 2
    f(x)=ex3x2f(x) = e^x - 3x^2
  3. 3

    Evaluate at the endpoints of the interval:

  4. 4
    f(3)=e33(3)220.085527=6.9145<0f(3) = e^3 - 3(3)^2 \approx 20.0855 - 27 = -6.9145 < 0
  5. 5
    f(4)=e43(4)254.59848=6.598>0f(4) = e^4 - 3(4)^2 \approx 54.598 - 48 = 6.598 > 0
  6. 6

    is continuous for all real , as a combination of exponential and polynomial functions. Since and have opposite signs, there is at least one root in .

Exam tip:

Always explicitly state that the function is continuous when justifying a root in an interval, CIE allocates one mark for this step.

2. Fixed Point Iteration★★★☆☆⏱ 20 min

To find an approximate value for a root, we rearrange into the form . Starting from an initial guess , we generate a sequence of approximations using the recurrence relation .

📐 Worked Example

Find the root of between 0 and 1, correct to 2 decimal places, starting from .

  1. 1

    Rearrange the equation into form:

  2. 2
    x3+1=3x    x=x3+13,g(x)=x3+13x^3 + 1 = 3x \implies x = \frac{x^3 + 1}{3}, \quad g(x) = \frac{x^3 + 1}{3}
  3. 3

    Starting from , iterate and observe the values settling towards the root:

  4. 4
    x1=(0.5)3+13=0.375x_1 = \frac{(0.5)^3 + 1}{3} = 0.375
  5. 5
    x2=(0.375)3+130.35095x_2 = \frac{(0.375)^3 + 1}{3} \approx 0.35095
  6. 6
    x30.34774,x40.34730x_3 \approx 0.34774, \quad x_4 \approx 0.34730
  7. 7

    Both and round to 0.35 to 2 decimal places, so the root is approximately 0.35.

Exam tip:

Always show two successive iterations that round to the same value to confirm your accuracy is correct.

3. When an Iteration Fails to Converge★★★☆☆⏱ 10 min

An equation can be rearranged into the form in more than one way, and the choice matters. Some rearrangements produce a sequence of approximations that settles onto the root, while others produce a sequence that moves away from it, so the iteration fails to converge. (A rearrangement may also settle onto a different root of the same equation.) You are only ever asked to use a formula that is given to you, but you should understand that not every rearrangement works.

📐 Worked Example

The equation has a positive root . Compare two rearrangements, both starting from .

  1. 1

    Rearrangement A: , giving . Starting from :

  2. 2
    x1=1.7321,x2=1.6529,x3=1.6288,x4=1.6213,x5=1.6191x_1 = 1.7321, \quad x_2 = 1.6529, \quad x_3 = 1.6288, \quad x_4 = 1.6213, \quad x_5 = 1.6191
  3. 3

    The values are settling down towards : this iteration converges to the root.

  4. 4

    Rearrangement B: , giving . Starting from the same :

  5. 5
    x1=3,x2=8,x3=63,x4=3968,x_1 = 3, \quad x_2 = 8, \quad x_3 = 63, \quad x_4 = 3968, \quad \ldots
  6. 6

    The values grow without bound and move away from the root: this iteration diverges. The same equation, with a different rearrangement, fails to converge.

Exam tip:

If a given iteration diverges, do not assume you have made an arithmetic slip. Some rearrangements simply do not converge, and 9709 never asks you to predict this in advance — you only ever use a formula that you are given.

4. Common Pitfalls

Wrong move:

Forgetting to state the function is continuous when justifying a root in an interval

Why:

CIE explicitly allocates one mark for this statement, which is often lost

Correct move:

Always add the line 'f(x) is continuous on [a, b]' after calculating f(a) and f(b)

Wrong move:

Stopping after one iteration when asked for a given accuracy

Why:

Examiners require you to confirm your approximation is correct to the required accuracy

Correct move:

Calculate at least two successive approximations that round to the same value

Wrong move:

Claiming no root exists when there is no sign change in an interval

Why:

Tangent roots and pairs of roots do not produce a sign change but still exist

Correct move:

Only use sign change to confirm a root exists, never to confirm a root does not exist

5. Quick Reference Cheatsheet

Method

Key Rule

Accuracy Check

Sign Change

f(a)f(b) < 0 + continuous = root in (a,b)

Check interval bounds round to same value

Fixed Point Iteration

from a given rearrangement

Two iterations round to same value

6. Frequently Asked

Do I need to prove convergence in CIE exams?

No. In 9709 you are only asked to locate a root by a change of sign, or to use an iterative formula that is given to you to reach a required accuracy. You are not required to test in advance whether an iteration will converge — you should simply understand that some rearrangements converge to the root while others fail to converge.

Going deeper

What's Next

Numerical methods are the foundation for solving real-world problems in engineering, data science and physics, where most equations cannot be solved algebraically. The iterative principles you learned here for root finding extend directly to numerical integration, differential equations and other advanced numerical techniques. Working carefully and systematically, and recording your successive approximations clearly, will help you master the numerical problems that appear in CIE P2/P3 exams.