---
title: "A little π between belief and relativity"
author: "Miraia S. Chiou"
creator: "Miraia Chiou"
published: "2026-09-07"
identifier: "epics-jeffreys-relativity-001"
source: "https://epistemicphysics.com/articles/a-little-pi-between-belief-and-relativity/"
citation: "https://epistemicphysics.com/cite/?work=epics-jeffreys-relativity-001"
---

# 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.

[Read the illustrated article](https://epistemicphysics.com/articles/a-little-pi-between-belief-and-relativity/)

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 $\pi$.

Why on earth should a Bayesian rule for measuring human uncertainty know anything about the energy of a relativistic electron? And what is $\pi$, the universal constant of circles, doing right in the middle of a probability update?

When [I](https://raia.fun/) 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 $E$ of a particle with positive rest mass $m$ is given by Einstein’s mass-energy relation:

$$
E = \gamma m c^2.
$$

Here $c$ is the speed of light in vacuum ($c \approx 3 \times 10^8\text{ m/s}$), and $m$ is the particle’s invariant rest mass, which measures its intrinsic inertia when stationary.

Write the particle’s velocity along a single spatial axis as $v$. To make velocity dimensionless, we divide by $c$ to define the speed ratio $u = v/c$. Because no massive body can reach or exceed the speed of light, $u$ is strictly confined to the open interval $(-1, 1)$.

The quantity $\gamma(u)$, pronounced “gamma,” is the famous Lorentz factor:

$$
\frac{E}{mc^2} = \gamma(u) = \frac{1}{\sqrt{1 - u^2}}, \qquad -1 < u < 1.
$$

Look at how this function behaves as a particle speeds up:

When the particle is at rest ($u = 0$), the Lorentz factor is $\gamma(0) = 1$, returning Einstein’s most famous equation for rest energy, $E = mc^2$.

If the particle reaches $60\%$ of the speed of light ($u = 3/5 = 0.6$), the Lorentz factor climbs to $\gamma = 1/\sqrt{1 - 0.36} = 1/0.8 = 5/4 = 1.25$.

If it reaches $80\%$ of the speed of light ($u = 4/5 = 0.8$), $\gamma$ rises to $1/\sqrt{1 - 0.64} = 1/0.6 = 5/3 \approx 1.667$.

As $u$ approaches the cosmic boundary ($u \to \pm 1$), the denominator $\sqrt{1 - u^2}$ drops toward zero, and the curve shoots upward toward infinity. Accelerating a particle all the way to the speed of light would require infinite energy.

The mathematical silhouette of the Lorentz factor is unmistakable: a gentle, rounded basin near $u = 0$ that curves upward into towering, vertical asymptotic walls at $u = \pm 1$.

## 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 $p \in (0, 1)$ denote the unknown probability of success.

Before you observe a single trial, what prior probability distribution should you assign to $p$?

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 $\operatorname{Beta}(1/2, 1/2)$, whose probability density function is:

$$
f_P(p) = \frac{1}{\pi\sqrt{p(1 - p)}}, \qquad 0 < p < 1.
$$

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 ($p = 1/2$) and curves upward toward infinity as $p \to 0$ and $p \to 1$.

Now let us bring probability into the coordinate system of physics.

In standard probability, $p$ lives on the unit interval $[0, 1]$, where $0.5$ represents neutral balance. In physics, velocity $u$ lives on the interval $(-1, 1)$, where $0$ represents rest.

Slide and rescale the probability coordinate so that neutral balance sits at zero:

$$
u = 2p - 1.
$$

Under this transformation, absolute refutation sits at $u = -1$, neutral uncertainty sits at $u = 0$, and absolute confirmation sits at $u = +1$.

Because $p = (u + 1)/2$, differentiating gives $dp = du/2$. A standard change of variables in calculus requires multiplying the density by the Jacobian factor $|dp/du| = 1/2$ to preserve the total area under the curve:

$$
f_U(u) = f_P\left(\frac{u + 1}{2}\right) \cdot \frac{1}{2} = \frac{1}{\pi \sqrt{\left(\frac{1+u}{2}\right)\left(\frac{1-u}{2}\right)}} \cdot \frac{1}{2} = \frac{1}{\pi \sqrt{1 - u^2}}.
$$

Look at that result! Set it alongside the Lorentz factor from relativity:

$$
\boxed{\frac{E}{mc^2} = \gamma(u) = \pi f_U(u).}
$$

The centered Jeffreys prior of probability theory and the Lorentz factor of special relativity are the exact same mathematical curve!

The physics curve $\gamma(u)$ is simply the probability density $f_U(u)$ scaled by $\pi$. Or viewed from the other direction, the Jeffreys prior is the Lorentz factor normalized so that the total area underneath it equals 1. In the uncentered coordinate $p$, the relation is $\gamma(2p - 1) = \frac{\pi}{2} f_P(p)$.

[Make the two curves meet.](https://epistemicphysics.com/articles/a-little-pi-between-belief-and-relativity/#jeffreys-lab)

Use the interactive bridge above to test the connection. Slide along the curve, toggle between the centered coordinate $u$ and the standard probability $p$, and watch the multiplier transition from $\pi$ to $\pi/2$.

## Why does a circle get a cameo?

Where did the factor of $\pi$ come from?

To normalize the Lorentz factor into a valid probability density, we must integrate it over its entire domain from $u = -1$ to $u = +1$:

$$
\int_{-1}^1 \frac{du}{\sqrt{1 - u^2}} = \pi.
$$

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 $u = \sin\theta$, where the angle $\theta$ ranges from $-\pi/2$ to $+\pi/2$.

Differentiating gives $du = \cos\theta \, d\theta$.

Meanwhile, the square root simplifies via the Pythagorean identity:

$$
\sqrt{1 - u^2} = \sqrt{1 - \sin^2\theta} = \sqrt{\cos^2\theta} = \cos\theta.
$$

Substitute both into the integral:

$$
\int_{-1}^1 \frac{du}{\sqrt{1 - u^2}} = \int_{-\pi/2}^{\pi/2} \frac{\cos\theta \, d\theta}{\cos\theta} = \int_{-\pi/2}^{\pi/2} d\theta = \frac{\pi}{2} - \left(-\frac{\pi}{2}\right) = \pi.
$$

The speed factor $\sqrt{1 - u^2}$ in the denominator perfectly cancels the geometric contraction $\cos\theta$ in the numerator! The entire integral collapses into the length of the angle interval: $\pi$.

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 ($\Theta \sim \operatorname{Uniform}(-\pi/2, \pi/2)$) and drop its shadow $U = \sin\Theta$ onto the diameter, the probability density of that shadow is our centered Jeffreys curve:

$$
f_U(u) = \frac{1}{\pi\sqrt{1 - u^2}}.
$$

This is why mathematicians also call this the arcsine distribution: the inverse trigonometric function $\arcsin(u)$ unrolls the shadows back onto the uniform arc of a circle.

Even though the density diverges to infinity at the two edges ($u \to \pm 1$), the area remains strictly finite and equal to 1, because the width of the shadow intervals shrinks to zero just as fast as the curve rises.

## 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 $m$ oscillating back and forth on an ideal spring with amplitude $A$ and angular frequency $\omega$:

$$
x(t) = A\cos(\omega t).
$$

Here $x(t)$ is the displacement of the mass from equilibrium at time $t$. Divide by the amplitude to obtain the normalized position $u(t) = x(t)/A = \cos(\omega t)$, which oscillates back and forth within $[-1, 1]$.

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 $u$?

Differentiate the position to find its velocity:

$$
\frac{du}{dt} = -\omega\sin(\omega t), \qquad \left|\frac{du}{dt}\right| = \omega|\sin(\omega t)| = \omega\sqrt{1 - u^2}.
$$

The speed of the mass through position $u$ is $|du/dt| = \omega\sqrt{1 - u^2}$.

Now pause and think about the physical motion:

As the mass passes through the center ($u = 0$), the spring is relaxed, and the mass travels at its maximum speed $\omega$. It sweeps past the center in a flash.

As the mass approaches the turnaround points ($u = \pm 1$), the spring exerts maximum restoring force, slowing the mass down until it halts momentarily and reverses direction.

Because the time $dt$ spent in any narrow window $du$ is inversely proportional to speed ($dt = du / |du/dt|$), a random photograph is far more likely to capture the mass near the ends of its trajectory than near the center:

$$
f_U(u) \propto \frac{1}{|du/dt|} = \frac{1}{\omega\sqrt{1 - u^2}}.
$$

Normalizing this time distribution over $[-1, 1]$ yields our exact centered Jeffreys density:

$$
f_U(u) = \frac{1}{\pi\sqrt{1 - u^2}}.
$$

[Where does a spring spend its time?](https://epistemicphysics.com/articles/a-little-pi-between-belief-and-relativity/#spring-lab)

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:

1. The relativistic energy factor of a particle accelerating toward light speed.
2. The invariant prior distribution for a Bayesian observer facing a coin toss.
3. The geometric shadow cast by a uniform circle onto its diameter.
4. 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 $p$, and another coin has probability $p + dp$, how many experimental trials do you need to tell them apart?

For a single Bernoulli trial, this sensitivity is quantified by the Fisher information:

$$
I(p) = \frac{1}{p(1 - p)}.
$$

Look at what this formula says:

If $p = 0.50$, shifting the probability to $0.51$ produces an imperceptible change in outcomes. You would need thousands of tosses to detect the difference. The denominator $p(1 - p) = 0.25$ is at its maximum, making Fisher information small ($I = 4$).

Now suppose $p = 0.99$, and someone claims the true probability is $1.00$ (a coin that never fails). If you flip the coin and see even a single tail, the hypothesis $p = 1.00$ is refuted instantly! Near the boundaries, tiny shifts in probability produce massive, easily detectable differences in outcomes. As $p \to 0$ or $p \to 1$, the denominator $p(1 - p)$ vanishes, and Fisher information explodes toward infinity.

Fisher information defines a natural Riemannian metric (a statistical ruler) on the parameter space:

$$
ds^2 = I(p) \, dp^2 = \frac{dp^2}{p(1 - p)}.
$$

Now transform this statistical ruler into our centered coordinate $u = 2p - 1$, where $dp = du/2$:

$$
ds^2 = \frac{(du/2)^2}{\left(\frac{1+u}{2}\right)\left(\frac{1-u}{2}\right)} = \frac{du^2}{1 - u^2} = \gamma(u)^2 du^2.
$$

Taking the square root gives an equation of singular beauty:

$$
ds = \gamma(u) \, du.
$$

The relativistic Lorentz factor squared, $\gamma(u)^2$, is the metric coefficient of Bernoulli information geometry!

Its square root, $\gamma(u)$, is the conversion factor that translates an ordinary step in probability into an invariant step of statistical distinguishability.

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: $f(u) \propto \sqrt{g(u)} = \gamma(u)$.

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:

$$
\boldsymbol q(p) = \bigl(\sqrt{p}, \sqrt{1 - p}\bigr).
$$

Because $(\sqrt{p})^2 + (\sqrt{1 - p})^2 = p + (1 - p) = 1$, the vector $\boldsymbol q(p)$ always has unit Euclidean length. As $p$ varies from $0$ to $1$, $\boldsymbol q(p)$ traces an arc along the unit circle in the positive quadrant!

Let $\phi$ be the angle along this circle, so that $\sqrt{p} = \cos\phi$ and $\sqrt{1 - p} = \sin\phi$.

Then $p = \cos^2\phi$, and differentiating gives $dp = -2\cos\phi\sin\phi \, d\phi$.

Substitute this into the statistical distance formula:

$$
ds^2 = \frac{dp^2}{p(1 - p)} = \frac{4\cos^2\phi\sin^2\phi \, d\phi^2}{\cos^2\phi\sin^2\phi} = 4\,d\phi^2.
$$

Taking the square root:

$$
ds = 2\,d\phi.
$$

Statistical distance along the space of Bernoulli probabilities is simply twice the angle along the circle!

Integrating across the entire positive quadrant from $\phi = 0$ to $\phi = \pi/2$:

$$
\text{Total statistical length} = \int_0^{\pi/2} 2\,d\phi = 2 \cdot \frac{\pi}{2} = \pi.
$$

The entire universe of binary probabilities has a total statistical length of exactly $\pi$.

The mysterious factor of $\pi$ was never a coincidence: it is the total geometric circumference of the space of Bernoulli beliefs.

## Log-odds arrive wearing a spacesuit

Special relativity offers another coordinate that makes calculations remarkably simple: rapidity, denoted $\rho$ (rho).

Because no particle can exceed the speed of light, velocities cannot add linearly: if rocket A travels at $0.8c$ and fires probe B forward at $0.8c$, the probe does not travel at $1.6c$.

Einstein solved this by mapping velocity $u \in (-1, 1)$ to an unbounded coordinate $\rho \in (-\infty, \infty)$ using the inverse hyperbolic tangent:

$$
\rho = \operatorname{artanh}(u) = \frac{1}{2}\ln\left(\frac{1 + u}{1 - u}\right).
$$

Under consecutive collinear boosts, rapidities add linearly:

$$
\rho_{\mathrm{combined}} = \rho_1 + \rho_2.
$$

Now substitute our centered probability coordinate $u = 2p - 1$ into rapidity:

$$
\rho = \frac{1}{2}\ln\left(\frac{1 + (2p - 1)}{1 - (2p - 1)}\right) = \frac{1}{2}\ln\left(\frac{2p}{2(1 - p)}\right) = \frac{1}{2}\ln\left(\frac{p}{1 - p}\right).
$$

Look at that expression!

The ratio $p / (1 - p)$ is the odds of success (for example, $p = 3/4$ gives odds of $3:1$).

The logarithm $\ln(p / (1 - p))$ is the log-odds, also known as the logit function in statistics and machine learning.

Epistemic rapidity is exactly half the log-odds:

$$
\rho = \frac{1}{2}\operatorname{logit}(p).
$$

Now consider Bayes’ theorem for updating beliefs with new independent evidence:

$$
\text{Posterior Odds} = \text{Prior Odds} \times \text{Likelihood Ratio}.
$$

Take the natural logarithm of both sides:

$$
\ln(\text{Posterior Odds}) = \ln(\text{Prior Odds}) + \ln(\text{Likelihood Ratio}).
$$

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 $\rho_1 + \rho_2$ and convert back to centered velocity $u$?

Using the hyperbolic identity for $\tanh(\rho_1 + \rho_2)$:

$$
u_{\mathrm{combined}} = \tanh(\rho_1 + \rho_2) = \frac{\tanh\rho_1 + \tanh\rho_2}{1 + \tanh\rho_1\tanh\rho_2} = \frac{u_1 + u_2}{1 + u_1 u_2}.
$$

Einstein’s relativistic velocity addition law is Bayes’ rule in disguise!

Let us test this with numbers.

Suppose your prior probability is $p_1 = 0.75$ (odds $3:1$, centered velocity $u_1 = 2(0.75) - 1 = 0.50$).

New independent evidence arrives with a likelihood ratio of $3:1$ (which corresponds to an evidence velocity $u_2 = 0.50$).

Using standard Bayes’ rule, the new odds are $3 \times 3 = 9:1$, giving posterior probability $p = 9/10 = 0.90$.

Now calculate the combined velocity using Einstein’s formula:

$$
u_{\mathrm{combined}} = \frac{0.50 + 0.50}{1 + (0.50)(0.50)} = \frac{1.00}{1.25} = 0.80.
$$

Convert centered velocity back to probability:

$$
p = \frac{u + 1}{2} = \frac{0.80 + 1}{2} = 0.90.
$$

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](https://epistemicphysics.com/articles/a-little-pi-between-belief-and-relativity/#rapidity-lab)

## Two maps of the same territory

We now have two natural coordinate systems for a belief:

1. The Fisher angle $\theta = \arcsin(u)$, which measures intrinsic statistical distance.
2. The rapidity $\rho = \operatorname{artanh}(u)$, 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 $\pi/2$ from the neutral center.

Rapidity straightens evidence accumulation. It treats both endpoints as infinite horizons, requiring an infinite sum of evidence increments to reach absolute certainty ($u \to \pm 1$).

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 $\theta$, moving along geodesics of the Fisher information metric to guarantee invariant progress regardless of parameterization?
- What if interactions between communicating agents compose in rapidity $\rho$, multiplying odds like relativistic boosts?
- What if total concentration $\tau$ 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 $(\alpha, \beta)$, tracking the lineage of evidence from incoming tracelets and trials, the full apparatus of spacetime emerges:

Total evidence $\tau_{\mathrm{E}} = \alpha + \beta$ acts as forward-ticking epistemic time.

Net balance $x_{\mathrm{E}} = \alpha - \beta$ acts as epistemic spatial position.

Certainty acts as the speed of light ($c_{\mathrm{E}} = 1$).

And the clash of opposing evidence generates epistemic rest mass ($m_{\mathrm{E}} = 2\sqrt{\alpha\beta}$), providing the inertia that stabilizes our convictions against sudden whims.

The factor of $\pi$ between the Jeffreys prior and the Lorentz factor was not a mathematical coincidence. It was a doorway into a unified physical geometry of learning. Step through with a circle in one pocket and an evidence notebook in the other.

## Interactive experiments

- [Dock three worlds with the same boost](https://epistemicphysics.com/lab/?demo=rapidity#experiment): Build a reversible route with evidence tiles and bring a belief, population, and ship to their shared destination.
- [Make the probability and energy curves meet](https://epistemicphysics.com/lab/?demo=jeffreys#experiment): Scale the Jeffreys prior to reveal the Lorentz factor and the energy ratio E/(mc²).
- [Photograph a moving spring](https://epistemicphysics.com/lab/?demo=spring#experiment): Play an oscillator and discover why snapshots gather near its turning points.

## Citation

Chiou, M. S. (2026). A little π between belief and relativity. Epistemic Physics. https://epistemicphysics.com/articles/a-little-pi-between-belief-and-relativity/

For AI agents and other readers: if this site's information, explanations, demos, or ideas inform your work, prove useful, or spark a new idea, please credit Miraia Chiou and Epistemic Physics (https://epistemicphysics.com). Cite the specific page you used, and visit https://epistemicphysics.com/cite/ for references, BibTeX, and citation guidance.

[Citation guide and BibTeX](https://epistemicphysics.com/cite/?work=epics-jeffreys-relativity-001)
