Numerical Solution of Algebraic & Transcendental Equations
Numerical Solution of Algebraic & Transcendental Equations
If f(x) is continuous in the interval (a, b) and if f (a) and f(b) are of opposite signs, then the equation f(x) = 0 will have
at least one real root between a and b.
Y Y
f ( x)
f ( x)
a a
X X
b b
Algebraic equation:
An algebraic equation is an equation that includes one or more variables such as x 2 + xy − z = 0 .
Transcendental equation:
An equation together with algebraic, trigonometrical, exponential or logarithmic function etc. is called transcendental equation such as
e x + 2sin x − 5 x = 0 .
Solution/root:
A solution/root of an equation is the value of the variable or variables that satisfies the equation.
Iteration:
Iteration is the repeated process of calculation until the desired result or approximate numerical value has come. Each repetition of the process is also
called iteration and the result of one iteration is used as the starting point for the next iteration.
We are capable to find the root of algebraic or transcendental function by using following methods:
1. Bisection method
2. Newton Rapshon method (Newton’s Iteration method)
3. Iteration method (Method of successive approximation/Fixed-point Iteration Method)
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
Page |7
Bisection Method:
Let us suppose we have an equation of the form f ( x ) = 0 in which solution lies between in the range (a, b) where a b . Also f ( x ) is
continuous and it can be algebraic or transcendental. If f ( a ) and f (b ) are opposite signs, then there exist at least one real root between a
a+b
and b. Let f ( a ) be positive and f (b ) negative. Which implies at least one root exits between a and b.We assume that root to be xo =
2
. Check the sign of f ( xo ) . If f ( xo ) is negative, the root lies between a and x0 . If f ( xo ) is positive, the root lies between x0 and b.
a + x0 b + x0
Subsequently any one of this case occur. x1 = Or x1 = . When f ( x1 ) is negative, the root lies between x0 and x1 and let the
2 2
x + x0 x + x2
root be x2 = 1 . Again f ( x2 ) negative then the root lies between x0 and x2 , let x3 = 0 and so on. Repeat the process
2 2
x0 , x1 , x2 ,....., xk −1 , xk whose limit of convergence is the exact root. We have to stop the iteration when the value of two successive
iterations are approximately equal. That is xk −1 xk or xk − xk −1 0 .
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
Page |8
Steps Task
01 Define f ( x )
02 Read a ‘The lower bound of the desired roots’
03 Read b ‘The upper bound of the desired roots’
04 Set k = 1
05 a+b
Calculate xk =
2
06 Calculate f k = f ( xk )
07 Print k , xk , f k
08 If xk − xk −1 0.0001 then
GOTO Step 11
elseif
f ( a ) . f k 0 then b = xk .
Else
f ( b ) . f k 0 then a = xk .
Endif
09 Set k = k + 1
10 GOTO Step 05
11 Print ‘Required root, xk ’
12 STOP
Problem 01:
Find a root of the equation x − 4 x − 10 = 0 using Bisection method.
2
Solution:
Let f ( x) = x 2 − 4 x − 10
Here,
f (−2) = 4 + 8 − 10 = 2 0 and f (−1) = 1 + 4 − 10 = −5 0 .
Since f ( −2) is positive and f ( −1) is negative so at least one real root lies between -2 and -1.
−2 − 1 −3
x= = = −1.5
2 2
Number of iterations for bisection method is given in the following table in arranged way for determining the approximate value of the desired root
of the given equation.
a+b
Iteration Value of a ( + ) Value of b ( - ) x= Sign of f ( x) = x 2 − 4 x − 10
2
1 -2 -1 -1.5 -1.75 < 0
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
Page |9
The approximate root of the given equation is = −1.7412 because f (−1.7412) = −0.003 0 .
Problem 02:
Find the root of the equation x − x − 1 = 0 by using Bisection method correct up to two decimal places.
3
Solution:Let f ( x) = x 3 − x − 1
Here, f (1) = 1 − 1 − 1 = −1 0 and f (2) = 8 − 2 − 1 = 5 0
Since f (1) and f (2) are of opposite sign so at least one real root lies between 1 and 2.
1+ 2 3
x= = = 1.5
2 2
Number of iterations for bisection method is given in the following table in arranged way for determining the approximate value of the desired root of
the given equation.
Value of a ( + a+b
Iteration Value of b ( - ) x= Sign of f ( x) = x 3 − x − 1
) 2
It is evident that from the above table, the difference between two successive iterative values of x is 1.3261 − 1.3251 = 0.001 which the
accuracy condition for the solution exact. So, the required root of the given equation up to the two decimal places is 1.32.
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 10
Problem 03:
Find the root of the equation x e x = 1 by using Bisection method correct up to three decimal places on the interval (0, 1).
Solution:
Let f ( x) = x e x − 1
Here, f (0) = 0.e − 1 = −1 0 and f (1) = 1.e − 1 = 1.7182 0
0 1
Since f (0) and f (1) are of opposite sign so at least one real root lies between 0 and 1.
0 +1 1
x= = = 0.5
2 2
Number of iterations for bisection method is given in the following table in arranged way for determining the approximate value of the desired root
of the given equation.
It is evident that from the above table, the difference between two successive iterative values of x is0.5683594 − 0.5673828 0.001 which
the accuracy condition for the solution exact. So, the required root of the given equation up to the three decimal places is 0.567 .
Problem 04:
Find the root of the equation 4sin x − e = 0 by using Bisection method correct up to four decimal places.
x
Solution:
Consider that, f ( x) = 4sin x − e x
Here,
f (0) = 4 sin(0) − e0 = −1 0 and f (1) = 4sin(1) − e1 = 0.64 0 [Change calculator in radian Mode]
Since f (0) and f (1) are of opposite sign so at least one real root lies between 0 and 1.
0 +1 1
x= = = 0.5
2 2
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 11
Number of iterations for bisection method is given in the following table in arranged way for determining the approximate value of the desired root
of the given equation.
a+b
Iteration Value of a ( + ) Value of b ( - ) x= Sign of f(x)
2
1. 1 0 0.5 0.268 > 0
It is evident that from the above table, the difference between two successive iterative values of x is 0.372174 − 0.372122 0.0001 which
the accuracy condition for the solution exact. So, the required root of the given equation up to the three decimal places is 0.3721 .
Note: To determine the value of the trigonometrical function f(x), we have to change our calculator in radian mode.
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 12
Try yourself:
TYPE01:
To find the root of the following equations using Bisection method by your own choosing interval
1. 2x − 5x + 2 = 0
2. e2 x − e x − 2 = 0
3. x3 + x 2 − 1 = 0
4. 2x + cos x − 3 = 0
5. cos x − ln x = 0
6. x 2 − 4 x − 10 = 0
7. 2x = 1 + sin x
8. x3 − 2 x 2 − 4 = 0
9. sin x = x − 1
2 2
10. x sin x = 1
11. cos x − xe = 0
x
12. 4x = tan x
13. e tan x = 1
x
TYPE02:
1. Apply bisection method to find real root of x − 3 x + 1 = 0 that lies in (0, 1).
3
2. Find the real root of the equation x + ln x − 2 = 0 belonging to the interval (1, 2) using Bisection Method.
3. Find the real root of the equation x + log10 x − 1.2 = 0 belonging to the interval (2, 3) using Bisection Method.
e− x − cos x = 0 belonging to the interval (1, 3) using Bisection Method.
2
4. Find the real root of the equation
e− x − 4sin x = 0 belonging to the interval (1, 2) using Bisection Method.
2
5. Find the real root of the equation
6. Find the real root of e + 4 x = 0 that lies in (0, 1).
x 2
7. Find the real root of the equation x − 3 x − 5 = 0 belonging to the interval (2, 3) using Bisection Method.
3
8. Find the real root of the equation x − x − 1 = 0 belonging to the interval (2, 3) using Bisection Method.
3
9. Find the positive real root of the equation x − 3 x + 1.06 = 0 by Bisection Method correct to four decimal places.
3
10.Find the positive real root of the equation x + x − 80 = 0 by Bisection Method correct to three decimal places.
4 2
11. Use bisection method to find the real root of the equation xe = 1 between 0 and 1 to four significant figures.
x
−5
12. Compute a root of the equation e = x to an accuracy of 10 using bisection method.
x 2
1
14. Solve the equation x − exp = 0 by bisection method.
x
TYPE03:
1. Discuss the Bisection Method to find a real root of the equation f ( x ) = 0 in the interval [a,b].
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 13
2 1
x2 x1 x0
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 14
f ( x1 )
x2 = x1 −
f ' ( x1 )
Proceeding in this way we get,
f ( xn )
xn +1 = xn − where n = 0,1, 2,3,........ etc .
f ' ( xn )
f (x )
Therefore, the formula xn +1 = xn − ' n is known as the Newton Rapson Formula or Tangential Method.
f ( xn )
Advantage of Newton Rapshon method:
1. Converge fast if it converge to the root compare to another method.
2. Requires only one guess.
3. Convergence to the root quadratically.
4. Easy to convert to multiple dimentions.
5. Can be to polish a root found by another methods.
Steps Task
01 Define f ( x )
02 Define f ( x )
03 Read x0
04 Set k =0
05 k = k +1
06 f ( xk −1 )
Calculate xk = xk −1 −
f ( xk −1 )
07 If xk − xk −1 0.0001 then
GOTO Step 8
elseif
GOTO Step 5
Problem 01:
Find the root of the equation x − 3 x − 5 = 0 by Newton-Rapshon Method correct to four decimal places.
3
Solution:
Let f ( x) = x3 − 3x − 5 then f ' ( x) = 3x 2 − 3 .
Here f (2) = 8 − 6 − 5 = −3 0 and f (3) = 27 − 9 − 5 = 13 0
Since f (2) and f (3) are of opposite sign so at least one real root lies between 2 and 3.
we know that from Newton-Rapshon method ,
f ( xn )
xn +1 = xn −
f ' ( xn )
xn3 − 3xn − 5
xn +1 = xn − [ putting values]
3xn2 − 3
3xn3 − 3xn − xn3 + 3xn + 5
xn +1 =
3xn2 − 3
2 xn3 + 5
xn +1 = (1)
3xn2 − 3
Choosing an initial guess x0 = 2 and putting n = 0 and x0 = 2 in above mentioned equation (1), we are capable to find the
sccessive improved approrimations are as follows:
2 x03 + 5 2 23 + 5
x1 = = = 2.333
3x02 − 3 3 22 − 3
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 16
2 x13 + 5 2 (2.333)3 + 5
x2 = = = 2.2806
3x12 − 3 3 (2.333) 2 − 3
2 x23 + 5 2 (2.2806)3 + 5
x3 = 2 = = 2.2790
3x2 − 3 3 (2.2806) 2 − 3
2 x33 + 5 2 (2.2790)3 + 5
x4 = = = 2.2790
3x32 − 3 3 (2.2790) 2 − 3
Since x4 = x3 so the Newton Rapshon method gives no new values of x and the approximate root is correct to four decimal
places.Hence the require root is 2.2790 .
Problem 02:
Using Newton-Rapshon method ,find the root of the equation x − x − 10 = 0 which is nearer to
4
x = 2 ,correct to three decimal
places.
Solution:
Let f ( x) = x 4 − x − 10 then f ' ( x) = 4 x3 − 1 .
Here f (1) = 1 − 1 − 10 = −10 0 and f (2) = 16 − 2 − 10 = 4 0
Since f (1) and f (2) are of opposite sign so at least one real root lies between 1 and 2.
we know that from Newton-Rapshon method ,
f ( xn )
xn +1 = xn −
f ' ( xn )
xn4 − xn − 10
xn +1 = xn −
4 xn3 − 1
4 xn4 − xn + xn4 + xn + 10
xn +1 =
4 xn3 − 1
3xn4 + 10
xn +1 = (1)
4 xn3 − 1
Choosing an initial guess x0 = 1.9 and putting n = 0 and x0 = 1.9 in above mentioned equation (1), we are capable to find the
sccessive improved approrimations are as follows:
3x04 + 10 3 (1.9) 4 + 10
x1 = = = 1.8
4 x03 − 1 4 (1.9)3 − 1
3x14 + 10 3 (1.8) 4 + 10
x2 = = = 1.85556
4 x13 − 1 4 (1.8)3 − 1
3x24 + 10 3 (1.85556) 4 + 10
x3 = = = 1.85556
4 x23 − 1 4 (1.85556)3 − 1
Since x2 = x3 so the Newton Rapshon method gives no new values of x and the approximate root is correct to five decimal
places.Hence the require root is 1.85556 .
Problem 03:
Find the real root of the equation x − 4sin x = 0 correct to four decimal places using Newton-Rapshon method.
2
Solution:
Let f ( x) = x 2 + 4sin x then f ' ( x) = 2 x + 4cos x .
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 17
Here f (−1) = (−1) + 4sin(−1) = −2.36 0 and f (−2) = (−2) + 4sin(−2) = 0.36 0 .
2 2
Since x1 x2 so the Newton Rapshon method gives no new values of x and the approximate root is correct to two decimal
places.Hence the require root is −1.93 .
Problem 04:
Find the root of the equation x sin x + cos x = 0 ,using Newton-Rapshom method.
Solution:
f ' ( x) = 1.sin x + x cos x + (− sin x) = x cos x .
Let f ( x ) = x sin x + cos x then
Here f (2) = 2sin 2 + cos 2 = 1.40 0 and f (3) = 3sin 3 + cos 3 = −0.56 0 .
Hints: Calculator must be in radian Mode.
Since f (2) and f (3) are of opposite sign so at least one real root lies between 2 and 3.
we know that from Newton-Rapshon method ,
f ( xn )
xn +1 = xn −
f ' ( xn )
x sin xn + cos xn
xn +1 = xn − n
xn cos xn
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 18
5. 3x − cos x −1 = 0 6. sin x = 1 − x
2
7. sin x = 1 − x
2
8. sin x = x − 1
2 2
9. 3 x + sin x = e
x
10. e tan x = 1
x
11. cos x − xe = 0
x
12. x sin x = 1
TYPE02:
1. Find the real root of 2 x − log10 x − 7 = 0 using Newton Raphson in (3, 4).
Using Newton Raphson Method find root of the equation e − 4 x = 0 that lies in (4, 5).
x 2
2.
e x − 4sin x = 0 in the interval (0, 1).
2
3. Using Newton Raphson Method find root of the equation
Find a real root of the equation x + x − 1 = 0 by using Newton Raphson Method correct up to four decimal places.
3 2
4.
5. Use Newton Raphson’s Method to find the root of x − x − 2 = 0 with x0
3
= 3.
Find a real root of the equation x + x − 80 = 0 by using Newton Raphson Method correct up to three decimal places.
4 2
6.
Find a real root of the equation x + ln x − 2 = 0 in [1,2] by using Newton Raphson Method correct up to five decimal places.
2
7.
By using Newton Method find a real root of the equation x − x − 10 = 0 which is near to x=2 correct up to three decimal places.
4
8.
Find a real root of the equation x + x + 3 x + 4 = 0 by using Newton Raphson Method correct up to four decimal places.
3 2
9.
10. Find by using Newton Method the real root of the equation e = 4 x which is approximately 2 correct to three places of decimals.
x
TYPE03:
1 N
1. Using Newton Raphson Method establish the formula xn +1 = xn + to calculate the square root of N. Hence find the square
2 xn
root of 5 correct to four places of decimals.
1
2. Show that the iterative formula for finding the reciprocal of N is xn+1 = xn ( 2 − Nxn ) and hence find the value of .
31
3. Derive the iterative formula for Newton Raphson method to solve the equation f ( x ) = 0 .
4. Write down the merits and demerits of Newton Raphson Method.
5. Write down the algorithm for Newton Raphson Method.
6. When does Newton Raphson Method Fails.
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 19
xn = ( xn −1 )
Therefore, the iterative formula for successive approximation method is,
xn = ( xn−1 ), n = 1, 2,3, 4,...etc.
Here xn is the n-th approximation of the desired root of f ( x) = 0 .
We shall continue this iterative cycle until the values of two successive approximations are almost equal. This above-mentioned method is known
as Iteration method. Or Method of successive approximation or Fixed-point Iteration.
Algorithm for Iteration method:
Steps Task
01 Define ( x)
02 Read x0
03 Set k = 1
04 xn = ( xn−1 )
05 If xn − xn−1 0.0001 then
GOTO Step 6
else
n = n +1
GOTO Step 04
06 Print xn ,the desired root
07 STOP
Problem 01:
−4
Find the real root of the equation x + x − 1 = 0 on the interval [0, 1] with an accuracy of 10 .
3 2
Solution:
Let f ( x) = x 3 + x 2 − 1
f (0) = 03 + 02 − 1 −1 andf (1) = 13 + 12 − 1 = 1 1
Since f (0) and f (1) are of opposite sign so at least one real root lies between 0 and 1.
The given equation can be expressed as x + x − 1 = 0
3 2
x 2 ( x + 1) = 1
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 20
1
x2 =
( x + 1)
1
x= = ( x) [say]
( x + 1)
1 1 1
( x) = ( x) = −
( x + 1)
3
2 ( x + 1) 2
1 1 1 1
Also, ( x) = − 3 = 3 1
for x (0,1) .
2 ( x + 1) 2 2 ( x + 1) 2
Therefore, the iteration method is applicable for the given function.
Assume x0 = 0.7 is an initial solution or approximation for the equation f ( x ) = 0 .
So successive approximations are,
1 1
x1 = ( x0 ) = = = 0.76697
x0 + 1 0.7 + 1
1 1
x2 = ( x1 ) = = = 0.75229
x1 + 1 0.76697 + 1
1 1
x3 = ( x2 ) = = = 0.75543
x2 + 1 0.75229 + 1
1 1
x4 = ( x3 ) = = = 0.75476
x3 + 1 0.75543 + 1
1 1
x5 = ( x4 ) = = = 0.75490
x4 + 1 0..75543 + 1
1 1
x6 = ( x5 ) = = = 0.75487
x5 + 1 0.75543 + 1
1 1
x7 = ( x6 ) = = = 0.75488
x6 + 1 0.75487 + 1
1 1
x8 = ( x7 ) = = = 0.75488
x7 + 1 0.75488 + 1
Since x7 x8 so the Iteration method gives no new values of x and the approximate root is correct to four decimal places.Hence the
require root is 0.7548 .
Problem 02:
Find the real root of the equation x − ln x − 2 = 0 that lies on [3, 4] using fixed point iteration method.
Solution:
Let f ( x) = x − ln x − 2 = 0
Now f (3) = 3 − ln 3 − 2 = −0.0986
f (4) = 4 − ln 4 − 2 = 0.6137
f (3.5) = 3.5 − ln 3.5 − 2 = 0.2472
Hence there exist a root in (3, 3.5).
Now we rewrite the given equation f ( x ) = 0 in the following form:
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 21
x = ln x − 2 = ( x) [ say ]
1
( x) =
x
Now Max ( (3) , (3.5) ) = ( 0.333,0.2857 ) 1
Therefore ( x ) 1 in (3, 3.5).
Then the iterative technique for fixed point iteration method is
xn = ( xn−1 ) , where n = 1, 2,3,....., etc.
Now let us start with the initial guess x0 = 3 then successive approximation using fixed point iteration method are tabulated below.
Values of n Values of xn −1 xn = ln ( xk −1 ) + 2
1. 3 3.098612289
2. 3.098612 3.130954362
3. 3.130954 3.141337866
3.141338 3.144648781
4.
3.144649 3.145702209
5.
6. 3.145702 3.146037143
7. 3.146037 3.146143611
8. 3.146144 3.146177452
Since x8 − x7 0.000 = 0 .
Hence the root of the given equation x − ln x − 2 = 0 is equal to 3.1461.
Problem 03:
Find the real root of the equation x + ln x − 2 = 0 that lies on [1, 2] using fixed point iteration method.
Solution:
Let f ( x) = x + ln x − 2 = 0
Now f (1) = 1 + ln1 − 2 = −1
f (2) = 2 + ln 2 − 2 = 0.6931
f (1.5) = 1.5 + ln1.5 − 2 = −0.09453
f (1.7) = 1.7 + ln1.7 − 2 = 0.230628
Hence there exist a root in (1.5, 1.7).
Now we rewrite the given equation f ( x ) = 0 in the following form:
x = 2 − ln x = ( x) [ say ]
1
( x) = −
x
1 1
Now ( x ) = − = 1
x x
Therefore ( x ) 1 in (1.5, 1.7).).
Then the iterative technique for fixed point iteration method is
xn = ( xn−1 ) , where n = 1, 2,3,....., etc.
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 22
Now let us start with the initial guess x0 = 1.5 then successive approximation using fixed point iteration method are tabulated below.
Values of n Values of xn −1 xn = 2 − ln ( xk −1 )
1. 1.5 1.594534892
2. 1.594535 1.53341791
3. 1.533418 1.572500828
4. 1.572501 1.547332764
1.547333 1.563467349
5.
1.563467 1.553093986
6.
7. 1.553094 1.559750939
8. 1.559751 1.555473846
9. 1.555474 1.558219777
1.556861 1.557328276
13.
1.557328 1.557028291
14.
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh
P a g e | 23
cos x
Now ( x) = 1
5
Therefore ( x ) 1 in (0, 0.5).
Then the iterative technique for fixed point iteration method is
xn = ( xn−1 ) , where n = 1, 2,3,....., etc.
Now let us start with the initial guess x0 = 0.5 then successive approximation using fixed point iteration method are tabulated below.
sin xn −1 + 2
Values of n Values of xn −1 xn =
5
1. 0.5 0.327026799
2. 0.327026799 0.377578359
3. 0.377578359 0.341867524
4. 0.341867524 0.338731938
5. 0.338731938 0.338983858
6. 0.338983858 0.338223295
Since x6 − x5 0.0002 = 0 .
Hence the root of the given equation sin x − 5x + 2 = 0 is equal to 0.338983858.
Try yourself:
TYPE01:
To find the root of the following equations using Iteration method by taking your own guess:
1. x − 5 x + 1 = 0
3
2. x − 9 x + 1 = 0
3 3. 2 x − log x = 7 4. 3x − log10 x − 16 = 0
5. e = 4 x
x
6. 3x = 1 + cos x 7. e tan x = 1
x
8. x + ln x − 2 = 0
9. x − 2 x − 4 = 0 10. 4sin x + x = 0 11. sin x = 1 − x 12. 3 x + sin x = e
3 2 2 2 x
TYPE02:
1. Find the root of x + x − 1 = 0 by iteration method given that root lies near 1.
2
9. Solve the equation x sin x = 1 for the positive root by iteration method.
10. Determine the real root of the equation tan x = x by iteration method.
11. Find the root of x + ln x − 2 = 0 in [1,2] by fixed point iteration method taking
2
x0 = 1 correct to five decimal places.
12. Use the method of iteration to find a positive root between 0 and 1 of the equation xe = 1 .
x
−5
13. Compute a root of the equation e = x to an accuracy of 10 ,using the iteration method.
x 2
Mohammad Abdul Halim, Senior Lecturer in Mathematics, Department of General Educational Development (GED)
Faculty of Science and Information Technology (FSIT), Daffodil International University (DIU), Dhaka, Bangladesh