The Reality Equation: Measuring Surprise

Measurement, as a principle, is always a ratio of two quantities. In physics, you might measure speed as distance divided by time; in our framework, the Reality Equation measures surprise as the ratio of Actual to Expected outcomes:

R=\frac{A}{E}

Here, \(A\) is the Actual outcome, and \(E\) is the Expected outcome. This ratio tells us, in pure proportional terms, how reality compares to prediction.


Why the natural log belongs

Ratios compound multiplicatively over time. To make them additive — so that multiple experiences can be summed — we take the natural log. This follows the same logic Claude Shannon used in defining self-information in 1948:

S=\ln\left(\frac{A}{E}\right)

Shannon’s formula for the information content of an event with probability \(p\) is:

I=-\ln p

By identifying the Reality ratio \(\frac{A}{E}\) with an odds-like factor, we use the log to translate multiplicative differences into an additive measure of surprise.

  • S>0 : Positive (pleasant) surprise
  • S=0 : No surprise
  • S<0 : Negative (unpleasant) surprise

Logs naturally match continuous growth/decay, entropy, and information gain — all of which align with our scale for experience.

“Self-information” I=-\ln p — C. E. Shannon, A Mathematical Theory of Communication (1948)


The Complex Form of Expectation

We model the Expected outcome \(E(t)\) as a complex signal with two components:

E(t)=\rho(t)e^{i\theta(t)}

  • \(\rho(t)\) — magnitude (prediction confidence)
  • \(\theta(t)\) — phase (idea influence)

The Reality ratio in this form is:

R(t)=\frac{A}{E(t)}=\frac{1}{\rho(t)}e^{-i\theta(t)}


Four Classroom-Useful Readouts

  1. Surprise: S(t)=-\ln\rho(t)
  2. Phase (side): \phi(t)=-\theta(t)
  3. Intensity rate: \alpha(t)=-\frac{\dot{\rho}(t)}{\rho(t)}
  4. Angular velocity: \omega(t)=-\dot{\theta}(t)

Desire and the Idea’s Influence

An Idea has an Ideal outcome \(I\) — the imaginary component of the Expected outcome — which may differ from Actual \(A\). If Actual is not Ideal, the Idea works to adjust the Predicted outcome (real component of \(E\)) so that \(E\) is more like \(I\) than \(A\).

This substitution — replacing \(A\) with \(I\) in the numerator — creates the Desired Outcome:

S_{\mathrm{desired}}=\ln\left(\frac{I}{E}\right)

The measurable influence of the Idea on its host is then:

\Delta S=S_{\mathrm{desired}}-S=\ln\left(\frac{I}{A}\right)

When \(\Delta S\) is large, the Idea’s pull on the host is strong; when small, the Idea’s influence is weak.


Why This Matters

By combining the Reality ratio with the natural log, we can measure surprise in a way that is both additive and meaningful. Adding the dimension of Desire lets us quantify not just what happened versus what was expected, but how strongly an Idea tries to bend the host’s perception of reality toward its own ideal.

Author: John Rector

John Rector is a Charleston-based entrepreneur, author, and AI strategist. He co-founded E2open, the supply-chain software company acquired for $2.1 billion in 2025, and in 2026 opened Charleston AI, a 3,000-square-foot lab that helps people and organizations understand and use artificial intelligence. He is the creator of The Reality Equation — a lecture series, book, and curriculum exploring attention, prediction, and how reality is experienced — and the author of more than two dozen books. He writes and speaks widely on artificial intelligence, attention, and the future of human work.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from John Rector

Subscribe now to keep reading and get access to the full archive.

Continue reading