∇ is a vector, so you can combine it with a vector field in the three ways that two vectors can be combined (reader 1.161–1.163): with no symbol (the dyad), with a dot, or with a cross. In each case the base vector of ∇ takes part in the product and the derivative acts on the field:
∇a=ei∂xi∂a,∇⋅a=ei⋅∂xi∂a,∇×a=ei×∂xi∂a.
The first is the gradient of the previous section. The other two are the divergence and the curl (the reader also writes diva and rota, from the Dutch divergentie and rotatie).
A scalar: the dot contracted the base vector of ∇ with the base vector of a, leaving none. Comparing with the matrix of ∇a, the divergence is the sum of its diagonal:
∇⋅a=tr(∇a)=(∇a):I,
which is exercise book exercise 1.14 and reader eq. 1.173.
What it means. Think of a as the velocity of a fluid. Put a small box with sides dx1,dx2,dx3 in the flow. Through the face at x1+dx1 fluid leaves at rate a1(x1+dx1)dx2dx3; through the opposite face it enters at rate a1(x1)dx2dx3. The net outflow through this pair of faces is
Adding the other two pairs gives (a1,1+a2,2+a3,3)dV. So
For a displacement field u this has a very concrete meaning: ∇⋅u is the relative volume change of the material (for small deformations). Chapter 2 shows that it is the trace of the strain tensor.
The curl
Now the cross: ei×ej=ϵijkek, so
∇×a=ei×ejaj,i=ϵijkaj,iek.
[1.63]
Written out, (∇×a)3=a2,1−a1,2 and cyclically. In the matrix of ∇a these are the differences of mirror-image off-diagonal entries: the curl only sees the skew part of the gradient. In fact, comparing with chapter 1, the axial vector of the skew part 21(∇a−(∇a)T) is −21∇×a. (Check the sign once, with the pattern W21=ω3: W21=21(a1,2−a2,1)=−21(∇×a)3.)
What it means. In the same small-box picture, the curl measures circulation: how much the field pushes the same way round along the edges. For a body spinning rigidly with angular velocity ω, the velocity is v=ω×x, and
∇×(ω×x)=2ω
(Practice P1.23). So the curl of a velocity field is twice the local angular velocity. A field with zero curl has no local spinning.
Red arrows leave, blue arrows enter. The divergence is what is left over: net outflow per unit area.
Interactive · drag the probe, switch fields
Figure [1.14]: A small square probe in a planar vector field. On each face: the outward part of the field (red if leaving, blue if entering) and the part along the face (magenta). Net outflow per area tends to the divergence, net circulation per area to the curl.
Work through the presets. Source: everything leaves, positive divergence, no circulation. Rotation: nothing leaves, but every side arrow pushes anticlockwise: pure curl. Shear: no divergence, but the top and bottom side arrows are unequal, so there is a net circulation even though nothing visibly spins: this is why a shear flow makes a paddle wheel turn. Squeeze: the field changes everywhere, but what enters at the top and bottom leaves at the sides, and the circulation cancels: zero divergence, zero curl. Growing: the divergence depends on the position; drag the probe to the right and it grows.
Worked example
(Exercise book Example 1.6.) Compute ∇⋅u for u=3x1e1+4(x2+x3)e2+2x2e3, and also its curl.
Divergence: u1,1+u2,2+u3,3=3+4+0=7. Only the derivative of each component along its own direction counts; u3=2x2 does not depend on x3.
Curl, with (∇×u)1=u3,2−u2,3, (∇×u)2=u1,3−u3,1, (∇×u)3=u2,1−u1,2:
∇×u=(2−4)e1+(0−0)e2+(0−0)e3=−2e1.
The divergence of a tensor field
The divergence also applies to tensor fields, and this is the one you will use most: the equilibrium equations of chapter 4 are a divergence of the stress. With A=Ajkejek, the dot of ∇ meets the first base vector of A:
A vector. Component k is the divergence of column k of A: (∇⋅A)1=A11,1+A21,2+A31,3. The derivative index meets the first index of A, because that is the base vector next to ∇.
What happens to the order
Each operation changes the number of base vectors in a fixed way, which is a quick check on every formula:
operation
what ∇'s base vector does
order of the result
example
gradient ∇(⋅)
glued on the front
+1
∇a vector, ∇a tensor
divergence ∇⋅(⋅)
dotted with the first base vector
−1
∇⋅a scalar, ∇⋅A vector
curl ∇×(⋅)
crossed with the first base vector
±0
∇×a vector
(reader, below eq. 1.163.) The divergence of a scalar and the curl of a scalar do not exist.