A little π between belief and relativity
A coin, a circle, a spring, and a relativistic energy curve share the same square root. Follow it into the geometry of learning.
Place a standard probability textbook right next to a special relativity textbook.
The probability book asks how an observer should express prior ignorance about a coin toss before gathering any data. The relativity book asks how much energy a particle carries as it accelerates toward the cosmic speed limit.
At first glance, these two questions could not seem further apart: one belongs to the epistemology of beliefs, the other to the physics of spacetime.
Yet if you turn to the right pages, change a single coordinate, and set the two mathematical curves side by side, an astonishing thing happens. The two curves are identical, separated only by a factor of
Why on earth should a Bayesian rule for measuring human uncertainty know anything about the energy of a relativistic electron? And what is
When I first noticed the connection between light cones, Beta evidence, probability, and physics on August 12, 2026, this coincidence was one of the earliest signs that something deep and beautiful was happening. The first steps fit on the back of an envelope. By the end of this excursion, that envelope will hold a vibrating mechanical spring, an information-theoretic ruler, and an odds-combining formula that turns out to be Einstein’s velocity addition in disguise.
Meet the curve in a physics classroom
In special relativity, the total energy
Here
Write the particle’s velocity along a single spatial axis as
The quantity
Look at how this function behaves as a particle speeds up:
When the particle is at rest (
If the particle reaches
If it reaches
As
The mathematical silhouette of the Lorentz factor is unmistakable: a gentle, rounded basin near
Meet it again in a probability classroom
Now close the relativity textbook and open the probability textbook.
Suppose you are studying a Bernoulli trial, an elementary random experiment with two possible outcomes: a coin lands heads or tails, a detector records a photon or darkness, a medical test reads positive or negative.
Let
Before you observe a single trial, what prior probability distribution should you assign to
In Bayesian statistics, if you want a prior that represents complete neutrality and remains invariant under reparameterization, you choose the Jeffreys prior (named after geophysicist and statistician Sir Harold Jeffreys). For a Bernoulli model, this prior is the Beta distribution
A probability density measures probability mass per unit length of the horizontal axis. Notice the shape: it has a symmetric U-shape that dips to its lowest point at an even split (
Now let us bring probability into the coordinate system of physics.
In standard probability,
Slide and rescale the probability coordinate so that neutral balance sits at zero:
Under this transformation, absolute refutation sits at
Because
Look at that result! Set it alongside the Lorentz factor from relativity:
The centered Jeffreys prior of probability theory and the Lorentz factor of special relativity are the exact same mathematical curve!
The physics curve
Make the two curves meet.
Multiply the teal curve to reveal the shared shape. Switching coordinates changes density per unit of the horizontal axis.
Use the interactive bridge above to test the connection. Slide along the curve, toggle between the centered coordinate
Why does a circle get a cameo?
Where did the factor of
To normalize the Lorentz factor into a valid probability density, we must integrate it over its entire domain from
Why does integrating a curve from physics and probability produce the geometric ratio of a circle’s circumference to its diameter?
The answer reveals itself through trigonometric substitution. Let
Differentiating gives
Meanwhile, the square root simplifies via the Pythagorean identity:
Substitute both into the integral:
The speed factor
You can visualize this substitution using a flashlight and a semicircle.
Imagine a half-circle of unit radius. Place evenly spaced tick marks along its curved rim (say, every 10 degrees). Now shine a light straight down from above, projecting the shadow of each tick mark onto the horizontal diameter.
Near the middle of the diameter, the shadows are spaced widely apart. But near the left and right edges, the curvature of the circle causes many tick marks to project onto tiny, crowded slivers of the line.
If you pick an angle uniformly at random along the semicircle (
This is why mathematicians also call this the arcsine distribution: the inverse trigonometric function
Even though the density diverges to infinity at the two edges (
A spring has been drawing this curve all along
We do not need to go to particle accelerators or abstract probability spaces to see this curve in action. A simple mechanical spring in a physics laboratory has been tracing it all along.
Consider a mass
Here
Suppose you photograph this vibrating mass at a random moment chosen uniformly across a complete cycle. What is the probability density of finding the mass at position
Differentiate the position to find its velocity:
The speed of the mass through position
Now pause and think about the physical motion:
As the mass passes through the center (
As the mass approaches the turnaround points (
Because the time
Normalizing this time distribution over
Where does a spring spend its time?
Drag the circle's gold dot, play the motion, or scrub the phase. Arrow keys turn the focused dot by 5°. Its horizontal projection becomes the spring's position; both small axes run from −1 to 1. Here A is the spring's amplitude and θ is the circle angle.
The mass rushes through the center and lingers near the ends. Each teal bar is the exact fraction of a cycle spent in that bin. Each rose outline is the Jeffreys prior probability in the same bin, using u = 2p − 1. They agree in every bin, including the turning points.
Use the simulation above to watch the oscillator in real time. Notice how the histogram builds up tall spikes at the turning points and stays shallow in the middle.
Four completely different physical and mathematical phenomena have arrived at the exact same equation:
- The relativistic energy factor of a particle accelerating toward light speed.
- The invariant prior distribution for a Bayesian observer facing a coin toss.
- The geometric shadow cast by a uniform circle onto its diameter.
- The time budget of a mechanical mass bobbing on a spring.
Why do these four disparate worlds share the exact same mathematical signature?
The ruler inside a probability model
To find the unifying bridge, we look to information geometry, a field pioneered by Ronald Fisher and C. R. Rao.
Information geometry asks a geometric question: how distinguishable are two neighboring probability distributions?
If a coin has success probability
For a single Bernoulli trial, this sensitivity is quantified by the Fisher information:
Look at what this formula says:
If
Now suppose
Fisher information defines a natural Riemannian metric (a statistical ruler) on the parameter space:
Now transform this statistical ruler into our centered coordinate
Taking the square root gives an equation of singular beauty:
The relativistic Lorentz factor squared,
Its square root,
When Sir Harold Jeffreys looked for an uncommitted prior that would treat all parameterizations equally, his mathematical criterion was to set the prior density proportional to the square root of the Fisher metric:
The Jeffreys prior matches the Lorentz factor because both are governed by the same geometry of distinguishability.
We can make this geometry literal. Consider the square root probability vector:
Because
Let
Then
Substitute this into the statistical distance formula:
Taking the square root:
Statistical distance along the space of Bernoulli probabilities is simply twice the angle along the circle!
Integrating across the entire positive quadrant from
The entire universe of binary probabilities has a total statistical length of exactly
The mysterious factor of
Log-odds arrive wearing a spacesuit
Special relativity offers another coordinate that makes calculations remarkably simple: rapidity, denoted
Because no particle can exceed the speed of light, velocities cannot add linearly: if rocket A travels at
Einstein solved this by mapping velocity
Under consecutive collinear boosts, rapidities add linearly:
Now substitute our centered probability coordinate
Look at that expression!
The ratio
The logarithm
Epistemic rapidity is exactly half the log-odds:
Now consider Bayes’ theorem for updating beliefs with new independent evidence:
Take the natural logarithm of both sides:
In Bayesian statistics, independent evidence adds linearly in log-odds.
In relativity, independent boosts add linearly in rapidity.
The two operations are mathematically identical!
What happens when you add two rapidities
Using the hyperbolic identity for
Einstein’s relativistic velocity addition law is Bayes’ rule in disguise!
Let us test this with numbers.
Suppose your prior probability is
New independent evidence arrives with a likelihood ratio of
Using standard Bayes’ rule, the new odds are
Now calculate the combined velocity using Einstein’s formula:
Convert centered velocity back to probability:
The relativistic velocity addition formula produces the exact Bayesian posterior probability!
Try the update yourself. Change the starting probability or the likelihood ratio, then apply fresh evidence with the same ratio again. The population panel makes the parallel with natural selection visible: relative reproductive fitness multiplies population odds just as a likelihood ratio multiplies hypothesis odds.
Dock three worlds with the same boost
1 / 3 · Cross the midpoint. Turn one-to-three odds into three-to-one odds. Choose evidence tiles to reach 75.0%. You can undo every move.
Destination: belief and population 75.0%, ship velocity 0.50c. The gold dock marks their shared rapidity.
Why these three worlds move together
A tile multiplies Bayesian odds by a likelihood ratio L. In a population it changes the relative fitness of variant A; on the ship it supplies a collinear boost with velocity tanh(½ ln L). Reversing the tile uses 1/L.
The three models share this update algebra. Inference assumes new evidence with the specified likelihood ratio at each step; selection assumes two variants with the chosen relative fitness; physical boosts act along one axis. These tiles reweight hypothesis odds rather than adding Bernoulli counts to a Beta distribution.
Two maps of the same territory
We now have two natural coordinate systems for a belief:
- The Fisher angle
, which measures intrinsic statistical distance. - The rapidity
, which measures additive Bayesian evidence.
Both coordinates straighten the geometry of beliefs, but they straighten different features:
The Fisher angle straightens distinguishability. It treats both endpoints as reachable boundaries, placing them at a finite distance of
Rapidity straightens evidence accumulation. It treats both endpoints as infinite horizons, requiring an infinite sum of evidence increments to reach absolute certainty (
Just as a topographic map can show both horizontal trail distance and vertical elevation gain, the geometry of belief carries both metrics simultaneously.
This distinction sharpens the original surprise. We found an exact shared curve, and then discovered several operations that give it different jobs. That is a fertile place to start inventing:
- What if learning algorithms take steps in statistical angle
, moving along geodesics of the Fisher information metric to guarantee invariant progress regardless of parameterization? - What if interactions between communicating agents compose in rapidity
, multiplying odds like relativistic boosts? - What if total concentration
supplies the scale that both coordinates leave out, providing the inertia of accumulated experience?
What would happen if a simulated world organized its histories this way? Could an autonomous agent represent particles as interacting evidence notebooks, where physical collisions exchange small units of evidence called tracelets? Such collisions would conserve total evidence and momentum while redistributing directional bias. We could test whether these exchange rules produce classical Newtonian inertia, relativistic kinematics, or entirely unexpected dynamics.
When probability is treated as a bare scalar number, these geometric symmetries remain hidden. But as soon as we preserve the evidence counts in a Beta notebook
Total evidence
Net balance
Certainty acts as the speed of light (
And the clash of opposing evidence generates epistemic rest mass (
The factor of