Special relativity and electromagnetism
Suppose the origins of $S$ and $S'$ coincide at $t=t'=0$, i.e. treat coordinates as time interval from the event "origins coincide". The coordinates transform as $$ \v s' = \Lambda\v s$$ $$ \pmat{ct \\ x \\ y \\ z} = \pmat{\gamma & \gamma\beta & 0 & 0 \\ \gamma\beta & \gamma & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1} \pmat{ct' \\ x' \\ y' \\ z'}, \quad \pmat{ct' \\ x' \\ y' \\ z'} = \pmat{\gamma & -\gamma\beta & 0 & 0 \\ -\gamma\beta & \gamma & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1} \pmat{ct \\ x \\ y \\ z}$$ $$ \begin{cases} t &= \gamma(t' + vx'/c^2) \\ x &= \gamma(x' + vt') \\ y &= y' \\ z &= z' \end{cases}, \begin{cases} t' &= \gamma(t - vx/c^2) \\ x' &= \gamma(x - vt) \\ y' &= y \\ z' &= z \end{cases}. $$ (Derivation)
In general, a Lorentz transformation may contain a boost with spacial isometries, and reverse time. They form the Lorentz group, the set of all matrices $Λ$ satisfying $$ \begin{align*} {Λ^μ}_ρ η_{μν} {Λ^ν}_σ = η_{ρσ} \iff Λ^T ηΛ = η \end{align*} $$ where $η$ is the Minkowski metric tensor.
We use Einstein's suffix notation.
-
Greek indices $μ, ν, ρ, σ$ etc run from 0 to 3 to cover the dimensions of spacetime.
-
Roman indices $i, j, k, l$ etc run from 1 to 3 to cover the dimensions of space.
A 4-tensor of type $(r,s)$ is an object whose $4^{r+s}$ components transform as $$ \begin{align*} {T'^{μ_1\ldots μ_r}}_{ν_1\ldots ν_s} = {Λ^{μ_1}}_{ρ_1} \ldots {Λ^{μ_r}}_{ρ_r}\, {(Λ\inv)^{σ_1}}_{ν_1}\ldots{(Λ\inv)^{σ_s}}_{ν_s} \, {T^{ρ_1 \ldots ρ_r}}_{σ_1 \ldots σ_s} \end{align*} $$ under a Lorentz transformation $Λ$.
-
A $(1,0)$-tensor is a 4-vector.
-
A $(0,1)$-tensor is a 4-covector.
-
A $(0,0)$-tensor is a scalar (Lorentz invariant).
Summation convention on spacetime requires the repeated Greek index to appear once up and once down.
The square of a 4-vector $V$ $$ \begin{align*} V\cdot V = η_{μν}V^μ V^ν \end{align*} $$ is a scalar thus a Lorentz invariant.
$V$ is
-
timelike if $V\cdot V<0$;
-
null/lightlike if $V\cdot V = 0$;
-
spacelike if $V\cdot V>0$.
The Minkowski metric tensor $$ \begin{align*} η_{μν} = \pmat{-1&0&0&0\\ 0&1&0&0 \\ 0&0&1&0 \\ 0&0&0&1} = \mathrm{diag}(-1,1,1,1) \end{align*} $$ and its inverse $$ \begin{align*} η^{μν} = \mathrm{diag}(-1,1,1,1) \end{align*} $$ are isotropic by definition of a Lorentz transformation. They provides an isomorphism between vectors and covectors: $$ \begin{align*} V^{μ} = η^{μν} V_ν, \qquad V_μ = η_{μν} V^{ν}. \end{align*} $$
-
We can raise or lower any tensor index.
-
The inner product of two 4-vectors can be written as $V\cdot W = η_{μν} V^μ W^ν = V_μ W^μ = V^μ W_μ = η^{μν} V_μ W_ν$.
-
${η^μ}_ν = {δ^μ}_ν = \mathrm{diag}(1,1,1,1)$ is the Kronecker delta symbol.
The spacetime derivative of a scalar field $f(X)$ is a covector field $$ \begin{align*} \partial_μ f = (\partial_0 f, \partial_i f) = \left(\frac{1}{c} \pdfd{f}{t}, ∇f\right). \end{align*} $$
The spacetime divergence of a 4-vector field $V(X) = (V^0, \v v)$ is a scalar field $$ \begin{align*} \partial_μ V^μ = \partial_0V^0 + \partial_i V^i = \frac{1}{c}\pdfd{V^0}{t} + ∇\cdot \v v. \end{align*} $$
The spacetime equivalent of the curl is the antisymmetric derivative of a covector field $Y(X)$ $$ \begin{align*} \partial_μ Y_ν - \partial_ν Y_μ. \end{align*} $$
The generalisation of the Laplacian $∇^2$ is the d'Alembertian, a scalar differential operator $$ \begin{align*} \square = η^{μν}\partial_μ \partial_ν = -\frac{1}{c^2} \pdd[2]{t} + ∇^2. \end{align*} $$ The wave equation for a scalar field is $\square f = 0$. It is only a scalar equation for waves that travel at $c$.
The proper time $τ$ is the time experienced by the particle. The world line parametrised in $τ$ has constant speed $-c^2$, i.e. $\d X \cdot \d X = -c^2 \d τ^2$.
The 4-velocity of a massive particle is $$ \begin{align*} U = \dfd{X}{τ} = γ_\v u(c,\v u) \end{align*} $$ where $\v u = \dfd{\v x}{t}$ is the 3-velocity. We have $$ \begin{align*} U\cdot U = -c^2. \end{align*} $$ (Derivation)
The 4-momentum of a massive particle with rest mass $m>0$ is $$ \begin{align*} P^μ = mU^μ = mγ_\v u(c, \v u) = \left(\frac{E}{c}, \v p\right) \end{align*} $$ where $E$ is the energy and $\v p = mγ_\v u \v u$ is the 3-momentum. Computing its square $P\cdot P = -m^2c^2$ gives $$ \begin{align*} E^2 = (mc^2)^2 + (|\v p|c)^2. \end{align*} $$ Massless particles such as photons travel at the speed of light and they have $$ \begin{align*} E = |\v p|c. \end{align*} $$
The relativistic equation of motion for a massive particle is $$ \begin{align*} \dfd{P^μ}{τ} = f^μ \end{align*} $$ where $f^μ$ is the 4-force. Since $P\cdot P$ is constant, we must have $$ \begin{align*} f\cdot P = 0. \end{align*} $$ (Derivation)
The 4-current density (or charge-current density 4-vector) is defined as $$ \begin{align*} J^μ = (ρc, \v J). \end{align*} $$
Charge conservation is expressed as $$ \begin{align*} \partial_μ J^μ = 0. \end{align*} $$
The Lorentz force as a 4-vector is $$ \begin{align*} f_μ = qF_{μν}U^ν \end{align*} $$ where $F_{μν}$ is the electromagnetic tensor having components $$ \begin{align*} F_{00} &= 0, \\ F_{0i} &= -E_i/c, \\ F_{i0} &= E_i/c, \\ F_{ij} &= ε_{ijk} B_k. \end{align*} $$ In marix form, $$ \begin{align*} F_{μν} = \pmat{0 & -E_x/c & -E_y/c & -E_z/c \\ E_x/c & 0 & B_z & -B_y \\ E_y/c & -B_z & 0 & B_x \\ E_z/c & B_y & -B_x & 0}. \end{align*} $$
The spatial component says $$ \begin{align*} \dfd{\v p}{τ} = γ_\v uq(\v E + \v u \times \v B) \iff \dfd{\v p}{t}=q(\v E + \v u\times \v B) = \v F \end{align*} $$ where $\v F$ is the 3-force.
The time component says $$ \begin{align*} \dfd{E}{τ} = γ_\v u q\v E\cdot \v u \iff \dfd{E}{t} = q\v E\cdot \v u = \v F\cdot \v u. \end{align*} $$
If an inertial frame $S'$ moves at a velocity $\v v$ relative to $S$, then the components of $\v E$ and $\v B$ parallel and perpendicular to $\v v$ transform as $$ \begin{align*} \v E_\parallel' &= \v E_\parallel, & \v E_\perp' &= γ(\v E_\perp + \v v\times \v B_\perp), \\ \v B_\parallel' &= \v B_\parallel, & \v B_\perp' &= γ(\v B_\perp - \frac{1}{c^2}\v v\times \v E_\perp). \end{align*} $$ (Derivation)
We obtain a (Lorentz invariant) scalar $$ \begin{align*} F_{μν} F^{μν} \propto |\v E|^2 - c^2 |\v B|^2 \end{align*} $$ and a pseudo-scalar (transforming with a minus sign if $\det Λ = -1$) $$ \begin{align*} ε_{μνρσ} F^{μν} F^{ρσ} \propto \v E \cdot \v B. \end{align*} $$
The 4-potential is the 4-vector $$ \begin{align*} A^μ = \left(\frac{Φ}{c}, \v A\right). \end{align*} $$ Then the electromagnetic tensor is the antisymmetric derivative $$ \begin{align*} F_{μν} = \partial_μA_ν - \partial_ν A_μ. \end{align*} $$ (Derivation)
Now a gauge transformation $$ \begin{align*} \tilde A_μ = A_μ + \partial_μ χ \end{align*} $$ leaves $F_{μν}$ unchanged because $\partial_μ\partial_ν χ - \partial_ν \partial_μ χ = 0$.
The equivalent of the Coulomb gauge is the Lorentz gauge in which $$ \begin{align*} \partial_μ A^μ = 0. \end{align*} $$ This can be assume WLOG: if $\partial_μ A^μ \neq 0$, take $χ$ to be the solution of the forced wave equation $-\square χ = \partial_μ A^μ$.
Maxwell's equations can be written in covariant form $$ \begin{align*} \partial_ν F^{μν} = μ_0 J^μ \end{align*} $$ and $$ \begin{align*} ε^{μνρσ} \partial_ν F_{ρσ} = 0 \iff \partial_μ F_{νρ} + \partial_ν F_{ρμ} + \partial_ρ F_{μν} = 0. \end{align*} $$ (Derivation)
They agree with charge conservation. (Derivation)
In the Lorentz gauge, the second equation is automatically satisfied, and the first becomes $$ \begin{align*} -\square A^μ = μ_0 J^μ. \end{align*} $$ (Derivation)