Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.An arrow at every point
A weather map draws a little arrow at every city showing which way the wind blows and how hard. That’s a vector field. Two simple questions tell you a lot about it:
- Does stuff spread out here? A garden sprinkler pushes water outward in all directions. That’s a source. A drain pulls water in, and that’s a sink. The divergence measures this.
- Does stuff spin here? Drop a tiny paddle wheel into a river. If it turns, the water has curl.
A third idea: the Laplacian asks “is this spot hotter or colder than its neighbours on average?” Heat always flows to even that out.
Air flowing over a wing, plasma in a rocket engine, a robot’s potential field for avoiding obstacles, and the magnetic field a spacecraft’s magnetometer reads are all vector fields. Divergence and curl are the first two things an engineer checks.
- 1. A sprinkler head is a…
- 2. A paddle wheel spins in the flow. The flow has…
- 3. A spot colder than its surroundings will…
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.The operators
Write the “del” operator . For a scalar and a field :
| Operator | Formula | Input → output | Meaning |
|---|---|---|---|
| gradient | scalar → vector | steepest uphill (A3.2-3) | |
| divergence | vector → scalar | outflow per unit volume | |
| curl | vector → vector | spin axis and rate | |
| Laplacian | scalar → scalar | difference from the local average |
In 2-D, the curl of is the scalar , the -component of the 3-D curl.
Examples:
- : divergence , curl . A pure source.
- : divergence , curl . A pure rotation.
- : . Note that the Laplacian is the divergence of the gradient.
- 1. ∇·(3x, −y) = ?
- 2. The 2-D curl of (−y, x) is…
- 3. The divergence of a vector field is a…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.Connections to the Jacobian
For a field , the Jacobian (A3.2-5) contains everything:
- divergence = , the rate at which the field expands volumes;
- curl comes from the antisymmetric part , the local rotation;
- the symmetric traceless remainder is strain: stretching one way while squeezing another, like the saddle in the demo.
That’s why the “river” flow has curl even though its streamlines are straight. Its Jacobian is not symmetric. Shear contains rotation.
Rules worth knowing
| Identity | Why |
|---|---|
| mixed partials commute | |
| mixed partials commute | |
| definition | |
| product rule | |
| used for waves |
Vocabulary: means irrotational (often a gradient, ). means solenoidal or incompressible. means harmonic.
On a grid
With spacing , central differences give . The 5-point Laplacian is . Read it as “neighbours’ average minus me” times .
- 1. The divergence equals which feature of the Jacobian?
- 2. The shear flow (y, 0) has curl…
- 3. ∇·(∇×F) = ?
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Why the identities hold
has -component , which is 0 by Clairaut/Schwarz for functions (A3.2-6). Likewise . The six terms cancel in pairs. ∎
The converses hold on nice domains (Poincaré lemma): on a simply connected region, curl-free implies , and divergence-free implies . The hole in the domain matters. The vortex is curl-free away from the origin, but it is not a gradient, because its circulation around the origin is (A3.4-3).
Coordinate-free definitions
Divergence and curl don’t depend on the axes you choose. They are limits:
That is, outflow per unit volume and circulation per unit area. The demo’s probe circle computes exactly these quotients.
The Laplacian as an averaging defect
By Taylor’s theorem (A3.2-7), the average of over a small sphere of radius in is . So means the surroundings are higher than the point. Harmonic functions equal their local averages (the mean value property). Hence the maximum principle: a harmonic function has no interior maximum. Heat flow pushes every value toward its neighbourhood average.
Exercise 3.1: Is f = eˣ sin y harmonic?
and , which sum to . Yes. (It’s the imaginary part of the analytic function .)
- 1. curl(grad f) = 0 because of…
- 2. A harmonic function can have a strict interior maximum?
- 3. Curl-free implies gradient on…
Level 4: Expert
★★★★★ Expert⏱ 45 minResearchers: original papers and open problems.The Helmholtz decomposition
Every sufficiently smooth, decaying (or periodic) field splits uniquely, up to constants, as
The two parts are -orthogonal. In Fourier space it’s a projection: the curl-free part of is its component along .
Fluid simulation. The incompressible Navier–Stokes equations require . Stable fluid solvers (Chorin, 1968; Stam, 1999) advect the velocity, then project out the gradient part by solving a Poisson equation for the pressure. That is the Helmholtz decomposition at every time step.
Where these operators appear
- Physics:
- Maxwell’s equations are statements about div and curl: and .
- Gravity outside a planet satisfies . Spacecraft gravity models expand in spherical harmonics, the harmonic functions on a sphere (the GRACE mission measured Earth’s to very high degree; Tapley et al., 2004).
- Robot navigation:
- Potential-field planners follow (Khatib, 1986).
- Harmonic potentials have no local minima in free space (maximum principle), which avoids the classic trap of getting stuck (Connolly et al., 1990).
- Graphics and geometry processing: Poisson image editing (Pérez et al., 2003), mesh smoothing with the discrete Laplace–Beltrami operator, and Poisson surface reconstruction from lidar scans (Kazhdan et al., 2006).
- Machine learning:
- The graph Laplacian is the discrete Laplacian on a network. It underlies spectral clustering, graph neural networks and diffusion maps (D9).
- Score-based diffusion models evolve densities with a drift field plus Laplacian diffusion (Fokker–Planck).
- Divergence-free neural fields build incompressibility in by construction, by outputting a stream function and taking its curl.
- Hutchinson’s trick (A3.3-6) estimates in continuous normalizing flows.
References
- H. M. Schey (2005). Div, Grad, Curl, and All That, 4th ed. Norton.
- J. E. Marsden, A. Tromba (2011). Vector Calculus, 6th ed. Freeman.
- A. J. Chorin (1968). “Numerical solution of the Navier–Stokes equations.” Mathematics of Computation, 22.
- J. Stam (1999). “Stable fluids.” SIGGRAPH.
- H. Bhatia, G. Norgard, V. Pascucci, P.-T. Bremer (2013). “The Helmholtz–Hodge decomposition: a survey.” IEEE TVCG, 19(8).
- O. Khatib (1986). “Real-time obstacle avoidance for manipulators and mobile robots.” IJRR, 5(1).
- C. I. Connolly, J. B. Burns, R. Weiss (1990). “Path planning using Laplace’s equation.” ICRA.
- P. Pérez, M. Gangnet, A. Blake (2003). “Poisson image editing.” SIGGRAPH.
- M. Kazhdan, M. Bolitho, H. Hoppe (2006). “Poisson surface reconstruction.” Eurographics SGP.
- B. Tapley et al. (2004). “GRACE measurements of mass variability in the Earth system.” Science, 305.