A20 - Numerical solutions by iteration
Iteration feeds an answer back into the same calculation. You will build suitable rules, retain enough accuracy and check whether repeated values really approach a solution.
Rearranging an equation for iteration (Higher)
Can a calculation find a root that does not factorise neatly? For , trying gives , so 1.5 is close but not a root. Repeated substitution can improve that starting guess.
You already know
Rearranging keeps an equation's solutions when each step is valid. Substitution means evaluating an expression using the given input, with brackets where needed.
An iteration uses the output of one calculation as the input of the next. Its notation keeps track of this order.
Iteration and fixed point
In , is the current value and is the next. The starting value is . A fixed point satisfies , so the rule leaves it unchanged.
The subscript counts steps; it is not multiplication. An iteration rule is not on the formula sheet: derive it from the rearranged original equation, or use the rule supplied in the question. At a fixed point, the rule must recover the original equation.
Worked example 1: a cube-root rule
Question. Rearrange for iteration. Starting at , calculate and to 6 decimal places.
Plan. Isolate , take the cube root, then reuse each output.
Why take a cube root? It makes the next -value an explicit calculation from the previous one.
Answer. , to 6 decimal places.
Check. A fixed point has ; cubing recovers .
Change only the original equation's constant from 2 to 3. The same construction gives a different sequence of estimates.
Worked example 2: changing the equation's constant
Question. Rearrange for iteration. Use to calculate the first two outputs to 6 decimal places.
Plan. Isolate the cube again and feed the first full output into the second calculation.
Why change the rule as well? Keeping would still target the previous equation.
Answer. , .
Check. Cubing gives the required equation.
A rearrangement can restrict which roots it finds. From , the rule always outputs a non-negative number. From 1 its first two outputs are and . It may approach the positive root 2, but cannot approach the other root . Inputs must also satisfy .
Watch out
A correct fixed-point equation does not guarantee a useful iteration. Check the starting value, any square-root or denominator restrictions and the later behaviour.
Change only the cubic's constant again. A calculator may be used.
Intermediate accuracy and reported precision (Higher)
Store the full output between steps. Rounding the value you report is different from rounding the value you reuse.
On a calculator, use the previous answer or a stored memory value. Check the first two entries by hand to catch a wrong bracket or an unchanged input. Label as the start: calling it shifts every later label.
For the first cubic rule, the table displays 9 decimal places while the calculations retain more.
| 0 | 1.500000000 |
| 1 | 1.518294486 |
| 2 | 1.520935263 |
| 3 | 1.521315698 |
| 4 | 1.521370489 |
| 5 | 1.521378379 |
| 6 | 1.521379516 |
The last two outputs both round to 1.5214 at 4 decimal places. That is useful evidence, but not proof of accuracy. Slow change or premature rounding can also produce repeated displayed values.
Exact fractions make this distinction easy to see.
Worked example 3: exact values between steps
Question. Use , , to find . Give fractions, then report to 3 decimal places.
Plan. Retain fractions at every step and round only the requested final output.
Why keep the fractions? They prevent rounding error from becoming the next input.
Answer. ; to 3 decimal places.
Check. , reversing the last step.
Change only the constant in the numerator from 4 to 6.
Worked example 4: the same accuracy habit
Question. Use , , for three steps. Give exact fractions and to 3 decimal places.
Plan. Feed each exact fraction into the next calculation.
Why not enter 2.333? It replaces by a different number.
Answer. ; .
Check. .
Rounding every cubic output to 1 decimal place creates a false fixed value: becomes 1.5, then the same calculation returns 1.5 again. Yet . Repeating a rounded number has not solved the equation.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account