the goal of the series. everything needed is in place: the product of a vector and a bivector (part 2), the pseudoscalar I and duality, ∇ as a vector (part 4), and electrostatics as ∇E=ρ/ε0 (part 5). no relativity yet - that's part 7
the four equations
in SI units, with c2=1/μ0ε0:
equation
law
(1)
∇⋅E=ρ/ε0
Gauss - charges are sources of E
(2)
∇×B−c21∂tE=μ0J
Ampère-Maxwell - currents and changing E make B curl
(3)
∇×E+∂tB=0
Faraday - changing B makes E curl
(4)
∇⋅B=0
no magnetic monopoles
two divergences and two curls - eight component equations in all
the field as one multivector
E is an ordinary vector. but B is a pseudovector (it only ever shows up through cross products, like in the force on a moving charge, qv×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 IB - a plane of circulation, like the curl in part 4
put them together, with a c so both parts have the same units:
F=E+IcB
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:
ε01(ρ−cJ)
Maxwell's equation
(c1∂t+∇)F=ε01(ρ−cJ)
that's all of it. the operator on the left is the one from electrostatics, ∇, with time added - and with no time dependence and no B, it is ∇E=ρ/ε0 again
each grade is one law
multiply out the left side. three pieces:
∇E=∇⋅E+I∇×E - part 4
∇(IcB)=Ic∇B=Ic∇⋅B+IcI∇×B=Ic∇⋅B−c∇×B - I commutes with everything, and I2=−1
c1∂tF=c1∂tE+I∂tB
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
ρ/ε0
(1) Gauss
1 - vector
c1∂tE−c∇×B
−J/cε0
(2) Ampère-Maxwell
2 - bivector
I(∇×E+∂tB)
0
(3) Faraday
3 - trivector
Ic∇⋅B
0
(4) no monopoles
the vector row, multiplied by −1/c, is ∇×B−c21∂tE=c2ε0J=μ0J ✓. 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. c1∂t+∇ has a Green's function, so you can solve for F directly from the sources, instead of solving coupled equations for E and 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
deffield(name):# a general vector field, each component a function of t, x, y, zreturnsum((Function(name + k)(t, x, y, z)*e for k, e inzip('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 inrange(4):# D{x}Ex means dEx/dxprint(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 and B=cE0cosφe2, with the phase φ=kz−ωt and ω=ck. in vacuum the right side is zero
the field is F=E0cosφ(e1+Ie2)=E0cosφ(e1+e31), and since e31=e3e1, that's
F=E0cosφ(1+e3)e1
only ∂z and ∂t act on it, so ∇F=e3∂zF, and with ∂zcosφ=−ksinφ, c1∂tcosφ=ksinφ:
and (1−e3)(1+e3)=1−e32=0 ✓. the factor (1+e3) is where the direction of travel sits - a wave going the other way would have (1−e3)
the standard way, the two curls (the divergences are trivially zero):
Faraday: ∇×E=∂zExe2=−kE0sinφe2, and −∂tB=−cE0ωsinφe2=−kE0sinφe2 ✓
Ampère: ∇×B=−∂zBye1=ckE0sinφe1, and c21∂tE=c2ωE0sinφe1=ckE0sinφe1 ✓
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 c1∂t−∇ to both sides. ∂t and ∇ commute, so the cross terms cancel, and ∇∇=∇2 from part 4:
(c1∂t−∇)(c1∂t+∇)F=(c21∂t2−∇2)F=0
and since the operator is a scalar, it keeps the grades apart - both E and B satisfy the wave equation, with speed c. the standard derivation takes the curl of Faraday's law, uses ∇×(∇×E)=∇(∇⋅E)−∇2E, puts Ampère's law in, and then does it all again for B
charge conservation, for free
with sources, the same step gives
(c21∂t2−∇2)F=ε01(c1∂t−∇)(ρ−cJ)
the left side has only grades 1 and 2, like F. so the scalar part of the right side must vanish - and it's cε01(∂tρ+∇⋅J):
∂tρ+∇⋅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 F is F=E−IcB (I=−I, part 2), and their product holds both the energy and its flow:
the energy density and the energy flow (the Poynting vector S=E×B/μ0) are the scalar and the vector part of one product
why it works
FF=(E+IcB)(E−IcB)=E2+c2B2+Ic(BE−EB)
and BE−EB=−2E∧B=−2IE×B, so with I2=−1 the last term is 2cE×B - times 2ε0, that's the formula above
example - the plane wave
for the plane wave above, that's ε0E02cos2φ(1+e3) - energy u=ε0E02cos2φ, flowing along e3 at the speed of light (∣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+IcB - the magnetic field is really a bivector, and the two fields are one multivector
Maxwell's equation is (c1∂t+∇)F=ε01(ρ−cJ)
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
2ε0FF is energy density plus Poynting vector
one thing is still odd: ∂t and ∇ 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