Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

24.5 Carrying the Loop Through: True Convergence Rate, Derivative Speed-Up, and the Width of the Rational Seam

The aphorism is stated; now let us do the arithmetic. The cosine table in Example 24.14 lists only four rows, and the contraction constant of Remark 24.12 is the worst case over the whole interval . Three questions are still open:

  1. Close to , by how much does one press of the cosine key actually shrink the error?

Near the fixed point, the error ratio tends to about −0.674. Taking the cosine again and again from while the view zooms with the error: zoomed in, the cyan curve lies on the magenta tangent, every turn has the same shape, and the ratio of successive turns tends to the slope of the tangent, , gentler than the global constant of the dashed grey line; every step is closer, yet no step lands exactly on ( lies in and is not , so the error ratio tends to , an application of existing results, clauses 22–23 of Example 34.6; the decimals are numerical).

  1. If the ruler reads not only the projection but also the orthogonal component , how much faster does the loop close?

Follow the tangent: near the fixed point, digits double asymptotically. Again from , each step reads the height of the curve and then follows the magenta tangent to the grey line . Once it is near the fixed point, the view zooms along and stops at step , about wide. The amber has just come down the magenta tangent of the previous step onto the grey line, from the white ring ; at this magnification the cyan curve is already too straight to tell from its tangent. The correct decimal digits run , , , with the error asymptotically squared at each step; the plain iteration needs steps to match this step (numerical check in Example 24.16).

  1. How close to can a ruler with finitely many rational tick marks get?

The three questions, answered numerically side by side. Left, by step: the cyan points, repeated cosine, go down one equal notch per step along the dashed line of slope () and pass only at step ; the magenta points, Newton’s method, reach in four steps. Right, by denominator: seven points are the residuals of the convergents of , all under the dashed bound , falling but never zero. All are numerical results; the asymptotic factor of the cosine iteration is an application of existing results in Example 34.6, while the Newton rate and the residual bound are literature results in the note below, not formalized in this book.

Remark 24.15 (Asymptotic Contraction Rate, Newton's Quadratic Speed-Up, and Continued-Fraction Convergent Residual Bounds for θ* (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book. The exact asymptotic factor and conditional error ratio are applications of existing results in Example 34.6. The higher-order expansion, Newton method, continued-fraction bounds, and decimals below retain their separate literature or numerical status.

First question: position and rate lie on one unit circle. Write the error as , expand about , and cancel the zeroth-order term with :

Strict alternation requires ; under that hypothesis the order argument in Chapter 34 makes the iterates straddle alternately from the right and from the left, which is the square spiral of the cobweb diagram. Its modulus

is exactly the orthogonal bivector area in the last line of Example 24.14. The position of the fixed point and its asymptotic contraction rate are therefore the two components of a single unit vector:

The line component says where the loop comes to rest; the area component says how fast it closes. Each press of the cosine key multiplies the error by about , not by the global bound ; each further decimal digit costs steps, not .

Second question: let the ruler read both line and area. Picard iteration uses only the projection reading at each step. Writing the equation as , Newton’s iteration

reads one more quantity per step: the orthogonal component . Since and , the error recursion turns from linear into quadratic:

Picard iteration adds a fixed number of digits per step; once it is near the fixed point, Newton’s iteration asymptotically doubles the number of correct digits.

Third question: the residual is the distance to the fixed point. For , apply the mean value theorem to and use : there is some between and with

Because for , we obtain the two-sided bound

and the ratio tends to as . So “how small can the residual of a finite-precision reading be” and “how well can rationals approximate ” are the same question. Furthermore, because is irrational (item 2 of Remark 24.12, by the Lindemann–Weierstrass theorem), standard Diophantine approximation guarantees that every continued-fraction convergent of satisfies , and combining this with the mean-value bound above yields

for infinitely many denominators : the seam narrows like the square of the denominator, yet never closes.

Back to the answer to the first question: where the fixed point sits and how fast the loop closes are the two coordinates of one point on the unit circle.

Where it stops, and how fast it closes. The same cobweb with the unit circle added. On the circle sits : its cyan abscissa is where the cobweb closes in, and its magenta height is the ratio by which each step shrinks the error, the size of the slope of the magenta tangent; . For the existence and uniqueness of see Theorem 24.26.

Example 24.16 (Numerical Check of the True Contraction Rate, Newton's Quadratic Closure, and the Residuals of the Best Rational Readings)

Literature result, not formalized in this book (all values below were recomputed at 50 decimal digits and rounded to the digits shown; the partial quotients of the continued fraction are numerical observations, not theorems).

Successive error ratios tend to . Starting from , with :

second-order prediction

The ratios oscillate on either side of the limit , with an amplitude given by the second-order term. Actual counts: first drops below at and below at .

Newton’s iteration. Same seed :

Picard iteration needs steps to match the accuracy of Newton’s step , and steps to match step .

Best rational readings. ; the convergents and their residuals are:

decimal valueresidual residual

Every entry of the last column is below , in agreement with the upper bound above. The unusually large partial quotient makes an exceptionally good reading: an exhaustive search shows that no fraction with denominator below is closer to , and the first one to beat it is . The reading of a three-decimal ruler leaves a residual of , nearly twice that of .

The seam narrows but never closes. The convergents of land one by one on the grey line (amber marks the current one), and the magenta upright is the drop from there to the cosine curve, the residual . Its endpoint on the cosine curve always stays inside the wedge of the two dashed grey lines (slopes and ); with the view magnified ten million times, it is still there.

The last table of Example 24.16 shows that refining the tick marks does not automatically buy a better reading. What sets the width of the seam is not the size of the denominator but its arithmetic relation to : a ruler with twenty-three divisions happens to line up almost exactly at its seventeenth mark, and a ruler with a thousand divisions does not.

Twenty-three divisions beat a thousand. The amber next to the dashed ruler reading : the tick nearest on a thousandths ruler leaves about twice the residual of ( against ).

Rational readings never line up. What about a different kind of closure: instead of asking the projection to return to itself, ask a rotation to return to its starting point? The answer is again no, and this time no conjecture is needed.

Remark 24.17 (θ* and π Are Incommensurable: Rotation by the Fixed-Point Angle Never Closes (Corollary of a Literature Result, Not Formalized in This Book))

Corollary of a literature result, not formalized in this book. The hypothesis used in Conjecture 24.13, that and are linearly independent over , is equivalent to . This holds without any conjecture:

Suppose with integers and . Put . Then , so is a root of unity and hence algebraic, and therefore is algebraic as well. But , so would be algebraic, contradicting the transcendence obtained from the Lindemann–Weierstrass theorem in item 2 of Remark 24.12. Hence is irrational (numerically , that is, ).

Two consequences follow:

  1. The rotation has infinite order. The plane rotation by the angle satisfies for every integer , because if and only if . Correspondingly, no positive integer power of the unit rotor equals .
  2. The orbit is dense and equidistributed. The sequence is dense and equidistributed on the circle. The step “orbits of an irrational rotation are equidistributed” has a frozen Lean proof, see Lemma 24.18 below; the irrationality needed to apply it to is the first half of this remark.

Whether is transcendental is not settled by this argument; it holds under Schanuel’s conjecture, since it follows from the conclusion of Conjecture 24.13 (algebraic independence of and ).

Put the two facts side by side: the cosine projection closes in one step at (), while the rotation with step never returns to its starting point. The same angle is a fixed point for projection and an open helix for rotation.

“Never returns to its starting point” can be made more precise: the orbit not only fails to close, it also visits the whole circle uniformly. This step needs no citation from the literature; the pinned repository holds a frozen theorem.

Lemma 24.18 (Under an Irrational Rotation, Orbit Averages of Continuous Observables Tend to the Haar Average)LEAN ✓

Let be irrational (hα : Irrational α), let be an arbitrary initial phase, and let be continuous (in Lean, is AddCircle (1 : ℝ) and the hypothesis is hf : Continuous f). Then, as ,

where stands for its image in and is the normalized Haar measure on (AddCircle.haarAddCircle).

Proof

The continuous functions for which the conclusion holds form a complex linear subspace . First, every character lies in : for both sides equal ; for the orbit average is a geometric sum with ratio divided by , and since is irrational the ratio is not , the geometric sum is bounded, the average tends to , and the Haar integral of the character is as well (fourier_average_tendsto). Second, is closed under uniform convergence: the averaging functionals have norm at most , so they form an equicontinuous family of linear functionals and pointwise limits are preserved on closed sets. Third, the linear span of the characters is dense in the space of continuous functions (span_fourier_closure_eq_top). Together the three steps show that consists of all continuous functions. The full proof is checked by the Lean kernel.

Example 24.19 (The Orbit with Step θ*: Seventeen Steps Nearly Close It, Yet It Eventually Covers the Circle)

(When instantiating Lemma 24.18 at , the equidistribution theorem itself is kernel-verified, whereas the irrationality input from Remark 24.17 is a literature result, not formalized in this book.) The values below were computed from closed-form geometric sums and checked by direct summation; the partial quotients of the continued fraction are numerical observations.

The near-closure after seventeen steps. The continued fraction of is . The unusually large partial quotient makes the convergent exceptionally accurate:

that is, after seventeen steps and two full turns the orbit is only away from its starting point. The next closer approach has to wait until step (gap radians).

Orbit averages of two observables. With initial phase , compare and , both of Haar average :

steps orbit average of orbit average of orbit average of when the angle is replaced by

The average of tends to quickly: the geometric sum gives the bound . The average of hardly moves for a long time: it is sensitive exactly to the seventeen-step near-closure, the corresponding bound is , and only for much larger than does the average come close to the Haar average . If the angle is replaced by , which is commensurable with , the orbit has only seventeen points and the average of is forever, not the Haar average: the irrationality hypothesis of Lemma 24.18 cannot be dropped.

Turning by : seventeen steps almost close, and only a long time covers the circle. Left: points joined in order go round twice and almost close into a seventeen-pointed star; the start and step differ by only (magnified in the magenta box). Middle and right: step is drawn at of the radius, later steps further out; after steps the points still form spokes, and after steps the spokes have turned round into every direction. Equidistribution is Lemma 24.18, whose hypothesis is a literature result (Remark 24.17); the positions of the points are numerical.

Within a hundred steps, the orbit with step looks almost indistinguishable from a regular heptadecagon; equidistribution shows itself only on a longer time scale. An observer with finitely many steps sees a closed polygon; the whole circle appears only in the limit of infinitely many.

How fixed points close in: the full lab. Three scenes on one cobweb plane: iteration ( or , with a draggable start and three cameras), Newton’s method, and rational readings (with an adjustable ruler). Qualitative cosine convergence and conditional asymptotic factors follow from the reuse derivation in Example 34.6; Newton’s method, numerical values, and residual bounds retain their literature or numerical boundaries; the green boxes cite only Corollary 24.6 and Theorem 24.26.

24.5.1 Twin-Spiral Correspondence: From the One-Dimensional Golden Continued Fraction to Two-Dimensional Cosine Whirling Squares

Looking back at the two tables computed side by side in Example 24.14 — the golden reciprocal continued-fraction iteration and the cosine fixed-point iteration — the author recorded an observation in the manuscript that goes straight to the geometric core: “Approaching is very much like a Fibonacci spiral.” Far from a loose visual metaphor, this expresses a structural correspondence and continuous spiral interpolation model (MODEL) of the same negative-slope turning mechanism acting first on a flat one-dimensional ruler and then on a curved two-dimensional circular arc.

Why does a recurrence that takes values purely on a one-dimensional real interval wind into an inward spiral as soon as it is plotted in the plane? Place the two recurrences side by side: on one hand, the golden inverse branch starting from steps through the Fibonacci convergents (whose unique positive fixed point is locked in trureturing by Lemma 24.10 golden_inverse_branch_positive_fixed_point_iff, while the alternating sign and the strict rational-approximation lower bound for every are proved in Chapter 35 §35.7 at Theorem 35.36 and Theorem 35.39; that the all-ones continued fraction achieves asymptotic Hurwitz extremality among all irrationals is a classical number-theoretic theorem, Hurwitz 1891); on the other hand, the cosine iteration starting from steps through (whose unique positive fixed point is locked by Theorem 24.26 rational_inverse_endpoint, with qualitative convergence and strict alternation hypotheses derived in Example 34.6). In real analysis, neither orbit creeps monotonically from one side because both maps are strictly decreasing on their invariant intervals (their first derivatives at the fixed point are also strictly negative; item 1 of Remark 24.20 below). In our Clifford orthogonal geometric model (MODEL, whose discrete operator prototype is the skew-adjoint unitary squaring law of Chapter 5, square_eq_neg_one_of_skewAdjoint_unitary), the minus sign is not a discontinuous leap along a line, but two consecutive same-handed right-angle turns in a two-dimensional bivector plane: left-right oscillation on the real axis is the edge-on shadow of an inward spiral. Unfolded onto the cobweb plane , each Picard update splits into a vertical read and a horizontal return of strictly equal length (winding around the fixed point per step): starting below the fixed point (, such as ) enters the clockwise cycle at North () East () South () West (), whereas starting above it (, such as ) enters the same clockwise cycle shifted by two quarter-turns (South West North East), with vanishing step when . Each step bounds a nested square whose inscribed piecewise quarter-circle guide (whose tangents meet perpendicularly at every diagonal vertex even under zoom) parallels the Fibonacci whirling-square diagram: the diagonal vertices and square side lengths contract asymptotically at the geometric rate , while on the polar stage a separate smooth equiangular logarithmic spiral (MODEL) continuously interpolates that discrete geometric contraction.

Every cobweb step frames a whirling square. Iterating the cyan curve from , each vertical step to the curve and horizontal return to the grey diagonal have equal length , winding clockwise North East South West to nest squares and piecewise cyan quarter-circle guides around the cyan fixed-point ring on the grey coordinate crosshair; at step index (after five completed updates ), amber marks only the active update and its South West arms and square (equal-arm and turn properties in Remark 24.20; uniqueness of the positive fixed point in Theorem 24.26).

Remark 24.20 (Twin-Spiral Contraction Factors, Pythagorean Conservation Duality, and Equiangular Spiral Inward-Radial Tangent Angles (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book. The following properties of cobweb whirling squares, flat-versus-curved golden conservation laws, and equiangular logarithmic spiral tangent angles belong to classical calculus and plane differential geometry (with qualitative cosine convergence and strict alternation reusing the derivation in Example 34.6, while decimal values and plane-geometric formulas retain their literature or numerical boundaries):

  1. Negative fixed-point derivatives, equal-arm cobweb polylines, and piecewise whirling-square arcs. At the positive fixed points of and of , the first derivatives are

    For any one-dimensional map with cobweb vertices and (), the vertical displacement and horizontal displacement have identical Euclidean length

    Each Picard update traverses two perpendicular arms ( around ): whenever the signed residual alternates strictly across (guaranteed for cosine iteration on by the order argument in Example 34.6), starting below () enters the clockwise cycle at (North) (East) (South) (West), whereas starting above () enters the same clockwise cycle shifted by two quarter-turns (South West North East), with at . Each step bounds the square of side enclosing ; the quarter-circle arcs of radius centered at from to form piecewise quarter-circle guides (retaining perpendicular tangents at every diagonal junction even under exact linear scaling, and never converging in curve shape to a smooth logarithmic spiral); rather, in the asymptotic linear regime the diagonal vertices and square side lengths contract geometrically at rate , which item 3 below continuously interpolates on the polar plane via a separate smooth equiangular logarithmic spiral .

  2. One-dimensional linear additive conservation versus two-dimensional Pythagorean square conservation.

    • One-dimensional flat golden section (): For , is equivalent to , locking the fixed point and the single-step contraction modulus (factoring the sign reversal into two equal turns gives a per-quarter-turn radial scaling of ). Fixed-point position and single-step contraction obey one-dimensional linear additive conservation:

    • Two-dimensional curved cosine fixed point (): Bending the unit ruler into a circular arc, locks the fixed point and the orthogonal contraction modulus . Relative to , is shifted upward by only

      while fixed-point position and contraction modulus now obey two-dimensional Pythagorean square conservation on the unit circle:

  3. Jakob Bernoulli’s equiangular logarithmic spiral and inward-radial tangent angle. Jakob Bernoulli (Acta Eruditorum, 1692) studied the polar logarithmic spiral (), naming it spira mirabilis (“Eadem mutata resurgo”, “Though changed, I arise the same”) for its exact self-similarity under rescaling. Writing for the radial scaling per clockwise quarter-turn gives damping rate and full-turn scaling . Parametrizing clockwise from North as , with outward radial unit vector and clockwise circle-tangent unit vector , differentiation yields and . Because makes an obtuse angle with the outward ray when , defines the constant acute angle between the inward radial unit ray (pointing toward the fixed-point center) and the forward unit tangent :

    with constant inward deflection relative to the circle tangent ; conversely, integrating shows that logarithmic spirals are the unique smooth polar curves of constant inward-radial tangent angle . The four smooth model trajectories compare as follows:

    Smooth spiral modelPer- scaling Damping Inward-radial tangent angle Inward tilt Per- scaling
    Ideal closed circle
    cobweb two-step spiral ( per arm, per iterate)
    Clifford orthogonal spiral ( per )
    Fibonacci golden spiral ( per )

Setting the two conservation laws of item 2 in Remark 24.20 side by side lays bare the geometric transition from to . On a flat one-dimensional ruler, “whole is to longer part as longer is to shorter” cuts the unit bar into , scaling by per quarter-turn; the moment that unit ruler is bent into a unit circular arc whose arc length equals its own cosine projection , linear additive conservation lifts into Pythagorean square conservation , and the orthogonal contraction factor shifts from the flat to the curved — a difference of ( percentage points, or an relative curvature shift). Within our four-tier number-and-sphere hierarchy (MODEL, detailed in Chapter 23 §23.1 Remark 23.7), is the one-dimensional flat algebraic golden ratio (Tier 2, quadratic algebraic extensions), whereas is the two-dimensional orthogonal transcendental golden ratio born from bending self-similarity onto the unit circle (Tier 4, self-referential cosine fixed point).

A flat ruler adds; a bent arc squares. Left: the four smooth polar trajectories. Right: at top, the flat unit bar divided at the ink tick into cyan and magenta (1D additive conservation ); below, the quarter unit circle with its cyan-ringed fixed point splitting hypotenuse into cyan base and magenta height (2D Pythagorean conservation , with amber marking only the live iterates ; item 2 of Remark 24.20).

Item 3 of Remark 24.20 likewise gives a sharp plane-geometric measure of our recurring motif (MODEL) that every apparent sphere is locally an arc yet globally an inward-refining spiral. Only at inward-radial tangent angle does a trajectory close onto itself with zero scale refinement; on the cobweb two-step spiral (), local arcs look nearly circular, yet one full revolution (two cosine updates, four arms) shrinks the radius to ; and on the Clifford orthogonal spiral, the inward-radial tangent angle — just gentler than the Fibonacci golden spiral’s — tilts inward by from the circle tangent at every turn, uniting phase rotation and scale refinement in a single motion.

Fourteen degrees inward turns a circle into a contracting spiral. Directly at polar step (, radius ) on the cyan orthogonal spiral, the left panel draws both the amber inward radial vector (pointing toward the center) and the cyan forward tangent: the cyan acute sector between them is the inward-radial tangent angle , opening a magenta inward-tilt wedge from the dashed grey circle tangent, flanked by the violet cobweb spiral () and the magenta Fibonacci spiral () (literature result, item 3 of Remark 24.20).

Because hugs its tangent line of slope ever more closely as , the cobweb whirling squares exhibit asymptotic self-similarity in the spirit of Bernoulli’s Eadem mutata resurgo: starting from , the residual ratio between step indices and is already close to the asymptotic factor , so magnifying around makes the square at visually nearly indistinguishable from at .

Magnified about twenty-fourfold, square at visually reproduces the proportions of at . Locking onto the cyan fixed-point ring and rescaling with the current error (at step index , after twelve completed updates , active amber square has side and residual ), the cyan cosine curve lies flat along the dashed magenta tangent while the amber update and piecewise square guides visually repeat the proportions of at (literature result, Remark 24.20).

Placing the piecewise cobweb whirling squares on the left and the smooth polar spiral models on the right along one shared step index (where each Picard update winds across two perpendicular cobweb arms on the left, while on the right each index advances one quarter-turn of scaling vs. , alongside the per-arm cobweb spiral) makes visible how approaching parallels the inward contraction of the Fibonacci golden spiral (their horizontal-versus-vertical division of labor in the unified-field model returns in Chapter 28 §28.4).

Cobweb whirling squares on the left, smooth twin-spiral models indexed by step on the right. At the shared step index : on the left, eight completed historical Picard updates from ( across two arms per step, four full cobweb turns) plus the active amber step- update display nine updates ( cobweb turns) of nested squares and piecewise quarter-circle guides; on the right, at polar step (, two full polar turns at per step, amber ray and dots), the dashed grey circle, violet per-arm cobweb spiral ( per ), cyan orthogonal spiral (), and magenta Fibonacci golden spiral () wind concentrically inward.