This essay is part of a three-part series on mathematical structures that survive the collapse of their original worldviews. Part I — Schrödinger Part II — Hamilton (this essay) Part III — Maxwell
There’s a familiar demonstration in graphics or robotics: draw a sphere, mark two orientations, trace a smooth arc between them, then multiply two four-component objects and watch the rotation fall neatly into place.
And it does fall neatly into place.
But whenever mathematics feels too natural, it usually means we’re working inside a framework that makes it natural. The elegance is real — but the inevitability is inherited.
This essay is the companion to my earlier article on Schrödinger’s equation. Not because quaternions and quantum waves share physics, but because they share a deeper structure: both look inevitable once you commit to a worldview that makes them inevitable.
1. Rotation in 3-D feels simple only because we treat it as if it should be
Physically spinning an object feels trivial. Mathematically, orientation lives on a curved manifold with awkward properties:
rotation axes don’t commute
no single coordinate chart covers everything
interpolation is genuinely hard
singularities appear in any naïve parameterization
Yet engineering implicitly adopts a much cleaner ideal:
A rotation should update smoothly, interpolate cleanly, and compose predictably.
That assumption quietly commits us to smooth group structure, global behavior, and stable composition.
It’s the same pattern seen in quantum mechanics: assume linear evolution, and Schrödinger’s equation suddenly looks like it was waiting for you.
But the assumption came first.
2. Introduce quaternions. And suddenly the geometry cooperates
Hamilton’s quaternion algebra,
i² = j² = k² = ijk = −1
drops astonishingly well into the geometry of orientation. Unit quaternions live on the 3-sphere S³. Their multiplication composes rotations smoothly. Their logarithms generate infinitesimal rotations.
The fit is elegant — suspiciously elegant.
But it fits because we are already inside a conceptual architecture where:
we treat rotations as a Lie group
we want a global, nonsingular representation
we want geodesic interpolation
we want predictable numerical behavior
Inside that worldview, quaternions look inevitable. Outside it, they’re simply one option among many.
3. The double cover isn’t a physical requirement — it’s a geometric one
The space of physical orientations is SO(3): a curved manifold with a nontrivial topology. Mathematically, it cannot be represented globally without singularities.
Its smooth double cover — S³ equipped with quaternion multiplication — can.
Classical mechanics does not require this double cover; a 360° rotation is identical to doing nothing for virtually all classical purposes. But if you want:
global smoothness,
singularity-free parameterization,
well-behaved interpolation,
stable composition,
then working on S³ is not a metaphysical choice. It’s the mathematically natural one.
Not because physics demands it, but because your representational commitments do.
4. Hamilton discovered the right algebra — but not the meaning it would ultimately carry
This is the structural parallel with Schrödinger.
Schrödinger wrote the right equation for the wrong physical picture. Hamilton wrote the right algebra for the wrong geometric picture.
Hamilton believed quaternions were the geometry of physical space — a direct extension of complex numbers. That wasn’t correct. But it wasn’t meaningless either. He had found something real, just not the thing he thought he’d found.
And because he worked in pure mathematics — with no experimental pushback — nothing forced the interpretation to converge.
Meaning arrived instead from entirely different domains.
5. Gibbs, Cartan, aerospace, graphics: each world imposed new constraints
Different backgrounds reshaped quaternions in different ways:
Gibbs & Heaviside
Extracted the vector calculus classical physics actually needed. They didn’t overthrow quaternions; they decomposed Hamilton’s system into usable, orthogonal parts.
Cartan
Reinterpreted rotation through moving frames and differential geometry. In this view, the quaternion group law is just the smooth double cover of SO(3). No mysticism — just structure.
Aerospace (1960s onward)
Needed singularity-free attitude control. Euler angles failed. Axis-angle became awkward. S³ remained stable.
Floating-point behavior mattered — but so did the topology, the group structure, and the geometry.
Engineering didn’t invent quaternion meaning. Engineering selected it.
6. The alternatives exist — and they fail under the same constraints
This is the crux of “conditional inevitability”:
Euler angles: intuitive, catastrophic singularities (gimbal lock at ±90° pitch).
Rotation matrices: expressive but redundant (9 floats for 3 degrees of freedom).
Axis–angle: compact, awkward to compose or interpolate.
Rodrigues parameters: elegant, but blow up at 180°.
And here’s the concrete anchor:
A quaternion stores 4 floats; a rotation matrix stores 9, with 6 redundant nonlinear constraints that must be re-enforced after every update. A single rounding error pushes a matrix off the rotation manifold, while a quaternion’s only condition — unit length — is restored with one cheap normalization.
Under the constraints of:
global smoothness
stable composition
cheap inversion
predictable numerical drift
the design space collapses.
Mathematics allows many representations. Engineering eliminates most of them.
Quaternions don’t win by metaphysics. They win by elimination.
The Geometry of Inevitability
Left uses Euler angles (local coordinates). Right uses a quaternion view (global double cover).
Set Pitch near ±90°: the Euler side will visibly lose a degree of freedom (Yaw and Roll collapse).
Euler
⚠️ GIMBAL LOCK: YAW & ROLL COLLAPSE
Mapping: R = Rx(p)·Ry(y)·Rz(r)
Quat
✓ SMOOTH S³ MANIFOLD
q = [1.00, 0.00, 0.00, 0.00]
When gimbal lock triggers, the Euler cube will ignore Roll and fold it into Yaw (so two sliders drive one effective axis).
7. The inevitability is retrospective — exactly like Schrödinger’s
Once you assume:
S³ for smoothness
group structure for composition
great-circle interpolation
normalization for drift control
then quaternions look like the only reasonable representation of rotation.
But the inevitability is conditional:
geometry constrains the space of possibilities
engineering selects within that space
history later retells the survivor as obvious
This is the same pattern seen in quantum mechanics:
The equation is simple. The worldview that makes it simple is not.
Hamilton found an algebra. A century of constraints gave it meaning.
Conclusion: Quaternions are clean. Rotation is not.
Quaternions behave beautifully. They feel like the natural language of 3-D orientation.
But that sense of naturalness is produced by two forces:
mathematical constraint — the actual topology of SO(3)
engineering selection — the demands of computation, control, and stability
Quaternions survive because they satisfy both.
Not by destiny. Not by arbitrariness. By constraint.
They feel inevitable only because the worldview behind them isn’t.
And in that gap — where messy geometry meets tidy algebra — their meaning finally settled.
Why the same number can take a million terms to approximate—or just a handful.
Paul Higham
How hard is it to calculate π? It sounds like a reasonable question. It isn’t, until you say how you intend to do it.
One of the oldest formulas for π takes the alternating series 4 − 4/3 + 4/5 − 4/7 + … . It works, but grudgingly. Add a thousand terms and you are still some way from four correct decimal places. Another formula, discovered by John Machin in 1706, gives roughly 140 decimal places from a hundred terms. Modern formulas can produce more than fourteen new decimal digits per term.
All these formulas compute the same number. π has not changed. The mathematics used to reach it has.
There is a real principle here, and it belongs to complex analysis. Singularities constrain the convergence of power series. Analyticity governs Fourier coefficients and numerical integration. Functional identities can move a calculation from a poorly behaved representation to one that converges at extraordinary speed. But it would be a mistake to conclude that every constant has a fixed analytic speed limit. The speed belongs to the representation and the algorithm, not simply to the number.
Figure 1. One destination, very different routes
The diagram is conceptual. Term counts and computing costs depend on the formula and implementation; the constants at the right are identical.
1. First, decide what “fast” means
There are at least three different questions. How rapidly does the mathematical error shrink as you add terms? How much work does each term require? And how difficult is it to discover a representation with good behaviour in the first place?
These questions are easy to confuse. A series may need only ten terms but involve huge factorials and expensive high-precision divisions. Another may use simple arithmetic but require millions of terms. Sophisticated algorithms such as binary splitting can reorganise the calculation so that those factorial-like quantities are handled efficiently. Counting terms is useful, but it is not the same as counting bit operations or seconds on a computer.
We will first examine convergence: what happens to the error after N terms? Only then will we return to the cost of computation.
2. What singularities actually tell us
Complex analysis gives a clean explanation for the speed of a Taylor series. Suppose a function has an expansion around zero,
f(z) = a0 + a1z + a2z2 + ···
and is analytic on and inside a circle of radius R. If its absolute value on that circle is at most MR, Cauchy’s estimate says
|an| ≤ MRRn.
At a point |z| < R, the remainder after degree N is bounded by
|f(z) − SN(z)| ≤ MR (|z|/R)N+11 − |z|/R.
The important quantity is the ratio |z|/R. Well inside the disk, powers of that ratio fall away geometrically. Near its boundary, the estimate deteriorates. At the boundary itself it gives no useful guarantee. This is a theorem about a specific expansion centred at a specific point—not a theorem that the value of the function can never be computed faster by other means.1
That distinction makes all the difference when we come to π.
Figure 2. The singularities stay put; the evaluation point moves
The Taylor series for arctan(z) about zero has singularities at ±i. Move the point x along the real axis. The radius of convergence remains 1, but the powers of x become much smaller.
Bound on the remainder after 8 terms of arctan(x)
≤ 5.88 × 10⁻²
For 0 < x ≤ 1, the alternating-series bound is |remainder| ≤ x17/17. This illustration is about the error in arctan(x), not the scaled error in Machin’s formula.
3. π is not a slow constant
The Gregory–Leibniz series is familiar:
π = 4 ∑n=0∞(−1)n2n + 1 = 4(1 − ⅓ + ⅕ − ⅐ + ···).
It comes from the Taylor series for arctan(x), evaluated at x = 1. The nearest complex singularities of arctan(z) are at ±i, exactly on the boundary of the Taylor disk. The terms decay as 1/n, and the alternating-series bound gives an error below 4/(2N + 1) after N terms.
Now consider Machin’s identity:
π = 16 arctan15 − 4 arctan1239.
Insert the same Taylor series for arctan into this expression. The powers are now powers of 1/5 and 1/239, not powers of 1. Each extra term in the first expansion is smaller by roughly a factor of 25; terms in the second shrink faster still. No exotic new definition of π is required. An elementary identity has moved us to more favourable evaluation points.2
With N terms in each arctangent expansion, a convenient error bound is
|π − πN| ≤ 16·5−(2N+1) + 4·239−(2N+1)2N + 1.
Machin’s formula is not a trick that defeats complex analysis. Complex analysis explains why it works. What it defeats is the idea that the convergence rate of one Taylor series is a speed limit on the constant itself.
There is an even simpler reminder. The number e has the elementary expansion
e = ∑n=0∞1n!.
Its factorial denominators give convergence faster than any fixed geometric rate. Elementary mathematics is perfectly capable of producing a very fast series.
4. The same phenomenon appears with ζ(3)
Apéry’s constant is defined by
ζ(3) = 1 + 123 + 133 + 143 + ··· .
Its defining series is slow. After N terms the remaining positive tail is at most 1/(2N²), by the integral test. Multiplying the number of terms by ten only buys roughly two more decimal digits in the error bound.
But there is also the identity
ζ(3) = 52∑n=1∞(−1)n−1n3 · C(2n,n),
where C(2n,n) = (2n)!/(n!)² is the central binomial coefficient. This is often called an Apéry-type series. Since
C(2n,n) ∼ 4n√(πn),
its terms have size proportional to 4−nn−5/2. The error therefore falls geometrically, up to a polynomial factor.3
Here the contrast is particularly useful. The underlying constant is unchanged; we have not found a simpler closed form for it. We have found a better series.
Figure 3. Compare rigorous error bounds
Select a constant and move the term slider. The graph plots −log10(a proven upper bound on the truncation error). A height of 10 means the error is certified below 10−10. Larger is better.
Gregory seriesMachin identity
Gregory — certified error
—
Machin — certified error
—
These are mathematical truncation bounds, not results obtained by summing in machine precision. For π, N terms are used in each Machin arctangent series; for ζ(3), N terms are used in each displayed series. A negative value of −log10(bound) is displayed at zero on the chart.
5. What about the awkward constants?
Euler’s constant, γ, is a useful test. Its defining limit is
γ = limN→∞ (HN − log N),
where HN = 1 + 1/2 + ··· + 1/N. Taken literally, this converges slowly. Euler–Maclaurin corrections improve the approximation by cancelling successive powers of 1/N. Taken to higher order, they can be more powerful than the phrase “polynomial convergence” suggests.
And the defining limit is not the end of the story. The Brent–McMillan method uses Bessel functions to compute γ rapidly. A rigorously analysed version, used in arbitrary-precision software, has an error bounded by a quantity of order e−8m in its principal parameter m, after the requisite high-precision work.4 The pole of 1/x at zero does not impose a universal slow-convergence law on γ.
Catalan’s constant provides another revealing example:
G = ∑n=0∞(−1)n(2n+1)2.
Its obvious alternating series is slow, but Ramanujan gave the much faster representation
G = π8 log(2+√3) + 38∑n=0∞1(2n+1)2 · C(2n,n).
The binomial denominator again introduces geometric decay. This is not a rare exception; it is an example of precisely the change of representation we are trying to understand.5
None of this implies that all constants are equally easy to calculate. Some have better-known methods than others, and some algorithms are much more expensive to implement. It does mean we should be cautious before treating the slowness of a traditional definition as evidence of an intrinsic obstruction.
6. Why global structure can still matter enormously
So far, elementary identities have done much of the work. There is another source of speed: structure that relates a function to itself at quite different points.
Consider the trapezoidal rule. For an arbitrary nonsmooth function, it need not be especially impressive. For a periodic function analytic in a strip around the real axis, its convergence can be geometric. The reason is that analyticity forces rapid decay of its Fourier coefficients, and the trapezoidal rule samples those coefficients in a particularly favourable way. This is an established theorem, not merely a numerical curiosity.6
Modular forms offer an even more dramatic example. They obey transformation laws connecting values at different points in the upper half-plane. Their expansions use the quantity
q = e2πiτ, |q| = e−2π Im(τ).
When the imaginary part of τ is large, |q| is tiny. Terms containing qn then shrink geometrically at a remarkable rate. The coefficients multiplying these powers need not shrink; many grow. It is the smallness of q, together with the structure of the identity, that provides the numerical advantage.
This is the world in which Ramanujan’s and the Chudnovsky brothers’ formulas for π arise. The Chudnovsky series produces roughly fourteen decimal digits per term, a staggering improvement over Gregory’s series. Yet even here, “fourteen digits per term” is not the same thing as a total running-time estimate. Large-integer multiplication, precision management, and binary splitting determine the practical cost.7
Show the Chudnovsky formula for π
The following identity is one standard form; its sum appears in the denominator when solving for π:
Its convergence factor is extremely small, but it remains geometric in the series index (up to polynomial factors); it is not generally correct to describe the underlying Fourier or hypergeometric terms as superexponential.
The Bailey–Borwein–Plouffe formula for π illustrates something different again. It is a geometrically convergent base-16 series that permits the extraction of distant hexadecimal digits without calculating every preceding digit. That is not merely faster convergence; it is a different kind of computational access to the number.8
Figure 4. Where the actual improvement comes from
There is no single operation called “making a constant fast.” Several distinct mathematical steps may be involved.
Choose a representation
→
Find an identity or transformation
→
Expose faster decay
→
Evaluate efficiently
A transformation may improve convergence without making each term cheap. A clever implementation may improve runtime without changing the mathematical series at all.
7. The harder problem is finding the right representation
This brings us to the most interesting part of the subject. Once you have Machin’s identity, the convergence calculation is straightforward. Once you have a reciprocal-binomial identity for ζ(3), Stirling’s formula tells you how quickly its terms decrease. Once you have a modular identity in which q is tiny, its numerical potential is plain.
But where did those identities come from?
That question takes us beyond convergence estimates. It involves functional equations, algebraic transformations, special functions, number theory, and sometimes experimental mathematics. The BBP formula, for example, emerged from a search for integer relations among carefully selected constants. Its importance was not that someone had thought to add terms faster. The achievement was finding a previously hidden representation with a completely different computational property.8
One can think of the process as a change of coordinates, provided the phrase is used carefully. The same mathematical object is being described through another exact identity. Features that were concealed in one description become visible in another. A bad expansion asks the calculation to work near a boundary or through a slowly decaying tail. A good one moves it to a setting where the error collapses quickly.
This is also why numerical analysis does not reduce to complex analysis alone. Analytic structure may reveal an opportunity; an algorithm must still exploit it. The best formula on paper is not necessarily the fastest implementation at a million digits.
8. Can there be an intrinsic speed limit?
Possibly, but it would have to be a different sort of theorem.
To prove that a constant cannot be computed rapidly, you must first specify what an algorithm is allowed to do, how inputs are represented, and how computational work is measured. You would then need a lower bound applying to every algorithm in that model, not merely an upper bound on the error of one Taylor series.
Cauchy’s estimate does not deliver such a result. Neither does the distance to a singularity in one arbitrarily chosen defining function. And the existence of a slow series is no evidence that a much faster identity is impossible.
That is why it would be unsafe to predict, for example, that ζ(3) can never have an exponentially convergent elementary series. It already has one. It would be equally unsafe to infer from the definition of γ that every numerical method for it must be slow.
The solid conclusion is narrower, but more useful: analytic properties can determine the convergence of specified approximations, while exact transformations can radically alter which approximations are available.
A constant does not come with a preferred algorithm. Its difficulty can change when we learn how to describe it.
The history of π computation makes this visible because the contrasts are so large. But the underlying pattern appears across mathematics. Finding a representation that exposes the right structure can matter more than pushing the original calculation harder.
There is no general rule saying local structure is slow and global symmetry is fast. An entire function may give a superb elementary series; an unfortunate expansion of a well-behaved function may still be painfully slow. What matters is the relation between the analytic structure, the representation we choose, and the algorithm used to evaluate it.
The discovery is not that some constants are naturally fast and others naturally slow. It is that mathematical structure is often the difference between an approximation we can barely use and one that puts millions of digits within reach.
Why galaxies, web networks, optimization landscapes — and perhaps even chess — form clusters, and what those clusters reveal about the structure of the underlying system
Clumping looks universal.
Galaxies condense out of nearly uniform early-universe matter. PageRank concentrates probability on a handful of influential webpages. Combinatorial optimization problems produce dense pockets of near-solutions. Even chess positions seem to fall into plateaus and pits where evaluation changes slowly or chaotically.
The similarity is tempting — but misleading.
Across physics, networks, complexity theory, and even games, clumping is not a mechanism. It is a diagnostic: the visible footprint of something deeper.
The geometry of the low-eigenvalue modes of the operator governing a system determines where its clumps form, and what those clumps mean.
Some systems have a handful of smooth, dominant modes (gravity). Some have intermediate spectral bottlenecks (graphs). Some have dense, ungapped spectra (NP-hard optimization).
Each produces clumps — but for radically different reasons.
Understanding that spectrum tells us how predictable a system is, how compressible it is, how learnable it is — and how hard.
1. Why low modes are the unifying principle
Every system considered here has three ingredients:
A state space Density fields, directed graphs, bitstrings, chess positions.
A functional Gravitational potential; random-walk operator; Hamiltonian or cost function; value function of a game.
A flow rule Physical dynamics; Markov chain convergence; local search; neural evaluation.
Clumping occurs where this flow slows, accumulates, or fails to escape.
Across all these systems, such regions are controlled by small eigenvalues:
directions where the functional changes least,
nearly invariant subspaces under dynamics,
flat or marginal directions of the Hessian,
low-conductance sets in a graph,
rugged basins formed by many near-degenerate minima.
That is why low modes unify gravity, PageRank, spin glasses, and evaluation landscapes: they determine the shape, scale, and meaning of clumps.
2. Gravity: clumps from smooth, low-dimensional instabilities
(Jeans 1902; Binney & Tremaine)
Gravity is the canonical structured landscape.
A small density fluctuation in a fluid of density and sound speed satisfies the linear Jeans equation:
For long wavelengths such that , the frequency becomes imaginary and perturbations grow exponentially in time, signaling gravitational instability.
Worked example
Let and . Then
A 0.1% perturbation grows tenfold in under one Hubble time. Large-scale overdensities collapse into galaxies.
Interpretation
Gravity has very few dominant modes. Structure formation is governed by long-wavelength instabilities. The clumps are smooth, coherent, and predictable. The system is highly compressible.
3. Web networks: clumps from spectral bottlenecks
(Brin & Page 1998; Chung 1997; Cheeger 1970)
PageRank computes the stationary distribution v of the Google matrix:
PageRank does not use the graph Laplacian explicitly — but slow-mixing regions of the random walk correspond to:
nearly invariant subspaces of P,
which correspond to low-conductance sets,
which correspond to small Laplacian eigenvalues (via Cheeger’s inequality).
Thus clumping remains spectral, tied to bottlenecks in the graph.
Worked example
Construct two triangles connected by a single edge. Random walks mix rapidly within each triangle but leak slowly between them. The Laplacian’s second eigenvalue is small. PageRank assigns disproportionate mass to whichever cluster has stronger internal connectivity.
Interpretation
Clumps reveal topology, not physics. There are more modes than in gravity, fewer than in NP-hard landscapes. Compressibility is intermediate.
4. NP-hard optimization: clumps from rugged structure
Plot this objective over the hypercube . You obtain a landscape analogous to a spin glass:
exponentially many local minima,
barriers growing with dimension,
flat directions interspersed with sharp cliffs,
a dense spectrum of near-zero eigenvalues.
Worked example
Let and be random integers. Evaluating all configurations reveals:
many distinct local minima,
no dominant basin,
no coarse structure persisting across scales.
Interpretation
Clumping arises from too many competing minima. The system is maximally incompressible. Low modes are dense and uninformative. This is the opposite of gravity.
5. The compressibility spectrum
These systems lie along a single axis determined by their low-eigenvalue structure:
System
Operator
Low-mode structure
Basin geometry
Compressibility
Gravity
Poisson / Jeans
Few, smooth
Large coherent wells
High
Web graphs
Random walk
Moderate, topological
Community clusters
Medium
NP-hard
Discrete Hamiltonian
Dense, ungapped
Fragmented minima
Low
Principle
Few low modes → structured clumps (predictable)
Several low modes → spectral clumps (clusterable)
Many low modes → rugged clumps (hard)
6. Edge cases and transitions
Protein folding Smooth funnels mixed with glassy regions — a hybrid spectrum.