paskvilwiki

up: math & phy

Maxwell's equations in one

geometric algebra, part 6

last updated 2026-11

the goal of the series. everything needed is in place: the product of a vector and a bivector (part 2), the pseudoscalar II and duality, ∇\boldsymbol\nabla as a vector (part 4), and electrostatics as ∇E=ρ/ε0\boldsymbol\nabla\mathbf E = \rho/\varepsilon_0 (part 5). no relativity yet - that's part 7

the four equations

in SI units, with c2=1/μ0ε0c^2 = 1/\mu_0\varepsilon_0:

equation law
(1) ∇⋅E=ρ/ε0\boldsymbol\nabla\cdot\mathbf E = \rho/\varepsilon_0 Gauss - charges are sources of E\mathbf E
(2) ∇×B−1c2∂tE=μ0J\boldsymbol\nabla\times\mathbf B - \frac1{c^2}\partial_t\mathbf E = \mu_0\mathbf J Ampère-Maxwell - currents and changing E\mathbf E make B\mathbf B curl
(3) ∇×E+∂tB=0\boldsymbol\nabla\times\mathbf E + \partial_t\mathbf B = 0 Faraday - changing B\mathbf B makes E\mathbf E curl
(4) ∇⋅B=0\boldsymbol\nabla\cdot\mathbf B = 0 no magnetic monopoles

two divergences and two curls - eight component equations in all

the field as one multivector

E\mathbf E is an ordinary vector. but B\mathbf B is a pseudovector (it only ever shows up through cross products, like in the force on a moving charge, q v×Bq\,\mathbf v\times\mathbf B), and part 2 showed what a pseudovector really is: a bivector, written by its normal. so the honest form of the magnetic field is the bivector IBI\mathbf B - a plane of circulation, like the curl in part 4

put them together, with a cc so both parts have the same units:

F=E+IcB\boxed{F = \mathbf E + Ic\mathbf B}

a vector plus a bivector - six components in one object, sitting in different grades so they don't mix. and the sources the same way, a scalar plus a vector:

1ε0(ρ−Jc)\frac{1}{\varepsilon_0}\left(\rho - \frac{\mathbf J}{c}\right)

Maxwell's equation

(1c∂t+∇)F=1ε0(ρ−Jc)\boxed{\left(\frac1c\partial_t + \boldsymbol\nabla\right)F = \frac{1}{\varepsilon_0}\left(\rho - \frac{\mathbf J}{c}\right)}

that's all of it. the operator on the left is the one from electrostatics, ∇\boldsymbol\nabla, with time added - and with no time dependence and no B\mathbf B, it is ∇E=ρ/ε0\boldsymbol\nabla\mathbf E = \rho/\varepsilon_0 again

each grade is one law

multiply out the left side. three pieces:

  • ∇E=∇⋅E+I ∇×E\boldsymbol\nabla\mathbf E = \boldsymbol\nabla\cdot\mathbf E + I\,\boldsymbol\nabla\times\mathbf E - part 4
  • ∇(IcB)=Ic ∇B=Ic ∇⋅B+Ic I ∇×B=Ic ∇⋅B−c ∇×B\boldsymbol\nabla(Ic\mathbf B) = Ic\,\boldsymbol\nabla\mathbf B = Ic\,\boldsymbol\nabla\cdot\mathbf B + Ic\,I\,\boldsymbol\nabla\times\mathbf B = Ic\,\boldsymbol\nabla\cdot\mathbf B - c\,\boldsymbol\nabla\times\mathbf B - II commutes with everything, and I2=−1I^2 = -1
  • 1c∂tF=1c∂tE+I ∂tB\frac1c\partial_tF = \frac1c\partial_t\mathbf E + I\,\partial_t\mathbf B

now sort everything by grade. on the right there's only a scalar and a vector, so the bivector and trivector parts on the left must be zero:

grade left side right side gives
0 - scalar ∇⋅E\boldsymbol\nabla\cdot\mathbf E ρ/ε0\rho/\varepsilon_0 (1) Gauss
1 - vector 1c∂tE−c ∇×B\frac1c\partial_t\mathbf E - c\,\boldsymbol\nabla\times\mathbf B −J/cε0-\mathbf J/c\varepsilon_0 (2) Ampère-Maxwell
2 - bivector I(∇×E+∂tB)I(\boldsymbol\nabla\times\mathbf E + \partial_t\mathbf B) 00 (3) Faraday
3 - trivector Ic ∇⋅BIc\,\boldsymbol\nabla\cdot\mathbf B 00 (4) no monopoles

the vector row, multiplied by −1/c-1/c, is ∇×B−1c2∂tE=Jc2ε0=μ0J\boldsymbol\nabla\times\mathbf B - \frac1{c^2}\partial_t\mathbf E = \frac{\mathbf J}{c^2\varepsilon_0} = \mu_0\mathbf J ✓. the other three are the equations as they stand

four grades, four laws - each of Maxwell's equations is one grade of the single equation. and it isn't just bookkeeping: the one equation is something the four aren't - an equation with an invertible operator. 1c∂t+∇\frac1c\partial_t + \boldsymbol\nabla has a Green's function, so you can solve for FF directly from the sources, instead of solving coupled equations for E\mathbf E and B\mathbf B

python check - the four laws from general fields
from sympy import symbols, Function
from galgebra.ga import Ga

t, x, y, z = symbols('t x y z', real=True)
c = symbols('c', positive=True)
g3, e1, e2, e3 = Ga.build('e1 e2 e3', g=[1, 1, 1], coords=(x, y, z))
grad = g3.grad
I = e1*e2*e3

def field(name):    # a general vector field, each component a function of t, x, y, z
    return sum((Function(name + k)(t, x, y, z)*e for k, e in zip('xyz', (e1, e2, e3))), 0*e1)

E, B = field('E'), field('B')
F = E + I*c*B
lhs = F.diff(t)/c + grad*F

for k in range(4):      # D{x}Ex means dEx/dx
    print(k, lhs.get_grade(k))
# 0 D{x}Ex + D{y}Ey + D{z}Ez                                     - div E
# 1 (c**2*(D{z}By - D{y}Bz) + D{t}Ex)*e1/c + ...                 - dE/dt/c - c curl B
# 2 (D{t}Bz - D{y}Ex + D{x}Ey)*e1^e2 + ...                       - I (curl E + dB/dt)
# 3 c*(D{x}Bx + D{y}By + D{z}Bz)*e1^e2^e3                        - I c div B
example - a plane wave

a wave travelling along z, polarized along x: E=E0cos⁡φ e1\mathbf E = E_0\cos\varphi\,\mathbf e_1 and B=E0ccos⁡φ e2\mathbf B = \frac{E_0}c\cos\varphi\,\mathbf e_2, with the phase φ=kz−ωt\varphi = kz - \omega t and ω=ck\omega = ck. in vacuum the right side is zero

the field is F=E0cos⁡φ (e1+Ie2)=E0cos⁡φ (e1+e31)F = E_0\cos\varphi\,(\mathbf e_1 + I\mathbf e_2) = E_0\cos\varphi\,(\mathbf e_1 + \mathbf e_{31}), and since e31=e3e1\mathbf e_{31} = \mathbf e_3\mathbf e_1, that's

F=E0cos⁡φ (1+e3) e1F = E_0\cos\varphi\,(1 + \mathbf e_3)\,\mathbf e_1

only ∂z\partial_z and ∂t\partial_t act on it, so ∇F=e3∂zF\boldsymbol\nabla F = \mathbf e_3\partial_zF, and with ∂zcos⁡φ=−ksin⁡φ\partial_z\cos\varphi = -k\sin\varphi, 1c∂tcos⁡φ=ksin⁡φ\frac1c\partial_t\cos\varphi = k\sin\varphi:

(1c∂t+∇)F=kE0sin⁡φ (1+e3) e1−kE0sin⁡φ e3(1+e3) e1=kE0sin⁡φ (1−e3)(1+e3) e1\left(\frac1c\partial_t + \boldsymbol\nabla\right)F = kE_0\sin\varphi\,(1 + \mathbf e_3)\,\mathbf e_1 - kE_0\sin\varphi\,\mathbf e_3(1 + \mathbf e_3)\,\mathbf e_1 = kE_0\sin\varphi\,(1 - \mathbf e_3)(1 + \mathbf e_3)\,\mathbf e_1

and (1−e3)(1+e3)=1−e32=0(1 - \mathbf e_3)(1 + \mathbf e_3) = 1 - \mathbf e_3^2 = 0 ✓. the factor (1+e3)(1 + \mathbf e_3) is where the direction of travel sits - a wave going the other way would have (1−e3)(1 - \mathbf e_3)

the standard way, the two curls (the divergences are trivially zero):

  • Faraday: ∇×E=∂zEx e2=−kE0sin⁡φ e2\boldsymbol\nabla\times\mathbf E = \partial_zE_x\,\mathbf e_2 = -kE_0\sin\varphi\,\mathbf e_2, and −∂tB=−E0c ωsin⁡φ e2=−kE0sin⁡φ e2-\partial_t\mathbf B = -\frac{E_0}c\,\omega\sin\varphi\,\mathbf e_2 = -kE_0\sin\varphi\,\mathbf e_2 ✓
  • Ampère: ∇×B=−∂zBy e1=kE0csin⁡φ e1\boldsymbol\nabla\times\mathbf B = -\partial_zB_y\,\mathbf e_1 = \frac{kE_0}c\sin\varphi\,\mathbf e_1, and 1c2∂tE=ωE0c2sin⁡φ e1=kE0csin⁡φ e1\frac1{c^2}\partial_t\mathbf E = \frac{\omega E_0}{c^2}\sin\varphi\,\mathbf e_1 = \frac{kE_0}c\sin\varphi\,\mathbf e_1 ✓
python check
from sympy import symbols, cos
from galgebra.ga import Ga

t, x, y, z = symbols('t x y z', real=True)
c, k, E0 = symbols('c k E0', positive=True)
g3, e1, e2, e3 = Ga.build('e1 e2 e3', g=[1, 1, 1], coords=(x, y, z))
grad = g3.grad
I = e1*e2*e3

phi = k*z - c*k*t
F = E0*cos(phi)*e1 + I*c*(E0/c)*cos(phi)*e2

print((F.diff(t)/c + grad*F).simplify())    # 0

the wave equation in one line

in vacuum, apply 1c∂t−∇\frac1c\partial_t - \boldsymbol\nabla to both sides. ∂t\partial_t and ∇\boldsymbol\nabla commute, so the cross terms cancel, and ∇∇=∇2\boldsymbol\nabla\boldsymbol\nabla = \nabla^2 from part 4:

(1c∂t−∇)(1c∂t+∇)F=(1c2∂t2−∇2)F=0\left(\frac1c\partial_t - \boldsymbol\nabla\right)\left(\frac1c\partial_t + \boldsymbol\nabla\right)F = \left(\frac1{c^2}\partial_t^2 - \nabla^2\right)F = 0

and since the operator is a scalar, it keeps the grades apart - both E\mathbf E and B\mathbf B satisfy the wave equation, with speed cc. the standard derivation takes the curl of Faraday's law, uses ∇×(∇×E)=∇(∇⋅E)−∇2E\boldsymbol\nabla\times(\boldsymbol\nabla\times\mathbf E) = \boldsymbol\nabla(\boldsymbol\nabla\cdot\mathbf E) - \nabla^2\mathbf E, puts Ampère's law in, and then does it all again for B\mathbf B

charge conservation, for free

with sources, the same step gives

(1c2∂t2−∇2)F=1ε0(1c∂t−∇)(ρ−Jc)\left(\frac1{c^2}\partial_t^2 - \nabla^2\right)F = \frac1{\varepsilon_0}\left(\frac1c\partial_t - \boldsymbol\nabla\right)\left(\rho - \frac{\mathbf J}c\right)

the left side has only grades 1 and 2, like FF. so the scalar part of the right side must vanish - and it's 1cε0(∂tρ+∇⋅J)\frac1{c\varepsilon_0}(\partial_t\rho + \boldsymbol\nabla\cdot\mathbf J):

∂tρ+∇⋅J=0\partial_t\rho + \boldsymbol\nabla\cdot\mathbf J = 0

charge is conserved - it's built into the equation. in the standard form it takes the divergence of Ampère-Maxwell plus Gauss's law to see it

bonus: energy and momentum in one product

the reverse of FF is F~=E−IcB\widetilde F = \mathbf E - Ic\mathbf B (I~=−I\widetilde I = -I, part 2), and their product holds both the energy and its flow:

ε02FF~=ε02(E2+c2B2)⏟u, energy density+ε0c E×B⏟S/c, Poynting\frac{\varepsilon_0}2F\widetilde F = \underbrace{\frac{\varepsilon_0}2\left(\mathbf E^2 + c^2\mathbf B^2\right)}_{u,\ \text{energy density}} + \underbrace{\varepsilon_0c\,\mathbf E\times\mathbf B}_{\mathbf S/c,\ \text{Poynting}}

the energy density and the energy flow (the Poynting vector S=E×B/μ0\mathbf S = \mathbf E\times\mathbf B/\mu_0) are the scalar and the vector part of one product

why it works

FF~=(E+IcB)(E−IcB)=E2+c2B2+Ic(BE−EB)F\widetilde F = (\mathbf E + Ic\mathbf B)(\mathbf E - Ic\mathbf B) = \mathbf E^2 + c^2\mathbf B^2 + Ic(\mathbf B\mathbf E - \mathbf E\mathbf B)

and BE−EB=−2 E∧B=−2I E×B\mathbf B\mathbf E - \mathbf E\mathbf B = -2\,\mathbf E\wedge\mathbf B = -2I\,\mathbf E\times\mathbf B, so with I2=−1I^2 = -1 the last term is 2c E×B2c\,\mathbf E\times\mathbf B - times ε02\frac{\varepsilon_0}2, that's the formula above

example - the plane wave

for the plane wave above, that's ε0E02cos⁡2φ (1+e3)\varepsilon_0E_0^2\cos^2\varphi\,(1 + \mathbf e_3) - energy u=ε0E02cos⁡2φu = \varepsilon_0E_0^2\cos^2\varphi, flowing along e3\mathbf e_3 at the speed of light (∣S∣=cu|\mathbf S| = cu) ✓

python check
from sympy import symbols, cos
from galgebra.ga import Ga

t, x, y, z = symbols('t x y z', real=True)
c, k, E0 = symbols('c k E0', positive=True)
g3, e1, e2, e3 = Ga.build('e1 e2 e3', g=[1, 1, 1], coords=(x, y, z))
I = e1*e2*e3

phi = k*z - c*k*t
F = E0*cos(phi)*e1 + I*c*(E0/c)*cos(phi)*e2

print((F*F.rev()).simplify())
# 2*E0**2*cos(k*(c*t - z))**2 + 2*E0**2*cos(k*(c*t - z))**2*e3    - times eps0/2: u + S/c

what we have

  • F=E+IcBF = \mathbf E + Ic\mathbf B - the magnetic field is really a bivector, and the two fields are one multivector
  • Maxwell's equation is (1c∂t+∇)F=1ε0(ρ−Jc)\left(\frac1c\partial_t + \boldsymbol\nabla\right)F = \frac1{\varepsilon_0}\left(\rho - \frac{\mathbf J}c\right)
  • grades 0, 1, 2, 3 are Gauss, Ampère-Maxwell, Faraday and no monopoles
  • the wave equation and charge conservation follow in a line each
  • ε02FF~\frac{\varepsilon_0}2F\widetilde F is energy density plus Poynting vector

one thing is still odd: ∂t\partial_t and ∇\boldsymbol\nabla sit side by side, but time isn't a direction in this algebra. the last page adds it as one - and the equation gets even shorter