A vector field can do two basic things near a point: swirl around it or spread out from it. The curl measures the swirl and the divergence measures the spreading. Both are computed from partial derivatives using the "del" operator ∇, and they are the key ingredients in the two big theorems still to come, Stokes' theorem and the divergence theorem.
The del operator
Write ∇ as a vector of differentiation operators:
∇=⟨∂x∂,∂y∂,∂z∂⟩.
Applied to a scalar function, ∇f is the gradient. Applied to a vector field F=⟨P,Q,R⟩ with a cross product or a dot product, it gives the curl and the divergence.
Meaning. Imagine F is the velocity of a fluid and you drop a tiny paddle wheel into it. The wheel spins fastest when its axle points along curlF, and the length of the curl is proportional to how fast it spins (twice the angular speed, in fact). If curlF=0, the field is irrotational. Notice that the third component, Qx−Py, is exactly the integrand in Green's theorem.
Worked example: Computing curl and divergence
Let F=⟨xy,yz2,x2z⟩. Then P=xy, Q=yz2, R=x2z, and
curlF=⟨0−2yz,0−2xz,0−x⟩=⟨−2yz,−2xz,−x⟩.
The divergence (defined below) is ∂x∂(xy)+∂y∂(yz2)+∂z∂(x2z)=y+z2+x2.
Curl and conservative fields
Two facts connect curl to the previous lessons.
Curl detects conservative fields
For any f with continuous second partial derivatives, curl(∇f)=0. So every conservative field is irrotational.
Conversely, if F has continuous partial derivatives on all of R3 (or any simply connected region) and curlF=0, then F is conservative.
Fact 1 is Clairaut's Theorem: for instance, the first component of curl(∇f) is fzy−fyz=0. Fact 2 is the three-dimensional version of the Py=Qx test.
So curlF=0 on R3 and F is conservative. Integrating as in the previous lesson gives the potential f=xy2z3.
Divergence
Definition
Divergence
The divergence of F=⟨P,Q,R⟩ is the scalar function
divF=∇⋅F=∂x∂P+∂y∂Q+∂z∂R.
In the plane, div⟨P,Q⟩=Px+Qy.
Meaning. If F is a fluid velocity, divF(P) is the net rate at which fluid flows out of a tiny box around P, per unit volume. Positive divergence means a source (fluid spreading out), negative means a sink, and divF=0 everywhere means the fluid is incompressible. For example, ⟨x,y,z⟩ has divergence 3: it pushes outward everywhere.
A second identity pairs with curl(∇f)=0:
div(curlF)=0
for any F with continuous second partials. (Expand it and the mixed partials cancel in pairs.) Also, div(∇f)=fxx+fyy+fzz is called the Laplacian of f, written ∇2f.
Worked example: A field that is not a curl
Is there a vector field G with curlG=⟨x,y,z⟩?
If there were, then div(curlG) would be 0. But div⟨x,y,z⟩=1+1+1=3=0. So no such G exists.
Common mistake
Curl is a vector and divergence is a scalar. The expression curl(divF) is meaningless, because you can't take the curl of a scalar. Also keep the curl's middle component straight: it is Pz−Rx, not Rx−Pz. The cofactor expansion's minus sign flips it.
Green's theorem in vector form
Curl and divergence let you write Green's theorem in two ways for a plane field F=⟨P,Q⟩ and a positively oriented curve C around D.
The flux form says the net outflow across the boundary equals the total of all the sources inside. Stokes' theorem and the divergence theorem are these two statements lifted into three dimensions.
Worked example: Outward flux across a circle
Find the outward flux of F=⟨x,y⟩ across the unit circle.
divF=1+1=2, so the flux is ∬D2dA=2π. Check directly: on the unit circle the outward normal is n=⟨x,y⟩, so F⋅n=x2+y2=1, and the flux is the length 2π.
Practice
Practice 1
Find divF for F=⟨x2y,yz,xz2⟩.
Enter an expression, e.g. 3x^2 - 2x + 1
Practice 2
Find curlF for F=⟨y,z,x⟩.
Enter a point like (2, -3)
Practice 3
Let F=⟨x2z,yz2,xy⟩. Find curlF at the point (1,2,1).
Enter a point like (2, -3)
Practice 4
Find divF for F=⟨exsiny,excosy,z⟩.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 5
Assume f and F have continuous second partial derivatives. Which expression is always equal to 0?
Practice 6
Find the constant a that makes F=⟨axy+z,x2,x⟩ conservative on R3.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 7
F=⟨2xyz,x2z,x2y+1⟩ has zero curl. Evaluate ∫CF⋅dr along any path from (0,0,0) to (1,2,3).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 8
Use the flux form of Green's theorem to find the outward flux of F=⟨x3,y3⟩ across the unit circle.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.