Location of roots

Location of roots

Spec 6.1 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • If ff is continuous on [a,b][a,b] and f(a)f(a), f(b)f(b) have opposite signs, there is at least one root in (a,b)(a,b).
  • A full answer gives both values, the sign change, continuity and a conclusion.
  • To show a root is correct to n decimal places, test half a unit either side.
  • A sign change does not prove a root if the function has an asymptote in the interval.
  • The same sign at both ends does not prove there is no root.

The change-of-sign test

A continuous graph cannot go from below the axis to above it without crossing it.

A root of f(x)=0f(x)=0 is a value of xx where the graph crosses the xx-axis.

If ff is continuous on [a,b][a,b] and there is a change of sign between f(a)f(a) and f(b)f(b), then f(x)=0f(x)=0 has at least one root in (a,b)(a,b).

0.20.40.60.811.21.41.61.822.2−6−4−22468xy(1, −3)(2, 5)root ≈ 1.52y = x³ + x − 5
f(1) = −3 < 0 and f(2) = 5 > 0, so the graph crosses the axis between x = 1 and x = 2 (at about x = 1.52).

Worked example

Show that f(x)=x3+x−5f(x)=x^3+x-5 has a root between 1 and 2.

f(3)=−2f(3)=-2 and f(4)=7f(4)=7 for a continuous ff. What can you conclude?

Writing a full conclusion

Give the values, the sign change, continuity and a conclusion.

A complete answer states four things: the values of ff at both ends (to enough accuracy to show the sign); that there is a change of sign; that ff is continuous (for example, it is a polynomial or ex−3xe^x-3x); and the conclusion: a root lies in the interval.

  1. 1

    Values

    f(a) and f(b), or at least their signs

  2. 2

    Sign change

    say it explicitly

  3. 3

    Continuity

    f is continuous, and why

  4. 4

    Conclusion

    a root lies in the interval

The four marks.

Model answer

f(1.5)=−0.125f(1.5)=-0.125 and f(1.6)=0.696f(1.6)=0.696. Show that a root α\alpha lies between 1.5 and 1.6.

Which of these is NOT needed in a full answer?

Narrowing the interval

Test values inside the interval and keep the sub-interval where the sign changes.

For f(x)=ex−3xf(x)=e^x-3x: f(1.5)=−0.018f(1.5)=-0.018 and f(1.6)=0.153f(1.6)=0.153. Then f(1.51)=−0.003f(1.51)=-0.003 and f(1.52)=0.012f(1.52)=0.012, so 1.51<β<1.521.51<\beta<1.52.

To show a root is correct to nn decimal places, find a sign change over the interval ±0.5×10−n\pm0.5\times10^{-n}. For example, g(3.45)<0g(3.45)<0 and g(3.55)>0g(3.55)>0 show a root is 3.5 to 1 d.p.

1.461.481.51.521.541.561.581.61.621.641.51.511.521.6

To show a root is 2.7 correct to 1 d.p., which values should you test?

When the test fails

If the function is not continuous, a sign change can come from an asymptote.

Not continuous. h(x)=1x−2h(x)=\frac{1}{x-2} has h(1)=−1h(1)=-1 and h(3)=1h(3)=1 but no root, because hh is undefined at x=2x=2. The same applies to tan⁡x\tan x across π2\frac\pi2.

Same sign at the ends. This does not prove there is no root. An even number of roots gives no net sign change: g(x)=x3−6x2+9x−1g(x)=x^3-6x^2+9x-1 has g(0)=−1g(0)=-1 and g(3.5)=−0.125g(3.5)=-0.125, both negative, yet there are two roots in [0,3.5][0,3.5].

Repeated root. (x−2)2(x-2)^2 touches the axis at x=2x=2 but does not change sign.

0.511.522.533.54−4−3−2−11234xyx = 2(1, −1)(3, 1)y = 1/(x − 2)
h(x) = 1/(x − 2) changes sign between x = 1 and x = 3, but there is no root because of the asymptote at x = 2.

f(x)=tan⁡xf(x)=\tan x has f(1)>0f(1)>0 and f(2)<0f(2)<0. Is there a root in (1,2)(1,2)?

Counting roots

Find a sign change in each of several non-overlapping intervals.

For g(x)=x3−6x2+9x−1g(x)=x^3-6x^2+9x-1: g(0)=−1g(0)=-1, g(1)=3g(1)=3, g(2)=1g(2)=1, g(3)=−1g(3)=-1, g(4)=3g(4)=3.

Sign changes in [0,1][0,1], [2,3][2,3] and [3,4][3,4] give three distinct roots. A cubic has at most three roots, so these are all of them.

−0.50.511.522.533.544.5−3−2−112345xy(0, −1)(1, 3)(2, 1)(3, −1)(4, 3)y = x³ − 6x² + 9x − 1
y = x³ − 6x² + 9x − 1 crosses the axis three times, once in each of (0, 1), (2, 3) and (3, 4).

A cubic has sign changes in [0,1][0,1], [1,2][1,2] and [2,3][2,3]. How many roots does it have?

Try an exam question

f(x)=x3−5x+1f(x)=x^3-5x+1. Show that the equation f(x)=0f(x)=0 has a root α\alpha in the interval [2,2.5][2,2.5].

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of these intervals contains α\alpha?

1 mark, marked against the mark scheme

Revision notes