# 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}}\cdot d{\vec {s}}=\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}}\cdot d{\vec {s}}=\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.