top of page

10.1 Locating Roots

A-level Maths Year 2 · Edexcel 9MA0 · Chapter 10: Numerical Methods

A free A-level Maths Year 2 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: using a change of sign to show that an equation has a root in an interval. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Explain what a root of f(x) = 0 is and how it shows on a graph
  • Use a change of sign to show that a root lies in a given interval
  • Use a change of sign to show that a root is correct to a given accuracy
  • Rearrange an equation g(x) = h(x) into the form f(x) = 0 before testing
  • Explain how and why the change of sign method can fail

Key words

  • Root: A value of x that makes f(x) = 0. It is where the graph of y = f(x) meets the x-axis.
  • Interval: A range of values of x. [a, b] means a ≤ x ≤ b.
  • Continuous: A function whose graph has no breaks, jumps or asymptotes in the interval. You could draw it without lifting your pen.
  • Change of sign: f(a) and f(b) have opposite signs: one is positive and the other is negative.
  • Upper and lower bounds: The values half a unit of accuracy either side of a rounded answer, such as 2.125 and 2.135 for 2.13 (2 d.p.).

The change of sign rule

Many equations, such as x³ − 5x + 1 = 0 or ln x + x = 3, cannot be solved with algebra. Instead we find roots numerically, to a chosen accuracy. The first step is to trap a root inside a small interval.

Key fact: If f(x) is continuous on the interval [a, b] and f(a) and f(b) have opposite signs, then f(x) = 0 has at least one root α with a < α < b.

Worked example: showing a root lies in an interval

Show that x³ − 5x + 1 = 0 has a root between x = 2 and x = 3.
Let f(x) = x³ − 5x + 1.
f(2) = 8 − 10 + 1 = −1 < 0 and f(3) = 27 − 15 + 1 = 13 > 0
There is a change of sign and f(x) is continuous (it is a polynomial), so there is a root in [2, 3].

Answer: a root lies between 2 and 3

Always finish with a conclusion that mentions both the change of sign and continuity. That sentence carries the final mark in an exam.

Showing a root is correct to a given accuracy

To show that a root is 2.13 correct to 2 decimal places, test the bounds 2.125 and 2.135. If the sign changes between them, the root lies in [2.125, 2.135], and every number in that interval rounds to 2.13.

Worked example: root to 2 decimal places

Show that the root of x³ − 5x + 1 = 0 in [2, 3] is 2.13 correct to 2 decimal places.
f(2.125) = −0.0293... < 0
f(2.135) = 0.0568... > 0
Change of sign and f is continuous, so the root α satisfies 2.125 < α < 2.135.

Answer: α = 2.13 (2 d.p.)

  • 1.4 (1 d.p.); test f(x) at 1.35 and 1.45; because everything in [1.35, 1.45) rounds to 1.4
  • 2.13 (2 d.p.); test f(x) at 2.125 and 2.135; because everything in [2.125, 2.135) rounds to 2.13
  • 0.607 (3 d.p.); test f(x) at 0.6065 and 0.6075; because everything in [0.6065, 0.6075) rounds to 0.607

Equations of the form g(x) = h(x)

To solve g(x) = h(x), rearrange it as f(x) = g(x) − h(x) = 0 and look for a change of sign in f. A root of f is the x-coordinate where the curves y = g(x) and y = h(x) cross. Use radians for any trigonometric function.

Worked example: where two curves meet

The curves y = ln x and y = 3 − x meet at one point P. Show that the x-coordinate of P lies between 2.2 and 2.21.
Let f(x) = ln x − (3 − x) = ln x + x − 3.
f(2.2) = −0.0115... < 0 and f(2.21) = 0.0030... > 0
Change of sign, and f is continuous for x > 0, so the x-coordinate of P lies in [2.2, 2.21].

Answer: 2.2 < x < 2.21

When the change of sign method fails

A change of sign is good evidence only when the function is continuous and the interval is small. Watch for three traps.

  • Repeated root. The curve touches the x-axis without crossing it, so f(a) and f(b) have the same sign even though there is a root.
  • Asymptote. The function is not continuous. f(a) and f(b) have opposite signs but the graph jumps across the axis, so there is no root.
  • Interval too wide. Two (or any even number of) roots in [a, b] cancel out the sign change. Use smaller steps.

Worked example: a sign change with no root

Explain why f(x) = 1/(x − 3) has a change of sign in [2, 4] but no root.
f(2) = −1 and f(4) = 1, so the sign changes.
But f has a vertical asymptote at x = 3, so it is not continuous on [2, 4]. In fact 1/(x − 3) is never 0.

Answer: f is not continuous at x = 3, so the test does not apply

Worked example: no sign change but two roots

For f(x) = x³ − 5x + 1, f(0) = 1 and f(3) = 13. Does f(x) = 0 have a root in [0, 3]?
There is no change of sign, but this does not prove there is no root.
f(1) = −3, so there are sign changes in [0, 1] and in [1, 3].

Answer: yes, two roots: one in [0, 1] and one in [1, 3]

Common mistakes

  • Forgetting the conclusion. Always write "change of sign and f is continuous, so there is a root".
  • Testing the wrong values for accuracy: to show 2.13 (2 d.p.) test 2.125 and 2.135, not 2.12 and 2.14.
  • Using degrees. Trigonometric functions in this topic always use radians.
  • Saying "no change of sign, so no root". A repeated root or two close roots give no sign change.
  • Ignoring asymptotes: check that f is continuous before trusting a sign change.

Revision questions

Try these, then check your answers below each one.

Question 1. Which interval contains a root of x³ + x − 11 = 0? (Choose from: [0, 1]; [1, 2]; [2, 3]; [3, 4].)

Answer: [2, 3]

Working: f(2) = 8 + 2 − 11 = −1 and f(3) = 27 + 3 − 11 = 19. The sign changes and f is continuous, so there is a root in [2, 3].

Question 2. Lee says: "f(x) = 1/(x − 1) has f(0) = −1 and f(2) = 1, so f(x) = 0 has a root between 0 and 2." Is Lee correct?

Answer: No

Working: No. f has a vertical asymptote at x = 1, so it is not continuous on [0, 2]. In fact 1/(x − 1) is never 0. The sign change comes from the asymptote.

Question 3. To show that a root of f(x) = 0 is 1.73 correct to 2 decimal places, which two values of x should you test? (Choose from: 1.725 and 1.735; 1.72 and 1.74; 1.73 and 1.74; 1.7 and 1.8.)

Answer: 1.725 and 1.735

Working: Numbers from 1.725 up to (but not including) 1.735 round to 1.73, so test f(1.725) and f(1.735) for a change of sign.

Related lessons

Continue in the full course

This lesson is section 10.1 of our free A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Year 2 course.

 

 

 

 

 

 

 

bottom of page