Vector calculus
Fields in space and the operators that describe them — gradient, divergence, curl, Laplacian — plus the integral theorems of Green, Gauss and Stokes. The mathematics of fluids, electromagnetism and physically based graphics.
10 topics
A field assigns a value to every point of space: a temperature (scalar field) or a velocity (vector field). Three differential operators summarize how a field behaves locally — the gradient (where it increases), the divergence (how much it spreads out from a point) and the curl (how much it swirls) — and the Laplacian combines two of them. The theorems of Green, Gauss and Stokes say that what happens inside a region is determined by what flows across its boundary; finite-volume simulators are built directly on that idea.
Topics
Scalar fields
A function seen as a quantity spread through space: temperature, pressure, density, electric potential, distance to a surface.
Vector fields
A vector attached to every point: the wind, the flow of water, a magnetic field, the force of gravity. Integral curves (streamlines) follow the arrows.
Divergence
: the net outflow per unit volume at a point. Positive at sources, negative at sinks, zero for incompressible flow.
Curl
: a vector measuring the local rotation of a field — its axis is the axis of spin, its length twice the angular speed. Fields that are gradients have zero curl.
Laplacian
: how much at a point differs from the average of its neighbours. It appears in the heat, wave, Laplace, Poisson and Schrödinger equations, and its discrete version smooths meshes and detects edges.
Line integrals
Integrating a field along a curve: the work done by a force along a path. For gradient fields it depends only on the endpoints — the definition of a conservative force.
Surface integrals and flux
Integrating over a surface: its area, or the flux — how much of a field passes through it per unit time (water through a net, light through a window).
Green's theorem
In the plane, the circulation around a closed curve equals the integral of the curl inside it. A computational gem: the area of a polygon from its vertices (the shoelace formula) is Green's theorem.
Divergence theorem (Gauss)
The total divergence inside a region equals the flux out through its boundary: what is produced inside must leave through the surface. It is the foundation of conservation laws and finite-volume methods.
Stokes' theorem
The circulation of a field around a closed curve equals the flux of its curl through any surface bounded by the curve. Green's theorem in 3D, and the integral form of Faraday's and Ampère's laws.
Where this area leads in computing
3D Computer graphics ★★★★★
⚛ Physics and simulation ★★★★★
- Heat equation and diffusion★★★★★←Laplacian
- Wave equation★★★★★←Laplacian
- Electromagnetism (Maxwell's equations)★★★★★←Vector fields, Divergence, Curl, Divergence theorem (Gauss), Stokes' theorem
- Fluid dynamics and CFD★★★★★←Vector fields, Divergence, Curl, Laplacian, Surface integrals and flux, Divergence theorem (Gauss)
- Classical mechanics★★★★★←Line integrals
- Weather and climate modelling★★★★★←Scalar fields
- Physics engines★★★★★←Vector fields