---
title: "Curl: circulation"
heading: Measuring how much a field swirls at a point
eyebrow: A9 · Lesson 34 · Curl
xp: 40
---

::: hook
Drop a tiny paddle wheel into a moving stream. If the water on one side of it moves faster than on the other, the wheel spins, even if the whole stream flows in a straight line. If the water swirls around a drain, the wheel might not spin at all. That spin, measured at every point, is the curl of a field, and it's not the same thing as the field going around in circles. Ampère's law and Faraday's law are both statements about curl.

::: play
- The field is a mix of a shear, strength $s$ (a straight flow that's faster farther from the axis), and a rotation, strength $r$. The paddle wheel sits at $(x_0, y_0)$. Press Play to let it turn.
- Set $r = 0$ and give $s$ a value. The arrows run straight, but does the wheel turn?
- Now set $s = 0$ and give $r$ a value. Move the wheel around. Does its spin rate depend on where it is?
:::
:::

```sim plot
view: flow
x: x = -2..2 m
y: y = -2..2 m
time: tt
slider: s = -1.5..1.5 step 0.1 = 1
slider: r = -1..1 step 0.1 = 0
slider: x0 = -1.5..1.5 step 0.1 = 0.5
slider: y0 = -1.5..1.5 step 0.1 = 0.8
dx: (s - r)*y
dy: r*x
arrows: scaled
grid: 14
wheel: x0, y0 | size: 0.35 | curl: c
readout: curl at the wheel = c
readout: 2r − s = 2*r - s
```

::: predict
## With pure shear, the field $(s y, 0)$ flows in straight horizontal lines. Does a paddle wheel in it spin?

- [x] Yes: the flow is faster on one side of it than the other
- [ ] No: the field lines are straight
- [ ] Only if it sits on the $x$ axis
- [ ] Only if the field is strong enough

::: reveal
Yes. Above the wheel's axle the flow is a little faster than below it, so the top paddles are pushed harder and the wheel turns, at the same rate everywhere: the curl of $(sy, 0)$ is $-s$ at every point. Straight field lines can still have curl. And as the second sim shows, field lines that circle around can have none.
:::
:::

```sim plot
view: flow
x: x = -2..2 m
y: y = -2..2 m
time: tt
slider: m = 0..1 step 0.05 = 0
dx: -(1 - m)*y/(x^2 + y^2) - m*y
dy: (1 - m)*x/(x^2 + y^2) + m*x
arrows: scaled
grid: 14
wheel: 1.3*cos(0.6*tt), 1.3*sin(0.6*tt) | size: 0.3 | curl: c
readout: curl at the wheel = c
```

::: nameit
## Curl

**Circulation per area.** Take a small loop around a point and add up the field along it, $\oint \mathbf{F} \cdot d\mathbf{r}$. Divide by the area enclosed and shrink the loop: the result is the curl. For a field in the $xy$ plane:

$$(\nabla \times \mathbf{F})_z = \frac{\partial F_y}{\partial x} - \frac{\partial F_x}{\partial y}$$

The first term asks whether the field's $y$ part grows as you move in $x$, which pushes a wheel counterclockwise; the second asks whether the $x$ part grows as you move up, which pushes it clockwise. A tiny paddle wheel turns at half the curl, in radians per second. Positive means counterclockwise.

**In three dimensions** the curl is a vector, with one component for each plane a loop could lie in:

$$\nabla \times \mathbf{F} = \left(\frac{\partial F_z}{\partial y} - \frac{\partial F_y}{\partial z},\ \frac{\partial F_x}{\partial z} - \frac{\partial F_z}{\partial x},\ \frac{\partial F_y}{\partial x} - \frac{\partial F_x}{\partial y}\right)$$

It points along the axis a paddle wheel would spin around fastest, by the right-hand rule.

**Swirling isn't the same as curl.** Compare the two sims:

| Field | Lines | Curl |
|---|---|---|
| rotation $(-y, x)$ | circles | 2 everywhere: wheels spin as they go round |
| shear $(y, 0)$ | straight | −1 everywhere |
| vortex $\dfrac{(-y, x)}{x^2 + y^2}$ | circles | 0 away from the center |

The vortex is the magnetic field outside a straight wire. Its lines circle the wire, but away from the wire the curl is zero.

**The laws.**

- Ampère: $\nabla \times \mathbf{B} = \mu_0\mathbf{J}$ (for steady currents). The curl of B is nonzero only where current flows, which is why the field outside a wire, the vortex, has none.
- Faraday: $\nabla \times \mathbf{E} = -\partial\mathbf{B}/\partial t$. A static electric field has zero curl, so it's conservative (lesson 25). A changing magnetic field gives E a curl, and then voltage around a loop isn't zero.
:::

::: example
## Find the curl of $\mathbf{F} = (x^2y, xy^2)$ at $(1, 2)$.

::: solution
1. **Curl in two dimensions.**
   $$\frac{\partial F_y}{\partial x} - \frac{\partial F_x}{\partial y} = y^2 - x^2$$
2. **Evaluate at $(1, 2)$.**
   $$4 - 1 = 3$$
3. **Interpret.** A paddle wheel there turns counterclockwise.

**Answer:** the curl at $(1, 2)$ is 3, counterclockwise.
:::
:::

::: example
## Does $\mathbf{F} = (x, y)$ have any curl?

::: solution
1. **Curl in two dimensions.**
   $$\frac{\partial y}{\partial x} - \frac{\partial x}{\partial y} = 0$$
2. **Interpret.** The flow points straight outward with no twist, so a paddle wheel anywhere stays still.

**Answer:** no, its curl is 0 everywhere.
:::
:::

::: example
## A disk spins at $\omega$ = 3 rad/s. Find the curl of its velocity field.

::: solution
1. **Velocity field.** Every point moves with
   $$\begin{aligned} \mathbf{v} &= \boldsymbol{\omega}\times\mathbf{r} \\ &= (-3y, 3x, 0) \end{aligned}$$
2. **Curl's $z$ component.**
   $$\begin{aligned} \frac{\partial v_y}{\partial x} - \frac{\partial v_x}{\partial y} &= 3 - (-3) \\ &= 6 \end{aligned}$$
   the same everywhere: twice the angular velocity.
3. **Interpret.** A paddle wheel placed anywhere on the disk would turn at the disk's own rate, 3 rad/s, half the curl.

**Answer:** the curl's $z$ component is 6 everywhere, twice the angular velocity.
:::
:::

::: check
given: a = -4 | -2 | 2 | 4 | 6; b = 1 | 3 | 7
answer: b - a
tolerance: 0.001

## What is the curl ($z$ part) of $\mathbf{F} = (\given{a}y,\ \given{b}x)$?

::: right
Right. $\partial F_y/\partial x - \partial F_x/\partial y = \given{b} - (\given{a})$ = {answer}.
:::

::: misses
- [a - b] It's $\partial F_y/\partial x - \partial F_x/\partial y$: the y part's x-derivative comes first.
- [a + b] Subtract: $\partial F_y/\partial x - \partial F_x/\partial y$.
- [any] Not yet. $(\nabla \times \mathbf{F})_z = \partial F_y/\partial x - \partial F_x/\partial y$.
:::
:::

::: check
given: a = 1 | 2 | 4; b = 1 | 3; x0 = 1 | 2; y0 = -3 | -1 | 3
answer: 3*b*x0^2 + 3*a*y0^2
tolerance: 0.5%

## Find the curl of $\mathbf{F} = (-\given{a}y^3,\ \given{b}x^3)$ at $(\given{x0}, \given{y0})$.

::: right
Right. $\partial F_y/\partial x = 3\given{b}x^2$ and $\partial F_x/\partial y = -3\given{a}y^2$, so the curl is {answer}.
:::

::: misses
- [3*b*x0^2 - 3*a*y0^2] $F_x = -\given{a}y^3$, so $\partial F_x/\partial y = -3\given{a}y^2$, and subtracting it adds.
- [b*x0^3 + a*y0^3] Those are the field's parts. Differentiate them first.
- [any] Not yet. $\partial F_y/\partial x - \partial F_x/\partial y$, then put in the point.
:::
:::

::: check
given: w = 1..9 int
answer: w
unit: rad/s
tolerance: 0.5%

## Water in a tank turns like a rigid body, $\mathbf{v} = \given{w}(-y, x)$ m/s. How fast does a small paddle wheel floating in it spin?

::: right
Right. The curl is $2\cdot\given{w}$, and a wheel spins at half the curl: {answer}, the same rate as the water.
:::

::: misses
- [2*w] That's the curl. A small wheel turns at half of it.
- [w/2] The curl is $2\given{w}$, and the wheel spins at half that.
- [any] Not yet. Find the curl, then halve it.
:::
:::

::: check
given: J = 1..9 int
answer: 4*pi*1e-7*J*1e6
unit: T/m
tolerance: 0.5%

## Inside a wire carrying a current density of {J} A/mm², how big is $\nabla \times \mathbf{B}$?

::: right
Right. $\mu_0 J$ with $\mu_0 = 4\pi \times 10^{-7}$ T·m/A and J in A/m²: {answer}.
:::

::: misses
- [4*pi*1e-7*J] Convert A/mm² to A/m²: multiply by $10^6$.
- [J*1e6/(4*pi*1e-7)] Multiply by $\mu_0$, don't divide.
- [any] Not yet. Ampère's law: $\nabla \times \mathbf{B} = \mu_0\mathbf{J}$.
:::
:::

::: check
kind: choice

## Outside a long straight wire, the magnetic field circles the wire. A tiny paddle wheel (one that responds to B) is carried around the wire. What does it do?

- [ ] Spins once for each trip around
- [x] Doesn't spin: the curl of B is zero where there's no current
- [ ] Spins faster closer to the wire
- [ ] Spins backward

::: right
Right. The field circles, but it weakens as $1/r$ in just the way that makes the curl zero. Only inside the wire, where current flows, is there curl.
:::

::: misses
- [1] That's what a rigid rotation would do. The wire's field is a vortex, with zero curl outside.
- [3] Away from the wire the curl is exactly zero, at any distance.
- [4] Zero curl means no spin at all.
:::
:::

::: check
kind: parts
given: w = 2 | 5; x = 1 | 3; y = 1 | 2

## A disk spins at {w} rad/s: $\mathbf{v} = (-\given{w}y, \given{w}x, 0)$.

::: part
answer: 2*w
unit: s⁻¹
tolerance: 0.5%

### What is the curl's $z$ component?

::: misses
- [w] The curl is twice the angular velocity.
- [any] $\frac{\partial v_y}{\partial x} - \frac{\partial v_x}{\partial y}$.
:::
:::

::: part
answer: w*sqrt(x^2 + y^2)
unit: m/s
tolerance: 0.5%

### How fast is the point $(\given{x}, \given{y})$ moving?

::: misses
- [any] $|\mathbf{v}| = \omega r$.
:::
:::
:::

::: check
kind: derivation
vars: x = -2..2, y = -2..2

## Find the curl of $\mathbf{F} = (x^2y, xy^2)$.

::: step
answer: y^2 - x^2

### What is $\frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y}$?
:::

::: right
Right. $y^2 - x^2$: the field swirls one way above the diagonals and the other way beside them.
:::
:::

::: explain
## How can a field whose lines are all straight have a nonzero curl?

::: model
Curl measures circulation around a tiny loop, not whether the lines curve. In a shear flow the lines are straight and parallel, but the field is stronger on one side than the other. Going around a small loop, you gain more along the strong side than you lose coming back along the weak side, so the circulation isn't zero. A paddle wheel feels this as a bigger push on one side, and turns.
:::
:::

::: practice

::: check
given: a = 1..9 int; b = 1..9 int
answer: 0
tolerance: 0.001

## What is the curl of the uniform field $(\given{a}, \given{b})$?

::: misses
- [a + b] A uniform field doesn't change anywhere, so all its derivatives are zero.
- [any] Every partial derivative of a constant is zero.
:::
:::

::: check
given: k = 1..9 int
answer: 2*k
tolerance: 0.5%

## What is the curl of $\given{k}(-y, x)$?

::: misses
- [k] Both terms contribute {k}.
- [0] This field turns like a rigid body: its curl is $2k$.
- [any] $\partial(\given{k}x)/\partial x - \partial(-\given{k}y)/\partial y$.
:::
:::

::: check
given: a = 1..5 int; b = 1..5 int
answer: 0
tolerance: 0.001

## What is the curl of the gradient field $\nabla(\given{a}x^2 + \given{b}xy)$?

::: misses
- [b] Work it out: $\nabla f = (2\given{a}x + \given{b}y,\ \given{b}x)$, so the curl is $\given{b} - \given{b}$.
- [any] The curl of any gradient is zero.
:::
:::
:::
