Professional Documents
Culture Documents
Numerical Method Bisection
Numerical Method Bisection
[1] ROOTS OF EQUATIONS [2] LINEAR & NON-LINEAR ALGEBRAIC EQUATIONS [3] OPTIMIZATION [4] CURVE FITTINGS [5] NUMERICAL DIFFERENTIATION & INTEGRATION
[1]
COMPLEXITIES & DIFFICULTIES IN ANALYTICAL SOLUTION (extremely powerful problem solving tools) MATHEMATICAL MODELLING (reinforcing tools to understand mathematics) SCIENTIFIC COMPUTATION (SIMULATIONS & VISUALIZATIONS) (efficient tool for learning to use computers)
[2]
[3]
ROOTS OF EQUATIONS
[1] BRACKETING METHODS Graphical Method (Manual or Computer Aided) Bisection Method Linear Interpolation
[2] OPEN METHODS Simple Fixed-Point Iteration The Newton-Raphson Method The Secant Method
[3] ROOTS OF POLYNOMIALS Mllers Method Bairstows Method
BISECTION METHOD
The existence of a root within this interval is proven by the INTERMEDIATE VALUE THEOREM in calculus.
The location of the root can be approximated by halving this interval; i.e. the approximate location of the root is given by
ab r 2
ab r 2
[2]
[3]
EXAMPLE
Find the positive root correct to 5 decimal places for f (x) = x2 3 using Bisection Method by carrying out 10 iterations.
SOLUTION For a simple function given as this example, we may consider algebraic manipulation to calculate the root(s) of the equation. Alternatively, we may sketch the graph to locate the root(s) of the equation.
Since we are required to find the root by applying the Bisection method, thus, we may choose the lower and upper limit as follows: a=1 b=3 f (a) = - 2 f (b) = 6
Continuing the steps 2 and 3 will results the following data table.
2
3 4 5
6
7 8 9
10
i
1 2 3 4 5 6 7 8 9 10
a
1.00000
1.00000 1.50000 1.50000 1.62500 1.68750 1.71875 1.71875 1.72656 1.73047
b
3.00000
2.00000 2.00000 1.75000 1.75000 1.75000 1.75000 1.73438 1.73438 1.73438
r
2.00000
1.50000 1.75000 1.62500 1.68750 1.71875 1.73438 1.72656 1.73047 1.73243
f (a)
-2.00000
-2.00000 -0.75000 -0.75000 -0.35938 -0.15234 -0.04590 -0.04590 -0.01899 -0.00547
f (b)
6.00000
1.00000 1.00000 -0.68250 0.06250 0.06250 0.06250 0.00807 0.00807 0.00807
f (r)
1.00000
-0.75000 0.06250 -0.35938 -0.15234 -0.04590 -0.00806 -0.01897 -0.00542 -0.00130
f (a) . f (r)
-2.00000 (-ve test)
1.50000 (+ve test) -0.04688 (-ve test) 0.26953 (+ve test) 0.05475 (+ve test) 0.00699 (+ve test) -0.00037 (-ve test) 0.00087 (+ve test) 0.00010 (+ve test) -0.00001 (almost zero!)