Professional Documents
Culture Documents
Lecture 3
Lecture 3
LECTURE-3
on
3 References
Example: x 3 + 3x 2 + 3 = 0, 3ex + 3x + 2 = 0.
Example: x 2 + 3x + 1 = 0, x 4 + 16 = 0.
Example: x 2 + 3x + 1 = 0, x 4 + 16 = 0.
Example: x 2 + 3x + 1 = 0, x 4 + 16 = 0.
x1 = φ(x0 )
x1 = φ(x0 )
x2 = φ(x1 )
x1 = φ(x0 )
x2 = φ(x1 )
x3 = φ(x2 )
x1 = φ(x0 )
x2 = φ(x1 )
x3 = φ(x2 )
...
xn+1 = φ(xn )
Solution of Non-Linear Equations 7 / 14
Cont...
cos x + 1
Solution: Rewrite the equation as x = = φ(x),
3
0
sin x | sin x| 1
|φ (x)| =
= ≤ < 1.
3 3 3
cos x0 + 1 cos(0.5) + 1
x1 = φ(x0 ) = = = 0.6666539
3 3
cos x0 + 1 cos(0.5) + 1
x1 = φ(x0 ) = = = 0.6666539
3 3
cos x1 + 1 cos(0.6666539) + 1
x2 = φ(x1 ) = = = 0.6666441
3 3
cos x0 + 1 cos(0.5) + 1
x1 = φ(x0 ) = = = 0.6666539
3 3
cos x1 + 1 cos(0.6666539) + 1
x2 = φ(x1 ) = = = 0.6666441
3 3
cos x2 + 1 cos(06666441) + 1
x3 = φ(x2 ) = = = 0.6666441
3 3
cos x0 + 1 cos(0.5) + 1
x1 = φ(x0 ) = = = 0.6666539
3 3
cos x1 + 1 cos(0.6666539) + 1
x2 = φ(x1 ) = = = 0.6666441
3 3
cos x2 + 1 cos(06666441) + 1
x3 = φ(x2 ) = = = 0.6666441
3 3
Therefore 0.666644 is the root correct up to six decimal places.
Therefore the method will not converge to the exact solution in this
case.
Therefore the method will not converge to the exact solution in this
case. Again rewrite the equation as
1 1
x 2 (x + 1) = 1 ⇒ x 2 = ⇒x = √ = φ(x).
1+x 1+x
−1 1
|φ0 (x)| =
= < 1, ∀x > 0.
2(1 + x)3/2 2(1 + x)3/2
Solution of Non-Linear Equations 10 / 14
Cont...
Let us take the initial approximation x0 = 0.5
1 1
x1 = φ(x0 ) = √ =√ = 0.81649
1 + x0 1 + 0.5
1
Since |xn+1 − xn |< 10−4 = 0.00005, therefore 0.7549 is the root
2
correct up to four decimal places.
Solution of Non-Linear Equations 11 / 14
Cont...