Iteration xₙ₊₁ = g(xₙ) on a Calculator, and When Numerical Methods Fail | OCR GCSE Further Maths notes

Free preview: Iteration xₙ₊₁ = g(xₙ) on a Calculator, and When Numerical Methods Fail

Feeding the Answer Back In

OCR Additional Maths

Here's a trick to try on a calculator. Type 1, press =. Now type Ans+13 and keep pressing =. The numbers creep towards 1.3247... and then stop changing. You have just solved x3−x−1=0 without any algebra. This is iteration: feed each answer back in to get a better one.

Quick recap

  • A root of f(x)=0 can be trapped by a change of sign: see the note 'Trapping a Root Between Two Values: Sign Changes and Decimal Search'.
  • You met iteration formulae at GCSE: see the note 'Solving Equations by Iteration'. Here we use them more carefully, and learn when they fail.

How it works

  1. Rearrange f(x)=0 into the form x=g(x), with x on its own on one side.
  2. Turn it into a formula: xn+1=g(xn). The new value comes from putting the old value into g.
  3. Start with a value x0 near the root (from a sketch or a sign change).
  4. Repeat: x1=g(x0), x2=g(x1), and so on. If the values settle down to a limit, that limit is a root.

Why does the limit solve the equation? If the values settle at a number α, then putting α in gives α back: α=g(α). That's the rearranged equation, so α is a root.

Using the ANS key

  • Type x0 and press =. The calculator stores it as Ans.
  • Type the formula with Ans in place of xn, for example Ans+13, and press =. That gives x1.
  • Each further press of = gives the next value. Write each one down: the examiner wants to see them, usually to 4 or more decimal places.

👀 Watch me do it: use xn+1=xn+13 with x0=1 to find a root of x3−x−1=0

What I writeWhy I do it
x3=x+1⇒x=x+13Step 1: check the formula really comes from the equation.
x1=23=1.259921Put in x0=1.
x2=1.312294, x3=1.322354Keep pressing =.
x4=1.324269, x5=1.324633The changes are getting smaller.
x6=1.324702, x7=1.324715From x5 on, every value rounds to 1.325.
Root ≈ 1.325 (3 d.p.)The values have settled to 3 d.p.

💡 In plain words

  • Iteration = put the answer back in, again and again.
  • If the numbers settle down, they are homing in on a root.
  • Different rearrangements of the same equation give different formulae. Some work, some don't (page 3).

✏️ YOUR TURN 1

Try this first:

Show that x2−2x−1=0 can be written as x=2+1x. Use xn+1=2+1xn with x0=2 to find the root to 3 decimal places.

Answer:

  • Divide x2=2x+1 by x: x=2+1x.
  • x1=2.5, x2=2.4, x3=2.416667, x4=2.413793, x5=2.414286, x6=2.414201.
  • x5 and x6 both round to 2.414. Root ≈ 2.414 (3 d.p.). (The exact root is 1+2=2.41421….)

✏️ YOUR TURN 2

Try this first:

Use xn+1=3xn−13 with x0=2 to find a root of x3−3x+1=0 correct to 2 decimal places.

Answer:

  • x1=1.709976, x2=1.604406, x3=1.562298, x4=1.544852.
  • x5=1.537507, x6=1.534394, x7=1.533070, x8=1.532507.
  • From x6 on, the values round to 1.53. Root ≈ 1.53 (2 d.p.). This one converges slowly, so be patient.

When to Stop, and How to Be Sure

Iteration never reaches the root exactly. It just gets closer. So when do you stop? And how can you prove your answer is right to the accuracy asked?

The stopping rule

  • Keep going until two (or more) consecutive values round to the same number at the accuracy asked.
  • Then confirm with a change of sign at the bounds. For 3 d.p., if your answer is 2.095, check f(2.0945) and f(2.0955).

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.

Log in · Subscribe · Start free trial

All notes in Change of Sign and Iteration

  1. Trapping a Root Between Two Values: Sign Changes and Decimal Search
  2. Iteration xₙ₊₁ = g(xₙ) on a Calculator, and When Numerical Methods Fail

What's inside for this topic

2 teacher notes, 34 practice questions, 29 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Trapping a Root Between Two Values: Sign Changes and Decimal Search

All OCR GCSE Further Maths topics · GCSE Further Maths