Iteration feeds each value back in to estimate a solution
Iteration, on the Higher tier only, estimates a solution of an equation by repeating one calculation, so that the values close in on the solution.
Iteration
Iteration is repeating a process, using each answer as the input for the next.
An iteration formula such as xn+1=18−2xn3{x_{n+1} = \sqrt[3]{18 - 2x_n}}xn+1=318−2xn is used with three values:
- x0{x_0}x0 is the start value, given in the question.
- xn{x_n}xn is the value that goes in.
- xn+1{x_{n+1}}xn+1 is the value that comes out, the one after xn.{x_n\text{.}}xn.
The values change less at each step as they close in on the solution.
Keep every digit on the calculator. Here the estimate is the last value, x=2.37{x = 2.37}x=2.37 to 2 decimal places, never the mean of the values.
Wrong. Using xn+1=xn+53{x_{n+1} = \sqrt[3]{x_n + 5}}xn+1=3xn+5 three times from x0=2{x_0 = 2}x0=2 gives x2=1.9050.{x_2 = 1.9050\text{.}}x2=1.9050.
Right. Each use moves the subscript on by 1, so three uses end at x3=1.9050+53=1.9042.x_3 = \sqrt[3]{1.9050 + 5} = 1.9042\text{.}x3=31.9050+5=1.9042.
Wrong. For x2,{x_2\text{,}}x2, putting n=1{n = 1}n=1 into xn+1=xn+53{x_{n+1} = \sqrt[3]{x_n + 5}}xn+1=3xn+5 gives x2=1+53=1.8171.{x_2 = \sqrt[3]{1 + 5} = 1.8171\text{.}}x2=31+5=1.8171.
Right. n{n}n only counts steps, so put in x1,{x_1\text{,}}x1, not 1. From x0=2,{x_0 = 2\text{,}}x0=2, x1=2+53=1.9129,{x_1 = \sqrt[3]{2 + 5} = 1.9129\text{,}}x1=32+5=1.9129, so x2=1.9129+53=1.9050.x_2 = \sqrt[3]{1.9129 + 5} = 1.9050\text{.}x2=31.9129+5=1.9050.
Locate a solution by a change of sign, then rearrange for the formula
A solution of x3+2x−18=0{x^3 + 2x - 18 = 0}x3+2x−18=0 is where the curve y=x3+2x−18{y = x^3 + 2x - 18}y=x3+2x−18 crosses the x{x}x-axis. The curve is unbroken, so a change of sign in y{y}y between two values of x{x}x shows a solution lies between them.
Only the sign of each value matters, not its size.
To show that a solution lies between two values:
- Substitute both values into the expression.
- Write down both answers, worked out correctly.
- Give the reason, such as "a change of sign, so a solution lies between 2 and 3".
For x3+2x=18,{x^3 + 2x = 18\text{,}}x3+2x=18, putting in 2 and 3 gives 12 and 33, which lie either side of 18, so a solution lies between 2 and 3.
An iteration formula comes from rearranging the equation into x=…,{x = \ldots\mathclose{\text{,}}}x=…, as in the guide Changing the Subject of a Formula. In a "Show that" question, write every line, with the highest power on its own before you take the root.
Rearranging into an iteration formula
Show that x3+2x−18=0{x^3 + 2x - 18 = 0}x3+2x−18=0 can be written as x=18−2x3.{x = \sqrt[3]{18 - 2x}\text{.}}x=318−2x.
- Add 18 and subtract 2x{2x}2x on both sides, giving x3=18−2x.{x^3 = 18 - 2x\text{.}}x3=18−2x.
- Take the cube root of both sides, giving x=18−2x3.{x = \sqrt[3]{18 - 2x}\text{.}}x=318−2x.
At a solution the values stop changing, so working backwards from a formula gives the equation it solves.
Finding the equation a formula solves
The formula xn+1=5xn−24{x_{n+1} = \sqrt[4]{5x_n - 2}}xn+1=45xn−2 estimates a solution of an equation. Find the equation in the form x4+ax+b=0.{x^4 + ax + b = 0\text{.}}x4+ax+b=0.
- Replace xn+1{x_{n+1}}xn+1 and xn{x_n}xn by x,{x\text{,}}x, giving x=5x−24.{x = \sqrt[4]{5x - 2}\text{.}}x=45x−2.
- Raise both sides to the power 4, giving x4=5x−2.{x^4 = 5x - 2\text{.}}x4=5x−2.
- Subtract 5x{5x}5x and add 2 on both sides, giving x4−5x+2=0.{x^4 - 5x + 2 = 0\text{.}}x4−5x+2=0.
A recurrence relation in context gives each value from the one before
A quantity that changes over time, such as a population, can be modelled by a recurrence relation, which gives its value after each step and its long-run trend.
Recurrence relation
A recurrence relation gives each term of a sequence, such as Pn+1,{P_{n+1}\text{,}}Pn+1, from one or more terms before it, such as Pn.{P_n\text{.}}Pn.
Each year has its own subscript, so P3{P_3}P3 is the number at the start of 2027.
In context the rule usually has the form:
Pn+1=kPn+c P_{n+1} = kP_n + c Pn+1=kPn+cwhere k{k}k multiplies each amount and c{c}c is added at each step.
Finding the constant and stepping on
The number of fish in a lake n years{n\ \text{years}}n years after the start of 2024 is Pn,{P_n\text{,}}Pn, where Pn+1=kPn+120,{P_{n+1} = kP_n + 120\text{,}}Pn+1=kPn+120, P0=450{P_0 = 450}P0=450 and P1=390.{P_1 = 390\text{.}}P1=390. Find the number of fish at the start of 2027, and describe the long run.
- Put in both values, giving 390=450k+120.{390 = 450k + 120\text{.}}390=450k+120.
- Subtract 120 from both sides before dividing, so 270=450k{270 = 450k}270=450k and k=270÷450=0.6.{k = 270 \div 450 = 0.6\text{.}}k=270÷450=0.6.
- The start of 2027 is P3.{P_3\text{.}}P3. P2=0.6×390+120=354,P_2 = 0.6 \times 390 + 120 = 354\text{,}P2=0.6×390+120=354, so P3=0.6×354+120=332.4.P_3 = 0.6 \times 354 + 120 = 332.4\text{.}P3=0.6×354+120=332.4.
- Fish are whole, so there are 332 fish.
- The falls of 60, 36 and 21.6 get smaller, so the number keeps falling but levels off.
When the changes get smaller, the number levels off where Pn+1=Pn=P.{P_{n+1} = P_n = P\text{.}}Pn+1=Pn=P. Solving P=0.6P+120{P = 0.6P + 120}P=0.6P+120 gives 0.4P=120,{0.4P = 120\text{,}}0.4P=120, so the long-run level is P=300.{P = 300\text{.}}P=300.
Every answer must fit the context, with whole numbers of animals and a long-run trend that matches your own values.
- Why is the estimate the last value, and not the mean of the values?
- How do your own values show what happens in the long run?
Using xn+1=18−2xn3{x_{n+1} = \sqrt[3]{18 - 2x_n}}xn+1=318−2xn from x0=2,{x_0 = 2\text{,}}x0=2, what is x4{x_4}x4 to 4 decimal places?
Solution
2.3672
Between which two consecutive whole numbers does x3−4x=20{x^3 - 4x = 20}x3−4x=20 have a solution?
Solution
3 and 4
What line comes before the root when rearranging x3−5x2−4=0{x^3 - 5x^2 - 4 = 0}x3−5x2−4=0 into x=5x2+43?{x = \sqrt[3]{5x^2 + 4}\text{?}}x=35x2+4?
Solution
x3=5x2+4{x^3 = 5x^2 + 4}x3=5x2+4
If An+1=0.5An+c,{A_{n+1} = 0.5A_n + c\text{,}}An+1=0.5An+c, A0=80{A_0 = 80}A0=80 and A1=70,{A_1 = 70\text{,}}A1=70, what is c?{c\text{?}}c?
Solution
30