Section 2.2 · Topic 5 of 8
2.2.5 Examples on gradient, divergence and curl
The following examples exercise formulas (2.2.2), (2.2.6) and (2.2.8). The last two lead to two identities that hold for every sufficiently smooth field and that we shall use many times. All of them follow the same short procedure.
- Check the type of the input: the gradient needs a scalar , whereas divergence and curl need a vector . Read off the components .
- Take the partial derivatives you need, holding the other two coordinates constant (use the chain rule for composite functions).
- Assemble: the gradient uses the three derivatives with their unit vectors, the divergence is the sum , and the curl consists of the three brackets of (2.2.8).
- Check the type of the output (vector, scalar, vector) and, if possible, a value at a simple point.
The converses are also true in a region without "holes" (for example all of space): a field with zero curl everywhere can be written as the gradient of a scalar, and a field with zero divergence everywhere can be written as the curl of another vector field. (Precisely: the first statement needs a region in which every closed loop can be shrunk to a point without leaving it, the second a region that encloses no cavity.) The first statement is the reason why the electrostatic field can be described by a scalar potential (Section 3.3).