Let MM be an oriented with (possibly empty) ∂M\partial M, and let ι:∂M↪M\iota:\partial M \hookrightarrow M be the inclusion. If α∈Ωn−1(M)\alpha \in \Omega^{n-1}(M) is smooth up to the boundary and compactly supported, then Stokes' theorem states

∫Mdα  =  ∫∂Mι∗α.\int_M d\alpha \;=\; \int_{\partial M} \iota^*\alpha .

When MM is compact, the compact-support condition is automatic.

Orientation convention

The boundary ∂M\partial M is oriented by the outward-normal-first rule: a basis (v1,…,vn−1)(v_1,\dots,v_{n-1}) of Tp(∂M)T_p(\partial M) is positively oriented if (ν,v1,…,vn−1)(\nu, v_1,\dots,v_{n-1}) is a positively oriented basis of TpMT_p M, where ν\nu points outward (or is a chosen outward-pointing normal vector field along ∂M\partial M).

Key special cases

Stokes' theorem unifies several classical theorems:

  • Fundamental theorem of calculus (n=1n=1): for α=f\alpha=f (a 00-form) on [a,b][a,b],
    ∫[a,b]df  =  ∫{b}f−∫{a}f  =  f(b)−f(a).\int_{[a,b]} df \;=\; \int_{\{b\}} f - \int_{\{a\}} f \;=\; f(b)-f(a).
  • Green's theorem and the divergence theorem arise from choosing appropriate (n−1)(n-1)-forms corresponding to vector fields.
  • The classical Kelvin–Stokes theorem in R3\mathbb{R}^3 is the case n=2n=2 applied to a surface with boundary.
Useful corollaries
  • If ∂M=∅\partial M=\varnothing, then for any compactly supported α∈Ωn−1(M)\alpha \in \Omega^{n-1}(M),
    ∫Mdα=0.\int_M d\alpha = 0.
  • If β\beta is a closed kk-form (dβ=0d\beta=0), then ∫∂Cβ=0\int_{\partial C} \beta = 0 for any (k+1)(k+1)-chain CC for which the integrals make sense, since ∫∂Cβ=∫Cdβ\int_{\partial C}\beta=\int_C d\beta.
Remarks

For an important class of closed 22-forms, see .