Exercise 392Calculus › Single-variable calculus › Continuity › Intermediate Value TheoremL1Added 2 Nov 2026
The bisection method in practice
#bisection#numerical methods#intermediate value theorem
Statement
- Show that has exactly one solution in .
- Perform ten steps of the bisection method starting from .
- How many steps are needed to locate within ?
Hint
Study . At each step, cut the interval in half and keep the half where changes sign.
Show solutionHide solution
Solution
1. Existence and uniqueness. is continuous with and , so a root exists by the intermediate value theorem. Moreover , and it vanishes only at isolated points, so is strictly decreasing and the root is unique.
2. Bisection. At each step compute the midpoint of ; keep if and have opposite signs, else keep .
- Step 1:
- Step 2:
- Step 3:
- Step 4:
- Step 5:
- Step 6:
- Step 7:
- Step 8:
- Step 9:
- Step 10:
The true value is , inside the last interval.
3. Number of steps. After steps the interval has length . We need , that is . So steps are enough.
Remark. The method is slow (about three steps per decimal digit) but it is guaranteed to converge as soon as the function is continuous and changes sign.