All revision notes topics

Interval bisection and linear interpolationEdexcel International A Level Further Maths: Revision notes

Section 1

Locating a root by a change of sign

To solve f(x)=0f(x)=0 numerically, first show that a root exists in an interval [a,b][a,b]. If ff is continuous on [a,b][a,b] and f(a)f(a) and f(b)f(b) have opposite signs, then f(x)=0f(x)=0 has at least one root in [a,b][a,b]. Example: f(x)=x3+2x−7f(x)=x^3+2x-7 has f(1)=−4f(1)=-4 and f(2)=5f(2)=5, so there is a root in [1,2][1,2]. In an answer, state the two values, the sign change and continuity. The test can fail:

  • if ff is not continuous, e.g. f(x)=1x−2f(x)=\frac{1}{x-2} on [1,3][1,3] changes sign but never equals zero;
  • if a root is a repeated root, e.g. (x−2)2(x-2)^2 touches the axis without a sign change, so a root can be missed.
Key termscontinuouschange of sign
Common mistake

Writing only that there is a sign change. Also state that ff is continuous on the interval.

Section 2

Interval bisection

Interval bisection repeatedly halves an interval that contains a root.

  1. Find the midpoint m=a+b2m=\frac{a+b}{2} and evaluate f(m)f(m).
  2. If f(m)f(m) has the same sign as f(a)f(a), the root is in [m,b][m,b]; otherwise it is in [a,m][a,m].
  3. Repeat.

Example: f(x)=x3+2x−7f(x)=x^3+2x-7, root in [1,2][1,2]. f(1.5)=−0.625<0f(1.5)=-0.625<0, so the root is in [1.5,2][1.5,2]. f(1.75)=1.859>0f(1.75)=1.859>0, so the root is in [1.5,1.75][1.5,1.75]. After nn bisections the interval has width b−a2n\frac{b-a}{2^n}. It is reliable, but slow: roughly three or four bisections for each extra decimal place.

Key termsinterval bisection
Exam tip

Show the value of ff at every midpoint and state the new interval each time. Examiners award method marks for these values.

Section 3

Linear interpolation

Linear interpolation replaces the curve on [a,b][a,b] by the straight line through (a,f(a))(a,f(a)) and (b,f(b))(b,f(b)), and takes where it meets the xx-axis as the next estimate. By similar triangles, with f(a)<0<f(b)f(a)<0<f(b): x−a∣f(a)∣=b−x∣f(b)∣⇒x=a+∣f(a)∣∣f(a)∣+∣f(b)∣(b−a).\frac{x-a}{|f(a)|}=\frac{b-x}{|f(b)|}\quad\Rightarrow\quad x=a+\frac{|f(a)|}{|f(a)|+|f(b)|}(b-a). Example: f(x)=x3+x−5f(x)=x^3+x-5 with f(1)=−3f(1)=-3 and f(2)=5f(2)=5: x=1+38=1.375x=1+\frac{3}{8}=1.375. Then f(1.375)=−1.025<0f(1.375)=-1.025<0, so use [1.375,2][1.375,2]: x=1.375+1.02541.0254+5(0.625)=1.481.x=1.375+\frac{1.0254}{1.0254+5}(0.625)=1.481. Each time, use the sign of ff at the new estimate to choose the next interval.

Key termslinear interpolation
Common mistake

Using f(a)f(a) and f(b)f(b) without their signs. The distances ∣f(a)∣|f(a)| and ∣f(b)∣|f(b)| must both be positive in the similar-triangle ratio.

Section 4

Choosing and checking the answer

Linear interpolation is usually faster than bisection when the curve is nearly straight on the interval, but its estimate can lie on one side of the root. To check that a root is correct to a stated accuracy, find the interval of half the final unit either side, e.g. to prove α=2.208\alpha=2.208 to 3 d.p., show f(2.2075)f(2.2075) and f(2.2085)f(2.2085) have opposite signs. Remember that these methods find a root in an interval, not all roots: choose intervals with one sign change, and work in radians if ff involves trigonometry.

Key termsaccuracy check
Exam tip

Keep full calculator values between steps and round only in the final answer.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Interval bisection and linear interpolation

  1. Let f(x)=x3+2x−7f(x)=x^3+2x-7 for real xx.
    Show that the equation f(x)=0f(x)=0 has a root in the interval [1,2][1,2].2 marks
  2. Two functions are defined for real xx: f(x)=1x−2f(x)=\frac{1}{x-2} (for x≠2x\neq2) and g(x)=(x−2)2g(x)=(x-2)^2.
    Explain why the change of sign of ff between x=1x=1 and x=3x=3 does not show that f(x)=0f(x)=0 has a root in [1,3][1,3].2 marks
  3. The equation x3+x−5=0x^3+x-5=0 has a single real root α\alpha. Let f(x)=x3+x−5f(x)=x^3+x-5.
    Use linear interpolation on the interval [1,2][1,2] to find a first approximation to α\alpha.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).