notes

Spacetime from first principles

essay · 23 min read
contents

A primer on geometric algebra, an explanation for imaginary numbers, and a spacetime algebra that emerges from first principles.


0. Preface

From a single algebraic rule, the following will be derived: the imaginary unit, complex numbers, Hamilton’s quaternions, the Minkowski interval of special relativity, time dilation, the light cone, and the fusion of Maxwell’s four equations into a single product. No matrices, no coordinates (unless you want them), and no postulates about the speed of light. If this hook is at all interesting to you, then you have come to the right place.

The prerequisite is a bit of comfort with vectors, the dot product, and the Pythagorean theorem. With a little patience, even those with only a slight remembrance of their freshman linear algebra course should be able to follow along. Those with less math experience beware: I invite you to follow humbly along, but keep in mind that hubris tempts divine misfortune…

I will admit, the perspective you will be shown is slightly unusual. Teachings of relativity and the spacetime algebra generally begin by installing a strange sort of “minus sign of spacetime” — declaring by fiat that time and space enter the distance formula with opposite signs. Here we will do the opposite: we will begin with the most innocent choices possible, and watch as the universal speed limit and the light cone appear on their own, tying together through geometry ideas usually taught as separate subjects.

By the end, a strange implication — that the structure of spacetime is less an assumption about the world and more a theorem about multiplication — will start to feel natural, and maybe even obvious. Keep track of that idea in your head as you read. The exact moment it turns from a remarkable surprise into something self-evident (or self-evidenc-ing…) is not easy to pin down.


1. One rule to rule them all

We assume vectors can be multiplied, and we ask this multiplication to obey two familiar equalities. It is associative — grouping doesn’t matter, $(ab)c = a(bc)$ — and distributive, so $a(b+c)=ab+ac$ and $(a+b)c=ac+bc$. We then impose one rule connecting this algebra to geometry:

The square of a vector is its squared length.

$$vv = |v|^2$$

That is the one rule. Notice what it already gives us: for a unit vector $e$, we get $ee = 1$. So every unit vector is its own reciprocal, i.e. multiplying by $e$ can be undone by multiplying by $e$ once more.

Two things are deliberately left out: we have not assumed the product of two different vectors is a number, and we have not assumed $uv = vu$. Vectors are oriented objects rather than ordinary numbers, so we have no right to expect their products to commute — that is, for the order of multiplication not to matter.

On what we’re assuming. That rule is the only arbitrary algebraic axiom we are installing here — we are still freely leaning on high school algebra and Euclidean geometry, because we’re shape rotators and not wordcels.


2. Anticommutation

Take two perpendicular unit vectors $e_1$ and $e_2$, and let $v$ be their sum:

$$v = e_1 + e_2$$

By the Pythagorean theorem:

$$ \begin{aligned} |v|^2 &= |e_1|^2 + |e_2|^2 \\ &= 1 + 1 \\ &= 2 \end{aligned} $$

So our rule gives $vv = 2$.

Expanding $vv = (e_1 + e_2)(e_1 + e_2)$ directly while keeping track of order:

$$vv = e_1e_1 + e_1e_2 + e_2e_1 + e_2e_2$$

Collapsing the squares ($e_1e_1 = e_2e_2 = 1$) leaves:

$$ \begin{aligned} 2 &= 2 + e_1e_2 + e_2e_1 \\ 0 &= e_1e_2 + e_2e_1 \end{aligned} $$

$$\boxed{e_1e_2 = -e_2e_1}$$

So perpendicular vectors anticommute, simply as a consequence of Euclidean geometry. Meaning we can reverse the order of a perpendicular product as long as we negate it.

Pythagorean anticommutation A right triangle with legs e1 and e2 and hypotenuse v. The two leg squares dissect into four triangles that glide into the diagonal square v², cancelling the squares to zero and leaving the two opposite-order paths e1e2 and e2e1 around the unit square. e1e2 e2e1 v2 = 2 e12 = 1 e22 = 1 e1 e2 v v = e1 + e2 v2 = e12 + e22 = 2 vv = e1e1 + e1e2 + e2e1 + e2e2 e1e2 + e2e1 = v2 − e12 − e22 = 0 e1e2 = −e2e1 same square, opposite traversal — reversing flips the sign
fig. 1 · Geometrically, the diagonal square minus the two leg squares leaves no area; the algebraic expansion leaves e₁e₂ + e₂e₁, so the ordered products cancel.

Two simple cases now cover our definition of multiplication. Parallel vectors commute, and their product is an ordinary number: if $w=\lambda u$, then $wu=\lambda u^2=uw$, which is equivalent to the dot product. Perpendicular vectors anticommute, and their product $e_1e_2$ is irreducible — no amount of algebra simplifies it to a scalar or a vector. It is a new kind of geometric object called a bivector. Where a vector is an oriented length, a bivector is an oriented plane segment: the oriented plane swept from the first vector toward the second. Sweeping $e_1$-then-$e_2$ or $e_2$-then-$e_1$ covers the same plane segment with opposite orientations, which is geometrically all that the minus sign means.

A word for the hierarchy that is emerging: grade names the geometric dimension of a term after it has been simplified:

  • grade 0 — scalars (ordinary numbers, like $e_1e_1 = 1$);
  • grade 1 — vectors (oriented lengths, like $e_1$);
  • grade 2 — bivectors (oriented planes, like $e_1e_2$);
  • grade 3 — trivectors (oriented volumes in 3D, like $e_1e_2e_3$).

Vectors that are neither parallel nor perpendicular carry both kinds of information at once: a scalar part for alignment and a bivector part for oriented area. That will make more sense once we see why imaginary units aren’t so imaginary.


3. The imaginary unit was a plane segment all along

Square the bivector $e_1e_2$, then use anticommutation to swap the middle pair, picking up a minus sign:

$$ \begin{aligned} (e_1e_2)^2 &= e_1e_2e_1e_2 \\ &= -e_1e_1e_2e_2 \\ &= -(1)(1) \\ &= -1 \end{aligned} $$

$$\boxed{(e_1e_2)^2 = -1}$$

An object whose square is $-1$ comes right out of Euclidean length. No negative-square object had to be invented arbitrarily: the minus sign is just the cost of reversing two perpendicular vectors in the middle of the product.

Algebraically, this bivector behaves like the imaginary unit, so geometrically it acts as a quarter-turn. Multiply the basis vectors by $e_1e_2$ on the right:

Start with $e_1$ and multiply on the right by the unit plane $e_1e_2$:

$$e_1(e_1e_2)$$

Associativity regroups $(e_1e_1)e_2$, and $e_1e_1 = 1$ carries $e_1$ to $e_2$ — a 90° quarter-turn:

$$e_1(e_1e_2) = (e_1e_1)e_2 = e_2$$

Apply the same plane from $e_2$:

$$e_2(e_1e_2)$$

Anticommutation swaps $e_2e_1 = -e_1e_2$, and $e_2e_2 = 1$ lands on $-e_1$ — so $(e_1e_2)^2 = -1$ just says two quarter-turns make a half-turn:

$$e_2(e_1e_2) = -e_1(e_2e_2) = -e_1$$

Quarter-turns by e1e2 Right multiplication by the unit plane e1e2 turns a vector through successive quarter-turns along the unit circle, sweeping out the plane as it goes. e1(e1e2) (e1e1)e2 = e2 e2(e1e2) e2e1e2 = −e1e2e2 = −e1 right-multiply e₁ by e₁e₂ e₁e₁ = 1, leaving e₂ right-multiply e₂ by e₁e₂ the swap gives a minus, then e₂e₂ = 1 e1 e2 −e1 ↺ restart
fig. 2 · The algebra and the arrow perform the same operation: e₁e₁ = 1 leaves e₂, then the swap supplies the minus sign and leaves −e₁. The warm sweep is the oriented plane e₁e₂ doing the turning; two quarter-turns make a half-turn.

Two vectors make a rotor

The same logic works for any angle. Let $u=e_1$ and $w=e_1\cos\theta+e_2\sin\theta$, and suppose we want the rotation $R$ such that $uR = w$. Expanding $uw$ gives

$$ \begin{aligned} uw &= e_1(e_1\cos\theta + e_2\sin\theta) \\ &= e_1e_1\cos\theta + e_1e_2\sin\theta \\ &= \cos\theta + e_1e_2\sin\theta \end{aligned} $$

and applying $u$ from the left gives $u(uw) = (uu)w = w$, while $e_2 R = e_2\cos\theta - e_1\sin\theta$ turns $e_2$ by the exact same angle. So $R = uw$ rotates the whole plane.

We can appreciate how weird that is for a second. Faced with $uR = w$, our first instinct is to divide both sides by $u$. Keep in mind we can’t actually do that because we never defined a division operation. Yet if you go ahead anyway, undoing $u$ from the left where it sits, you get $R = u^{-1}w = uw$ — because unit vectors are their own reciprocals, $u^{-1} = u$, so division just turns into multiplication. In this algebra, comparing two things means dividing them: divide one direction by another, and out comes the rotation between them. Try clicking 0° parallel and 90° perpendicular in fig. 3 to watch the product flip between a pure number and a pure plane.

Product of two unit vectors The product of two unit vectors u and w: w's shadow along u is the scalar cos theta, and the parallelogram they span is the oriented area e1e2 sin theta. uw = cos θ + e1e2 sin θ θ = 42° · cos θ = 0.74 · sin θ = 0.67 e2 u = e1 θ w e1 cos θ e2 sin θ e1e2 sin θ drag w
fig. 3 · Drag w round the circle. Its shadow along u is the scalar part of uw, cos θ; the warm parallelogram the pair spans is the bivector part, e₁e₂ sin θ.

Write $I = e_1e_2$. Every scalar-plus-bivector element in this plane has the form $a+bI$, and because $I^2=-1$,

$$(a+bI)(c+dI)=(ac-bd)+(ad+bc)I$$

which is the multiplication rule for complex numbers. The complex plane is the even-graded part of the algebra over $e_1$ and $e_2$. From this angle, the high school slogan that “multiplying by $i$ rotates by 90°” makes complete sense: $i$ itself is a unit plane, and $\cos\theta + I\sin\theta$ is a rotor, an even-graded element that rotates vectors through multiplication.

The general rotor. In three dimensions or more, a vector $v$ may point partly outside the rotation plane. Applying a half-angle rotor $R = \cos(\theta/2) + I\sin(\theta/2)$ from both sides as a sandwich, $v^\prime = \bar{R}vR$ (with $\bar{R} = \cos(\theta/2) - I\sin(\theta/2)$), keeps everything outside the plane fixed instead of picking up unwanted volume terms.

Hamilton’s quaternions

Move up to three dimensions. Space now has three orthogonal directions ($e_1$, $e_2$, $e_3$) and three independent coordinate planes: $e_1e_2$, $e_2e_3$, and $e_1e_3$. Each squares to $-1$, and multiplying the first two collapses their shared edge $e_2$:

$$(e_1e_2)(e_2e_3) = e_1(e_2e_2)e_3 = e_1e_3$$

Name them $i = e_1e_2$, $j = e_2e_3$, and $k = e_1e_3$, and out comes $ij = k$, $jk = i$, $ki = j$, and

$$i^2=j^2=k^2=ijk=-1$$

precisely the equation William Rowan Hamilton carved into Brougham Bridge in 1843. The quaternions are the even-graded part of this algebra in three-dimensional space.

Oriented 3D planes (i, j, k) Three perpendicular directions e1, e2, e3 span three oriented planes i = e1 e2, j = e2 e3, and k = e1 e3. Click any plane to inspect it, or click again to deselect. i2 = j2 = k2 = ijk = −1 i = e1e2 j = e2e3 k = e1e3 three orthogonal planes in space — click one e1 e2 e3 i j k
fig. 4 · Three perpendicular directions span three oriented planes, i = e₁e₂, j = e₂e₃, and k = e₁e₃. Click any plane to inspect its sweep; click it again to deselect.

This settles a confusion that dogged the quaternion era for fifty years. Hamilton and his followers treated $i, j, k$ as three spatial directions, and were perpetually puzzled that these “vectors” squared to $-1$ and behaved strangely under reflection. Their error was just that $i$, $j$, and $k$ were never directions. They are the three planes of space, and a plane squaring to $-1$ is just two quarter-turns making a half-turn. Hamilton had discovered the rotation algebra of space and mistaken it for space itself.

Oriented planes, complex arithmetic, the quaternions — all of it from square one (literally, a square equalling one). Now the same setup repeats one level up, and this time it builds special relativity.


4. Hamilton’s beautiful failure

Hamilton suspected that the scalar part of a quaternion was time. A full quaternion $q = t + xi + yj + zk$ was, for him, an event: a moment and a place, fused into one number. It is one of the most prescient wrong ideas in physics, and it is worth seeing why it fails because the mistake is a single sign.

How big is an event? With complex numbers $z = a + bi$, the standard measuring trick is to multiply by the conjugate $\bar{z} = a - bi$, flipping the directed part:

$$z\bar{z} = (a + bi)(a - bi) = a^2 - abi + abi - b^2i^2 = a^2 + b^2$$

The cross terms cancel, $i^2 = -1$ flips the last sign, and out comes squared Pythagorean length. That flip is intuitive: the parts of a number that point are the parts whose sign is a matter of orientation, so multiplying a number by its flipped twin is the algebra’s way of asking “how big, regardless of which way?”

Apply the same trick to Hamilton’s event ($\bar{q} = t - xi - yj - zk$), and the cross terms cancel in pairs just like before:

$$q\bar{q} = t^2 + x^2 + y^2 + z^2$$

All plus signs. This is the distance formula of four-dimensional Euclidean space: no distinction between time and space, no speed limit, no light cone. And in the quaternions every nonzero element has an inverse — you can always divide — which, as we are about to see, leaves no room for light.

Now run Hamilton’s idea again, keeping his instinct intact — time is the scalar, space is the directed part — but building the event from our actual spatial directions, unit vectors that square to $+1$ instead of planes that square to $-1$. In one dimension of space along $e$:

$$X = t + x\,e, \qquad X\bar{X} = (t + xe)(t - xe) = t^2 - x^2 e^2 = \boxed{t^2 - x^2}$$

There it is — physicists call $t^2 - x^2$ the Minkowski interval, and all of special relativity sits right inside the picture.

How do you read a picture of $t + xe$? Put time $t$ pointing straight up and space $x$ running sideways. Standing still climbs straight up the $t$-axis; moving sideways tilts your path off the vertical; and the $45^\circ$ diagonals ($t = \pm x$) are moving one unit of space per one unit of time. In fig. 5, click 0 light and −1 spacelike to watch the Euclidean world collapse and vanish while the Minkowski world opens up.

Euclidean landscape t² + x² The landscape t² + x², one hairline circle per quarter level, with the chosen level lit. Below zero this plate is empty. t2 + x2 i2 = −1 t x level 1.00 a circle of radius 1.00 Minkowski landscape t² − x² The landscape t² − x², one hairline hyperbola per quarter level: opening along t inside the diagonals, along x outside them. The diagonals are the zero level. The chosen level is lit. t2 − x2 e2 = +1 t x light (0) level 1.00 a hyperbola, opening along t
drag through either field
fig. 5 · Each expression as a landscape, one hairline per quarter level. On the left, the moving dot rotates endlessly around a circle; on the right, it boosts toward the diagonals without ever crossing them. Below zero, only the second landscape survives.

Look at the two landscapes side by side in fig. 5. On the left ($t^2 + x^2$), stepping sideways drops you below your starting height along a circle — walk a mile northeast and you move less than a mile north. On the right ($t^2 - x^2$), the minus sign flips the curve upward into a hyperbola trapped between the $45^\circ$ diagonals.

Every headline result of special relativity is right there in that shape. Clocks measure the interval, so a traveler’s next tick lands where her path meets the unit curve $t^2 - x^2 = 1$. Moving through space tilts her off the vertical, and because that hyperbola bends upward, reaching it takes more $t$ (time dilation). Moving faster tilts her farther, sliding her endlessly along the curve without ever letting her cross the $45^\circ$ walls (the speed limit). And on the walls themselves ($t = \pm x$), real motion through space and time measures zero interval: those zero-size directions are light.

And the exact same line works in three dimensions of space: replace $xe$ with a full 3D vector $\vec{x}$, and our single rule $\vec{x}\vec{x} = |\vec{x}|^2$ cancels all cross terms automatically to leave $X\bar{X} = t^2 - |\vec{x}|^2$.

It is humbling to know that Hamilton’s intuition about time missed special relativity by a single sign, more than half a century before Einstein. The pieces were there: James Cockle published number systems with $+1$-squaring units in 1848, in Hamilton’s own lifetime — and there they sat.


5. Light is where division fails

In Section 3, dividing one direction by another measured the angle between them. In spacetime, comparing an event to an observer will work the exact same way — by dividing. That is why light has no “point of view,” and the answer is one line of arithmetic. To divide by an event $X$, you flip its spatial sign and scale by its interval:

$$X^{-1} = \frac{\bar{X}}{X\bar{X}}$$

Off the diagonals, that works fine. On a light ray ($t = \pm x$) the denominator hits zero, and not because the formula is clumsy: $(1+e)(1-e) = 1 - e^2 = 0$, two nonzero factors multiplying to nothing. Such an $X$ is null, a zero divisor, and it has no inverse at all — if some $M$ gave $XM = 1$, multiplying on the left by $\bar{X}$ would give $\bar{X} = (\bar{X}X)M = 0$, which is false.

In Hamilton’s algebra, everything divides, and there is no light. In this algebra, light exists, and it is exactly the set of elements you cannot divide by.

Light-ray coordinates

You can even tilt your grid $45^\circ$ so the two axes lie right along the light rays. Name the two unit light-ray pieces $P_+ = \tfrac{1}{2}(1 + e)$ (going right) and $P_- = \tfrac{1}{2}(1 - e)$ (going left) — called projectors, because they project any event onto the two sides of the light cone. A quick FOIL shows each keeps itself ($P_\pm^2 = P_\pm$) and the two annihilate each other ($P_+P_- = 0$). Writing any event in this tilted grid (expand the right side to see the halves recombine into $t + xe$):

$$X = (t+x)P_+ + (t-x)P_-$$

Because $P_+P_- = 0$ kills every cross term and $P_\pm^2 = P_\pm$ keeps each lane to itself, multiplying two events just multiplies their two light-ray slots like two separate ordinary numbers:

$$(aP_+ + bP_-)(cP_+ + dP_-) = ac\,P_+ + bd\,P_-$$

Inverting $X$ therefore just flips each ordinary number, $\frac{1}{t+x}$ and $\frac{1}{t-x}$. In fig. 6, click near light, then on light cone, and watch $X^{-1}$ race off to infinity before snapping out of existence.

Light-ray coordinates & inverse X⁻¹ An event X on a 45-degree light-ray grid, split along the two light rays P+ and P-, with its inverse X⁻¹. Drag X toward either light ray and X⁻¹ shoots off to infinity; on the ray itself X has no inverse. X = (t+x)P+ + (t−x)P− t+x = 2.2 · t−x = 0.8 · |X⁻¹| = 0.75 t x light X X−1 t+x t−x drag X
fig. 6 · Every event X splits along the two null projectors and carries an inverse X⁻¹ = X/(XX). Drag X toward either diagonal and watch X⁻¹ stretch off toward infinity until, on the cone itself, XX hits zero: X is null, with no inverse at all.

6. Whose scalar? Time as a relationship

We have been saying “time is the scalar part,” which assumes you are sitting still ($U = 1$). What does time look like to someone who is moving?

Picture a friend gliding past you at speed $v$ (measured as a fraction of the speed of light, so $|v| < 1$ — moving $v$ units of space per $1$ unit of time). Her path climbs along the direction $1 + ve$. Where does her own clock strike $1$? Since her clock measures the interval, her unit tick $U^\prime$ is just $1 + ve$ stretched by some factor $\gamma$ until it lands on the unit hyperbola $U^\prime\bar{U}^\prime = 1$:

$$U^\prime = \gamma(1 + ve), \qquad U^\prime\bar{U}^\prime = \gamma^2(1 - v^2) = 1 \implies \boxed{\gamma = \frac{1}{\sqrt{1 - v^2}}}$$

That one line of algebra gives the famous Lorentz factor $\gamma$ — and you can see immediately why approaching the speed of light ($v \to 1$) makes $\gamma$ blow up.

Just as comparing two directions in Section 3 meant dividing one by the other ($u^{-1}w$), switching to her perspective means dividing any event $X$ by her unit arrow, $(U^\prime)^{-1} = \bar{U}^\prime = \gamma(1 - ve)$:

$$X\bar{U}^\prime = (t + xe)\,\gamma(1 - ve) = \gamma(t - vx) + \gamma(x - vt)e = t^\prime + x^\prime e$$

That single FOIL product is the Lorentz transformation — no memorizing formulas, no matrices. Check it on her own clock tick ($X = U^\prime$): $U^\prime\bar{U}^\prime = 1 + 0e$, meaning from her point of view she hasn’t moved ($x^\prime = 0$) and her clock reads $t^\prime = 1$. Click through the speeds in fig. 7 (or drag $U^\prime$ in either panel) and watch two things happen — and a third follows:

  1. Her “now” tilts. Her space axis $x^\prime$ (where $t^\prime = 0$) swings up toward her time axis, the two closing like scissors around the light cone, so events we call simultaneous happen at different times for her.
  2. Clocks mutually lag. Our “one tick” is the flat dashed line $t = 1$ resting under the unit hyperbola; hers is the amber tangent $t^\prime = 1$ touching it at $U^\prime$. Because a hyperbola always bends above its tangents, each line cuts the other observer’s path before her clock reaches $1$ — both clocks look slow to the other by the same factor $\gamma = 1/\sqrt{1 - v^2}$.
  3. Straight beats bent (the twin paradox). And one more follows straight from that curve: every tick on a traveler’s clock costs extra rest time $t$ out on the hyperbola, so a bent round trip ages less between two meetings than staying home on the straight path — the flip of Euclidean space, where a crooked detour is longer than a straight chord.
Clocks and simultaneity Zoomed view of the unit clock hyperbola t² − x² = 1: your rest arrow U = 1 and flat line t = 1 beside a moving observer's arrow U′ and tilted amber tangent t′ = 1, each cutting the other's path below 1. clocks & “now” v = 0.46 · her tick = 1.13 · ours = 0.89 U = 1 t = 1 t′ = 1 U′ light One event, two views A fixed event X measured in both frames. As U′ tilts, her axes scissor around the light cone and her coordinates t′ and x′ shift, while the interval t′² − x′² stays locked at 4.00. XU′ = t′ + x′e t′ = 2.04 · x′ = 0.39 · t′² − x′² = 4.00 X t x t′ x′
drag U′ in either panel
fig. 7 · Left: drag U′ along the unit hyperbola to see her simultaneity tangent t′ = 1 cut the rest axis below 1. Right: the same boost applied to a fixed event X — her axes scissor around the light cone while t′² − x′² stays locked at 4.00.

Circles vs. hyperbolas

Notice how $\gamma$ and $\gamma v$ satisfy $\gamma^2 - (\gamma v)^2 = 1$ — the hyperbola’s version of $\cos^2\theta + \sin^2\theta = 1$. Mathematicians give the coordinates on the unit hyperbola their own names, hyperbolic cosine and sine ($\cosh\varphi = \gamma$ and $\sinh\varphi = \gamma v$), where $\varphi$ plays the role of a hyperbolic angle. Set this beside Section 3, and the entire journey so far collapses into a single sign flip:

Planes ($I^2 = -1$)Directions ($e^2 = +1$)
Size$a^2 + b^2$ (circles)$t^2 - x^2$ (hyperbolas)
DivisionAlways worksBreaks on diagonals (light)
MotionRotation ($\cos\theta + I\sin\theta$)Boost ($\gamma(1+ve) = \cosh\varphi + e\sinh\varphi$)
3D algebraQuaternionsSpacetime & Maxwell

An event has no time of its own. Duration is a ratio: the event divided by the observer.

Individual coordinates like $t^\prime$ (or soon charge density $\rho$) depend on who is asking. What every observer shares is the interval $X\bar{X} = t^2 - x^2$, locked in fig. 7 because her unit size cancels itself out. And a photon ($U\bar{U} = 0$) has no reference frame for the exact reason Section 5 gave: you still cannot divide by zero.


7. One equation where there were four

In Section 5, we found an un-dividable cone where $(1+e)(1-e) = 0$ and casually named it “light” simply because nothing could cross it. We had no right yet to call it actual light — the electromagnetic waves hitting your eyes right now. That proof lives in Maxwell’s theory of electromagnetism, where the exact same un-dividable cone turns out to be why light waves can travel through empty space at all.

Traditionally, electromagnetism is four separate vector-calculus equations tracking two fields: an electric field $E$, which pushes charge along itself, and a magnetic field, which pushes only moving charge, and sideways at that.

In geometric algebra they are not four laws, and the compression begins with the objects themselves. The electric field $E$ really is a vector. The magnetic field never was: it is the field of “the right-hand rule” that haunts every electromagnetism course — curl your fingers, stick out a thumb, and pretend the answer is an arrow. Multiplying that magnetic arrow $\vec{B}$ by the unit volume $e_1e_2e_3$ turns each thumb into its true perpendicular plane, a spatial bivector $B = (e_1e_2e_3)\vec{B} = B_1 e_2e_3 + B_2 e_3e_1 + B_3 e_1e_2$. Add both fields, grades and all, into one object:

$$F = E + B$$

Measuring change in time and space

Physics cares about how fields change from place to place and moment to moment. Write $\partial_t$ for rate of change in time, and $\partial_x, \partial_y, \partial_z$ for rates of change along the three axes of space (holding the other directions fixed).

Now pack those three spatial rates into a single “change vector,” $\vec{\nabla} = e_1\partial_x + e_2\partial_y + e_3\partial_z$. Remember Section 2: multiplying any two vectors splits automatically into a parallel (scalar) piece and a perpendicular (plane) piece. Multiply a field by $\vec{\nabla}$, and that exact same rule hands us the two operations of vector calculus with no separate rules to memorize:

  • the parallel part ($\vec{\nabla}\cdot$, called divergence) measures how much the field is pouring outward from a point;
  • the perpendicular part ($\vec{\nabla}\times$, called curl) measures how much the field is swirling around a point.

Package time and space together the way we packaged events, $\nabla = \partial_t + \vec{\nabla}$, and package electric charge density $\rho$ with flowing current $j$ into a source $J = \rho - j$ (conjugated just like an event, so changing observers mixes charge into current just as it mixes time into space). Then, in units that keep the constants out of the way, all of electromagnetism is:

$$\nabla F = J$$

One product of two objects. The four laws have not been discarded; they have been filed. Multiplying out $\nabla F$ gives 24 basis products, and each lands in a definite grade, to be matched against the same grade of $J$. Hover or tap any square in fig. 8 to watch our single multiplication rule assemble one piece of Maxwell’s equations at a time.

Grade 0 (scalar — Gauss’s law). Parallel spatial products collapse via $e_ke_k = 1$ into three scalars ($\vec{\nabla}\cdot E$, electric field pouring outward). Matching the scalar part $\rho$ of $J$ says electric fields pour out of electric charge:

$$\vec{\nabla}\cdot E = \rho$$

Grade 1 (vector — Ampère–Maxwell). Time keeps $\partial_t E$ a vector, while $\vec{\nabla}B$ cancels shared edges ($e_2(e_2e_3) = e_3$) into $-\vec{\nabla}\times\vec{B}$. Matching the vector slot $-j$ says moving currents and changing electric fields make magnetism swirl:

$$\vec{\nabla}\times\vec{B} - \partial_t E = j$$

Grade 2 (bivector — Faraday’s law). Time keeps $\partial_t B$ a bivector, and perpendicular products in $\vec{\nabla}E$ build the plane corresponding to $\vec{\nabla}\times E$. Since $J$ has no bivector part, all nine terms sum to zero — a changing magnetic field makes electricity swirl (how every electric generator works):

$$\vec{\nabla}\times E + \partial_t\vec{B} = 0$$

Grade 3 (trivector — no monopoles). Where $\vec{\nabla}$ meets a plane on its third axis ($e_1(e_2e_3) = e_1e_2e_3$), the three diagonal terms climb to volume ($\vec{\nabla}\cdot\vec{B}$, magnetism pouring outward). With no trivector in $J$, they vanish — magnetic field lines never start or end at an isolated pole:

$$\vec{\nabla}\cdot\vec{B} = 0$$

Maxwell multiplication table The 4 by 6 multiplication table of ∇F = (∂t + ∇⃗)(E + B) sorted by grade into Gauss's law (grade 0), Ampère–Maxwell (grade 1), Faraday's law (grade 2), and no magnetic monopoles (grade 3). ∇(E + B) = ρ − j grade 1 (vector) · 9 of 24 terms · ∇×B − ∂ₜE = j E1e1 E2e2 E3e3 B1e2e3 B2e3e1 B3e1e2 ∂t e1∂x e2∂y e3∂z e1 e2 e3 e2e3 e3e1 e1e2 1 e1e2 −e3e1 e123 −e3 e2 −e1e2 1 e2e3 e3 e123 −e1 e3e1 −e2e3 1 −e2 e1 e123 grade meaning J law 0 scalar E pouring out ρ Gauss 1 vector B swirl, E change −j Ampère–Maxwell 2 plane E swirl, B change 0 Faraday 3 volume B pouring out 0 no monopoles hover any cell to multiply
fig. 8 · All 24 basis products of ∇F = (∂ₜ + ∇⃗)(E + B), sorted by grade. Select any row or cell to see which terms assemble into Gauss, Ampère–Maxwell, Faraday, and no monopoles.

Bonus: charge conservation. Applying the conjugate $\bar{\nabla} = \partial_t - \vec{\nabla}$ to both sides gives a pure scalar wave operator $\bar{\nabla}\nabla = \partial_t^2 - \vec{\nabla}^2$, so $(\bar{\nabla}\nabla)F$ has no scalar part. Matching the scalar part of $\bar{\nabla} J = (\partial_t - \vec{\nabla})(\rho - j)$ immediately forces $\partial_t\rho + \vec{\nabla}\cdot j = 0$ — charge in a region can only drop as fast as current pours out of it. That is the real reason $J$ carried the conjugate minus sign.

Light in empty space

Now switch the sources off entirely: empty space, $J = 0$. The equation $\nabla F = 0$ still has nonzero solutions, and the most famous of them closes the loop on this long journey. A plane wave of light traveling along $e_3$ at speed $1$, with $E$ along $e_1$ and $B$ in the plane $e_3e_1$ (the plane normal to $e_2$), is

$$F = E_0\cos\big(\omega(t - z)\big)(1 + e_3)e_1$$

Look at the $(1 + e_3)$ factor in front — twice the light-ray projector $P_+$ of Section 5. Because the wave depends only on $t - z$, waiting one second looks identical to stepping one unit backward in $z$, so $\partial_t$ and $\partial_z$ pull out equal and opposite factors ($-\omega\sin$ vs. $+\omega\sin$). Applying $\nabla = \partial_t + e_3\partial_z$ therefore brings down $(-1 + e_3)$, which cancels $(1 + e_3)$ to zero:

$$\nabla F \propto (-1 + e_3)(1 + e_3)e_1 = (e_3^2 - 1)e_1 = 0$$

And because $e_1$ anticommutes with $e_3$, squaring the wave gives the same cancellation:

$$F^2 \propto (1 + e_3)e_1(1 + e_3)e_1 = (1 + e_3)(1 - e_3)e_1^2 = 0$$

Radiation is null: $F^2 = 0$ says at a glance that in a light wave, $E$ and $B$ stay perpendicular and equal in strength. Light solves Maxwell’s vacuum equations and fails to invert for the exact same algebraic reason: $(1 - e_3)(1 + e_3) = 0$.

B as an arrow B as an arrow: a plane wave of light moving along e3, its electric field drawn as arrows along e1 and its magnetic field as a second comb of arrows along e2. B as an arrow along e2, the right-hand rule E B e2 e1 e3 F = E + B B as a plane B as a plane: a plane wave of light moving along e3, its electric field drawn as arrows along e1 and its magnetic field as oriented panels in the e3e1 plane. B as a plane the plane e3e1, i.e. the normal plane of the right-hand rule E B e1 e3 F2 = 0
hover a plane for its normal
fig. 9 · One wave of light, drawn twice: B as the right-hand-rule arrow along e₂, then as the oriented plane e₃e₁ it actually is. One phase drives both — hover any plane segment on the right to see its normal arrow.

8. Why these rules? Doors left open…

A skeptical reader should ask: we chose every vector to square to $+1$; Minkowski’s convention effectively chooses mixed signs; Hamilton stumbled into $-1$. Isn’t the sign convention just taste?

Signs of spacetime

Not quite, though the choice stays hidden for a while. Up through Section 7, our three-dimensional spatial algebra sits inside both textbook four-dimensional spacetime conventions as their even-graded part, so nothing so far could tell them apart. Only when you step to four explicit directions ($e_0, e_1, e_2, e_3$) does the algebra have to take a side.

Different sign choices produce structurally different worlds, not the same math in different clothes. Flipping the signs isn’t like switching from Celsius to Fahrenheit: one plus-square direction and three minus-square ones builds a genuinely incompatible multiplication table from three pluses and one minus. The difference stays invisible to classical light, yet it changes the rules for the quantum “half-turn” objects (spinors) that describe electrons. Extending our all-plus rule to four directions lands exclusively in the first world — with one direction of time and three of space, never the second, and never two directions of time. Whether nature itself tells the two conventions apart, and if so which one it chose, is still argued over.

For the algebra-curious. Writing $Cl(p,q)$ (after William Kingdon Clifford) for the algebra with $p$ directions squaring to $+1$ and $q$ to $-1$: one plus and three minuses gives $2\times 2$ grids of quaternions ($Cl(1,3) \cong M_2(\mathbb{H})$), while three pluses and one minus gives $4\times 4$ grids of real numbers ($Cl(3,1) \cong M_4(\mathbb{R})$). Pushing our all-plus rule to four directions builds $Cl(4,0) \cong M_2(\mathbb{H})$, which contains a complete $(1,3)$ frame ($e_0$ for time, and $e_0e_1, e_0e_2, e_0e_3$ squaring to $-1$ for space) but no $(3,1)$ or $(2,2)$ frame.

The ladder that breaks grouping

The signs are not the only choice hiding in Section 1. We also assumed, without comment, that grouping never matters — $(ab)c = a(bc)$ — and that marks a road not taken.

Notice how each number system we built is two copies of the one before it, stapled together by a new square root of $-1$: $\mathbb{C}$ is two reals ($a + bi$), and $\mathbb{H}$ is two complex numbers ($(a+bi) + (c+di)j$). Two months after Brougham Bridge, Hamilton’s friend John Graves found one more rung on that ladder — two quaternions, $q_1 + q_2\ell$ — in the octonions $\mathbb{O}$. Hurwitz proved that multiplying two numbers multiplies their lengths ($|ab| = |a||b|$) only in dimensions 1, 2, 4, and 8; one doubling further, the sedenions $\mathbb{S}$ sprout zero divisors anyway (the very defect Graves’ doubling tried to avoid, and the one Section 5 showed to be light).

Yet climbing to dimension 8 breaks grouping: for Graves’ unit $\ell$, parentheses gain power, $(ij)\ell = +k\ell$ while $i(j\ell) = -k\ell$, so the octonions cannot live inside any associative algebra. Our all-plus algebra already traded division away at dimension 2 to make room for light; yet even if you cling to $-1$-squaring units to keep division alive through $\mathbb{C}$ and $\mathbb{H}$, dimension 8 forces the same choice: keep grouping, or keep division?

Cayley–Dickson vs. Clifford ladder Two paths from the real numbers: Cayley–Dickson doubling preserves division up to dimension 8 by sacrificing order then grouping, while our associative algebra keeps grouping at every dimension (Cl(2,0) beside ℍ, Cl(3,0) beside 𝕆, Cl(4,0) beside 𝕊) and finds light at dimension 2. grouping vs. division magnitudes (Graves) actions (Hamilton / ours) ℝ dim 1 ℂ dim 2 ℍ order breaks 𝕆 grouping breaks 𝕊 division breaks ℝ dim 1 t + xe light (e² = +1) Cl(2,0) 2 axes · holds Cl(3,0) 3 axes · holds Cl(4,0) 4 axes · holds 1 2 4 8 16 associative forever
fig. 10 · Two roads from dimension 1. Graves' doubling preserves division up to the octonions by sacrificing order then grouping; our associative algebra preserves grouping forever and finds light at dimension 2.

Action vs. magnitude

Underneath that question sits a deeper one, which this primer has been living with all along. We used multiplication in two ways without distinguishing them: a rotor acts ($uR = w$), while a conjugate measures ($X\bar{X}$). If elements are fundamentally actions, grouping cannot matter: “do this, then that, then the other” has no parentheses to disagree about, only order, so associativity is less an assumption than the grammar of doing. If elements are fundamentally magnitudes, then sizes must keep multiplying, grouping begins to matter, and the algebra climbs to the octonions and stops.

Up through the quaternions the two readings agree, which is why the property didn’t even have a name until Hamilton, examining Graves’ octaves, coined the word associative. Everything in this primer — rotors composing, observers dividing, fields propagating — took Hamilton’s path instead of Graves’. Whether mother nature anywhere multiplies the second way is a smaller door, left open inside this one.

Whether the all-plus, associative algebra we explored here is merely a clean pedagogical route to relativity or something deeper is a fundamental question, and an unfashionable one — which is often where the interesting problems live. Either way, starting from $vv = |v|^2$ alone is enough to put complex rotations, quaternions, the Minkowski interval, the light cone, and Maxwell’s equations on the same footing. Obviously, it is far easier to retread these discoveries than it was to find them, but it is remarkable how much falls out of taking geometric intuition seriously for one rule of multiplication.


9. Where to go next

Where I actually learned this. A bibliography should be honest: the textbook references below are the standard ones, but they are not where I learned about geometric algebra (contrary to popular belief, I don’t know how to read). I learned geometric algebra from Ben Lynn’s “All Hail Geometric Algebra!”, which builds the entire algebra from the very same single relation used here, $vv = v \cdot v$, with runnable code embedded in the page, and from bivector.net, the geometric algebra community’s home: interactive demos, cheat sheets for every signature, video lectures, and a Discord. If you would rather play with these objects than read about them, start at those two.

Gentlest on-ramps. Alan Macdonald, Linear and Geometric Algebra — a patient undergraduate text. Garret Sobczyk, “The Hyperbolic Number Plane” (College Mathematics Journal, 1995) — Section 5 of this primer as a self-contained gem about $t + xe$, $e^2 = +1$.

The physics program. William Baylis’s “Algebra of Physical Space” papers develop exactly the $t + \vec{x}$ picture of Sections 4–7, the projector form of radiation included. And Doran & Lasenby, Geometric Algebra for Physicists, for the standard four-dimensional spacetime algebra starting from mixed signs.

Exercises worth doing by hand. (1) Verify $ij = k$ for the plane assignment in Section 3, and find the assignment that gives $ij = -k$ — what does the difference mean geometrically? (2) Show that $(1+e)/2$ absorbs $e$: that $e P_+ = P_+$, so the projector eats its own direction. (3) Expand $(t+xe_1+ye_2)(t-xe_1-ye_2)$ and confirm the 2D spatial interval. (4) Take $R = \cos\theta + e_1e_2\sin\theta$ and compute the sandwich $\bar{R} e_1 R$ vs. right multiplication alone — then try the same with $e_3$. (5) Put $e_1$ along $u$ so $w = |w|(e_1\cos\theta + e_2\sin\theta)$, multiply out $uw$, and see how $(uw + wu)/2$ isolates alignment while $(uw - wu)/2$ isolates oriented area.