Locating Roots by Change of Sign
SPEC 9.1 - NUMERICAL METHODS
Learn how to find approximate solutions to equations that cannot be solved algebraically
Why Numerical Methods?
Many equations cannot be solved algebraically using standard techniques. For example:
Equations We Cannot Solve
For these equations, we need numerical methods to find approximate solutions to a required degree of accuracy.
Key Concept
The roots of an equation are the x-coordinates where the curve crosses the x-axis.
The Sign Change Principle
Sign Change Theorem
If is continuous on the interval and and have opposite signs, then there is at least one root in the interval .
f(a) > 0, f(b) < 0 → Root exists
f(a) < 0, f(b) > 0 → Root exists
Method for Showing a Root Exists
Follow these steps to show that a root exists in an interval:
StepAction
Step 1Define clearly
Step 2Calculate and for the given interval
Step 3Show that and have opposite signs
Step 4State: "Since is continuous and there is a sign change, a root exists in "
Important
Always show the actual numerical values of and , not just their signs!
Worked Example01
Show that the equation has a root between and .
1
Let
2
3
4
Since and , there is a sign change.
Conclusion: Since is continuous (it's a polynomial) and there is a sign change, there is a root in the interval .
Worked Example02
Show that has a root in the interval .
1
Let
2
3
4
Since and , there is a sign change.
Conclusion: Since is continuous and there is a sign change, there is a root in .
Worked Example03
Show that the equation has a root between and .
1
Rearrange to . Let
2
3
4
Since and , there is a sign change.
Conclusion: Since is continuous and there is a sign change, there is a root in .
Limitations of Sign Change
The sign change method does not always work. Be aware of these situations:
Odd roots (3) Sign change present
Remember
A sign change guarantees at least one root exists (could be 1, 3, 5, ... roots). No sign change does not mean no roots exist - there could be 0, 2, 4, ... roots!
Worked Example04
Explain why the sign change method fails to find a root of in the interval , even though and .
1
2
3
4
Both values are positive, so there is no sign change.
Explanation: The function has a repeated root at . The curve touches the x-axis at but does not cross it. Since the function is always , there is no sign change even though a root exists.
Verifying a Root to n Decimal Places
To verify that is correct to decimal places, you must show that both bounds round to the same value.
Method
To verify is correct to d.p.:
Find the bounds: lower bound = , upper bound =
Show there is a sign change: and have opposite signs
Conclude: both bounds round to to d.p., so the root is correct to d.p.
Finding the Bounds
For 1 d.p.: bounds are (e.g., for 1.3, test 1.25 and 1.35)
For 2 d.p.: bounds are (e.g., for 1.57, test 1.565 and 1.575)
For 3 d.p.: bounds are (e.g., for 1.571, test 1.5705 and 1.5715)
Worked Example05
The equation has a root . Verify that correct to 2 decimal places.
1
Let
2
For 2 d.p., we need bounds , i.e., test 1.565 and 1.575
3
4
5
Since and , there is a sign change.
Conclusion: There is a sign change in the interval . Both 1.565 and 1.575 round to 1.57 (to 2 d.p.), therefore correct to 2 decimal places.
Worked Example06
The curve has a stationary point where . Show that the x-coordinate of this stationary point lies between 1.9 and 2.1, and find this value correct to 1 decimal place.
1
At stationary points,
2
3
Let . We need to find where for .
4
5
6
Sign change confirms root in . Testing .
AnswerThe x-coordinate of the stationary point is exactly (to 1 d.p.)
Practice
Question 1: Show that has a root between and .
Let
(negative)
(positive)
Since and , there is a sign change.
Conclusion: Since is continuous and there is a sign change, there is a root in .
Practice
Question 2: Show that has a root in the interval , and verify the root is correct to 1 decimal place.
Let
(positive)
(negative)
Sign change confirms root in .
To verify to 1 d.p., test bounds and :
(positive)
(negative)
AnswerBoth and round to , so to 1 d.p.
Practice
Question 3: The curve has a stationary point where . Show that the x-coordinate lies between 2 and 4.
At stationary points,
Let
(negative)
(positive)
Conclusion: Since and with continuous, there is a stationary point with x-coordinate in .
Summary
Key Points
ConceptDetails
Sign Change PrincipleIf and have opposite signs and is continuous, there is at least one root in
Verifying to n d.p.Show both bounds of a sign-change interval round to the same value to n d.p.
Stationary PointsFind where using sign change on the derivative
LimitationsFails for discontinuous functions, repeated roots, or even numbers of roots
Exam Tips
Always state "f(x) is continuous" in your conclusion
Show actual numerical values, not just signs
To verify to n d.p., test at the (n+1)th decimal place bounds
For stationary points, apply sign change to the derivative
Next: Why Numerical Methods?