LIMA
With God's help
עברית

Curl

Imagine a small whirlpool in a river. The faster the whirlpool spins and the more water it sweeps along with it, the greater its "spinning strength". The curl in mathematics measures exactly this - it tells us how strongly a vector field (like the current of water in the river) tends to rotate or to form "whirlpools" around a given point.

The theory in brief

The curl is a vector operator that measures the local tendency of a vector field to rotate around a given point. For a three-dimensional vector field \(\mathbf{F} = P\mathbf{i} + Q\mathbf{j} + R\mathbf{k}\), the curl is defined as \(\nabla \times \mathbf{F}\), and it is computed by means of the determinant: \[\text{curl}\,\mathbf{F} = \nabla \times \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\[2pt] \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\[8pt] P & Q & R \end{vmatrix}\]

When the determinant is expanded, we obtain the curl vector, whose direction points along the local axis of rotation (by the right-hand rule) and whose magnitude represents the strength of the rotation. A field whose curl is the zero vector at every point is called an "irrotational field" or a "conservative field", meaning it is free of whirlpools. This tool is essential in physics, for example in Maxwell's equations, where it describes how changes in electric and magnetic fields create one another.

∇ × F Right-hand rule x y Counterclockwise spin: the curl points up Arrow length = strength of the spin

How to read the lab

The cyan arrows = the field \(\mathbf{F} = (P, Q)\)

The field is trapped in the \(xy\) plane of the glass: the arrows have only a left/right and an up/down component, with no \(z\) component. The arrow length follows the flow speed.

The digital fluid

Light particles that flow with the field and show where the water goes.

The Coin Pinwheel

Drag it to any point on the glass and let go, and it floats with the current. The yellow dot on the cross shows how far it has turned.

The curl column (magenta)

It grows out of the center of the coin when the coin spins: up for a counterclockwise spin \((+\hat{k})\), and down, below the glass, for a clockwise spin \((-\hat{k})\). Its length follows the spin rate.

Curl Heatmap

Red: a tendency to spin counterclockwise. Blue: clockwise. Clear black: no curl.

∂Q−∂P

The distilled formula window

It floats above the coin and shows, in real time, \(\frac{\partial Q}{\partial x}\), \(\frac{\partial P}{\partial y}\) and the difference between them.

The camera

It opens in a Top-Down view. Dragging the background rotates the view into 3D, and the wheel zooms in and out. "Follow camera" sticks to the coin.

+1.9

The readings in the control column

The derivatives and the curl at the coin's point, and the coin's spin rate \(\omega = \frac{1}{2}\,\text{Curl}\). Since the coin was released: how many degrees it has turned, how far it has drifted, and how far it has circled the center of the glass.

Playback rate and pause

They change only the pace of the water and the coin, not the field and not the curl.

To the lab ↓
Loading the lab...
x
y
1

Experiments to try in the lab

  1. The Mystery of the Fast River (uniform field). Set up a uniform flow field (Uniform Flow) in which all the arrows point to the right and move at very high speed. Throw the Coin Pinwheel into the stream and follow it with the camera in top view (2D). Check whether a 3D magenta column grows.
    You will see that the coin is swept to the right at tremendous speed, but it does not spin about its axis by even a single degree. The magenta column stays at zero length. This experiment is meant to set the iron law: curl does not measure flow speed (translation), but only the tendency toward local rotation. A field can be very strong, and still have zero curl.
  2. Rotation Without Circles (shear field). Switch to "Shear Flow" mode. All the water flows only to the right, parallel to the \(x\) axis, but the flow at the top of the screen (large \(y\)) is much faster than the flow at the bottom. Place the coin in the center of the screen and move the camera to a 3D angle.
    Even though there is no circular motion at all in the field, the coin will start to spin clockwise, and a magenta column will dive downward below the glass! The reason is fascinating: the fast water at the top pushes the upper part of the coin harder than the slow water at the bottom pushes the bottom of the coin. This difference produces a torque. The experiment illustrates the term \(\frac{\partial P}{\partial y}\) in the formula, and proves that curl arises from differences in speed and not from the shape of the flow path.
  3. The Right-Hand Rule and the Illusion of the Third Dimension (the heatmap). Turn on the "Curl Heatmap". The screen will be colored with red and blue regions. Drag the coin from a red region to a blue region, and play with the camera angle to see the magenta column stick out of the plane.
    In the red region the coin will spin counterclockwise, and the magenta column will stick out upward (positive curl, direction \(\hat{k}\)). When you move to the blue region, the direction of rotation will flip (clockwise), and the column will pierce the glass downward (negative curl, direction \(-\hat{k}\)). This experiment connects for the student the idea that "2D curl" is nothing more than a scalar (a number with a plus or a minus), whose sign represents the hidden \(z\) axis about which the coin would be spinning if we were in three-dimensional space, according to the right-hand rule.
  4. The Mathematical Tug of War (balancing derivatives). Turn on the "distilled formula" window: \[\text{Curl} = \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\] Create a complex flow field that moves diagonally, and try to locate a "blind spot" where the field is changing and turbulent, but the coin stops spinning and the column vanishes. Look at the numerical values in the window at that moment.
    You will discover that at the stopping point, the value of \(\frac{\partial Q}{\partial x}\) is exactly equal to the value of \(\frac{\partial P}{\partial y}\)! The force trying to turn the coin counterclockwise (due to changes in the vertical velocity) perfectly cancels the force trying to turn it clockwise (due to changes in the horizontal velocity). The experiment lifts the veil from the curl equation and shows that it is nothing more than a simple balance of forces that computes the net tendency to rotate.
  5. The Transparent Vortex Trap (circulation vs. curl). Load the "Irrotational Vortex" preset. The water flows in perfect circles around a "drain hole" in the center, at a speed that decays the farther you get from it (flow proportional to \(\frac{1}{r}\)). Place the coin far from the center and let it float.
    The coin will circle the center of the screen in a huge circular orbit, but the coin itself will stay locked in one direction and will not spin around its inner cross (the magenta column will stay at zero). How is this possible in a vortex? The speed of the inner water (which is faster) cancels exactly with the curvature of the tighter circle it travels. This is a must-do experiment that burns a critical distinction into the mind: motion in a circle in space (macroscopic circulation) does not require curl (local microscopic rotation). A field can flow in circles and be completely free of curl.