Multivariable calculus and vector fields
A spring bubbles up somewhere in the middle of a pond, but you cannot see the bottom. Can you tell how much water the spring is producing just by standing at the edge of a circle around it and measuring what flows out across the circle?
Yes, and the reason is one of the two great theorems of this chapter. Physics is full of quantities that have a size and a direction at every point: the velocity of water, the electric field, the flow of heat. To reason about them we need calculus that works in more than one dimension.
Fields of arrows
A vector field attaches an arrow to every point. The plate shows three, with tracer particles drifting along them. Look at , where water pours outward from the middle; , where it circles; and , where it flows straight but faster on one bank than the other.
Divergence: how much comes out
Draw a tiny box anywhere in the flow and ask how much more water leaves it than enters it, per unit area. That number is the divergence. For a field it is
The whirlpool and the river have zero divergence everywhere: whatever flows into a box flows out. The spring has all of its divergence concentrated at the single point where the water appears.
Watching the boundary
Now answer the opening question. Around the spring, draw a circle of radius 1.0 and add up the flow crossing it. The flow weakens as , but the circle grows as , so the total, the flux, comes out at exactly for every circle.
That is the divergence theorem: the flux out through a closed boundary equals the total divergence inside it.
In three dimensions the same thing happens with a field that weakens as , like gravity or the electric field of a charge: the flux through any sphere around the source is , whatever its radius. That fact is Gauss’s law, and you will meet it again in electromagnetism. Established
Curl: does it make things spin?
Drop a tiny paddle wheel into the flow. If it turns, the field has curl there. In a whirlpool it spins, as you would expect. Now . The water flows perfectly straight, yet the wheel turns, because one side of it is pushed harder than the other.
For the whirlpool the curl is 2 everywhere; for the river it is . Curl measures local rotation, not whether the flow goes round in circles.
Stokes’ theorem
Walk once around a loop in the whirlpool and add up how much the flow pushes you along. That total is the circulation. Stokes’ theorem says it equals the total curl inside the loop:
For the whirlpool and a circle of radius : the curl is 2, the area is , so the circulation is . Walking around the edge, the speed is and the distance is : the same answer, as it must be.
Gradient: the way uphill
A third operation turns a single number at each point, such as temperature or height, into a field of arrows. The gradient points in the direction where rises fastest, and its length is how fast. The plate shows a hill as contour lines, and the gradient arrows crossing every contour at right angles.
Forces often come from gradients: a ball rolls along , straight down the steepest slope of its potential energy. That single idea will carry us into quantum mechanics.
Counting area in circles
Problems with round symmetry are easier in polar coordinates, but area has to be counted honestly. A small patch between radius and and angle and is not ; it is , because patches further out are wider. The plate shows equal steps in and making bigger and bigger patches.
In three dimensions, with the usual spherical angles, the volume element is . The factor in front is called the Jacobian. You will need this one for the hydrogen atom.
What you now have
Gradient, divergence and curl, and two theorems that trade what happens inside a region for what happens on its edge. Maxwell’s equations are written in exactly this language.
· · ·
Three questions to carry with you.
And one to work out. A charge produces the field . What is the flux through a sphere of radius 3?
Sources: H. M. Schey, Div, Grad, Curl, and All That. J. Marsden and A. Tromba, Vector Calculus. Results checked by hand and code: flux of r̂/r through a circle = 2π; flux of r̂/r² through a sphere = 4π; curl of (−y, x) = 2.