FROM N TO ONE
A Compression Atlas of Mathematics & Physics
(how the whole stack unwinds from the messiest details back to the first clean axioms)
Front Matter
Dedication
To anyone who ever felt dumb staring at a page of symbols.
This book is written in reverse, because that’s how humans actually learn: we start with what we can touch, then we compress.
What this book is
A single, continuous “unwinding” of math and physics:
- We begin at N: the real, noisy world—devices, measurements, simulations, experiments.
- We run repeated compression passes (each pass explains “what you actually needed”).
- We end at 1: a small set of primitives—axioms, symmetry, counting, inference, and the idea of constraint.
You’ll never be asked to “just accept” a formula first.
Instead: you’ll see why the formula was invented and what problem forced it into existence.
How to read
Three lanes:
- Lane A (Story lane): the world and why anything matters.
- Lane B (Tool lane): the math and physics that actually does the work.
- Lane C (Bedrock lane): what that tool compresses down to (the minimal idea underneath).
Each chapter ends with a Compression Ledger:
- Inputs: what the world demanded
- Tool: what we built to meet the demand
- Invariant: what stayed true
- Loss: what we deliberately threw away (approximation)
- Return: what remained as “first-ish” principles
Table of Contents (Reverse)
Part N — The World, As Built
- Signals, screens, GPS, MRI, rockets, markets, weather
- Data, noise, uncertainty, error bars, calibration
- Simulation: why computers can “predict” anything at all
- Control: how we steer systems that would otherwise diverge
- Measurement: what it means to know a number in reality
Part N−1 — The Engines Under the Hood
- Calculus as “how change costs”
- Linear algebra as “how structure moves”
- Probability as “how ignorance behaves”
- Optimization as “how systems choose”
- Differential equations as “how constraints flow”
Part N−2 — Physics as Compression
- Conservation laws: what refuses to change
- Symmetry: the secret author of laws
- Classical mechanics: the first machine-language
- Electromagnetism: fields as real bookkeeping
- Thermodynamics: the law of irreversible accounting
- Quantum: amplitudes as the only honest currency
- Relativity: geometry forced by light
- Fields, particles, and the Standard Model as symmetry made flesh
Part 2 — Mathematics as a Single Machine
- Functions: maps with consequences
- Spaces: where things can live
- Limits: how infinity becomes usable
- Groups: symmetry in pure form
- Measures: “how much” without counting
- Information: the cost of describing truth
- Logic: proof as permitted transformation
Part 1 — First Things
- Sets, types, construction rules
- Axioms, inference, and what “definition” really means
- The primal triangle: constraint / compression / selection
- The final reduction: why anything is predictable at all
PART N — The World, As Built
Chapter 1: The phone in your hand
A phone is a physics museum pretending to be a rectangle.
It works because reality lets you do four things reliably:
- Store distinguishable states (memory)
- Transform states predictably (logic)
- Transmit states through space (signals)
- Correct errors faster than they accumulate (stability)
Everything in this book is the story of those four permissions.
Lane A: What you see
- Touchscreen: glass registers your finger
- Camera: photons become numbers
- GPS: time becomes distance
- Battery: chemistry becomes voltage
- CPU: patterns become other patterns
Lane B: What you actually need
- Fields (electromagnetism) to explain signals and sensors
- Quantum to explain semiconductors and light detection
- Relativity to explain GPS timing offsets
- Thermodynamics to explain why batteries degrade and heat matters
- Linear algebra + calculus to describe and control all of it
- Probability because measurements are never perfect
Lane C: What that compresses down to
Almost all device physics is:
- constraints (what’s allowed),
- rates of change (how it evolves),
- invariants (what’s conserved),
- noise (what you didn’t model).
Compression Ledger
- Inputs: signals, sensing, timing, heat, errors
- Tool: fields + quantum + relativity + stats
- Invariant: conservation & symmetry
- Loss: “perfect measurement,” “exact isolation,” “no noise”
- Return: predictable change under constraints
Chapter 2: Measurement is not truth (it’s a contract)
When you measure something, you don’t obtain reality.
You obtain a number with a provenance.
Every real number you meet in science is really:
- a procedure,
- a device,
- a calibration chain,
- an uncertainty,
- and a model that says “this is what the device means.”
So before equations, we need the ethics of numbers: error bars.
What an error bar is
An error bar says:
“Here’s what I think the quantity is, and here’s how wrong I could be, given how I looked.”
That single idea forces probability theory into physics.
Compression Ledger
- Inputs: imperfect instruments, drift, bias
- Tool: statistics, estimation, uncertainty propagation
- Invariant: repeatability beats certainty
- Loss: the fantasy of exactness
- Return: knowledge = constrained belief
Chapter 3: Prediction is compression
To predict, you must throw information away.
A weather model does not simulate every molecule.
It simulates the few features that dominate at the scale you care about.
This is the first appearance of a universal law of modelling:
A model is a compression that preserves the invariant you care about.
This is why the book is backwards: physics is the art of choosing what not to track.
Compression Ledger
- Inputs: too many degrees of freedom
- Tool: averaging, coarse-graining, effective theories
- Invariant: conserved quantities, symmetries, stability regimes
- Loss: microscopic detail
- Return: scale + invariants = law
PART N−1 — The Engines Under the Hood
Chapter 6: Calculus is bookkeeping for change
Forget the school definition. Here’s the real one:
Calculus is the language of “how a small change costs.”
- Derivative: local rate (how steep reality is here)
- Integral: accumulated cost (what it totals over a path)
You invent calculus the moment you need:
- speed from position,
- energy from force,
- probability mass over a range,
- error accumulation over time,
- area, volume, flux, work.
This is why physics speaks calculus: the universe is a machine of continuous change.
Compression Ledger
- Inputs: motion, flow, accumulation
- Tool: limits → derivatives/integrals
- Invariant: locality (small changes compose)
- Loss: exactness at a point (you take limits)
- Return: change has structure
Chapter 7: Linear algebra is structure that survives transformation
Linear algebra is not “matrices.” It’s this:
When a system is too big to see, find the directions that behave simply.
Eigenvectors are “directions that don’t get scrambled.”
That’s why:
- quantum states,
- vibrations,
- circuits,
- data compression,
- PDE solutions,
- stability analysis all reduce to linear algebra.
Compression Ledger
- Inputs: many coupled variables
- Tool: vector spaces, linear maps, eigen-structure
- Invariant: superposition (when it applies)
- Loss: nonlinearity (postponed, not denied)
- Return: structure is what remains under change
Chapter 8: Probability is the physics of ignorance
Probability doesn’t mean “random.” It means:
“I don’t know the state, but I can still reason honestly.”
Thermodynamics becomes obvious once you accept:
- we can’t track microstates,
- but we can track distributions.
Quantum becomes inevitable when you accept:
- the theory outputs probabilities as the best possible truth currency.
Compression Ledger
- Inputs: uncertainty, noise, hidden states
- Tool: distributions, expectation, variance, Bayes
- Invariant: consistency of inference
- Loss: pretending you know what you don’t
- Return: ignorance can still be lawful
PART N−2 — Physics as Compression
Chapter 11: Conservation laws — what refuses to change
Conservation is not a rule someone wrote down.
It’s what you discover when you try to describe change and notice something stays constant.
- Momentum conserved → space is uniform
- Energy conserved → time is uniform
- Angular momentum conserved → space is rotationally symmetric
This is the first deep bridge:
Symmetry ⇄ Conservation (Noether’s theorem, later)
Physics begins to look like:
find symmetries → get invariants → write laws that preserve them.
Chapter 15: Thermodynamics — the law of irreversible accounting
Thermodynamics is the truth that kills perpetual motion.
Entropy is best read as:
- how many internal ways the system can be, while still looking the same from the outside.
Second law:
if you only observe macroscopic features, disorder (hidden multiplicity) tends to increase.
This is not pessimism.
It’s a warning label on modelling: you don’t get information for free.
Chapter 16: Quantum — amplitudes are the only honest currency
Quantum mechanics says:
You don’t get to assign definite outcomes in advance.
You assign amplitudes, and only probabilities survive observation.
It feels weird until you notice:
it’s exactly the sort of theory you’d invent if
- measurement is an interaction,
- information is physical,
- and you can’t smuggle classical certainty into the small.
Chapter 17: Relativity — geometry forced by light
Relativity is what happens when you accept one non-negotiable constraint:
light has one speed in vacuum, for everyone.
Then time cannot be universal bookkeeping anymore.
Space and time fuse into geometry.
GR goes further: gravity is not a “force” in the old sense—
it’s the shape of that geometry.
PART 1 — First Things
Chapter 28: The primal triangle
At the bottom, everything we did was:
- Constraint: what’s allowed
- Compression: what we keep (what matters)
- Selection: what persists (stable, replicable, measurable)
Math is the craft of compression under constraint.
Physics is the discovery of which constraints reality enforces.
Chapter 29: Why anything is predictable at all
Prediction is possible because:
- the world has regularities (symmetries/invariants),
- those regularities can be compressed into rules,
- and the rules can be applied repeatedly without breaking.
That’s it. That’s the miracle.
Everything else is engineering the language.
Closing Page (the “first”)
If you want a one-line spine for the whole book:
Reality permits structured change; mathematics is the minimal language that preserves it; physics is the set of constraints we didn’t get to choose.