Maxwell's equations

Maxwell’s equations are the fundamental equations describing electromagnetism. Here E\mathbf E is the electric vector field in space, B\mathbf B is the magnetic vector field, and n^\hat{\mathbf n} is the outward-pointing unit normal vector to a closed surface.

The constant ϵ0\epsilon_0 is the vacuum permittivity and μ0\mu_0 is the vacuum permeabiliy. These are the two fundamental constants related to electricity and magnetism, respectively. In material, ϵ\epsilon and μ\mu may be different, substitute them instead of ϵ0\epsilon_0 and μ0\mu_0.

Gauss’s law

Gauss’s law tells us that electric charges create electric fields. Here ρ\rho is the electric charge density (units Cm3C\cdot m^{-3}). The right hand side of the equation is QenclosedQ_\mathrm{enclosed}, the charge enclosed in VV, and the left is the electric flux through the surface SS that encloses it.

SEn^dA=1ϵ0VρdV. \oiint_S \mathbf E \cdot \hat{\mathbf n} dA = \frac{1}{\epsilon_0} \iiint_V \rho dV.

In differential form

E=ρϵ0. \nabla \cdot \mathbf E = \frac{\rho}{\epsilon_0}.

Magnetic Gauss’s law

Magnetic Gauss’s law tells us that there are no magnetic monopoles (isolated + or -). All magnetic fields are created by dipoles (which have both a + and a -), so the magnetic flux through a closed surface is always net zero.

SBn^dA=0. \oiint_S \mathbf B \cdot \hat{\mathbf n} dA = 0.

In differential form

B=0. \nabla \cdot \mathbf B = 0.

Faraday’s law

Faraday’s law tells us that there is another way to create an electric field, which is using a time-varying magnetic field. The electric field is called the induced electric field, and the principle which Faraday’s law describes is called electromagnetic induction.

CEds=ddtSBn^dA. \oint_C \mathbf E \cdot \mathbf{ds} = -\frac{d}{dt} \iint_S \mathbf B \cdot \hat{\mathbf n} dA.

Faraday’s law is also written as CEds=dΦBdt\oint_C \mathbf E \cdot \mathbf{ds} = -\frac{d\Phi_B}{dt}. In this form it is sometimes called Lenz’s law.

In differential form

×E=Bt. \nabla \times \mathbf E = -\frac{\partial B}{\partial t}.

Maxwell-Ampere’s law

Maxwell-Ampere’s law tells us that there are two ways of creating magnetic fields. The first term (Ampere’s discovery) tells us that currents create a magnetic field, and the second term (Maxwell’s discovery) tells us that a time-varying electric field creates a magnetic field.

CBds=μ0SJn^dA+μ0ϵ0ddtSEn^dA. \oint_C \mathbf B \cdot \mathbf{ds} = \mu_0 \iint_S \mathbf J \cdot \hat{\mathbf n} dA + \mu_0 \epsilon_0 \frac{d}{dt} \iint_S \mathbf E \cdot \hat{\mathbf n} dA.

In differential form

×B=μ0(J+ϵ0Et). \nabla \times \mathbf B = \mu_0 \left(\mathbf J + \epsilon_0 \frac{\partial \mathbf E}{\partial t}\right).