Maxwell's equations
Electromagnetic waves are predicted by the classical laws of electricity and magnetism, known as Maxwell's equations. There are nontrivial solutions of the homogeneous Maxwell's equations (without charges or currents), describing "waves" of changing electric and magnetic fields. Beginning with Maxwell's equations in free space: