Approximate solutions by iteration (H)
Iteration finds a root by repeatedly substituting the previous answer into a rearranged form of the equation.
Rearrange
Rewrite the equation as x = g(x), with x alone on one side. A Root A value of x that makes the equation true. is a value that g leaves unchanged.
Iteration for x³ + x - 3 = 0 - 1x0 = 1
- 2x1 = 1.260
- 3x2 = 1.203
Each step feeds the previous answer back in.
Start and repeat
Choose a starting value, substitute it into g(x) to get x1, use x1 to get x2, and so on, until the values settle.
Locate the root
A Sign change A function that changes from negative to positive, or the reverse, between two values, so a root lies between them. in f(x) between two whole numbers shows that a root lies between them. Use this to choose a starting value.
Key terms
- Iteration
- Repeating a calculation, each time using the previous answer.
- Root
- A value of x that makes the equation true.
- Sign change
- A function that changes from negative to positive, or the reverse, between two values, so a root lies between them.
Check yourself
Which key term means this? Repeating a calculation, each time using the previous answer.
Worked example
The equation x³ + x - 3 = 0 has a root between 1 and 2. Use the iteration x(n+1) = (3 - xn)^(1/3) with x0 = 1 to find x2, giving your answer to 3 decimal places. (3 marks)
- 1Find x1 = (3 - 1)^(1/3) = 2^(1/3) = 1.260 to 3 decimal places.
- 2Find x2 = (3 - 1.260)^(1/3) = 1.740^(1/3).
- 3Evaluate: x2 = 1.203 to 3 decimal places.
The answer: x2 = 1.203
The classic mistake
True or false?
X1 = (3 - 1)^(1/3) = 2^(1/3) = 1.260, because the cube root is needed, not the cube.
Wrong: X1 = (3 - 1)³ = 8.
Right: X1 = (3 - 1)^(1/3) = 2^(1/3) = 1.260, because the cube root is needed, not the cube.
Exam tip
Command word
Use
Keep at least one more decimal place than you need in each step, then round only at the end.
How to make it stick
Repeat the calculation on a calculator, watching the values settle towards the root.
Try one
Which interval contains a root of x³ + 2x - 10 = 0?
Test yourself
- The iteration x(n+1) = √(10 - x(n)) starts with x0 = 2. What is x1?
- The iteration x(n+1) = √(10 - x(n)) starts with x0 = 2. Find x2 correct to 3 decimal places.
- Use the iteration x(n+1) = (10 - 2x(n))^(1/3) with x0 = 2 to find x1, x2 and x3, each correct to 3 decimal places, and hence state the root of x³ + 2x - 10 = 0 correct to 2 decimal places.
Try it from memory
Explain the topic in your own words and see what you remember.