f(x)=x3+x−1 is a polynomial, so it is continuous on [0,1]. The theorem applies.
2
Evaluate the left end
Put x=0 into f.f(0)=−1, which is below 0.
f(0)=03+0−1=−1
3
Evaluate the right end
f(1)=1, which is above 0. The value 0 lies between f(0) and f(1), so the theorem gives f(c)=0 for some c in (0,1).
f(1)=13+1−1=1
4
Halve the interval
The midpoint is 0.5, and f(0.5)=−0.375 is negative. The sign change is now between 0.5 and 1, so the root is in (0.5,1).
f(0.5)=0.53+0.5−1=−0.375
f(0.5)=0.53+0.5−1=−0.375
5
Halve again
The midpoint of (0.5,1) is 0.75, and f(0.75)=0.171875 is positive. The root is in (0.5,0.75).
f(0.75)=0.753+0.75−1=0.171875
f(0.75)=0.753+0.75−1=0.171875
6
Keep halving
The midpoint of (0.5,0.75) is 0.625, where f≈−0.131, so the root is in (0.625,0.75). Its midpoint 0.6875 gives f≈0.0125, so the root is in (0.625,0.6875). Each step halves the interval, and four halvings have cut its length from 1 to 0.0625.
0.6253+0.625−1≈−0.1310.68753+0.6875−1≈0.0125
0.6253+0.625−10.68753+0.6875−1≈−0.131≈0.0125
Result
A root lies in (0,1). After four halvings it lies in (0.625,0.6875). It is about 0.6823.
Your turn
1. One like the example
Show that x3−2x−5=0 has a solution between 2and 3.
Show the answer and explanation
f(2)=−1<0 and f(3)=16>0, and f is continuous, so f(c)=0 for some c in (2,3).
f(x)=x3−2x−5 is a polynomial, so it is continuous on [2,3].f(2)=8−4−5=−1 and f(3)=27−6−5=16 have opposite signs. The root is about 2.0946.
f(x)=x3−2x−5f(2)=−1f(3)=16
2. A variation
Show that cosx=x has a solution between 0 and 1, with x in radians. The equation is not yet in the form f(x)=0.
Show the answer and explanation
g(x)=cosx−x is continuous, g(0)=1>0 and g(1)=cos1−1≈−0.46<0, so g(c)=0 for some c in (0,1).
Rewrite the equation as g(x)=cosx−x=0.g is a difference of continuous functions, so it is continuous on [0,1]. Its values at the ends have opposite signs. At the c the theorem gives, cosc=c.
g(x)=cosx−xg(0)=1g(1)=cos1−1
3. Somewhere new
A cup of coffee cools as T(t)=20+70e−0.1t∘C,t minutes after it is poured. Show that it is exactly 50 ∘C at some moment between t=5 and t=10.
Show the answer and explanation
T(5)≈62.5 ∘C and T(10)≈45.8 ∘C, and T is continuous, so T(c)=50 for some c in (5,10).
T is continuous, built from an exponential. T(5)=20+70e−0.5≈62.5 and T(10)=20+70e−1≈45.8.50 lies between them, so the theorem applies with N=50. Solving exactly gives t=10ln(7/3)≈8.47 minutes.