# Physics with Calculus/Electromagnetism/Maxwell's Equations

So, to unify everything we have said about electricity and magnetism so far, we will write out Maxwell's equations together. Taken together, Maxwell's equations describe all of classical electrodynamics.

First we have Gauss' law:

$\oint_{S} \vec{E} \cdot d\vec{A} = \frac{Q_{encl}}{\epsilon_0}$.

Gauss' law for magnetism is

$\oint_{S} \vec{B} \cdot d\vec{A} = 0$.

Ampere's law is

$\oint_{C} \vec{B} = \mu_0 I_{encl}$.

$\oint_{C} \vec{E} = -\frac{d \Phi_B}{dt}$.

However, imagine a parallel plate capacitor. If we apply Ampere's law around the wire, and take the surface so that the wire cuts through it, we get one answer. But if we take the surface so that it goes in between the parallel plates, we get 0 for the surface integral! We have to revise our laws. Maxwell added in a term which essentially implies that when charge builds up, current has flowed in -- the conservation of charge. This manifests itself as a new term in Ampere's law (you can actually show that in order to have charge conserved, this is the only possible term that is legal and able to be measured):

$\oint_{C} \vec{B} = \mu_0 I_{encl} + \epsilon_0 \mu_0 \frac{d \Phi_E}{dt}$.

Look at the equations; there are two contour integral equations and two surface integral equations. The Ampere-Maxwell law and the Faraday law both have the derivative of the flux of the opposite field in them. It is not difficult to imagine that if we had a magnetic charge, Maxwell's equations would be completely symmetrical, up to the constants in front of terms.

Also, we can apply Green's Theorem to Maxwell's equations and obtain them in another form:

$\nabla \cdot E = \frac{\rho}{\epsilon_0}$

$\nabla \cdot B = 0$

$\nabla \times E + \frac{\partial B}{\partial t} = 0$

$\nabla \times B - \epsilon_0 \mu_0 \frac{\partial E}{\partial t} = \mu_0 J$.

Helmholtz's theorem states that a function is uniquely defined by it's divergence, curl, and suitable boundary conditions. If we play around with that theorem a little bit, we can show that Maxwell's equations completely specify all of electromagnetism.