Vector Calculus Examples

Small examples for the four main operators. Nothing fancy, just enough to see what each one is doing.

Gradient

Let

Then

At :

So the function climbs fastest mostly in the direction.

This is the same basic idea used in ML Equations and definitions: follow the negative gradient to reduce a loss.

Divergence

For ,

This field points away from the origin. Positive divergence means source-like behaviour: arrows spreading out.

For magnetic fields, Solenoidal magnetic fields and no magnetic monopoles says:

so magnetic field lines do not begin or end.

Curl

For ,

This field swirls anticlockwise in the -plane.

The curl points in the direction because that is the rotation axis by the right-hand rule.

Laplacian

For ,

The positive Laplacian says each point is locally below the average of nearby values. Picture a bowl: the centre is lower than what surrounds it.

Physical reading

  • gradient: hill slope
  • divergence: water appearing from a spring or draining into a sink
  • curl: paddle wheel spinning in a flow
  • Laplacian: local imbalance with neighbours

When the algebra gets messy, come back to these pictures.