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.
Here,
On the other hand, it was discovered by Lorentz that a particle with electric charge
where
Observe that to determine the electric field
Differential forms approach
Indeed, since forces are 1-forms (see axiomatic Newtonian mechanics), ant 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
From this point of view, and assuming the existence of the standard metric
where
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
where
Or, in components
Observe that this is a spacetime version of the previous Lorentz's force
Now, observe that Gauss's law for magnetism and Faraday's law can be simply written as
since
The other pair of equations arises from considering the four-vector
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
where
Maxwell equations are equivalently given in index notation as
or in Penrose abstract index notation as
The vector potential
The first Maxwell equation
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) with the action principle (Euler-Lagrange). 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
when we are in the vacuum. Euler-Lagrange equations from here lead to
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
This modified Lagrangian leads to an action (which is gauge invariant) that yields the equation
In summary, the action given by:
leads to Maxwell's equations: