Fixed point iteration: solving equations numerically
Fixed point iteration approximates a solution of an equation by repeatedly applying a function. Write the equation in the form
choose a starting value , then calculate
If the values converge to a limit , continuity of gives
so is a fixed point of . It is therefore a solution of the original equation, provided the rearrangement has not introduced an invalid solution.
Prerequisites
Section titled “Prerequisites”You should be able to:
- rearrange algebraic equations;
- substitute into functions using a calculator;
- solve equations graphically and interpret intersections;
- differentiate elementary functions;
- round to decimal places and significant figures.
Review functions and notation, function graphs, and differentiation basics if needed.
From an equation to an iteration
Section titled “From an equation to an iteration”An equation must be rearranged into . The rearrangement is not unique, and different choices of can behave very differently.
For example,
can be written as either
or, since ,
These give the iteration formulae
Both have the same fixed point, but neither is automatically guaranteed to converge from every starting value.
Worked example 1: generate successive approximations
Section titled “Worked example 1: generate successive approximations”Use
to find , , and .
Apply the formula repeatedly, using each new value as the next input:
The values appear to approach . Indeed, a fixed point satisfies
Squaring gives
The square root is non-negative, so cannot satisfy the rearranged equation. The relevant fixed point is .
Calculator practice: keep unrounded values in the calculator memory. Rounding every intermediate value can change later digits and may make convergence appear earlier than it really occurs.
Self-check 1
Section titled “Self-check 1”For
calculate , and to decimal places.
Answer
The display values are rounded, but each next calculation should use the full stored value.
Why iteration can converge
Section titled “Why iteration can converge”The fixed point equation describes intersections of the curves
Starting at on the horizontal axis, move vertically to and then horizontally to . This transfers the output back into the input position . Repeating these steps produces a cobweb diagram.
Near a fixed point , differentiation gives the approximation
Since , the errors approximately satisfy
Therefore:
- if , nearby errors shrink and the iteration usually converges;
- if , nearby errors grow and the fixed point is repelling;
- if , successive values tend to alternate across the root;
- if , successive values usually approach from one side;
- if , this test is inconclusive.
A stronger textbook condition is useful when the root is only known to lie in an interval . If maps into itself and
for every , then the iteration converges to the unique fixed point in for every starting value in that interval.
Worked example 2: choose a convergent rearrangement
Section titled “Worked example 2: choose a convergent rearrangement”Consider
Compare the rearrangements
The root is approximately . Differentiate:
so
This rearrangement is locally divergent.
For the second rearrangement,
At a fixed point, , so
Thus , so nearby values converge and alternate across the root. With :
The alternation is visible. The convergence is not especially fast because is closer to than to .
Self-check 2
Section titled “Self-check 2”The equation is rearranged as
Show that iteration is expected to converge to the positive root, but not to the negative root.
Answer
Here
The roots are
Therefore
The positive fixed point is attracting and the negative fixed point is repelling.
Giving a root to a stated accuracy
Section titled “Giving a root to a stated accuracy”Seeing two displayed iterates agree is evidence, not automatically a proof, that the limiting root rounds to those digits. The exam question may supply a convergence assumption, ask only for an approximation, or require a sign-change check.
Worked example 3: iteration followed by verification
Section titled “Worked example 3: iteration followed by verification”The equation
has a root near . Using
continued iteration gives
These suggest to decimal places. To prove the rounding, test the boundaries of the rounding interval:
Then
Because is continuous, a root lies between and , so it rounds to
Also,
so is strictly increasing and the root is unique. This removes any ambiguity about which root has been located. See locating roots by a change of sign for the full justification.
A useful stopping rule
Section titled “A useful stopping rule”If a contraction bound is known on a suitable interval, then the remaining error can be bounded by
This is stronger than merely checking whether two iterates have the same rounded form.
Worked example 4: bound the error
Section titled “Worked example 4: bound the error”Suppose an iteration remains in an interval where , and
Then
Thus is within of the root. This guarantees decimal places unless lies unusually close to a rounding boundary, which can be checked directly.
Common misconceptions
Section titled “Common misconceptions”Treating as a power
Section titled “Treating xnx_nxn as a power”The subscript labels the position in the sequence:
In , the next term is obtained by substituting the current term into .
Solving the recurrence instead of iterating
Section titled “Solving the recurrence instead of iterating”Most A-level questions expect repeated numerical substitution. You do not need a formula for in terms of .
Assuming every rearrangement converges
Section titled “Assuming every rearrangement converges”Algebraic equivalence preserves fixed points, but it does not preserve convergence. Inspect near the required root or calculate enough terms to recognise divergence, oscillation, or a cycle.
Rounding at every step
Section titled “Rounding at every step”Keep the calculator’s full precision and round only the values you report. Early rounding feeds an artificial input into every later step.
Forgetting the domain
Section titled “Forgetting the domain”Square roots, logarithms and denominators restrict the allowed inputs. For example, requires at every step.
Believing equal displayed values prove convergence
Section titled “Believing equal displayed values prove convergence”A sequence can converge slowly, enter a cycle, or agree temporarily after rounding. Use the derivative test, a supplied convergence statement, an error bound, or a sign-change verification as appropriate.
Exam-style mixed example
Section titled “Exam-style mixed example”The equation
has one positive solution.
- Write down a fixed point iteration.
- Starting with , calculate , and .
- Explain why the iteration converges near the root.
- State the root to decimal places.
Solution
Section titled “Solution”-
The equation already gives
-
Repeated substitution gives
The values alternate because .
-
At a fixed point , . Hence
The positive root is approximately , so . The fixed point is attracting.
-
Continuing the iteration gives values approaching , so
Final self-check
Section titled “Final self-check”Let
- Calculate , and .
- Find the positive fixed point.
- Find and explain why convergence becomes very fast near that fixed point.
Answer
The iterations are
At a fixed point,
The positive fixed point is .
Here
so
The first-order error term vanishes at the root, which explains the particularly rapid convergence.
What to remember
Section titled “What to remember”For a fixed point iteration:
- rearrange the equation as ;
- write clearly;
- substitute the given repeatedly using full calculator precision;
- expect local convergence when ;
- check domain restrictions and reject invalid solutions;
- justify a stated accuracy when the question requires proof.
Next, study when numerical iteration fails and compare this method with the Newton-Raphson method. The trapezium rule applies numerical approximation to integration rather than root finding.