An equation like x3+x−1=0 doesn't factor nicely, so factoring won't give us the roots. But we can still find out whether it has a solution between 0 and 1. Solving it means finding where the graph of f(x)=x3+x−1 crosses the line y=0, so let's plug in the two endpoints.
f(x)=x3+x−1
f(0)=−1
f(1)=1
The graph starts below the line y=0 and ends above it. Unless the graph has a break, it can't get from one side to the other without crossing the line, and the same is true for any height k between −1 and 1. The Intermediate Value Theorem, or IVT, states this fact for any continuous function.
f continuous on [a,b]
and k between f(a) and f(b)
⇒f(c)=k for at least one c
between a and b
Here a,b, and c are input values on the x-axis, while f(a),f(b), and k are heights on the y-axis.
Why does x3+x−1=0 have a solution between 0 and 1?
Text solution
Plug in the endsAt x=0 the graph is below the line y=0, and at x=1 it's above.
f(0)=−1
f(1)=1
Why the graph has to crossThe line y=0 covers every x from 0 to 1, and the graph has a point at each of them. Getting from −1 to 1 without crossing would take a break, and a continuous function has none.
Here's how to write that as a justification, with the three things a test looks for.
Why f is continuous
x3+x−1 is a polynomial
⇒continuous on [0,1]
Values at the ends
f(0)=−1<0<1=f(1)
Conclusion
⇒f(c)=0 for some c
between 0 and 1(IVT)
The theorem guarantees that at least one solution c exists, but it doesn't tell us what c is or how many solutions there are. A curve can intersect y=k once, three times, or more.
How many inputs give the height you choose?
Inputs for a chosen height
To use the theorem, we have to know the function is continuous. Remember that polynomials, sinx,cosx, and ex are continuous everywhere. A sum or difference of continuous functions is continuous wherever both functions are continuous. A fraction of continuous functions is continuous wherever its denominator isn't zero. x is continuous for x≥0. For a piecewise function, check continuity where the formula changes.
On a test, continuity has to be part of the justification. Writing only that 0 is between f(0) and f(1) loses credit, because a function that isn't continuous can jump right over 0.
2
When a condition fails
Take f(x)=x1 on the interval [−1,1]. Plugging in the endpoints gives f(−1)=−1 and f(1)=1. The number 0 is right between −1 and 1, but 1 divided by any number is never 0.
f(x)=x1:
f(−1)=−1<0<1=f(1),
x1=0 for every x
This seems to contradict the Intermediate Value Theorem. Let's see why it doesn't, and then what happens when the other condition fails and k isn't between f(a) and f(b).
What happens when a condition of the Intermediate Value Theorem fails?
Text solution
Continuity fails inside the intervalx1 is continuous at both endpoints, but not at x=0, so the theorem doesn't apply. It makes no promise either way.
x1 undefined at x=0
⇒not continuous on [−1,1]
Where it's continuous, it worksOn [1,2], the height 43 is between f(1)=1 and f(2)=21, and it's reached.
x1=43⇒x=34
The target isn't between the end valuesOn [−2,2],x2−1 and x2+1 each have the same value at both ends, so 0 isn't between them and the theorem says nothing. One still has zeros, and the other has none.
x2−1=0⇒x=±1
x2+1≥1
Both functions fail the same condition, but one has two zeros and the other has none.
x2−1 on [−2,2]
f(−2)=f(2)=3
zeros at x=−1 and x=1
x2+1 on [−2,2]
f(−2)=f(2)=5
no zeros
3
When both sides change with x
We want to know whether cosx=x has a solution between 0 and 2π. When an equation has a constant on one side, like x3+x=5, we can apply the Intermediate Value Theorem directly to f(x)=x3+x with k=5. But in cosx=x, both sides change as x moves, so there's no fixed height k.
Subtract x from both sides, and the equation becomes cosx−x=0. Now we can define a single function, g(x)=cosx−x, and look for where it equals 0.
cosx=x
⟺cosx−x=0
g(x)=cosx−x
On a graph, g(x) is the difference between the heights of y=cosx and y=x. Where the two curves intersect, that difference is 0.
Show that cosx=x has a solution between 0 and 2π
Text solution
One continuous functioncosx and x are continuous everywhere, so their difference is too.
g(x)=cosx−x
continuous on [0,2π]
Values at the endsAt 0,y=cosx is above y=x, and at 2π it's below, so g changes sign.
g(0)=1>0
g(2π)=−2π<0
ConclusionBy the IVT with k=0,g equals zero somewhere in between, and there the two sides are equal.
g(c)=0 for some c in (0,2π)
⇒cosc=c
4
Finding the least number of solutions from a table
We know f is continuous on [0,8], but we're only given its value at five points. What is the least number of solutions to f(x)=0, and to f(x)=2?
xf(x)032−1426581
If we look only at the ends, f(0)=3 and f(8)=1. Since 0 isn't between 3 and 1, the Intermediate Value Theorem tells us nothing across the whole interval [0,8]. But f is continuous on all of [0,8], so it's continuous between each neighbouring pair of points. That lets us check one gap at a time.
Find the least number of solutions to f(x)=0 and f(x)=2 from a table
Text solution
Solutions to f(x)=00 is between the values at the ends of the first two gaps, but not the last two. A curve could cross more times there, but it doesn't have to.
f(0)=3>0>−1=f(2)
f(2)=−1<0<2=f(4)
at least 2 solutions
Solutions to f(x)=2Two gaps give a solution each, and f(4)=2 makes x=4 a solution too. Because 2 is an end value of both gaps next to x=4, those gaps add nothing new, so x=4 is counted once.
f(0)=3>2>−1=f(2)
f(4)=2
f(6)=5>2>1=f(8)
at least 3 solutions
No table? Make oneFor x3−x+1=0, testing x=0,1,2 gives 1,1,7, all positive. Negative inputs give 1 at x=−1 and −5 at x=−2.
−5<0<1
⇒a solution in (−2,−1)
Can you change how many solutions there are while keeping all five given points?
Solutions guaranteed by a table
5
Finding a root to one decimal place
We know x3+x−1=0 has a root between 0 and 1, but the Intermediate Value Theorem only tells us that a root exists. It doesn't tell us where it is. To find the root to one decimal place, we can narrow down where the sign change happens.
Find the root of x3+x−1=0 between 0 and 1 to one decimal place
Text solution
Narrow it down to two tenthsStart in the middle, then step through tenths until the sign changes.
f(0.5)=−0.375<0
f(0.6)=−0.184<0
f(0.7)=0.043>0
⇒root in (0.6,0.7)
Check the halfway valueA root below 0.65 rounds to 0.6, and a root above it rounds to 0.7, so only the sign at 0.65 matters.
f(0.65)≈−0.075<0
⇒root in (0.65,0.7)
⇒x≈0.7
Summary
The Intermediate Value Theorem
f continuous on [a,b]
and k between f(a) and f(b)
⇒f(c)=k for at least one c
between a and b
If f is continuous on a closed interval [a,b], its graph has no breaks, so it goes through every height k between f(a) and f(b) at least once. The inputs a,b, and c lie on the x-axis, while the heights f(a),f(b), and k lie on the y-axis. The theorem guarantees that at least one such input c exists, but it doesn't say what c equals or how many solutions there are.
Writing an IVT justification
To use the Intermediate Value Theorem to show that f(x)=k has a solution on [a,b], state three facts in order. First, state why f is continuous on [a,b]. Second, find f(a) and f(b) and show that k is between them. Third, conclude by the Intermediate Value Theorem that f(c)=k for at least one c between a and b. Stating that k lies between the endpoint values without mentioning continuity gives no conclusion, because a function that isn't continuous can skip over k.
When a condition fails
x2−1 on [−2,2]:
f(−2)=f(2)=3,
zeros at x=−1,1
x2+1 on [−2,2]:
f(−2)=f(2)=5,
no zeros
If f isn't continuous somewhere on [a,b], or if k is not between f(a) and f(b), the Intermediate Value Theorem gives no conclusion either way. That doesn't mean there are no solutions. On [−2,2], both x2−1 and x2+1 have f(−2)=f(2)>0, so 0 is not between their endpoint values. But x2−1 still equals 0 at x=−1 and x=1, while x2+1 has no zeros at all.
When x is on both sides
cosx=x
⟺cosx−x=0
The Intermediate Value Theorem needs one function reaching one fixed value. If an equation has x on both sides, subtract one side from the other to get a single function equal to 0. To show that cosx=x has a solution, let g(x)=cosx−x. Both cosx and x are continuous everywhere, so their difference g(x) is continuous. Then use the Intermediate Value Theorem with target value k=0. If g(a) and g(b) have opposite signs, g(c)=0 for some c between a and b, which means cosc=c.
Counting solutions from a table
To find the least number of solutions to f(x)=k from a table, check each neighbouring pair of inputs. If k is between two consecutive values, the theorem guarantees at least one solution in that gap. If a table output equals k, count that exact solution once. Add these up across the table to get the least number of solutions. When you're not given a table, test simple inputs like 0,1,2, as well as negative values, until you find outputs on opposite sides of k.
Finding a root to one decimal place
f(0.6)<0<f(0.7),
f(0.65)<0
⇒x≈0.7
Once you know a continuous function has a root between two consecutive tenths, test the sign of f at the halfway value between them. For a root between 0.6 and 0.7, the halfway value is 0.65. If f(0.65) and f(0.7) have opposite signs, the root lies between 0.65 and 0.7, so it rounds up to 0.7. If f(0.6) and f(0.65) have opposite signs, the root lies between 0.6 and 0.65, so it rounds down to 0.6.
6
Practice
1
Show that x+x=3 has a solution between 1 and 4.
Is x+x continuous on [1,4], and what are its values at 1 and 4?
If you got f(1)=2<3<6=f(4), so there is a solution Check whether you stated that f is continuous on [1,4]. The inequality 2<3<6 only guarantees a solution if f is continuous on [1,4]. Without continuity, a function can skip from 2 to 6 without ever reaching 3.
x is continuous for x≥0, and x is continuous everywhere, so their sum is continuous on [1,4].
x continuous for x≥0,x continuous
⇒f(x)=x+x continuous on [1,4]
Plug in the endpoints 1 and 4.
f(1)=1+1=2,
f(4)=2+4=6
The target value 3 is between 2 and 6, so the Intermediate Value Theorem guarantees a solution.
2<3<6
⇒c+c=3 for some c
between 1 and 4(IVT)
2
f is continuous on [1,5],f(1)=−2 and f(5)=4. Which of the following must be true?
The inputs 1 and 5 are on the x-axis, and the outputs −2 and 4 are on the y-axis. Between which two numbers must c lie?
If you got (B) Check which values are inputs and which are outputs. The numbers −2 and 4 are values of f, while c is an input between 1 and 5.
If you got (C) Check whether 5 is between f(1) and f(5). Since 5 is greater than 4, the theorem doesn't guarantee that f reaches 5.
If you got (D) Check how many solutions the theorem guarantees. It guarantees at least one solution, but there could be more.
0 is between −2 and 4, so the Intermediate Value Theorem guarantees at least one input c between 1 and 5 where f(c)=0.
f continuous on [1,5],
f(1)=−2<0<4=f(5)
⇒f(c)=0 for some c
between 1 and 5(A)
Choice (B) mixes up inputs and outputs, (C) asks for an output outside [−2,4], and (D) claims there's only one solution.
(B):c between 1 and 5,
not between −2 and 4
(C):5>4=f(5)
⇒5 not between −2 and 4
(D):at least one c, not exactly one
3
f(x)={x+1,x2−5,x<2x≥2 on [0,3]. (a) Can the Intermediate Value Theorem be used to show that f(c)=2 for some c between 0 and 3? (b) Is there a c between 0 and 3 with f(c)=2?
(a)
What does x+1 approach as x approaches 2 from the left, and what is f(2)?
If you got (a) yes Check whether f is continuous on the entire interval [0,3]. The boundary at x=2 is inside the interval.
(b)
If you got (b) no When the Intermediate Value Theorem gives no conclusion, that doesn't mean there's no solution. Try setting each piece equal to 2.
The endpoint values are 1 and 4, and 2 lies between them.
f(0)=1,
f(3)=9−5=4,
1<2<4
Check the boundary at x=2As x approaches 2 from the left, x+1 approaches 3, but f(2)=−1. So f isn't continuous at 2, and we can't use the Intermediate Value Theorem.
x→2−lim(x+1)=3,
f(2)=4−5=−1=3
⇒not continuous at x=2
Even without the theorem, setting each piece equal to 2 gives two solutions in [0,3].
f(1)=1+1=2,
x2−5=2⇒x=7,
2<7<3
4
Show that x4+x−3=0 has at least two real solutions.
Can you find a simple input where f(x) is negative? Try x=0, and then look for a positive output on each side of it.
If you got f(−2)=11 and f(2)=15, so no conclusion Checking only the ends of [−2,2] gives two positive values. Try an input between them, like x=0.
f is a polynomial, so it's continuous everywhere.
f(x)=x4+x−3 is a polynomial
⇒continuous everywhere
Evaluating at −2 and 2 gives positive values, so test x=0 between them.
f(−2)=16−2−3=11,
f(0)=−3,
f(2)=16+2−3=15
The sign changes on (−2,0) and on (0,2), and that gives two separate solutions.
11>0>−3
⇒a solution in (−2,0)
−3<0<15
⇒a solution in (0,2)
5
g is continuous on [1,9], with the values below. What is the least number of solutions of g(x)=5 on [1,9]?
xg(x)1236537795
Look for adjacent table values with 5 between them, and check whether any table entry equals 5 exactly.
If you got 3 Check the value at x=9. The table gives g(9)=5, so x=9 is already a solution.
Read the table pair by pair to find where 5 lies between adjacent outputs.
g(1)=2<5<6=g(3)
⇒a solution in (1,3)
g(3)=6>5>3=g(5)
⇒a solution in (3,5)
g(5)=3<5<7=g(7)
⇒a solution in (5,7)
The table also gives a solution directly at x=9.
g(9)=5
⇒x=9 is a solution
at least 4 solutions
6
W(t), the temperature of a tank in degrees, is continuous. W(0)=62,W(2)=58,W(4)=45 and W(6)=53. Is there a time t with 2<t<6 at which W(t)=50? Justify your answer.
Is 50 between W(2) and W(6), or between W(2) and W(4)?
If you got no Checking only W(2)=58 and W(6)=53 gives no conclusion. A solution on a smaller piece of [2,6] is still inside (2,6).
Both W(2) and W(6) are greater than 50, so the interval [2,6] as a whole gives no conclusion.
W(2)=58,W(6)=53:
50 not between 53 and 58
On [2,4],W is continuous and 50 is between 45 and 58, so W(t)=50 for some t between 2 and 4.
W continuous on [2,4],
W(4)=45<50<58=W(2)
⇒W(t)=50 for some t
between 2 and 4, so 2<t<6
7
The equation x3=2x+2 has one solution. Find it to one decimal place.
The solution lies between 1.7 and 1.8. To see whether it rounds to 1.7 or 1.8, what is the sign of g(1.75), where g(x)=x3−2x−2?
If you got 1.7 A solution between 1.7 and 1.8 could round to either tenth. Check the sign of g at the halfway point 1.75.
Move all terms to one side to define g(x)=x3−2x−2, which is continuous everywhere.
x3=2x+2
⟺x3−2x−2=0,
g(x)=x3−2x−2
Test whole numbers to find where g changes sign.
g(1)=−3<0,
g(2)=2>0
⇒solution in (1,2)
Narrow the interval to tenths.
g(1.7)=−0.487<0,
g(1.8)=0.232>0
⇒solution in (1.7,1.8)
Test the halfway point 1.75 to decide whether the solution rounds to 1.7 or 1.8.
g(1.75)=−0.140625<0
⇒solution in (1.75,1.8)
⇒x≈1.8
8
f(x)={kx+1,x2−k,x<2x≥2 (Challenge) (a) Find the value of k that makes f continuous. (b) With that value of k, explain why f(c)=5 for some c between 0 and 3.
If you got k=3 Check the formula for x≥2. At x=2,x2−k is 4−k, not 4+k.
(b)
The value of k from part (a) makes f continuous at x=2. What does that tell you about f on [0,3], and what are f(0) and f(3)?
Find kFor f to be continuous at x=2, the limit from the left must equal the value at 2.
x→2−lim(kx+1)=2k+1,
f(2)=4−k
2k+1=4−k
⇒3k=3
⇒k=1
Apply the Intermediate Value TheoremWith k=1,f is continuous on [0,3], and 5 is between f(0)=1 and f(3)=8.