Professional Documents
Culture Documents
The number such that is called a root of the equation or a zero of the function .
Except for some very special functions, it is not possible to find an analytical expression for
the root, from where the solution can be exactly determined. This is true for even
commonly arising polynomial functions.
The Fundamental Theorem of Algebra states that a polynomial of degree has at least
one zero.
We learn early in school how to find the root of a quadratic equation: using the analytical
formula:
Thus, most computational methods for the root-finding problem are iterative in nature.
Solution of Equations by Iteration
Find solutions of a single equation
This is a solution of (1), since from we can return to the original form
From (1) we may get several different forms of (2). The behavior of
corresponding iterative sequences may differ, in particular, with respect to
their speed of convergence – some of them may not converge at all.
Method of Successive Substitution (MOSS) or Fixed-Point Iteration
Steps:
• by some algebraic step, rewrite a nonlinear function into the form
𝑥= 𝑓 (𝑥 )
• choose an initial guess, and evaluate to yield .
• continue the iteration:
𝑥𝑘+1 = 𝑓 ( 𝑥 𝑘 ) 𝑘=0,1 , 2 , 3 , …
until the result no longer changes to within a specified tolerance, i.e. after iterations
where:
|𝑥 𝑚+1 − 𝑥 𝑚|≤ 𝜖
Example
𝑥5 =2.618
Solution
2
3 − 2𝑥
𝑥 +2 𝑥+2 −10 𝑒 =0 [ 𝑔 ( 𝑥 ) =0 ]
We may choose to rewrite the equation as:
√ ( )
3
1 𝑥 +2 𝑥 +2 [𝑥 = 𝑓 ( 𝑥 )]
𝑥= − ln
2 10
and for the purpose of iteration:
√ ( )
3
1 𝑥 𝑘+ 2 𝑥 𝑘+ 2 [ 𝑥𝑘 +1= 𝑓 ( 𝑥 𝑘 ) ]
𝑥𝑘+1 = − ln
2 10
√ ( )
3
𝑘=0: 1 𝑥 + 2 𝑥 0 +2
0
𝑥1= − ln
2 10
√ ( )
3
1 ( − 0.5 ) +2 ( −0.5 ) +2
𝑥1= − ln =1.1037
2 10
𝑘=1 :
√ 1
𝑥2 = − ln
2 ( 10 )
( 1.1037 )3 +2 ( 1.1037 ) +2
=0.54242
𝑘=2 :
√ ( )
3
1 ( 0.54242 ) +2 ( 0.54242 ) +2
𝑥3 = − ln =0.75022
2 10
𝑘=3 :
√ ( )
3
1 ( 0.75022 ) +2 ( 0.75022 ) +2
𝑥 4= − ln =0.68404
2 10
𝑘=4 :
√ ( )
3
1 ( 0.68404 ) +2 ( 0.68404 ) +2
𝑥5 = − ln =0.70621
2 10
√ ( )
3
1 ( 0.70621 ) +2 ( 0.70621 ) +2
𝑥6 = − ln =0.69890
2 10
√ ( )
3
1 ( 0.69890 ) +2 ( 0.69890 )+2
𝑥7 = − ln =0.70133
2 10
√ ( )
3
1 ( 0.70133 ) +2 ( 0.70133 )+2
𝑥8 = − ln =0.70052
2 10
√ ( )
3
1 ( 0.70621 ) +2 ( 0.70621 ) +2
𝑥6 = − ln =0.69890
2 10
√ ( )
3
1 ( 0.69890 ) +2 ( 0.69890 )+2
𝑥7 = − ln =0.70133
2 10
√ ( )
3
1 ( 0.70133 ) +2 ( 0.70133 )+2
𝑥8 = − ln =0.70052
2 10
√ ( )
3
1 ( 0.70052 ) +2 ( 0.70052 ) +2
𝑥 9= − ln =0.70079
2 10
√ ( )
3
1 ( 0.70079 ) + 2 ( 0.70079 ) +2
𝑥10 = − ln =0.70070
2 10
√ ( )
3
1 ( 0.70070 ) + 2 ( 0.70070 ) +2
𝑥11 = − ln =0.70073
2 10
√ ( )
3
1 ( 0.70073 ) + 2 ( 0.70073 ) +2
𝑥12= − ln =0.70072
2 10
√ ( )
3
1 ( 0.70072 ) + 2 ( 0.70072 )+ 2
𝑥13 = − ln =0.70072
2 10
Since the current estimate is equal to the previous one, the iteration is stopped and the
answer reported as as the root of the given equation.
It takes 13 iterations to arrive at the correct answer: the method converges slowly.
The convergence is highly dependent on how ones defines .
to be:
we will find that the method will diverge, and we will not obtain a root.
One sufficient condition for convergence is that the slope of 𝑓(𝑥) is between 1 and -1