Fiveable

5๏ธโƒฃMultivariable Calculus Unit 5 Review

QR code for Multivariable Calculus practice questions

5.3 Curl and Divergence

5.3 Curl and Divergence

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025

Vector Field Analysis

Curl and divergence are two differential operators that extract specific local information from a vector field. Curl detects rotation at a point, while divergence detects expansion or contraction. Together, they form the foundation for connecting vector fields to the integral theorems (Stokes' and Divergence) you'll encounter throughout the rest of this course.

Curl of vector fields

The curl of a vector field measures the tendency of the field to rotate around a point. It's defined as:

curlย F=โˆ‡ร—F\text{curl } \mathbf{F} = \nabla \times \mathbf{F}

For a 3D field F(x,y,z)=Pi+Qj+Rk\mathbf{F}(x, y, z) = P\mathbf{i} + Q\mathbf{j} + R\mathbf{k}, you compute it using a determinant-style formula:

curlย F=(โˆ‚Rโˆ‚yโˆ’โˆ‚Qโˆ‚z)i+(โˆ‚Pโˆ‚zโˆ’โˆ‚Rโˆ‚x)j+(โˆ‚Qโˆ‚xโˆ’โˆ‚Pโˆ‚y)k\text{curl } \mathbf{F} = \left(\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z}\right)\mathbf{i} + \left(\frac{\partial P}{\partial z} - \frac{\partial R}{\partial x}\right)\mathbf{j} + \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right)\mathbf{k}

A reliable way to remember this: write out the symbolic determinant

โˆ‡ร—F=โˆฃijkโˆ‚โˆ‚xโˆ‚โˆ‚yโˆ‚โˆ‚zPQRโˆฃ\nabla \times \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ P & Q & R \end{vmatrix}

and expand along the first row. The middle component picks up a sign flip, which is the most common source of errors.

For a 2D field F(x,y)=Pi+Qj\mathbf{F}(x, y) = P\mathbf{i} + Q\mathbf{j}, the curl simplifies to a scalar (technically the k\mathbf{k}-component):

curlย F=โˆ‚Qโˆ‚xโˆ’โˆ‚Pโˆ‚y\text{curl } \mathbf{F} = \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}

This scalar tells you the intensity and direction of rotation in the plane: positive means counterclockwise, negative means clockwise.

Curl of vector fields, Divergence and Curl ยท Calculus

Curl as rotational measure

The physical picture: imagine placing a tiny paddle wheel at a point in the field. The curl tells you how fast that paddle wheel spins and around which axis.

  • The magnitude โˆฃโˆ‡ร—Fโˆฃ|\nabla \times \mathbf{F}| gives the rotation strength.
  • The direction of the curl vector is the axis of rotation (by the right-hand rule).
  • A field with โˆ‡ร—F=0\nabla \times \mathbf{F} = \mathbf{0} everywhere is called irrotational (or curl-free). This is exactly the condition needed for a vector field to be conservative, meaning it has a potential function ff where F=โˆ‡f\mathbf{F} = \nabla f.
  • Non-zero curl at a point means line integrals of F\mathbf{F} are path-dependent near that point. You can't find a single potential function.

Physical examples: fluid vorticity (the curl of the velocity field) describes local spinning in a fluid. In electromagnetism, โˆ‡ร—E=โˆ’โˆ‚Bโˆ‚t\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t} (Faraday's law) relates the curl of the electric field to a changing magnetic field.

Curl of vector fields, Divergence and Curl ยท Calculus

Divergence of vector fields

The divergence of a vector field measures how much the field spreads out from (or converges toward) a point. It's defined as:

divย F=โˆ‡โ‹…F\text{div } \mathbf{F} = \nabla \cdot \mathbf{F}

For a 3D field F(x,y,z)=Pi+Qj+Rk\mathbf{F}(x, y, z) = P\mathbf{i} + Q\mathbf{j} + R\mathbf{k}:

divย F=โˆ‚Pโˆ‚x+โˆ‚Qโˆ‚y+โˆ‚Rโˆ‚z\text{div } \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}

For a 2D field F(x,y)=Pi+Qj\mathbf{F}(x, y) = P\mathbf{i} + Q\mathbf{j}:

divย F=โˆ‚Pโˆ‚x+โˆ‚Qโˆ‚y\text{div } \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y}

Notice that divergence is a scalar, not a vector. You're taking each component's partial derivative with respect to its own variable and adding them up.

Divergence as flux density

Think of divergence as measuring the net "outflow" of a field per unit volume at a point.

  • Positive divergence means the field is spreading outward: the point acts as a source. Example: the electric field near a positive point charge radiates outward, so โˆ‡โ‹…E>0\nabla \cdot \mathbf{E} > 0 there.
  • Negative divergence means the field is converging inward: the point acts as a sink. Example: a velocity field where fluid drains toward a point.
  • Zero divergence means no net creation or destruction of "field stuff" at that point. A field with โˆ‡โ‹…F=0\nabla \cdot \mathbf{F} = 0 everywhere is called solenoidal (or incompressible in fluid contexts). Magnetic fields are always solenoidal: โˆ‡โ‹…B=0\nabla \cdot \mathbf{B} = 0 is one of Maxwell's equations.

The Divergence Theorem connects this local measurement to a global one: the total divergence inside a closed region equals the net flux of F\mathbf{F} through the boundary surface.

Applications of curl and divergence

These operators let you classify and decompose vector fields:

  • A conservative field satisfies โˆ‡ร—F=0\nabla \times \mathbf{F} = \mathbf{0} (curl-free). You can find a potential function.
  • A solenoidal field satisfies โˆ‡โ‹…F=0\nabla \cdot \mathbf{F} = 0 (divergence-free). You can find a vector potential A\mathbf{A} where F=โˆ‡ร—A\mathbf{F} = \nabla \times \mathbf{A}.
  • The Helmholtz decomposition theorem says any sufficiently smooth vector field can be split into a curl-free part plus a divergence-free part. This is the theoretical backbone for many physics applications.

Two identities you should know cold:

  1. โˆ‡โ‹…(โˆ‡ร—F)=0\nabla \cdot (\nabla \times \mathbf{F}) = 0 โ€” the divergence of any curl is always zero.
  2. โˆ‡ร—(โˆ‡f)=0\nabla \times (\nabla f) = \mathbf{0} โ€” the curl of any gradient is always zero.

These aren't just formulas to memorize. Identity (1) means if you compute a curl and then take its divergence, you'll always get zero, which serves as a useful check on your work. Identity (2) is why conservative fields (gradients of scalar functions) are automatically irrotational.

The Laplacian โˆ‡2f=โˆ‡โ‹…(โˆ‡f)\nabla^2 f = \nabla \cdot (\nabla f) combines both operators on a scalar field and appears throughout physics (heat equation, wave equation, Poisson's equation). For vector fields, the vector Laplacian is:

โˆ‡2F=โˆ‡(โˆ‡โ‹…F)โˆ’โˆ‡ร—(โˆ‡ร—F)\nabla^2 \mathbf{F} = \nabla(\nabla \cdot \mathbf{F}) - \nabla \times (\nabla \times \mathbf{F})

Finally, Stokes' Theorem and the Divergence Theorem tie everything together by relating curl and divergence (local, differential information) to line integrals and surface integrals (global, integral information). These theorems are the payoff for understanding curl and divergence well.