All revision notes topics

Numerical methods in contextEdexcel A-Level Maths: Revision notes

Section 1

From a context to an equation

Many real problems end in an equation that cannot be solved by algebra, such as x3−4x−7=0x^3-4x-7=0 or t=5e−0.4tt=5e^{-0.4t} (a polynomial or tt mixed with an exponential, or θ\theta mixed with a trigonometric function). The first job is to model the situation: define the variable, write the relationship and move everything to one side to make f(x)=0f(x)=0. Example: an open box from a 3030 cm by 2020 cm sheet with squares of side xx cm cut from the corners has volume x(30−2x)(20−2x)=4x3−100x2+600xx(30-2x)(20-2x)=4x^3-100x^2+600x. For volume 900900 cm3^3 this gives f(x)=x3−25x2+150x−225=0f(x)=x^3-25x^2+150x-225=0. Keep the domain from the context in mind: here 0<x<100<x<10, since the width 20−2x20-2x must be positive.

Key termsmodeldomain
Exam tip

Write down what the variable means and its sensible range before you start. It is the quickest way to reject a root that does not fit the context.

Section 2

Locating a root: change of sign

If ff is continuous on [a,b][a,b] and f(a)f(a) and f(b)f(b) have opposite signs, there is at least one root of f(x)=0f(x)=0 in [a,b][a,b]. A full answer gives: the values (accurate enough to show their sign), the statement that ff is continuous, and the conclusion. Example: f(x)=x3−4x−7f(x)=x^3-4x-7 has f(2)=−7f(2)=-7 and f(3)=8f(3)=8, so there is a root in [2,3][2,3]. To find a root to nn decimal places, trap it in an interval of width 10−n10^{-n} whose end points round differently, such as 2.2952.295 and 2.3052.305 for 2.302.30. A sign change can fail to locate a root when ff is discontinuous, for example f(x)=1xf(x)=\frac{1}{x} on [−1,1][-1,1], and two roots in an interval can hide the sign change altogether.

Key termschange of signcontinuous
Common mistake

Writing only 'there is a sign change' without stating that ff is continuous. Marks are lost for the missing reason.

Section 3

Iteration formulae

Rearrange f(x)=0f(x)=0 into x=g(x)x=g(x) and use the iterative formula xn+1=g(xn)x_{n+1}=g(x_n) from a starting value x0x_0. If the sequence converges, it converges to a root α\alpha where α=g(α)\alpha=g(\alpha). The same equation can be rearranged in several ways. From x3−4x−7=0x^3-4x-7=0: x=4x+73x=\sqrt[3]{4x+7}, or x=4+7xx=\sqrt{4+\frac{7}{x}}, or x=x3−74x=\frac{x^3-7}{4}. With x0=2x_0=2, the first gives x1=153=2.466x_1=\sqrt[3]{15}=2.466, x2=2.564x_2=2.564, x3=2.584x_3=2.584, ... converging to 2.5882.588 (3 d.p.). Show each step of a rearrangement in a 'show that' question.

Key termsiterationiterative formulaconverge
Exam tip

Store each value on your calculator using Ans, then press = repeatedly. Write the values down only to the accuracy asked.

Section 4

Convergence and choosing a rearrangement

The sequence xn+1=g(xn)x_{n+1}=g(x_n) converges to α\alpha when ∣g′(α)∣<1|g'(\alpha)|<1. A positive gradient gives a staircase that approaches α\alpha from one side; a negative gradient gives a cobweb that spirals in alternately above and below. For the pond, θ−sin⁡θ=0.6\theta-\sin\theta=0.6 rearranges to θn+1=0.6+sin⁡θn\theta_{n+1}=0.6+\sin\theta_n. Here g′(θ)=cos⁡θg'(\theta)=\cos\theta is close to 00 near θ≈1.6\theta\approx1.6, so it converges quickly: 1.5→1.5975→1.5996→1.59961.5\to1.5975\to1.5996\to1.5996. A rearrangement such as x=x3−74x=\frac{x^3-7}{4} for the break-even equation has a large gradient near the root and diverges.

Key termsstaircasecobweb
Common mistake

Stopping when two successive values merely look similar. Check that they agree to the accuracy required, and then confirm with a change of sign.

Section 5

Solving a contextual problem

Worked example: the concentration equation t=5e−0.4tt=5e^{-0.4t}, with f(t)=t−5e−0.4tf(t)=t-5e^{-0.4t}.

  1. f(2)=−0.247f(2)=-0.247 and f(3)=1.494f(3)=1.494: sign change, so 2<α<32<\alpha<3.
  2. f(2.1)=−0.059f(2.1)=-0.059 and f(2.2)=0.126f(2.2)=0.126, so 2.1<α<2.22.1<\alpha<2.2.
  3. Iterate tn+1=5e−0.4tnt_{n+1}=5e^{-0.4t_n} from t0=2t_0=2: t1=2.247t_1=2.247, t2=2.036t_2=2.036, t3=2.215t_3=2.215 ... the values oscillate (a cobweb) and close in on α≈2.13\alpha\approx2.13.
  4. Interpret: the two concentrations are equal about 2.132.13 hours after the start. Always give the final answer in the units and with the meaning of the context.
Key termsinterpret
Exam tip

Finish with a sentence in context, such as 'cut squares of side 2.302.30 cm from each corner'.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Numerical methods in context

  1. A manufacturer finds that the break-even selling price, £xx, of a product satisfies f(x)=x3−4x−7=0f(x)=x^3-4x-7=0.
    Show that x3−4x−7=0x^3-4x-7=0 can be rearranged to give x=4+7xx=\sqrt{4+\frac{7}{x}}.2 marks
  2. A scientist models the concentration of drug A as 5e−0.4t5e^{-0.4t} mg per litre and of drug B as tt mg per litre, where tt is the time in hours since the start. The concentrations are equal when tt is a root of f(t)=t−5e−0.4t=0f(t)=t-5e^{-0.4t}=0.
    Show that the root of f(t)=0f(t)=0 lies between t=2.1t=2.1 and t=2.2t=2.2.2 marks
  3. A decorative pond is in the shape of a segment of a circle of radius 1010 m. The chord of the segment subtends an angle of θ\theta radians at the centre of the circle, and the area of the pond is 3030 m2^2.
    Show that θ−sin⁡θ=0.6\theta-\sin\theta=0.6.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).