Skip to content
Cambridge AS & A Level9709

Numerical solution of equations (Pure Mathematics 3)

Mathematics 9709 Chapter Notes

Last updated November 2026

What this chapter covers

Numerical solution of equations
ShareWhatsAppPost

Numerical solution of equations (Pure Mathematics 3) notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Numerical solution of equations (Pure Mathematics 3) notes as text: skim, search, and jump between subtopics.

~15 min read

1. Locating a root by a sign change

To locate a root of an equation, look for two values of x between which a sign change occurs. Written as f(x) = 0, a root lies between a and b when f(a) and f(b) have opposite signs.

When the equation is written x = F(x), use the relevant expression x - F(x). Calculate it at both ends, at the same x each time.

Complete the argument: state the two values, say that the sign changes, and conclude that the root lies between the two numbers.

f(a) and f(b) of opposite sign ⇒ a root lies between a and b

x = F(x) ⇒ use f(x) = x - F(x)

Examiner insight

“However, those candidates who found the four values of x and f(x) at x = 1 and x = 1.5 struggled with this question, as they often omitted any comparison, or, if they did undertake one, they did it between the x values and between the f(x) values instead of between x =1 and f(1) and between 1.5 and f(1.5).” “Candidates needed to understand that the values 1 and 2 are not in degrees, knowing this would have helped them to answer this question successfully.”

Worked example 12 marks

Let f(x) = (e^(2x) + 1)/(e^(2x) - 1), for x > 0. The equation x = f(x) has one root, denoted by α. Verify by calculation that α lies between 1 and 1.5.

  1. 1

    calculate a relevant expression at both ends: 1 - f(1) = 1 - 1.3130 = -0.313 and 1.5 - f(1.5) = 1.5 - 1.1048 = 0.395 [1]

  2. 2

    x - f(x) changes sign between 1 and 1.5, so α lies between 1 and 1.5 [1]

2. Locating a root by sketching graphs

Rearrange the equation as y₁ = y₂ and sketch the two graphs. Each intersection is a root, so the number of intersections is the number of roots.

A sketch is not a plot. Show the main features over nearly the whole interval: intercepts, asymptotes, and the shape of each curve. Then justify the given statement: say that the graphs meet once, and mark that point as the root.

f(x) = g(x) iff the graphs of y = f(x) and y = g(x) intersect

Examiner insight

“Furthermore the graphs should have been sketches not plots, and if intersection points are stated, they should be correct.” “In addition the point of intersection needs to be related to the root by some means or other, usually via being highlighted or some comment at the side of the graphs.”

Worked example 12 marks

By sketching a suitable pair of graphs, show that the equation 2 + e^(-0.2x) = ln(1 +x) has only one root.

  1. 1

    sketch y = 2 + e^(-0.2x): a decreasing curve through (0, 3) with a horizontal asymptote y = 2 [1]

  2. 2

    sketch y = ln(1 + x), an increasing curve through the origin; the graphs meet once, so there is only one root [1]

3. Iterative formulas and their limit

An iterative formula xn₊₁ = F(xn) builds a sequence of approximations x₁, x₂, x₃, … Each term is F of the term before it.

If the sequence converges to α, then xn and xn₊₁ both tend to α. So α satisfies α = F(α).

To show that the limit is a root of a given equation, state a suitable equation in α, then rearrange it into the given equation. Take the logarithm or exponential of a whole side at once: never split a sum.

xn₊₁ = F(xn)

xn → α ⇒ α = F(α)

Examiner insight

“They were meant to realise that xn and xn+1 both tended to x and to work this limited expression to the equation in (i).” “Far too many candidates either simply repeated what they were intending to present for their answer to (iv) or they decided to take the logarithm of each value within (1 + 6ex), resulting in such incorrect statements as ln1 + ln6 + ln ex, etc.”

Worked example 12 marks

Show that if a sequence of values given by the iterative formula xn₊₁ = 1/3ln(1 + 6e^(xn)) converges, then it converges to the root of the equation e^(2x) = 6 + e^(-x).

  1. 1

    state a suitable equation: the limit α satisfies α = 1/3ln(1 + 6e^(α)) [1]

  2. 2

    rearrange: 3α = ln(1 + 6e^(α)), so e^(3α) = 1 + 6e^(α); divide by e^(α) to give e^(2α) = 6 + e^(-α) [1]

4. Using an iteration to a stated accuracy

Substitute the starting value x₁ into the formula to get x₂. Then substitute x₂ to get x₃, and repeat. Give each result to the number of decimal places the question asks for.

A value of x₁ is given or you choose one inside the interval you found. Every new term uses the term before it: never try a list of values such as 2.0, 2.1, 2.2.

Keep going until the later values round to the same number at the accuracy asked. Show sufficient iterations to justify the answer, or show a sign change in the interval around it.

a sign change in (1.2665, 1.2675) ⇒ root = 1.267 (3 d.p.)

Examiner insight

“Nearly all candidates scored full marks, the exceptions usually being those who did not calculate α to the required number of decimal places.” “A few candidates did not understand the basic process and substituted a succession of values 2.0, 2.1, 2.2, 2.3 etc.”

Worked example 13 marks

Use the iterative formula xn₊₁ = (4xn⁵ + 2)/(5xn⁴ - 1) with initial value x₁ = 1.5 to calculate the root correct to 3 decimal places. Give the result of each iteration to 5 decimal places.

  1. 1

    use the formula correctly: x₂ = (4(1.5)⁵ + 2)/(5(1.5)⁴ - 1) = 1.33162 [1]

  2. 2

    x₃ = 1.27352, x₄ = 1.26724, x₅ = 1.26717, x₆ = 1.26717: sufficient iterations to 5 d.p. [1]

  3. 3

    the last two agree, so the root is 1.267 [1]

5. From the equation to the iteration

Many questions ask for an iteration based on a given equation. Rearrange the equation into the form x = F(x). The iteration is then xn₊₁ = F(xn).

The same equation can be rearranged in more than one way, so work from the form the question gives. If a part(a) shows the root lies between two numbers, start from a value in that interval.

Take care with the rearrangement. Exponentiate or take logarithms of a whole side at once.

e^(x) = 4 - x iff x = ln(4 - x), ln(4 - x) ≠ ln 4 - ln x

Examiner insight

“Occasionally the answer of 1.199 was seen.” “Most candidates knew what was required here and tended to obtain the correct result, although too many failed to show convergence to the required accuracy, or gave the incorrect answer 0.927 instead of 0.928.”

Worked example 13 marks

Let f(x) = (e^(2x) + 1)/(e^(2x) - 1), for x > 0. The equation x = f(x) has one root, denoted by α. Use an iterative formula based on the equation x = f(x) to determine α correct to 2 decimal places. Give the result of each iteration to 4 decimal places.

  1. 1

    use xn₊₁ = (e^(2xn) + 1)/(e^(2xn) - 1) correctly; from x₁ = 1.25, x₂ = 1.1789 [1]

  2. 2

    x₃ = 1.2091, x₄ = 1.1956, x₅ = 1.2015, x₆ = 1.1989, x₇ = 1.2000, x₈ = 1.1995: sufficient iterations to 4 d.p. [1]

  3. 3

    the last values all round to 1.20, so α = 1.20 [1]

6. Radians, slow settling and failure to converge

Set the calculator to radians for every trigonometric iteration, unless the question uses degrees.

Some iterations settle slowly, with values alternating above and below the root. Do not stop at the first two values that look close: carry on until the rounded values agree.

An iteration may fail to converge. The values then do not approach the root, so the iteration cannot be used to find it.

Examiner insight

“Some candidates thought cosec was the reciprocal of cosine rather than the reciprocal of sine, and some worked in degrees rather than in radians.” “This iteration converges quite slowly, so some candidates drew the false conclusion a = 3.35 , when a couple more iterations would have shown that this was not correct.”

Worked example 13 marks

Use the iterative formula xn₊₁ = exp(cosec1/2xn) to determine the root correct to 3 decimal places. Give the result of each iteration to 5 decimal places. [exp(x) is an alternative notation for e^(x).]

  1. 1

    work in radians and use the formula correctly; from x₁ = 2.8, x₂ = 2.75872 [1]

  2. 2

    x₃ = 2.76934, x₄ = 2.76648, x₅ = 2.76724, x₆ = 2.76704: sufficient iterations to 5 d.p. [1]

  3. 3

    the later values agree to 3 d.p., so the root is 2.767 [1]

Recap

  • Locate a root: find a sign change of the relevant expression at two values, then conclude.
  • For x = F(x), use x - F(x), evaluated at the same x each time.
  • Sketch two graphs, not a plot. Show the main features and mark the single intersection as the root.
  • xn₊₁ = F(xn). If xn → α, then α = F(α). Rearrange this to the given equation.
  • Use each result in the next step, to the decimal places asked. Stop when the rounded values agree.
  • Use radians. An iteration may fail to converge: the values then do not approach the root.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Do not use a calculator. Show that the equation x³ = 3 - x has a root between 1 and 2.2 marks
    Answer
    1. Let f(x) = x³ - (3 - x) = x³ + x - 3. f(1) = 1 + 1 - 3 = -1 and f(2) = 8 + 2 - 3 = 7 [1]
    2. f changes sign between 1 and 2, so a root lies between 1 and 2 [1]

    Trap: Comparing 1³ with 2³ and 3 - 1 with 3 - 2 separately, instead of the sign of one expression at each end.

  2. Do not use a calculator. A sequence is defined by x₁ = 2 and xn₊₁ = 1 + 6/xn. Find x₂ and x₃.2 marks
    Answer
    1. x₂ = 1 + 6/2 = 4 [1]
    2. x₃ = 1 + 6/4 = 5/2 [1]

    Trap: Putting the new term on the right-hand side, as in x₃ = 1 + 6/x₃: each step feeds the previous term in.

  3. Do not use a calculator. The equation x³ - 5x + 1 = 0 has a root greater than 1. Find two consecutive integers between which this root lies.3 marks
    Answer
    1. Let f(x) = x³ - 5x + 1. f(1) = -3 and f(2) = 8 - 10 + 1 = -1 [1]
    2. Both are negative, so there is no sign change yet. f(3) = 27 - 15 + 1 = 13 [1]
    3. f(2) < 0 and f(3) > 0, so the root lies between 2 and 3 [1]

    Trap: Stopping at 1 and 2 because they are the first integers above 1: only a sign change locates the root.

  4. Do not use a calculator. By sketching a suitable pair of graphs, show that the equation x = e^(-x) has exactly one real root. Describe each sketch.3 marks
    Answer
    1. Sketch y = e^(-x): a decreasing curve through (0, 1) that stays above the x-axis [1]
    2. Sketch y = x: a straight line through the origin with positive gradient [1]
    3. For x < 0 the curve is above the line. For x > 0 the curve falls and the line rises, so they meet once: one intersection, one root [1]

    Trap: Plotting a few points and joining them, or drawing only 0 ≤ x ≤ 1, and never linking the intersection to the root.

  5. Do not use a calculator. The equation x² = x + 2 has the root x = 2. It is rearranged as x = x² - 2 and the iteration xn₊₁ = xn² - 2 is used with x₁ = 3. Find x₂ and x₃, and state whether the iteration is converging to the root 2.3 marks
    Answer
    1. x₂ = 3² - 2 = 7 [1]
    2. x₃ = 7² - 2 = 47 [1]
    3. The values grow and move away from 2, so the iteration does not converge to the root [1]

    Trap: Assuming every rearrangement of a correct equation gives a sequence that settles: check the values.

  6. Do not use a calculator. The sequence defined by xn₊₁ = 1 + 6/xn, with x₁ = 2, converges to α. State an equation satisfied by α and hence find the exact value of α.4 marks
    Answer
    1. The terms tend to α, so α = 1 + 6/α [1]
    2. Multiply by α: α² = α + 6, so α² - α - 6 = 0 [1]
    3. (α - 3)(α + 2) = 0 [1]
    4. Every term is positive, so α = 3 [1]

    Trap: Mixing symbols, as in α = 1 + 6/x, or quoting a decimal when the exact value is asked.

  7. The equation x³ + x = 5 can be written x = √[3]5 - x. Use the iterative formula xn₊₁ = √[3]5 - xn with x₁ = 1.5 to find the root correct to 3 decimal places. Give the result of each iteration to 5 decimal places.3 marks
    Answer
    1. x₂ = √[3]3.5 = 1.51829 [1]
    2. x₃ = 1.51564, x₄ = 1.51603, x₅ = 1.51597, x₆ = 1.51598 [1]
    3. x₅ and x₆ agree, so the root is 1.516 [1]

    Trap: Stopping after x₂ = 1.51829 and giving 1.518: x₂ and x₃ differ in the third decimal place, so the sequence has not settled.

  8. (a) Show that the equation e^(x) = 4 - x can be written as x = ln(4 - x). [1] (b) Use the iterative formula xn₊₁ = ln(4 - xn) with x₁ = 1 to determine the root correct to 2 decimal places. Give the result of each iteration to 4 decimal places. [3]4 marks
    Answer
    1. (a)
    2. Take natural logarithms of both sides: ln e^(x) = ln(4 - x), so x = ln(4 - x) [1]
    3. (b)
    4. x₂ = ln 3 = 1.0986 [1]
    5. x₃ = 1.0652, x₄ = 1.0766, x₅ = 1.0727, x₆ = 1.0741, x₇ = 1.0736 [1]
    6. The values from x₃ onwards all round to 1.07, so the root is 1.07 [1]

    Trap: Writing ln(4 - x) = ln 4 - ln x: a logarithm cannot be split over a difference.

  9. (a) Show by calculation that the equation x = 1 + sin x has a root between 1.5 and 2. [2] (b) Use the iterative formula xn₊₁ = 1 + sin xn with x₁ = 2 to determine the root correct to 2 decimal places. Give the result of each iteration to 4 decimal places. [3]5 marks
    Answer
    1. (a)
    2. Let f(x) = x - 1 - sin x, in radians. f(1.5) = 1.5 - 1 - 0.9975 = -0.4975 and f(2) = 2 - 1 - 0.9093 = 0.0907 [1]
    3. f changes sign, so a root lies between 1.5 and 2 [1]
    4. (b)
    5. x₂ = 1 + sin 2 = 1.9093 [1]
    6. x₃ = 1.9433, x₄ = 1.9314, x₅ = 1.9357, x₆ = 1.9342, x₇ = 1.9347, x₈ = 1.9345 [1]
    7. x₆, x₇ and x₈ all round to 1.93, so the root is 1.93 [1]

    Trap: Leaving the calculator in degrees, which gives x₂ = 1.0349 and a sequence that never approaches the root.

  10. In a model, the long-term depth h metres of water in a pond satisfies the equation h = 3 - 2e^(-h). (a) Show by calculation that h lies between 2 and 3. [2] (b) Use the iterative formula hn₊₁ = 3 - 2e^(-hn) with h₁ = 2.5 to determine h correct to 3 decimal places. Give the result of each iteration to 5 decimal places. [3] (c) A student rearranges the equation as h = -ln((3 - h)/2) and uses hn₊₁ = -ln((3 - hn)/2) with h₁ = 2.5. Find h₂ and h₃ to 3 decimal places, and state whether this iteration is finding the root found in part (b). [3]8 marks
    Answer
    1. (a)
    2. Let f(h) = h - 3 + 2e^(-h). f(2) = -0.7293 and f(3) = 0.0996 [1]
    3. f changes sign, so h lies between 2 and 3 [1]
    4. (b)
    5. h₂ = 3 - 2e^(-2.5) = 2.83583 [1]
    6. h₃ = 2.88266, h₄ = 2.88803, h₅ = 2.88863, h₆ = 2.88869, h₇ = 2.88870 [1]
    7. h₅, h₆ and h₇ all round to 2.889, so h = 2.889 [1]
    8. (c)
    9. h₂ = -ln(0.25) = 1.386 [1]
    10. h₃ = -ln(0.80685) = 0.215 [1]
    11. The values 2.5, 1.386, 0.215 move away from 2.889, so this iteration is not finding the root [1]

    Trap: Stopping at h₄ = 2.88803 and giving 2.888, as examiners saw 0.927 for 0.928; and trusting a correct rearrangement whose values 2.5, 1.386, 0.215 move away from the root.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
compare x values with each other and f(x) values with each othercompare x with f(x) at the same point, or find the sign change of x - f(x)
ln(1 + 6e^(x)) = ln 1 + ln 6 + ln e^(x)3α = ln(1 + 6e^(α)) gives e^(3α) = 1 + 6e^(α): rearrange the whole side
answer 1.199 or 0.927 after a few iterationssufficient iterations shown to 4 d.p. to justify 1.20
calculator in degrees: 1 + sin 2 = 1.0349calculator in radians: 1 + sin 2 = 1.9093

Frequently asked questions

How do I show that a root lies between two values?
Write the equation as f(x) = 0, or use x - F(x) when it is written x = F(x). Calculate the expression at both ends, at the same x each time. A change of sign means the root lies between the two numbers. Give the values as decimals and say the conclusion in words.
How do I use a sketch to show an equation has only one root?
Rearrange the equation as y₁ = y₂ and sketch both graphs on one diagram, showing the main features over nearly the whole interval. If the graphs meet once, the equation has exactly one root. Mark the intersection and link it to the root; a sketch is not a plot of points.
How do I form an iteration from an equation?
Rearrange the equation into the form x = F(x), then use xn₊₁ = F(xn). Take the logarithm or exponential of a whole side at once, and never split a sum. Start from a value inside the interval you found, and check that the values converge.
How many iterations should I show, and how do I give the answer to a stated accuracy?
Substitute the starting value into the formula, then use each new term in the next step, to the decimal places asked. Show sufficient iterations to justify the answer, or show a sign change in the interval around it. Give the result to the accuracy asked, for example 1.07 when the values round to that.
What equation does the limit of a converging iteration satisfy?
If xn converges to α, then xn₊₁ and xn both tend to α, so α = F(α). State an equation in α, then rearrange it into the given equation. For an exact value, solve the equation that α satisfies rather than reading a decimal from the iterations.
Why does my iteration not give the root?
Set the calculator to radians. In degrees, 1 + sin 2 gives 1.0349 instead of 1.9093. Some iterations settle slowly, so carry on until the rounded values agree. An iteration may fail to converge, with the terms moving away from the root, so try a different rearrangement and a starting value inside the interval.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters