Vector Calculus
Gradients, Divergence, Curl, and the theorems that bind them together
1. Building Intuition
Vector calculus is the language of fluid mechanics, electromagnetism, and practically every continuous physical system. We use Gradient to find the direction of steepest ascent, Divergence to measure sources and sinks (is fluid expanding or compressing?), and Curl to measure rotation.
Notice the arrows flowing out from sources or circling around vortices. Divergence measures outward flow, while curl measures the local rotation.
2. The Mathematics
We use the differential operator Del (∇) to construct these powerful operations:
Furthermore, the three fundamental theorems of vector calculus — Stokes' Theorem, the Divergence Theorem, and the Gradient Theorem — generalize the Fundamental Theorem of Calculus to higher dimensions.
3. Applications
Maxwell's Equations
Electromagnetism is described entirely in terms of divergence and curl of E and B fields.
Fluid Dynamics
Navier-Stokes equations rely on vector operations to capture viscosity and momentum.
Continuum Mechanics
Stress and strain tensors rely on gradients of displacement fields.
Machine Learning
Gradient descent uses the gradient vector to find the fastest way down the loss landscape.