Locating roots by change of sign
Studying this course? Keep your progress in one place.
Key facts
- A root of is a value of where .
- If is continuous and , have opposite signs, a root lies in .
- A full answer states the values, continuity, the sign change and the interval.
- Interval bisection halves an interval and keeps the half where the sign changes.
- The rule fails across an asymptote, and misses repeated roots or an even number of roots.
The change-of-sign rule
A continuous function that changes sign on an interval must cross zero somewhere in it.
A root of is a value of at which . If is continuous on and and have opposite signs (a change of sign), then has at least one root in .
For , and , so there is a root between and . Rewrite the equation as first: for use .
has and . What can you conclude?
Writing a full argument
Define , evaluate it at both ends, state continuity and the sign change, then conclude.
A complete answer has four parts: define with right-hand side ; work out and accurately; state that is continuous on the interval; and conclude that there is a change of sign, so a root lies in the interval.
To give the root to a given accuracy, use smaller and smaller intervals.
- 1
Define f
with right-hand side 0
- 2
Evaluate
f(a) and f(b), accurately
- 3
State
f is continuous on the interval
- 4
Conclude
sign change, so a root lies in a < x < b
Worked example
Show that has a root between and .
- 1
Let .
- 2
.
- 3
.
- 4
is continuous and changes sign on the interval.
Which is a full conclusion for and ?
Interval bisection
Evaluate at the midpoint and keep the half in which the sign changes; each step halves the width.
Interval bisection repeatedly halves an interval that contains a root. Evaluate at the midpoint and keep the half where the sign changes. Each step halves the interval width.
Keep the end that has the opposite sign to the midpoint value; do not just keep the 'nicer' number.
- 1
Start: [0.6, 0.7]
f(0.6) > 0 and f(0.7) < 0
- 2
Midpoint 0.65
f(0.65) = −0.0345 < 0, so the root is in [0.6, 0.65]
- 3
Midpoint 0.625
f(0.625) = −0.00675 < 0, so the root is in [0.6, 0.625]
, and . Which half contains the root?
Failure: discontinuities
If is not continuous, the sign can change across a break instead of through zero.
If is not continuous on the interval, a change of sign may come from a break rather than a root. has and , but is undefined at and is never zero. There is a sign change but no root.
Functions with asymptotes, such as , cause this, because of a discontinuity.
has and . Is there a root in ?
Failure: repeated roots
Same signs at both ends show an even number of roots, which could be zero or two, so roots can be missed.
If and have the same sign, there may still be roots. A repeated root touches the axis without crossing: has and , yet . Two roots in the same interval also cancel the sign change.
Close roots are missed if the interval is too wide, so choose a narrower interval when in doubt.
Sign change
- An odd number of roots
- At least one root (if continuous)
No sign change
- An even number of roots
- Possibly none, possibly two or more
and are both positive. What can you say about roots in ?
Try an exam question
(a) Show that has a root between and . (b) Use interval bisection once to find a smaller interval containing the root.
[4 marks]
- [1]Let ; and
- [1] is continuous and changes sign, so a root lies in
- [1]Midpoint:
- [1]The sign changes between and , so the root lies in
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which interval must contain a root of ?
1 mark, marked against the mark scheme
Which interval must contain a root of ?
1 mark, marked against the mark scheme