Skip to main content
Functions, iteration and numerical methods
Lesson 19 of 75
Challenge

Locating roots by change of sign

Objective. Use interval evaluations to justify the location of a root.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

Locating roots by change of sign uses the fact that if a continuous function f(x) is negative at one value and positive at another, a root of f(x)=0 must lie somewhere between them, since the graph must cross the x-axis to change sign. To justify a root lies in an interval [a,b], calculate f(a) and f(b) and show they have opposite signs. Narrowing the interval by testing values in between allows the root to be pinpointed to any required accuracy. For example, if f(2)=−3 and f(3)=5, a root of f(x)=0 lies between x=2 and x=3 because the sign changes from negative to positive.

Worked example

Show that the equation x³−x−3=0 has a root between x=1 and x=2.

3 … 0
Illustrated card showing 3 … 0
  1. 1Define f(x) = x³−x−3
  2. 2Evaluate f(1) = 1−1−3 = −3, which is negative
  3. 3Evaluate f(2) = 8−2−3 = 3, which is positive
  4. 4Since f(1) is negative and f(2) is positive, the function changes sign, so a root lies between 1 and 2

Answer: A root lies in (1, 2) since f(1)=−3 and f(2)=3 differ in sign

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students sometimes conclude there is no root simply because f(a) and f(b) are both large numbers, without checking their signs; what matters is whether the sign changes between the two values, not their size.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard