How fast the staircase arrives
Worth reading first: The staircase that shows the whole orbit · A point that pulls, and a point that pushes.
The slope at a crossing decides whether an orbit arrives: shallow and the staircase walks in, steep and it walks out. That is a yes-or-no question and the same number answers a quantitative one that matters more in practice.
How long does arriving take? The answer is that the distance to the fixed point is multiplied by the slope at every step — so the slope is not merely a threshold, it is a rate, and reading it that way turns a picture into a prediction.
The error obeys the derivative
Write for the fixed point and for the error at step . Then
which is the derivative doing what it is for: near enough to a point, a smooth function is its tangent line.
So once the error is small, each step multiplies it by . The distance falls geometrically, the number of correct decimal places grows by a fixed amount per step, and a logarithmic plot of the error is a straight line with gradient .
The figure measures that. It runs the logistic map at two parameters, computes from the arithmetic, and compares it against the ratio of successive errors taken from the orbit — two numbers reached by different routes, required to agree.
Where that ratio is measured is part of the claim. The exact recurrence is , so the measured ratio is and equals only once the error is small. At the second term is still a twentieth after fourteen steps, which is more than the tolerance; taking the reading at a fixed step number therefore tests how fast the particular parameter happens to converge rather than the claim. The figure takes it at the last step before the error reaches the rounding floor, which is where the higher-order term is smallest.
What the rate is worth in digits
Turning the factor into something usable: if the error is multiplied by each step, the number of correct decimal places grows by per step.
At , that is about places per step — three steps per digit. At , about — twenty-two steps per digit. At , two hundred and thirty steps per digit.
Convergence is a smooth function of the slope and usability is not. An iteration with is a tool; one with converges, in the sense that a proof is available, and is useless. The threshold at that the rung below is about is the boundary of a region in which the behaviour varies by three orders of magnitude.
The case where the slope is zero
If the linear term vanishes and the next one takes over:
The error is squared each step, not multiplied. The number of correct digits doubles rather than growing by a fixed amount, and a few steps take a rough guess to machine precision.
Such a fixed point is called superattracting, and the standard way to reach one is Newton’s method. Solving by iterating
gives a map whose derivative at a simple root is exactly zero — a short computation, and the whole reason the method is fast.
The figure runs it on , from , and asserts two things rather than one. Exactly: , which is algebra on the Newton step and holds at every step to the last bit. Approximately: the ratio approaches , which is the limiting constant everybody quotes.
Asserting the second at every step would fail on the first, by a third — is and is . That is not an error in the iteration; it is an error about which of the two statements is a theorem, and the two are separated here for that reason.
What quadratic buys, in numbers
From an error of :
| step | linear at | quadratic |
|---|---|---|
| 1 | 0.25 | 0.09 |
| 2 | 0.125 | 0.0029 |
| 3 | 0.0625 | |
| 4 | 0.031 | |
| 5 | 0.016 |
Five steps of the quadratic method exhaust double precision. Five steps of the linear one have gained one and a half digits.
That gap is the reason the distinction is not academic. Every root-finding method in use is chosen for its order of convergence, and the orders available are a small list: bisection is linear with ; the secant method is of order , the golden ratio, because its error obeys a Fibonacci-like recurrence; Newton is quadratic; and Halley’s method, using the second derivative, is cubic.
Reading the rate off a picture nobody drew for it
The rate is available from the cobweb itself, which is worth knowing because the logarithmic plot needs the answer in advance and the staircase does not.
Near the crossing the curve is nearly its tangent, so the staircase’s steps form a near-geometric sequence: each horizontal run is times the one before. So the ratio of consecutive step widths is the rate, and it can be measured with a ruler on a drawing where the fixed point is not marked.
The sign shows up as the shape. A positive slope gives a staircase that walks in from one side, monotonically; a negative one gives a spiral, with the orbit alternating either side of the crossing. That distinction is visible immediately and is invisible in the error plot, where only appears.
So the two pictures carry complementary information. The staircase shows the sign and the qualitative behaviour and reads the rate badly; the error plot reads the rate precisely and loses the sign. Neither is a substitute, and the site’s habit is to draw both when both matter.
Why a fast method can still be a bad one
The order of convergence is the wrong thing to optimise on its own, and it is worth saying why before the table above is read as a ranking.
Newton needs the derivative. If it is unavailable or expensive, the secant method’s lower order may be reached in less total work — its order is but each step costs one function evaluation rather than two.
Newton is not global. Quadratic convergence is a statement about what happens near the root, and starting elsewhere the method may cycle, diverge, or land in the basin of a different root — which is what Newton’s basins are a picture of. Bisection, at , is the slowest method on the list and the only one that cannot fail.
Order says nothing about a multiple root. At a root where and both vanish, Newton’s derivative at the fixed point is not zero but for a root of multiplicity — so the method degrades from quadratic to linear, and to linear with a rate that approaches one as the multiplicity grows.
That last is the sharpest case and it is worth having as a warning. A method’s advertised order is a property of the generic case, and the situations where a fast method is actually needed are frequently the degenerate ones where it does not have it.
The neutral case, where the rate is not a rate
At the linear term neither shrinks nor grows and the behaviour is decided by what comes after — which means it is not geometric at all.
Take near zero, whose derivative at zero is exactly one. The orbit does converge to zero, and it converges like : the error after steps is about , so reaching three decimal places takes half a million steps.
That is qualitatively unlike either case above. There is no factor per step; the rate itself decays; and a logarithmic plot of the error against the step number is a curve, not a line, bending the wrong way.
The neutral case is also where the sign of the higher term decides everything. converges to zero from either side; leaves it. Both have , and no amount of information about the derivative separates them.
Where the linear term is silent, the answer is not a rate but a different kind of question. That is the standing situation at every threshold in this field: the logistic map at has a neutral fixed point and takes thousands of steps to settle, and the same is true at every parameter where a doubling happens.
Cycles have a rate too, and it is a product
A cycle of length is a fixed point of applied times, so its multiplier is the derivative of the composed map — which by the chain rule is the product of the slopes at the cycle’s points.
That has a consequence worth stating, because it is not obvious from the definition. A cycle can be attracting while every one of its points sits where the map is expanding, provided the product of the slopes is small enough — and it can be repelling while some of its points are in flat regions. The rate belongs to the cycle rather than to any of its points.
It also explains why the doublings accelerate. Each new cycle’s multiplier is a product of twice as many numbers, so it sweeps through the interval from to over a shorter range of the parameter; the cascade’s geometric spacing is that acceleration measured.
The same arithmetic outside this field
The rate is not about the logistic map or about roots, and three places it turns up with a different name are worth naming because they are the same calculation.
Contraction mappings. A map that shrinks everything by a factor has a unique fixed point and orbits reach it at rate — which is this section’s linear case with the derivative bound replaced by a uniform one. The theorem gives existence as well as the rate, and the price of the uniformity is that the rate is the worst one anywhere rather than the one at the fixed point.
Iterative solvers for linear systems. Solving by repeatedly applying an affine map converges at a rate set by the largest eigenvalue in size of the iteration matrix — the multiplier generalised to several dimensions. One number again, and the same threshold at one, with the same catastrophe as it is approached.
Markov chains. How fast a chain forgets where it started is set by the second-largest eigenvalue of its transition matrix, and the mixing time is the reciprocal of the gap below one. The vocabulary is entirely different and the arithmetic is identical.
In every case the pattern is: linearise about the answer, find the factor, and the factor is the rate. That the same object — a derivative, a matrix’s spectrum, an eigenvalue — plays the part in all three is the reason this rung is worth having as a rung rather than as a remark inside another essay.
What the picture cannot show
The figure plots the error, which requires knowing the answer. That is available here because the fixed points are known in closed form, and in every situation where an iteration is actually used it is not — so the picture is a diagnostic drawn after the fact rather than something a practitioner sees.
It also cannot show the floor. Every curve stops where the error reaches the rounding limit, and past that point the plotted quantity is a fact about arithmetic rather than about the iteration. The Newton curve reaches it in five steps, which is why it is drawn for five and not for twenty.
And a logarithmic axis makes a straight line out of a constant factor, which is what makes the rate legible — and makes the early steps, where the linear approximation is not yet valid, look like a defect in the data. They are not. They are the higher-order terms, and they are the reason the figure measures its rate at the far end.
Where the ladder goes next
Above: two maps that turn out to be one map in different coordinates, which is how a hard iteration is turned into an easy one; the statistics an orbit leaves behind when no single step is worth reporting; and what a computer’s arithmetic does to an orbit it cannot represent.
One debt. The order of the secant method is quoted here as the golden ratio and the Fibonacci recurrence behind it is named rather than derived. It is a short derivation and it is one of the more surprising places that number appears, and it belongs on the golden ratio’s own ladder rather than on this one.
What the slope was measuring all along
The derivative at a fixed point is the factor the error is multiplied by, and everything about how an iteration performs follows from it.
Below one in size, the orbit arrives and the rate is that number. At zero, the linear term is gone and the error squares, which is what makes Newton’s method the tool it is. At one, there is no rate at all and the answer depends on what the derivative could not see. Three regimes, one number, and the picture that shows which is the same staircase the bottom of this ladder drew.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- The same map in a better basis — both name convergence rate, iteration
Named objects
A dashed tag is an object no other essay names yet.
Convergence rateDerivativeError analysisFixed pointIterationLinear convergenceMultiplierNewtons methodQuadratic convergenceSuperattracting