Vector Calculus: grad, div, curl, and Integrals
The classical vector-analysis layer (analysis spine). We introduce scalar and vector fields, the three differential operators gradient, divergence, and curl, and the two new kinds of integral — line integrals and surface integrals — that the integral theorems relate. This is the concrete language that integral-theorems.md proves theorems in, and that differential-forms.md later unifies.
References: Spivak, Calculus on Manifolds; Marsden & Tromba, Vector Calculus.
1. Scalar and Vector Fields
On an open set :
- a scalar field is a function ;
- a vector field is a map , .
We assume fields are as smooth as needed (usually or ). Write the del operator formally as .
2. The Three Differential Operators
| Operator | Input → output | Formula |
|---|---|---|
| Gradient | scalar → vector | |
| Divergence | vector → scalar | |
| Curl | vector → vector |
The Laplacian is . Interpretations: points uphill (multivariable.md §2.2); measures the net outflow per unit volume (source/sink density); measures local circulation (rotation) of the field.
2.1 The two fundamental identities
For fields,
Both are immediate from the symmetry of mixed partials (multivariable.md §4): each component is a difference like . These two identities are the same fact written for -forms and -forms (differential-forms.md §4), and they constrain which fields can be gradients or curls (§3, §5).
2.2 Product identities
Useful in proofs (e.g. Green's identities, the divergence theorem applied to products):
3. Line Integrals
Let be a piecewise- curve.
- Of a scalar field (arc length): .
- Of a vector field (work/circulation): .
The vector line integral is independent of the parametrization (up to orientation; reversing flips the sign). A closed curve's integral is the circulation.
3.1 Conservative fields and path independence
is conservative on if for some potential . Then the line integral is path-independent:
Gradient theorem (FTC for line integrals). If then
Proof. The integrand is by the chain rule (multivariable.md §3); apply the one-variable FTC (riemann-integral.md §5).
This is itself a baby Stokes theorem (the -dimensional case). Consequences: for every loop iff is conservative. A conservative field is necessarily irrotational (, by §2.1). The converse holds on simply connected domains (metric-spaces.md §6) but fails otherwise — the field is irrotational on minus the -axis yet has nonzero circulation around it. This gap is measured by de Rham cohomology (differential-forms.md §6).
4. Surface Integrals
Let be a surface parametrized by , , with partials . The existence of such parametrizations for regular level surfaces is guaranteed by the implicit function theorem (inverse-implicit.md §3).
- Surface area element: .
- Of a scalar field: .
- Orientation and the normal: a choice of unit normal orients . (Non-orientable surfaces like the Möbius band admit no consistent choice.)
- Flux of a vector field:
Flux measures the net rate at which crosses . Reversing orientation flips its sign. The well-definedness (independence of parametrization, up to orientation) follows from the change-of-variables formula (multiple-integrals.md §4) applied to reparametrizations of .
5. The Operator → Theorem Dictionary
Each differential operator pairs with an integral theorem, all instances of one pattern ("integrate the derivative over a region = integrate the field over its boundary"):
| Operator | Theorem | Statement |
|---|---|---|
| Gradient theorem (§3.1) | ||
| Stokes' theorem | ||
| Divergence theorem |
The middle and bottom rows are proved in integral-theorems.md; the unifying pattern is made precise in stokes-general.md.
6. Where this page is used
- The operators and integrals defined here are the subject of the classical Green's, Stokes', and divergence theorems (integral-theorems.md).
- The identities , become , and grad/curl/div become the exterior derivative in dimensions (differential-forms.md).
- Flux and circulation are the physical readings of in covariant electromagnetism (SR/fields/electromagnetism.md).