UNIT 1 • FINDING ROOTS OF EQUATIONS
The Bisection Method
Step-by-Step Friendly Guide
The Bisection Method is a straightforward and reliable numerical technique used to find roots (solutions) of continuous functions. It works by repeatedly dividing an interval in half and selecting the subinterval where the function changes sign, thereby narrowing down the location of the root.
Step-by-Step Worked Example
HAND-HOLDING TUTORIALOUR PROBLEM TO SOLVE
Find a root of x3−4x−9=0 correct to one decimal place (tolerance ε=0.05) using the Bisection Method.
STEP 01 • REARRANGING THE EQUATION
First, set the equation to zero to get our standard function f(x)=0:
f(x)=x3−4x−9=0 STEP 02 • CHOOSE INITIAL POINTS
Choose two initial points a and b such that f(a) and f(b) have opposite signs. Let's choose a=2 and b=3:
f(2)=23−4(2)−9=8−8−9=−9(Negative) f(3)=33−4(3)−9=27−12−9=6(Positive) Since f(2)<0 and f(3)>0, a root must lie in [2,3]. Each step halves the interval, so the number of steps is known in advance: stop at step k once 2kb−a<ε, i.e. k>log20.053−2=log220≈4.32, so 5 steps.
STEP 03 • CALCULATE FIRST MIDPOINT
Calculate the midpoint C of the interval [a,b]=[2,3]:
C=2a+b=22+3=2.5 f(2.5)=(2.5)3−4(2.5)−9=15.625−10−9=−3.375(Negative) STEP 04 • UPDATE THE INTERVAL
Since f(2)<0 and f(2.5)<0, both left points are negative. The sign change happens between C=2.5 and b=3.
Set new left bound:
a=C=2.5. New interval is
[2.5,3.0].
STEP 05 • STEP-BY-STEP ITERATIONS WALKTHROUGH
Iteration 2:Midpoint:
C2=22.5+3=2.75Function Value:
f(2.75)=(2.75)3−4(2.75)−9=+0.7969Update:
f(2.5)<0 and
f(2.75)>0, so set
b=2.75. New interval:
[2.5,2.75] Iteration 3:Midpoint:
C3=22.5+2.75=2.625Function Value:
f(2.625)=−1.4121Update: set
a=2.625. New interval:
[2.625,2.75] Iteration 4:Midpoint:
C4=22.625+2.75=2.6875Function Value:
f(2.6875)=−0.3391Update: set
a=2.6875. New interval:
[2.6875,2.75] Iteration 5:Midpoint:
C5=22.6875+2.75=2.71875Function Value:
f(2.71875)=+0.2209Check:
2b−a=22.75−2.6875=0.03125<0.05, so stop. The root lies within 0.03 of 2.71875.
STEP 06 • ITERATION SUMMARY TABLE
| Step (k) | Left Bound (a) | Right Bound (b) | Midpoint (C) | Value f(C) | Sign of f(C) | Next Interval |
|---|
| 1 | 2.0000 | 3.0000 | 2.5000 | -3.3750 | f(2.5) < 0 | [2.5000, 3.0000] |
| 2 | 2.5000 | 3.0000 | 2.7500 | +0.7969 | f(2.75) > 0 | [2.5000, 2.7500] |
| 3 | 2.5000 | 2.7500 | 2.6250 | -1.4121 | f(2.625) < 0 | [2.6250, 2.7500] |
| 4 | 2.6250 | 2.7500 | 2.6875 | -0.3391 | f(2.6875) < 0 | [2.6875, 2.7500] |
| 5 | 2.6875 | 2.7500 | 2.7188 | +0.2209 | (b − a)/2 = 0.0313 < 0.05 | Stop |
FINAL CONCLUSIONRoot Correct to 1 Decimal Place: x ≈ 2.7
x≈2.71875⇒x=2.7(true root 2.7065) The Bisection Method guarantees convergence as long as you start with points that bracket the root. Notice how the interval width ∣b−a∣ is cut in half at every step (1→0.5→0.25→0.125→0.0625). After 5 steps the half-width is below 0.05, giving the root x≈2.7. Each extra decimal place costs about 3.3 more steps (4 decimal places need 14 steps).