Iteration

GCSE Maths Higher (Edexcel) · Edexcel 1MA1 · Higher · A20 · Algebra

48 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes, past-paper booklets and workbooks are open to everyone. Practice needs a free account.

Or take a quick quiz: 10 questions on this subtopic in GCSE Maths Higher (Edexcel), marked as you tap.

Revision notes

Higher only. Finding approximate solutions of equations that cannot be solved exactly: showing that a solution lies between two values by a change of sign, rearranging an equation into an iterative formula, and using \(x_{n+1} = \ldots\) to find a solution.

Key facts

  • Change of sign between \(x = a\) and \(x = b\) means a solution between a and b
  • Iterative formula: \(x_{n+1} = g(x_n)\), from rearranging to \(x = g(x)\)
  • \(x_1\) comes from \(x_0\), \(x_2\) from \(x_1\), and so on
  • Use ANS on the calculator to keep full accuracy
  • Converging values approach a solution of the original equation

Notes

Showing a solution lies in an interval

diagram
  • Rearrange the equation so that one side is 0.
  • Substitute the two end values. If one result is positive and the other is negative, there is a change of sign, so the graph crosses the x-axis between them: there is a solution in that interval.
  • \(x^3 - 3x - 5 = 0\) between 2 and 3: when \(x = 2\), \(8 - 6 - 5 = -3\); when \(x = 3\), \(27 - 9 - 5 = 13\)
  • Finish with a conclusion: 'There is a change of sign, so there is a solution between 2 and 3.'
  • 123−8−4481216Oxysolution(2, −3)(3, 13)y = x³ − 3x − 5
    Below the axis at \(x = 2\), above it at \(x = 3\): the curve must cross in between.

Rearranging into an iterative formula

  • Rearrange the equation into the form \(x = \ldots\) (with x also on the right), then write it as \(x_{n+1} = \ldots\) with \(x_n\) on the right.
  • \(x^3 - 3x - 5 = 0\) gives \(x^3 = 3x + 5\), so \(x = \sqrt[3]{3x + 5}\) and the formula is \(x_{n+1} = \sqrt[3]{3x_n + 5}\)
  • In 'show that' questions, work from the equation to the given form, one step per line.

Iterating

  • Start with the given starting value \(x_0\) (or \(x_1\)). Substitute it to get the next value, then repeat.
  • Calculator: type the starting value and press =. Then type the formula with ANS in place of \(x_n\), and press = once for each iteration.
  • \(x_{n+1} = \sqrt[3]{3x_n + 5}\) with \(x_0 = 2\) gives \(x_1 = 2.22398\), \(x_2 = 2.26837\), \(x_3 = 2.27697\), …
  • The values get closer and closer to (converge to) a solution of the original equation, here 2.279 to 3 decimal places.
  • Write each value to at least 4 or 5 decimal places while you work.

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own.

Show that there is a solution between two values

2 marksGrade 6
  1. Make sure the equation is in the form ... = 0.
  2. Substitute both values and write down the results.
  3. State that there is a change of sign, so there is a solution between them.

Example. Show that the equation \(x^3 + 2x - 7 = 0\) has a solution between \(x = 1\) and \(x = 2\)

Show the model answerHide the model answer
\(x = 1\): \(1 + 2 - 7 = -4\); \(x = 2\): \(8 + 4 - 7 = 5\)
M1
There is a change of sign, so there is a solution between 1 and 2
A1

Show that the equation can be rearranged

2 marksGrade 7
  1. Start from the given equation.
  2. Rearrange one step at a time until you reach the given form exactly.

Example. Show that \(x^3 + 2x - 7 = 0\) can be rearranged to give \(x = \sqrt[3]{7 - 2x}\)

Show the model answerHide the model answer
\(x^3 = 7 - 2x\)
M1
\(x = \sqrt[3]{7 - 2x}\)
A1

Use the iteration formula

3 marksGrade 7
  1. Substitute the starting value to find \(x_1\)
  2. Use each answer to find the next one (use ANS).
  3. Write down every value, then give the final estimate.

Example. Starting with \(x_0 = 1.5\), use the iteration formula \(x_{n+1} = \sqrt[3]{7 - 2x_n}\) three times to find an estimate for a solution of \(x^3 + 2x - 7 = 0\)

Show the model answerHide the model answer
\(x_1 = \sqrt[3]{7 - 2 \times 1.5} = 1.58740\)
M1
\(x_2 = 1.56393\)
M1
\(x_3 = 1.57030\)
A1

Explain what the result represents

1 markGrade 8
  1. Link the converging value back to the original equation.
  2. Use the word 'solution' (or 'root') and name the equation.

Example. The values from \(x_{n+1} = \sqrt[3]{7 - 2x_n}\) get closer and closer to 1.569. What does 1.569 represent?

Show the model answerHide the model answer
An estimate of a solution of the equation \(x^3 + 2x - 7 = 0\) B1

Don’t lose marks

  • Substituting the wrong value: \(x_2\) comes from \(x_1\), not from \(x_0\)
  • Rounding each value heavily before using it, which makes later values wrong. Use ANS instead.
  • Not writing a conclusion after the change-of-sign check.
  • Typing a cube root over only part of the expression: use brackets.

More tips

Memory tricks

  • Enter the starting value and press =; then every press of = after typing the formula with ANS gives the next iteration.
  • Write each value to at least 5 decimal places: examiners check each one.
  • If the values jump about wildly or grow quickly, check how you typed the formula.

Exam technique

  • Show every iteration, not just the last one: the method marks are for \(x_1\), \(x_2\), …
  • 'Show that' a solution lies in an interval needs both substituted values and the words 'change of sign'.
  • Give your final answer to the accuracy asked for.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade 6
    Show a solution lies between two valuesSubstitute both values into the equation written as ... = 0; a change of sign shows there is a solution between them.
  2. Grade 7
    Use an iterative formulaSubstitute \(x_0\) to get \(x_1\), then \(x_1\) to get \(x_2\), and so on, using ANS on your calculator.
  3. Grade 7
    Find a solution to a given accuracyKeep iterating until successive values round to the same answer, e.g. to 3 decimal places.
  4. Grade 7
    Show an equation rearranges to a given forme.g. show that \(x^3 + 4x - 1 = 0\) can be written as \(x = \dfrac{1 - x^3}{4}\)
  5. Grade 8
    Explain what the iterated values representThe values get closer to a solution of the original equation.

Quick recall

Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.

An iteration starts with \(x_0\). The list \(x_0,x_1,x_2,x_3,x_4,x_5\) contains six values. How many times was the iteration formula applied to produce this list?
5
To run \(x_{n+1}=(x_n+8)/3\) after entering a starting value, put these actions in the correct order: A: repeat the calculation; B: calculate (current value + 8) ÷ 3; C: replace the current value with the result.
B, C, A

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy1 mark
An iteration starts with \(x_0\). The list \(x_0,x_1,x_2,x_3,x_4,x_5\) contains six values. How many times was the iteration formula applied to produce this list?
[1]
Show the answer and mark scheme
Answer: 5
  • B1 for 5

Worked solution: The starting value is supplied. Each of the five later values needs one update.

Question 2Medium4 marks
A student uses \(x_{n+1}=6/x_n\) with \(x_0=2\) to try to find \(\sqrt6\). The student says, “A limiting value must satisfy \(L=6/L\), so this iteration must approach \(\sqrt6\).”
Find the first three new values. Prove that this iteration does not approach a single value, and explain the flaw in the student’s argument.
[4]
Show the answer and mark scheme
Answer: \(x_1=3, x_2=2, x_3=3\). Values alternate exactly between 2 and 3; a necessary equation for a limit does not establish that a limit exists.
  • M1 for correctly applying the formula at least twice
  • A1 for the ordered values 3, 2, 3
  • C1 for explaining that 2 maps to 3 and 3 maps back to 2, so the alternation repeats forever and cannot approach one value
  • C1 for explaining that the fixed-point equation is conditional on convergence and cannot prove convergence

Worked solution: Starting at 2 gives \(6/2=3\), then \(6/3=2\), then 3 again. Every return to 2 repeats these same two steps. Two distinct values recur forever. The equation for a possible limit assumes a single limiting value exists; it does not prove this.

Question 3Hard4 marks
The iteration \(x_{n+1}=3x_n-4\) starts at \(x_0=2.01\). The value 2 is unchanged by the iteration.
Show how the error \(x_n-2\) changes at each step. Find the first value of \(n\) for which \(|x_n-2|\gt1\), and explain whether this start approaches 2. Show your working.
[4]
Show the answer and mark scheme
Answer: Each error is multiplied by 3; \(x_n-2=0.01(3^n)\). The first index is \(n=5\). It moves away from 2.
  • M1 for \(x_{n+1}-2=3(x_n-2)\) or an equivalent exact error recurrence
  • M1 for comparing the errors at consecutive indices, \(0.01(3^4)=0.81\) and \(0.01(3^5)=2.43\)
  • A1 for the first index \(n=5\)
  • C1 for explaining that the positive nonzero error grows by a factor of 3, so the values move away from 2

Worked solution: Subtracting 2 gives \(x_{n+1}-2=3x_n-6=3(x_n-2)\). Starting with error 0.01 gives errors 0.03, 0.09, 0.27, 0.81 and 2.43. The fifth update is the first beyond 1, and the increasing error rules out approach to 2.

More in Algebra

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.