Ne5 - Relaxation of fixed point iteration
Use relaxation to change the behaviour of a fixed-point iteration. You will compare supplied parameters, accelerate a convergent sequence and turn a repelling fixed point into an attracting one, while checking accuracy and domains.
Blend the old value with the proposed new value
The iteration , starting at , cycles . What if each step moves only halfway towards the proposed next value?
That small change breaks the cycle. More surprisingly, the resulting formula is exactly Newton-Raphson's update for the positive square root of .
You already know
A fixed point satisfies . Local gradients and iteration output help judge convergence. Keep stored precision between steps; a rounded display is not a new input.
Relaxation changes the update rule while retaining its intended fixed points.
Relaxation
Replace by
where is the relaxation parameter. For , the fixed-point equations are equivalent:
within the original domain. At , the original iteration is recovered. At , every starting value stays unchanged, so this is not a useful root-finding iteration.
In the formula booklet.
For , the new value is a weighted average of the old value and the unrelaxed proposal. Relaxation also permits parameters outside this interval; we will meet a useful negative one later.
Worked example 1: stop a two-cycle
Question. Use to relax , with . Calculate four iterates and find the positive fixed point to decimal places.
Plan. Substitute the parameter before iterating, retain precision, then certify the proposed rounded root.
| Displayed , d.p. | |
|---|---|
Why this step? Average the old value and the proposal before making the next update; averaging two already rounded displays would create a different calculation.
Answer. The positive fixed point is to decimal places.
Check. For ,
Continuity and strict increase on this positive interval put the unique root inside the rounding interval for . All iterates remain positive, so division by zero is avoided.
Change only the parameter to , retaining the same map and seed.
Worked example 2: a smaller move is slower here
Question. Calculate four iterates with . Compare the approach with .
Plan. Rebuild the relaxed formula, then run it from the original seed.
| Displayed , d.p. | |
|---|---|
Why this step? “More cautious” does not mean “faster”: the changed parameter makes much smaller corrections near this fixed point.
Answer. This output approaches the same positive fixed point more slowly. The trace already supports the certified -decimal-place result after four steps; the trace takes substantially longer.
Check. For any positive fixed point,
The target has not changed. The rounding certificate from example 1 still applies; repeated displayed agreement alone is not that certificate.
The graph shows how averaging changes the path, rather than merely changing the printed digits.
[DIAGRAM: asset_name: Relaxation breaks a reciprocal-map cycle; asset_slug: relaxation_breaks_cycle; caption: Halfway moves turn the reciprocal two-cycle into a convergent path; description: Two equal-scale panels show the identity line, the original map y=2/x and the relaxed map y=x/2+1/x for positive x. Vertical-horizontal moves from x0=1 cycle between 1 and 2 in the original panel but approach the common positive fixed point square root of 2 in the relaxed panel. The two update rules and seed are labelled.]

Watch out
Wrong: assume smaller always gives faster convergence. Right: compare the new map's behaviour, the starting value and actual output. The best of two supplied choices depends on the equation.
Try a third parameter without changing the root problem.
Compare parameters using gradients and output
An iteration can already converge and still benefit greatly from relaxation. For , using radians, the fixed point near has . The unrelaxed path alternates, with a substantial fraction of its error left after each step.
Gradient of the relaxed map
For a differentiable map,
A magnitude below one supports local convergence; a small magnitude usually gives faster local error reduction. A negative gradient suggests alternation and a positive one a same-side approach. The gradient test alone is inconclusive at magnitude one, and it does not guarantee success from a distant start.
Not in the formula booklet: learn it.
Use the gradient to interpret supplied parameter choices, then check the actual sequence. There is no need to derive an optimal parameter.
Worked example 3: damp an alternating approach
Question. Starting at , use for . Calculate four iterates and explain why this should improve the local rate.
Plan. Form the relaxed map, use radians throughout, and compare its gradient with the original one.
| Displayed , d.p. | |
|---|---|
Why this step? Compare the gradient of the relaxed map with the gradient of , because the relaxed map generates the new sequence.
Answer. The trace approaches the fixed point from above. The local factor about is much smaller in magnitude than , so the relaxed approach is faster near this root.
Check. Continuing with stored precision gives , and . These shrinking positive errors agree with the gradient prediction.
Change only to ; the same start makes the comparison fair.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account