Electromagnetic field

It is the fundamental notion for Optics.

Classically

Electric and magnetic fields are connected by Maxwell's equations. They are a summary of a lot of relations worked out during the 19th century to explain how the electric and magnetic fields evolve with time, one influenced by the other. This set of equations was a big achievement for science.

E=ρε0(Gauss’s Law)B=0(Gauss’s Law for Magnetism)×E=Bt(Faraday’s Law)×B=μ0j+μ0ε0Et(Ampère’s Law with Maxwell’s correction)

Here, ρ and j are data about the distribution and movement of the charges affecting the fields. See four-current.

On the other hand, it was discovered by Lorentz that a particle with electric charge q subjected to an electric field E and a magnetic field B experiences a force (Lorentz force law):

f=q[E+v×B]

where v is the speed of the particle.
Observe that to determine the electric field E at a point x and at an instant t, we measure the force on a stationary unit charge placed at x. Once E is determined, we can measure the magnetic field B by observing the forces on unit charges at x moving with velocity vectors i^, j^, and k^. These measurements help fully determine B since E has already been obtained. Thus the Lorentz force law serves to define E and B! See @frankel2011geometry page 119.

Differential forms approach

Indeed, since forces are 1-forms (see axiomatic Newtonian mechanics), and taking into account Lorentz force law above, we should consider that the electric field is indeed a 1-form, and the magnetic field is a 2-form, so that v×B is, instead, the interior product

v×B=vB.

From this point of view, and assuming the existence of the standard metric g in 3D space, Maxwell's equations can be rewritten as

dsE=ρε0volg(Gauss’s Law)dsB=0(Gauss’s Law for Magnetism)dsE=Bt(Faraday’s Law)dsB=μ0j+μ0ε0Et(Ampère’s Law with Maxwell’s correction)

where is the Hodge star operator for this metric. Here, the symbol ds stands for the exterior derivative in R3, with the subscript s to distinguish from the exterior derivative in 4D below.
In this guise, Maxwell's equations are invariant through any transformation affecting only spatial coordinates. But, what about time? We should be able to transform not only through space but also through the time coordinates (for example when an observer is moving with respect to the other). That is, we can consider that E,B are defined on a 4D space (t,x,y,z), and we have transformations involving these four variables. With this approach, Lorentz force can be written as

f=quF,

where u is the four-velocity for a suitable 4D metric related to the provided 3D metric g, and with

F:=Edt+B.

Or, in components

Fμν=(0ExEyEz+Ex0+BzBy+EyBz0+Bx+Ez+ByBx0)

Observe that this is a spacetime version of the previous Lorentz's force f=q[EvB], so it has one more component.

Now, observe that Gauss's law for magnetism and Faraday's law can be simply written as

dF=0,

since

dF=dB+dEdt=dsB+dttB+(dsE+dttE)dt=dsB+(tB+dsE)dt.

The other pair of equations arises from considering the four-vector J=(ρ,j1,j2,j3) and use the 4D metric to obtain the 1-form J (see musical isomorphism), and the Hodge dual of F, F. Those equations can be summarized as

dF=J.

Gauss's law and Ampere's law can be recovered from this expression, if we assume that the 4D metric is the Minkowski metric.

In conclusion, given a Lorentzian manifold representing spacetime, an electromagnetic field is, therefore, a 2-form F satisfying Maxwell equations

dF=0,dF=J,

where J is a vector field called current density, which represents the source of the field. Observe that the continuity equation dJ=0 is automatically satisfied. See also evolution of current density and EM field.

Maxwell equations are equivalently given in index notation as

μFνσ+νFσμ+σFμν=0,νFμν=Jμ,

or in Penrose abstract index notation as

[aFbc]=0,aFab=4πJb.

The vector potential

The first Maxwell equation dF=0 implies that, by Poincare lemma, there exists a 1-form A such that F=dA. Indeed, there is no only such an A, but infinite: given A with dA=F, any A=A+dϕ is admissible, where ϕ is any smooth function. When we take a particular ϕ is is said that we are choosing a gauge. It turns out that this has to do with connections in gauge theory, but I don understand yet.

The Lagrangian

We can think that Maxwell's equations are the analogous of the equation of motion of a particle but for the electromagnetic field. So it would be great if they, instead of being obtained empirically (we postulate their existence from the experiments), they were derived from a Lagrangian (also postulated, of course) together with the principle of least action. That would confer a more compact approach to electromagnetism, giving the same treatment to particles and fields.

The first half of Maxwell's equations are deduced only from math. Susskind (@susskind2017special) calls it the Bianchi identity (page 300).

For the second half, the Lagrangian turns out to be

L=14FμνFμν

when we are in the vacuum. Euler-Lagrange equations from here lead to

νFμν=0

It can be guessed that, if we have the moving charges in the ambient, the Lagrangian would be the same but with the additional term

Jμ(x)Aμ(x)

This modified Lagrangian leads to an action (which is gauge invariant) that yields the equation

νFμν=Jμ

In summary, the action given by:

S=d4xg(14FμνFμν+JμAμ)

leads to Maxwell's equations:

μFνμ=Jν,[μFνκ]=0

Gauge theory formulation

Electromagnetism can be formulated as a gauge theory. Here we show a dictionary to see who is who (this is according to ChatGPT, I need to validate this).

Mathematical Object Physical/Geometrical Interpretation
Lorentzian manifold M The spacetime manifold, where events occur and the electromagnetic field is defined.
2-form F on M The electromagnetic field strength tensor, encoding the electric and magnetic fields E and B.
dF=0 Maxwell's equations B=0 and ×E+tB=0 (no magnetic monopoles, Faraday's law).
dF=J Maxwell's equations E=ρ, ×BtE=J (Gauss's law, Ampère's law with sources).
J The current density vector field, representing the source of the electromagnetic field (e.g., moving charges).
Principal U(1)-bundle P The principal bundle whose structure group U(1) corresponds to the gauge symmetry of electromagnetism.
Connection D on P A covariant derivative on P, describing how charged fields varies with respect to space and time.
A, u(1)-valued 1-form The vector potential (or gauge potential) in electromagnetism. It defines, locally, a connection D, depending on the choosing trivialization of P (gauge fixing).
F, curvature of the connection The electromagnetic field strength tensor, computed as the curvature 2-form of the connection. It satisfies, in this case, F=dA.
Associated bundle Eq A complex line bundle associated with the principal U(1)-bundle, corresponding to a particular charge q. Different charges q correspond to different associated bundles Eq, each with a distinct representation of U(1).
Section of Eq A charged scalar field ϕq (e.g., a particle wavefunction or a field in quantum field theory) with charge q. Different charged fields correspond to sections of different bundles Eq.
Covariant derivative Dϕq It is the induced connection by D in Eq. It let us calculate the derivative of a charged field ϕq, that includes the effects of the electromagnetic interaction via A, once a section of P is fixed. It takes the form Dμϕq=(μ+iqAμ)ϕq, reflecting the charge-dependent action of the connection.

See also gauge theory#Coming from Classical field theories.