Topic 9 · Lesson 2 of 4
Fixed-point iteration
Iteration:
Iteration means repeating a calculation, feeding each answer back in. First rearrange into the form . For example, gives , so . Then turn it into a recurrence relation,
and start with a value near the root. With : , , , , , homing in on 2.0946. On a calculator, type the start value, press =, then type the formula using ANS and press = repeatedly.
Why it works: the picture. A solution of is where the graphs and meet. Each iteration goes up (or down) to the curve to find , then across to the line to turn that output into the next input. When is increasing, the path climbs like a staircase, approaching the crossing point from one side, as below.
When is decreasing, each step overshoots to the other side of the root and the path spirals inwards: a cobweb diagram. The diagram shows , which solves , starting at 0.2: , , , , … closing in on 0.567 while jumping either side.
When iteration fails. Not every rearrangement works. Rearranging the other way, as , and starting at gives , , , , … : the values run away (diverge). In the picture, the staircase or cobweb moves away from the crossing point instead of towards it. This happens when the curve is steeper than the line near the root; iteration converges when is less steep there, roughly when close to the root. So if one rearrangement fails, try another.
Worked example
Iteration with a given formulaexam standard
a) Show that can be written as . b) Use with to find , and to 4 decimal places. c) Prove that the root is 2.095 to 3 decimal places.
Show solutionHide solution
- a) , so .
- b) ; ; . Keep the unrounded value in your calculator for each step.
- c) Rounding interval: . and . There is a sign change and is continuous, so the root lies in and is 2.095 to 3 decimal places.
Practise this topic
Both are part of Premium.