## Introduction #

Let's take a look at Maxwell's equations (in differential form):

$\nabla\cdot \mathbf{B}=0;\;\nabla\times \mathbf{E}+\frac{\partial \mathbf{B}}{\partial t}=0,$
$\nabla\cdot \mathbf{E}=\frac{\rho}{\epsilon_0};\; \nabla\times \mathbf{B}-\epsilon_0\mu_0\frac{\partial \mathbf{E}}{\partial t}=\mu_0j.$

We'll try and understand what these mean geometrically, and how you can go about using them.

## Some Vector Calculus #

Firstly we need some vector calculus. Let's start off with some vector field $\mathbf{A}=(A_x,A_y,A_z)$. The divergence of $\mathbf{A}$ is given by

$\nabla\cdot\mathbf{A}=\partial_xA_x+\partial_yA_y+\partial_zA_z.$

What does the divergence mean intuitively? Imagine placing a tiny sphere at some point $\mathbf{p}=(x_0,y_0,z_0)$, and letting the surface of the sphere be pushed and pulled by the vector field $\mathbf{A}$. Depending on the vector field the surface of the sphere will be distorted, and its volume will change. The rate of change of volume is given by the divergence of $\mathbf{A}$ at $\mathbf{p}$. If the divergence is positive, that means the volume of the sphere will increase. If the divergence is negative, then the volume of the sphere will decrease. If the divergence is zero then the shape of the sphere may be distorted, but in such a way that the volume remains constant.

The divergence is related to the divergence theorem. Let $V$ be some solid volume, $\partial V$ its surface, and $\hat{\mathbf{n}}$ the normal vector. For if $V$ were the solid ball of radius $1$, then $\partial V$ would be the surface of that ball, namely the sphere of radius $1$, and $\hat{\mathbf{n}}$ the unit normal vector on the sphere. The divergence theorem relates the integral of the divergence of $\mathbf{A}$ over $V$, with the integral of $\mathbf{A}\cdot\hat{\mathbf{n}}$ over the surface of $V$:

$\int_V\nabla\cdot\mathbf{A},dV=\int_{\partial V}\mathbf{A}\cdot \hat{\mathbf{n}},dS.$

Imagine an incompressible fluid in three dimensions, being pushed around by $\mathbf{A}$. If the divergence is positive at a point then fluid is being created and pushed outwards. If the divergence is negative then the fluid is being sucked away, while if the divergence is zero then the vector field is pushing the fluid around, without creating or destroying it. The left hand side of the equation above is the sum over the entire volume $V$ of how much fluid is being created or sucked up. Now let's look at the right hand side. The dot product $\mathbf{A}\cdot\hat{\mathbf{n}}$ asks how much fluid is being pushed through the boundary; if the dot product is positive then fluid is being pushed out of the surface, if the dot product is negative then fluid is being pushed into the surface, while if the dot product is zero then fluid is circulating around the surface, without going inwards or outwards.

In other words the divergence theorem says that the sum of all the fluid being created or sucked up at each point in the entire volume $V$ is equal to the net amount of fluid that gets pushed into or out of the surface.

Next we have the curl:

$\nabla\times\mathbf{A} = (\partial_x,\partial_y,\partial_z)\times(A_x,A_y,A_z),$
$\phantom{\nabla\times\mathbf{A}}=\left(\partial_yA_z-\partial_zA_y,\partial_zA_x-\partial_xA_z,\partial_xA_y-\partial_yA_x\right).$

To interpret the curl, imagine placing a tiny sphere at some point $\mathbf{p}$, but fix it in place so that it cannot move. Let's suppose this sphere is rigid, so that it's surface cannot be stretched. You can imagine $\mathbf{A}$ at each point on the surface of the sphere giving it a little push or pull. If we let all these pushes and pulls add up, the sphere will start to rotate. The magnitude of the curl tells you how fast the sphere will rotate due to its surface being pushed by $\mathbf{A}$, and the direction of the curl tells you the axis the sphere will rotate around.

The curl is related to Stokes' theorem. Let $\Sigma$ be a two-dimensional solid region with normal vector $\hat{\mathbf{n}}$, and $\partial\Sigma$ the one-dimensional boundary of $\Sigma$. Stokes' theorem relates the integral of the curl over $\Sigma$ to the line integral of $\mathbf{A}$ around the boundary:

$\int_{\Sigma}\nabla\times\mathbf{A}\cdot\hat{\mathbf{n}},dS=\int_{\partial\Sigma}\mathbf{A}\cdot d\mathbf{l}.$

The left hand side gives the integral over $\Sigma$ of the circulation of the vector field in the plane of $\Sigma$. The right hand side gives the net circulation of $\mathbf{A}$ around the boundary.

Stokes' theorem says that the sum of circulation of fluid at every point of a two-dimensional surface is equal to the net circulation around the boundary of the surface.

## The Meaning of Maxwell's Equations #

Armed with our knowledge of vector calculus, let's take another look at Maxwell's equations. We'll begin with the divergence of the magnetic field:

$\nabla\cdot\mathbf{B}=0.$

This equation says that there are no 'sources' or 'sinks' of the magnetic field lines. The magnetic field is neither created nor destroyed, it just flows from one place to another. If you draw a solid region, there is just as much magnetic field coming into the region as coming out. Things are slightly different for the electric field however:

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

If there is no charge in a region of space, then electric field lines are also neither created nor destroyed. If you have positive charge however this acts as a source of electric field lines, and a region enclosing positive charge will on the whole have electric field being 'produced' inside and flowing outwards from the surface. Negative charge on the other hand acts as a sink, 'sucking in' the electric field. If you consider a region enclosing negative charge, the electric field will flow inwards through the boundary.

The moral of the story is every time you see a divergence $\nabla\cdot\mathbf{A}$ in Maxwell's equations, imagine drawing a three-dimensional volume and use the divergence theorem to convert this to an integral of $\mathbf{A}\cdot\hat{\mathbf{n}}$ over the surface.

Similarly every time you see a curl $\nabla\times\mathbf{A}$ in Maxwell's equations, draw a two-dimensional surface and use Stokes' theorem to convert this to an integral of $\mathbf{A}\cdot d\mathbf{l}$ around the boundary.

Let's see this with Faraday's law:

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

Integrate both sides of this over a two-dimensional surface. The right hand side will be the rate of change of the flux of $\mathbf{B}$ through the surface. If the flux is changing, this will induce an electric field circulating around the boundary of this surface. The case is similar for

$\nabla\times\mathbf{B}=\mu_0j+\epsilon_0\mu_0\frac{\partial\mathbf{E}}{\partial t},$

only now we find that a current also induces a circulating magnetic field around the boundary.