Fixed-Point Iteration with Staircase and Cobweb Diagrams | Edexcel A Level Maths notes
Free preview: Fixed-Point Iteration with Staircase and Cobweb Diagrams
Iterating x = g(x)
Year 2 (A level only)
Watch: 1-minute explainer
Try this on your calculator, in radians. Type 1, press =. Now type cos(ANS) and keep pressing =. The numbers jump about at first: 0.540, 0.858, 0.654, ... but after a while they stop changing at 0.739085... You have just solved the equation , which no algebra can do. That is iteration.
What you already know
- From the last note: a change of sign tells you roughly where a root is, and testing the bounds proves its accuracy.
- Iteration is a fast way to home in on the root.
The method
- Rearrange f(x) = 0 into the form x = g(x): x on its own on the left, some expression in x on the right.
- Pick a starting value close to the root (often given, or from a change of sign).
- Feed each answer back in to get the next one, using the formula below.
- Stop when the values agree to the accuracy you need, then confirm with a change of sign.
- is the first iterate, the second, and so on.
- If the values settle down to a fixed number α, then , so α is a root of f(x) = 0.
- α is called a fixed point of g: putting it in gives it straight back.
💡 In plain words
- Put a number in, get a better number out. Repeat until the numbers stop changing.
- When they stop changing, you have found the root.
- Why does a fixed point solve the equation? Because x = g(x) is just f(x) = 0 rearranged.
👀 Watch me do it: solve by iteration
| What I write | Why I do it |
|---|---|
| Step 1: move the x and the 3 to the right. | |
| Cube root both sides. Now x is alone on the left. | |
| , | Step 2: f(1) = −3 and f(2) = 3, so a root is between 1 and 2. Start in the middle. |
| Step 3. | |
| Keep feeding back in. The changes get smaller each time. | |
| The values settle at 1.672 (3 d.p.). | Step 4: and agree to 3 d.p. |
| Confirm with a sign change on the bounds. | |
| Change of sign, f continuous, so α = 1.672 to 3 d.p. | Notice the iterates alone do not prove the accuracy. The sign change does. |
💡 Use the ANS key
Type 1.5, press =. Then type and press = repeatedly. Each press gives the next iterate. Write down every value the question asks for, usually to 4 or more decimal places.
📝 Showing a rearrangement
- "Show that the equation can be written as ..." means: start from the given equation and do one legal step at a time until you reach the new form.
- Wrong: starting from the answer and working back without saying so.
- Right: .
✏️ YOUR TURN 1
Try this first:
Show that can be written as . Using with , find to to 4 d.p.
Answer:
- , so .
- .
- They are closing in on the smaller root, (you can check with the quadratic formula).
Staircase and Cobweb Diagrams
Numbers in a table don't show why an iteration settles. A picture does.
- The root of x = g(x) is where the line y = x meets the curve y = g(x). Why? There, the height g(x) equals x.
- We can draw the iteration on these two graphs. The rule is always: vertically to the curve, then horizontally to the line.
The drawing recipe
- Start at on the x-axis.
- Go vertically to the curve y = g(x). The height you reach is .
- Go horizontally to the line y = x. On that line, x equals the height, so you are now directly above .
- Repeat: vertically to the curve, horizontally to the line.
- Label , , ... on the x-axis if asked.
![Diagram: Both panels use x_n+1 = [3]x_n + 3 with x_0 = 1.5, from page 1.](https://cdn.globalphysicstutor.com/editor-images/0b201dac-e54e-421e-a65a-67bf033aa729.png)
What the picture shows
- Both panels use with , from page 1.
- Wrong: going to the line y = x first, then across to the curve. That works backwards (it runs ), giving 0.375, then −2.95: away from the root.
- Right: up to the curve first, giving , then across to y = x. The steps close in on 1.672 (the right panel is zoomed in).

Following the graph: a staircase
- Start at on the x-axis. Go vertically to the curve y = g(x): the height is .
- Go horizontally to the line y = x. Now you are above on the x-axis, because on y = x the x-coordinate equals the height.
- Go vertically to the curve again (height ), then across to y = x, and repeat.
- The path looks like a staircase climbing towards the meeting point. This happens when g is increasing near the root. The iterates approach the root from one side.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Numerical Methods
- Locating Roots by a Change of Sign, and When It Fails
- Fixed-Point Iteration with Staircase and Cobweb Diagrams
- The Newton-Raphson Method and When Iterations Fail
- The Trapezium Rule: Estimates, Over or Under, and Bounds
- Choosing and Using Numerical Methods in Real Problems
- Move Up a Grade: A Level Maths Numerical Methods
- Tricky Bits: A Level Maths Numerical Methods
Video
What's inside for this topic
7 teacher notes, 173 practice questions, 60 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Locating Roots by a Change of Sign, and When It Fails Next note: The Newton-Raphson Method and When Iterations Fail