Professional Documents
Culture Documents
The bisection method is used to find the roots of a polynomial equation. It separates the interval and
subdivides the interval in which the root of the equation lies. The principle behind this method is the
intermediate theorem for continuous functions.
A root of the equation f(x) = 0 is also called a zero of the function f(x). The Bisection Method, also called the
interval halving method, the binary search method, or the dichotomy method. is based on the Bolzano's
theorem for continuous functions.
Because sign of f(m) ≠ sign of f(a) , we proceed with the search in the new interval [a, b]:
In the above example, we have changed the end point b to obtain a smaller interval that still contains a root
In other cases, we may need to changed the end point b to obtain a smaller interval that still contains a root
Here is an example where you have to change the end point a:
Initial interval [a, b]:
After cutting the interval in half, the root is contained in the right-half, so we have to change the end
point a:
f(0) = 02 − 5 = −5
f(4) = 42 − 5 = 11
Start:
a = 0; f(a) = -5
b = 4; f(b) = 11
Iteration 1:
m = (a + b)/2 = 2
f(m) = 22 − 5 = -1
a = 2; f(a) = -1
b = 4; f(b) = 11
Iteration 2:
m = (a + b)/2 = 3
f(m) = 32 − 5 = 4
a = 2; f(a) = -1
b = 3; f(b) = 4
Iteration 3:
m = (a + b)/2 = 2.5
a = 2; f(a) = -1
b = 2.5; f(b) = 1.25
And so on....
Here 𝒙𝟑 − 𝒙 − 𝟏 = 𝟎
Let 𝒇(𝒙) = 𝒙𝟑 − 𝒙 − 𝟏
Here
x 0 1 2
f(x) -1 -1 5
1st iteration :
1+2
𝑥0 = = 1.5
2
2nd iteration :
1 + 1.5
𝑥1 = = 1.25
2
3rd iteration :
1.25 + 1.5
𝑥2 = = 1.375
2
4th iteration :
5th iteration :
1.3125 + 1.375
𝑥4 = = 1.34375
2
6th iteration :
1.3125 + 1.34375
𝑥5 = = 1.32812
2
7th iteration :
1.3125 + 1.32812
𝑥6 = = 1.32031
2
8th iteration :
9th iteration :
1.32422 + 1.32812
𝑥8 = = 1.32617
2
1.32422 + 1.32617
𝑥9 = = 1.3252
2
11th iteration :
1.32422 + 1.3252
𝑥10 = = 1.32471
2
Examples:
1. Find a root of an equation 𝑓(𝑥) = 𝑥 2 − 𝑠𝑖𝑛𝑥 − 0.5 = 0 in [0, 2] using Bisection method.
2. Find a root of an equation 𝑓(𝑥) = 2𝑥 3 − 2𝑥 − 5 = 0 in [0, 2] using Bisection method.
3. Find a root of an equation 𝑓(𝑥) = 𝑥 2 − 4𝑥 − 10 = 0 using Bisection method.
[Ans: x=5.7421875]