Multivariable calculus

Curl of the Shear Flow (z^2, 0, 0)

The curl of the field with components z squared, 0 and 0 is the vector (0, 2z, 0). Only the middle component survives, from the z-partial of the first component, which is 2z. Every flow line is straight and parallel to the x-axis, so this is the standard example that curl measures local spin, not curved motion.

P(x,y,z)=z2P(x,y,z) = z^2
Q(x,y,z)=0Q(x,y,z) = 0
R(x,y,z)=0R(x,y,z) = 0
×F=0, 2z, 0\nabla \times \mathbf{F} = \langle 0,\ 2z,\ 0 \rangle

Only one partial is not zero

With Q=R=0Q = R = 0, four of the six partials in the curl formula are gone before you start. P=z2P = z^2 has no yy in it either, so the only survivor is Pz=2z\frac{\partial P}{\partial z} = 2z.

RyQz=00=0\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z} = 0 - 0 = 0
PzRx=2z0=2z\frac{\partial P}{\partial z} - \frac{\partial R}{\partial x} = 2z - 0 = 2z
QxPy=00=0\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 0 - 0 = 0

So the curl points along j\mathbf{j}, perpendicular to the flow direction i\mathbf{i} and perpendicular to the direction k\mathbf{k} in which the speed changes. That is the general rule for a shear, and it is worth remembering as a geometric fact rather than a formula.

Why straight flow lines can still spin

Every particle here moves in the +x+x direction and nothing ever turns a corner. What varies is speed: a particle at height zz moves at z2z^2, so at z=1z = 1 the speed is 11 and at z=2z = 2 it is 44.

Drop a small paddle wheel into the flow with its axle along the yy-axis, so its spokes reach up and down. The upper spoke sits in faster fluid than the lower one, so the wheel turns, carrying the +z+z direction toward +x+x. That is a rotation about the +y+y axis, matching 2zj2z\,\mathbf{j} for z>0z > 0.

  • Below the plane z=0z = 0 the speed increases as zz decreases, so the wheel turns the other way and the curl flips sign, which is what 2z2z says.
  • On the plane z=0z = 0 the speed profile is flat to first order and the curl is the zero vector.
  • The curl grows without bound as you move away from that plane, because the shear itself does.

The mistake: judging curl from the shape of the picture

This page exists because of one sentence students say: the flow lines are straight, so there is no rotation. This field is the counterexample, and it is not exotic; it is what a river does near its bed and what air does near a wing.

The converse error is just as common. Circular flow lines look like rotation, but the field yx2+y2, xx2+y2, 0\left\langle \frac{-y}{x^2+y^2},\ \frac{x}{x^2+y^2},\ 0 \right\rangle has circular flow lines and zero curl everywhere it is defined.

Curl is a derivative, not a shape. It compares the flow at a point with the flow just beside it, so the only reliable way to find it is to differentiate.

The middle component is recomputed numerically on every build from P, Q and R, so the factor of two above is measured rather than asserted.

Frequently asked questions

Is this field conservative?

No. Its curl is nonzero wherever z0z \neq 0, and a conservative field needs zero curl on the whole region. You can also see the failure directly: a potential would need fx=z2\frac{\partial f}{\partial x} = z^2, giving f=xz2+g(y,z)f = xz^2 + g(y,z), and then fz=2xz+gz\frac{\partial f}{\partial z} = 2xz + \frac{\partial g}{\partial z} cannot be zero, since gg has no xx.

What is the divergence of this field?

Zero. P=z2P = z^2 has no xx, and QQ and RR are identically zero, so all three matched partials vanish. The field is therefore incompressible and rotational, the exact opposite pairing to x2,y2,z2\langle x^2, y^2, z^2 \rangle, which is compressible and irrotational.