Vector Calculus Preliminaries
Learning objectives
- Compute gradient, divergence, and curl of vector fields in
- Read the geometric meaning of , , and off the symbol
- Use the second-derivative identities and
- Recognise where these operators appear in fluid mechanics, electromagnetism, and optimisation
Vector calculus is the bridge between point-wise differential reasoning and global integral statements about flow, flux, and circulation. Before we can state the Divergence Theorem or Stokes' Theorem, we need three differential operators that act on functions and vector fields in . Each one has a precise algebraic definition, but more importantly each one tells a geometric story: the gradient points uphill, the divergence measures expansion, and the curl measures rotation. Once you can read these meanings off the symbols, the integral theorems stop looking like formulas to memorise and start looking like conservation laws to apply.
The gradient
For a scalar function , the gradient is the vector field
points in the direction of steepest increase of , and its magnitude is the rate of increase in that direction. Perpendicular to , the function is locally constant — this is why level surfaces of are everywhere perpendicular to .
Divergence
For a vector field , the divergence is the scalar
The divergence at a point measures the net outward flux per unit volume of an infinitesimal box centred there. Positive divergence: a source. Negative: a sink. Zero everywhere: incompressible.
Curl
The curl of is the vector field
The curl at a point is twice the angular velocity of an infinitesimal paddle wheel placed in the flow. Its direction is the rotation axis (by the right-hand rule). Zero curl everywhere: irrotational.
Two second-derivative identities you will use everywhere
For any function : — the curl of a gradient is zero. For any field : — the divergence of a curl is zero. Both follow from equality of mixed partial derivatives. In chapter 6 you will see these are both manifestations of one structural fact: for differential forms.
Pause and think: If for some potential , what does that force the curl of to be? Conversely, if you encounter a field whose curl is nonzero, can it possibly be a gradient?
Try it
- Predict first, then compute: for , is the divergence at positive, negative, or zero? Then compute it.
- For , compute at . Where does it point? (Answer in words.)
- For (a rotational flow about the -axis), predict the direction of before computing. Then compute and check.
- True or false: every vector field with can be written for some . (Hint: the answer depends on the topology of the domain. We will revisit this in §6.2.)
A trap to watch for
Beginners often write when they mean , or use a dot where they should use a cross. Anchor on the shapes: takes a scalar to a vector, takes a vector to a scalar, takes a vector to a vector. If the output type does not match what you wrote, you have used the wrong operator.
What you now know
You can compute , , and symbolically; you can read each one as a geometric statement; and you know the two identities that drop out whenever an operator is iterated. Next we use these to state the Divergence Theorem (§5.2) and Stokes' Theorem (§5.3), then unpack their physical meaning (§5.4) and proof strategies (§5.5).
References
- Garrity, T. (2002). All the Mathematics You Missed. Cambridge University Press, ch. 5.
- Marsden, J. E., Tromba, A. J. (2011). Vector Calculus (6th ed.). W. H. Freeman.
- Schey, H. M. (2004). Div, Grad, Curl, and All That (4th ed.). W. W. Norton.
- Griffiths, D. J. (2017). Introduction to Electrodynamics (4th ed.). Cambridge UP, ch. 1.
- Spivak, M. (1965). Calculus on Manifolds. W. A. Benjamin, ch. 4.