Bisection Method for Root Finding
Bisection Method for Root Finding
root of ( =)0Otherwise, the root is located between and or between and depending on whether
( ) is
positive or negative.
Step 3: if ( ∙ )( ) < 0so ask = , otherwise = and apply the formula from step 2;
Step 4: stop the evaluation of the difference between two successive values of obtained from step 2
is numerically less than the prescribed precision.
(linearly convergent).
Example:
Find the root of the equation: − x − 1 = 0located between 1 and 2 by the Bisection method.
Solution:
1=( 1) - 1 - 1 = -1 < 0
⇒ABCDEFGHIJK1L2
2=( 2) -2 - 1 = 5 > 0
Initial interval Interpolated root Evaluation of Final interval
[["1","2"]
] 1+2 ( )
1.50.875 [1; 1.5 ]
= = 1.5
2
[1; 1.5 ] = 1.25 (
1.25= )
-0.297 [1,25; 1,5 ]
[1,25; 1,5 ] 1.375 ( )
1,3750.2246 [1,313; 1,375 ]
[1,313; 1,375 ] = 1,313 (
1,313= )
−0,0494 [1,313; 1,344 ]
[1,313; 1,344 ] = 1,344 0.0837 [1,313; 1,329 ]
[1,313; 1,329 ] 1,329 0.0183 [1,313; 1,329 ]
[1,313; 1,329 ] = 1,321 -0.0158 [1,321; 1,329 ]
[1,321; 1,329 ] = 1,325 0.0012 -
| − | 1,329-
| | ≤
1,321 = 0.008 = 10