Drop a tiny cube into a flowing fluid and ask two separate questions. Does more fluid leave the cube than enter it? And would a tiny paddle wheel placed there start to spin? The first answer is a rate of outflow per unit volume, the second a circulation per unit area. Divergence and curl turn these two questions into derivatives you can compute at every point.
Key terms
The del operator
Definition In with right-handed coordinates, the del operator is the symbolic vector of partial derivatives
It is not a vector of numbers. It acts by formal multiplication. Applied to a scalar function it gives the gradient , dotted with a vector field it gives the divergence , and crossed with a vector field it gives the curl . In every case the needed partial derivatives must exist at the point.
In plain words Del is a bookkeeping device. Treat it like a vector, but where a product would appear, take a partial derivative instead.
Example For the gradient is
Divergence as local source strength
Definition Let be a vector field on an open set whose components have first partial derivatives at a point of . The divergence of there is the scalar
If is on and is a point of , then with the ball of radius centered at and the outward unit normal on its boundary sphere ,
This limit follows from the divergence theorem, which comes later in the course. The same limit holds with rectangular boxes in place of the balls, as long as every box contains , all its edge lengths tend to , and you divide by the volume of the box. The flux through such a box divided by its volume is the average of over the box, and continuity of makes that average tend to the value at .
In plain words Divergence is net outward flux per unit volume around a point. Positive means the point acts like a source and the flow spreads out, negative means a sink where the flow gathers in. If is a velocity in meters per second, divergence has units of one per second.
Example Take . The formula gives everywhere. Check it with the flux picture at the origin. On the sphere of radius the outward normal is , so at every point, and
The field pushes outward uniformly, a pure expansion.
Curl as local circulation
Definition Let have first partial derivatives at a point of an open set . The curl of there is the vector
which written out in components is
If is on , is in and is a unit vector, let be the circle of radius centered at in the plane through perpendicular to , oriented counterclockwise when seen from the tip of (the right-hand rule). Then
A planar field with and depending only on and can be viewed as . Its curl is then , and the number is called the scalar curl.
In plain words Curl measures circulation per unit area around a tiny loop. Where the curl is not zero, its direction is the axis about which the flow turns most strongly, by the right-hand rule, and its length is that strongest circulation per unit area. A velocity field in meters per second again gives units of one per second, yet curl and divergence measure different things and neither tells you the other.
Example The rotation field has
On the circle , counterclockwise seen from above, the circulation is
and dividing by gives , the component of the curl. Its divergence is , so the flow turns without expanding.
Laplacian
Definition Let have second partial derivatives on an open set . The Laplacian of is the divergence of its gradient,
It is often written . A function that is on with on all of is called harmonic on . In the plane the Laplacian is .
In plain words The Laplacian compares the value of at a point with its average nearby. Where it is positive, sits below the average of its neighbors, as at the bottom of a bowl. Harmonic functions equal their average on every small sphere, so they have no such dips or bumps.
Example Let with , defined on the open set minus the origin. There and
with matching formulas in and . Adding them gives
So is harmonic on minus the origin. At the origin it is not even defined, and that point must stay excluded.
Curl of a gradient
Definition If is on an open set , then
The proof is Clairaut’s theorem. The first component is , and the mixed partials are equal because they are continuous on the open set . The other two components work the same way.
In plain words A gradient field has no local swirl. Pushing a small loop around a gradient field gives zero circulation, because you climb exactly as much as you descend.
Example For the gradient is , and
Divergence of a curl
Definition If is on an open set , then
Expanding gives , and the terms cancel in pairs by Clairaut’s theorem.
In plain words A curl field has no sources or sinks. Whatever flows into a small box flows back out.
Example Take . Then
whose divergence is , as the identity promises.
Smoothness hypotheses and singular points
Definition The formulas for divergence, curl and the Laplacian need only the relevant partial derivatives at a point. The flux and circulation limits need to be on an open set containing the point. The identities and need on an open set, since they rest on equal mixed partials. Every statement holds only at points of the open domain. A point where the field is undefined is not covered, and loops or surfaces that surround such a point are not small loops or small spheres about a point of the domain.
In plain words Before you use an identity or read a meaning off a derivative, check where the field is smooth. A zero curl or zero divergence away from a singularity says nothing about a loop or sphere that encloses it.
Example The field
is on the open set of points off the -axis, and there . Yet around the unit circle in the -plane, counterclockwise seen from above, its circulation is . There is no contradiction. The circle surrounds the -axis, where is undefined, and every small circle that stays inside the domain does have circulation tending to zero per unit area.
Check yourself
- Compute the divergence and curl of the shear field and describe what a small paddle wheel would do.
Show the answer
The divergence is and the curl is . The flow neither expands nor compresses. A small paddle wheel with its axle parallel to the -axis feels a larger velocity on its side with larger than on its side with smaller , so it turns clockwise seen from above, even though every streamline is a straight line.
- Show that is harmonic on the plane minus the origin.
Show the answer
For the function is , and
Their sum is . The origin is excluded because is undefined there.
- The field with has divergence at every point except the origin, yet its outward flux through the unit sphere is . Why is this not a contradiction?
Show the answer
On the unit sphere , so the flux equals the area . The divergence describes flux per unit volume only for small spheres around points where is . The unit sphere encloses the origin, where is undefined, so zero divergence elsewhere says nothing about it.