Advanced Mathematics

Divergence and Curl

For a field of arrows, such as a flow or a force, divergence measures spreading out from a point and curl measures swirling.

Needs a step first: 11

A vector field F(x,y,z)\mathbf{F}(x, y, z) attaches an arrow to every point, like wind speeds on a weather map. Its divergence ∇⋅F=∂F1∂x+∂F2∂y+∂F3∂z\nabla \cdot \mathbf{F} = \frac{\partial F_1}{\partial x} + \frac{\partial F_2}{\partial y} + \frac{\partial F_3}{\partial z} is the net outflow per unit volume, positive at a source. Its curl ∇×F\nabla \times \mathbf{F} is a vector giving the axis and strength of local rotation. A field with zero curl (on a simply connected region) is the gradient of a potential, and these two operations are the language of Maxwell's equations and of the theorems of Gauss and Stokes.

Where it shows up: Maxwell's equations are four statements about the divergence and curl of the electric and magnetic fields, and in fluids zero divergence means the flow cannot be compressed.

How to hold it: In your head

Picture a field of arrows and see divergence as outflow from a point and curl as local swirl, so you can tell from a sketch which one a field has.

What knowing it looks like

  • Compute the divergence and curl of a given field, using the determinant layout for the curl.
  • Sketch (x,y)(x, y) and (−y,x)(-y, x) and say which has divergence and which has curl, and why.
  • Show that ∇×(∇f)=0\nabla \times (\nabla f) = \mathbf{0} for any smooth ff, and use it to decide whether a field can be a gradient.

Test yourself

For F=(x2y, yz, xz)\mathbf{F} = (x^2 y,\ yz,\ xz), find ∇⋅F\nabla \cdot \mathbf{F} and ∇×F\nabla \times \mathbf{F}. Is F\mathbf{F} the gradient of some function?
Show the worked answer
∇⋅F=2xy+z+x\nabla \cdot \mathbf{F} = 2xy + z + x. ∇×F=(∂F3∂y−∂F2∂z, ∂F1∂z−∂F3∂x, ∂F2∂x−∂F1∂y)=(0−y, 0−z, 0−x2)=(−y,−z,−x2)\nabla \times \mathbf{F} = \left(\frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z},\ \frac{\partial F_1}{\partial z} - \frac{\partial F_3}{\partial x},\ \frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y}\right) = (0 - y,\ 0 - z,\ 0 - x^2) = (-y, -z, -x^2). The curl is not zero, and every gradient has zero curl, so F\mathbf{F} is not a gradient. The common slip is the sign or order in the middle component.

Needs a step first: 11

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "Divergence and Curl" (Undergraduate II tier): For a field of arrows, such as a flow or a force, divergence measures spreading out from a point and curl measures swirling.
I already know: Partial Derivatives and the Gradient, Dot and Cross Products.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: For $\mathbf{F} = (x^2 y,\ yz,\ xz)$, find $\nabla \cdot \mathbf{F}$ and $\nabla \times \mathbf{F}$. Is $\mathbf{F}$ the gradient of some function?
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended