- Iteration is a method of finding an approximate solution of a given equation.
- Remember the 3 steps below to carry out iteration:
- Find the interval in which the root lies.
- Select a suitable value in that interval then substitute again and again in the given iterative formula to give a better approximation.
- When we find an approximation which is outside the interval where the actual root lies. We say that the iteration has failed due to either the iteration formula itself or the incorrect value of the input.
There are many equations which can not be solved by using algebraic formulae for exact solutions. However we can use different techniques to find their approximate solutions to any degree of accuracy. Iteration is one of the techniques that can be used.
What is iteration?
An iterative process is one which is repeated several times following exactly the same procedure each time. It provides a method of obtaining the solution to an equation f(x) = 0 in which we rearrange the equation to create an iterative formula of the form .
Where is a better approximation than to the solution of . The steps we follow to do iteration are:
1. Initially we find the interval in which the root lies. For this we calculate f(a) and f(b). If they are of opposite sign and f(x) is continuous in that interval then the equation f(x) = 0 has a root in the interval a < x < b.
2. To find the approximate value of the root, we select a suitable value in that interval. It is then used as an input to a given iterative formula and it gives a better approximation. This is then substituted again to give an even better approximation. The procedure is repeated until the required degree of accuracy is obtained.
3. Sometimes an interaction gives an approximation which is outside the interval where the actual root lies. We say that the iteration has failed and the failure is due to the iteration formula itself or the incorrect value of the input.
Generally, an iterative formula converges to the actual root if near the root and diverges if near the root.
We will move onto an example which will show how the above steps are carried out in order to solve an equation through iteration.
i) The equation has one real root. Show by calculation this root lies between -1 and 0.
ii) Show that if a sequence of values given by the iterative formula converges, then it converges to the root of the equation given in part (1).
iii) Use this iterative formula with initial value to determine the root correct to a 2 decimal places.
Now since there is change of sign, therefore there is a root between -1 and 0.
ii) Given that , removing n, we have .
which is the same as giving in part (1)
iii) Substituting in the given iterative formula:
Ans: The required root is correct to 2 decimal places