{
  "id": "stokes-theorem",
  "title": "Stokes' Theorem",
  "lang": "en",
  "source_lang": "en",
  "summary": "Stokes’ theorem equates integration of a derivative over an oriented region with integration of the original quantity over its boundary.",
  "category": "mathematics",
  "subcategory": "analysis",
  "type": "concept",
  "aliases": [
    "Stokes’s theorem",
    "Generalized Stokes theorem",
    "Kelvin–Stokes theorem"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/stokes-theorem/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/stokes-theorem/",
      "json": "https://aiwiki.page/zh/stokes-theorem.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "Stokes’ theorem is a fundamental result connecting differentiation and integration through the boundary of a geometric region. In its classical three-dimensional form, it states that the circulation of a vector field around the boundary of an oriented surface equals the flux of the field’s curl through that surface. Its generalized form expresses the same principle for differential forms on manifolds, unifying several major theorems of calculus. (ocw.mit.edu)"
    },
    {
      "heading": "Classical statement",
      "text": "Let \\(S\\) be a compact, oriented, piecewise-smooth surface in Euclidean three-dimensional space, with piecewise-smooth boundary \\(C=\\partial S\\). Let \\(\\mathbf F\\) be a vector field whose components have continuous first partial derivatives on an open neighborhood of \\(S\\). Then\n\n\\[\\boxed{ \\oint_{\\partial S}\\mathbf F\\cdot d\\mathbf r = \\iint_S(\\nabla\\times\\mathbf F)\\cdot\\mathbf n\\,dS }\\]\n\nprovided the direction of traversal of the boundary agrees with the orientation of the surface. Here \\(\\mathbf n\\) is the chosen unit normal, \\(dS\\) is the scalar area element, and \\(d\\mathbf r\\) is the directed displacement along the boundary. The left side is a line integral; the right side is a surface integral. (ocw.mit.edu)\n\nFor \\(\\mathbf F=(P,Q,R)\\), its curl is\n\n\\[\\nabla\\times\\mathbf F = \\left( \\frac{\\partial R}{\\partial y}-\\frac{\\partial Q}{\\partial z}, \\frac{\\partial P}{\\partial z}-\\frac{\\partial R}{\\partial x}, \\frac{\\partial Q}{\\partial x}-\\frac{\\partial P}{\\partial y} \\right).\\]\n\nThus the theorem relates tangential behavior along a boundary to a combination of partial derivatives across its spanning surface. (ocw.mit.edu)"
    },
    {
      "heading": "Orientation and geometric meaning",
      "text": "An orientation of a smooth surface in three-dimensional space is a continuous choice of normal direction. The induced boundary orientation follows the right-hand rule: locally, the right thumb points along the chosen normal while the fingers curl in the positive boundary direction. Equivalently, a person walking along the positive boundary, with their head pointing along the normal, has the surface on their left. Reversing the surface orientation reverses the boundary orientation and changes the sign of both integrals. (live.ocw.mit.edu)\n\nA surface may have several boundary components. All must be included, each with its induced orientation. For example, an upward-oriented planar annulus has a counterclockwise outer boundary and a clockwise inner boundary. Omitting the inner boundary changes the theorem’s boundary integral. (ocw.mit.edu)\n\nGeometrically, curl measures local circulation per unit area, with its normal component corresponding to circulation in the surface’s tangent plane. Stokes’ theorem adds these local contributions to obtain the circulation around the complete boundary. For a fluid velocity field, curl is called vorticity; it describes local rotational behavior rather than merely whether the streamlines appear curved. (live.ocw.mit.edu)"
    },
    {
      "heading": "Example",
      "text": "As a direct illustration, consider\n\n\\[\\mathbf F(x,y,z)=\\left(-\\frac y2,\\frac x2,0\\right)\\]\n\nand the disk \\(S\\) of radius \\(a\\) in the plane \\(z=0\\), oriented upward. Its boundary is traversed counterclockwise. Calculation gives\n\n\\[\\nabla\\times\\mathbf F=(0,0,1),\\]\n\nso\n\n\\[\\iint_S(\\nabla\\times\\mathbf F)\\cdot\\mathbf n\\,dS =\\pi a^2.\\]\n\nParametrize the boundary by\n\n\\[\\mathbf r(t)=(a\\cos t,a\\sin t,0), \\qquad 0\\leq t\\leq2\\pi.\\]\n\nThen \\(\\mathbf F(\\mathbf r(t))\\cdot\\mathbf r'(t)=a^2/2\\), and therefore\n\n\\[\\oint_{\\partial S}\\mathbf F\\cdot d\\mathbf r = \\int_0^{2\\pi}\\frac{a^2}{2}\\,dt =\\pi a^2.\\]\n\nThe independently calculated integrals agree, as the classical theorem requires. (ocw.mit.edu)"
    },
    {
      "heading": "Why the theorem holds",
      "text": "A local proof reduces the surface formula to Green’s theorem in a parameter domain. For a sufficiently smooth parametrization \\(\\mathbf r(u,v)\\), define\n\n\\[A=\\mathbf F(\\mathbf r)\\cdot\\mathbf r_u, \\qquad B=\\mathbf F(\\mathbf r)\\cdot\\mathbf r_v.\\]\n\nThe chain rule gives\n\n\\[\\frac{\\partial B}{\\partial u} - \\frac{\\partial A}{\\partial v} = (\\nabla\\times\\mathbf F)(\\mathbf r) \\cdot(\\mathbf r_u\\times\\mathbf r_v).\\]\n\nApplying Green’s theorem to \\(A\\,du+B\\,dv\\) establishes Stokes’ theorem on the parametrized patch. (ocw.mit.edu)\n\nFor a surface assembled from consistently oriented patches, their boundary integrals can be added. Every internal edge occurs twice, with opposite traversal directions, so its contributions cancel. Only the actual boundary remains. This cancellation explains the theorem’s local-to-global structure. (live.ocw.mit.edu)"
    },
    {
      "heading": "Generalized Stokes theorem",
      "text": "In differential geometry, the theorem is formulated using differential forms. If \\(M\\) is a compact oriented smooth \\(n\\)-dimensional manifold with boundary and \\(\\omega\\) is a smooth \\((n-1)\\)-form on \\(M\\), then\n\n\\[\\boxed{ \\int_M d\\omega = \\int_{\\partial M}\\iota^*\\omega }\\]\n\nwhere \\(d\\omega\\) is the exterior derivative and \\(\\iota^*\\omega\\) is the restriction, or pullback, of \\(\\omega\\) to the boundary. The boundary has the induced orientation, conventionally defined by placing an outward-pointing transverse vector before a positively oriented boundary basis. A version for noncompact manifolds uses compactly supported forms. (arxiv.org)\n\nThis formulation is independent of coordinates and does not require a metric. The familiar dot products, normal vectors, and curl arise when forms are represented using Euclidean geometry. In three dimensions, taking\n\n\\[\\omega=P\\,dx+Q\\,dy+R\\,dz\\]\n\nmakes the integral of \\(\\omega\\) a circulation integral and the integral of \\(d\\omega\\) the flux integral of curl. (arxiv.org)\n\nImportant special cases include:\n\n- The fundamental theorem of calculus: on an interval,\n\n\\[\\int_a^b df=f(b)-f(a).\\]\n\nThe endpoints carry opposite orientations.\n- Green’s theorem: integrating the exterior derivative of \\(P\\,dx+Q\\,dy\\) over a planar region gives its boundary circulation.\n- The divergence theorem: for\n\n\\[\\omega=P\\,dy\\wedge dz+Q\\,dz\\wedge dx+R\\,dx\\wedge dy,\\]\n\nthe form \\(d\\omega\\) is\n\n\\[(\\nabla\\cdot\\mathbf F)\\,dx\\wedge dy\\wedge dz,\\]\n\nyielding the equality between volume-integrated divergence and outward boundary flux. (ocw.mit.edu)\n\n“Kelvin–Stokes theorem” specifically denotes the three-dimensional curl formula; “generalized Stokes theorem” denotes the manifold-and-forms statement."
    },
    {
      "heading": "Consequences and applications",
      "text": "Surface independence. If two admissible oriented surfaces have the same oriented boundary, the flux of \\(\\nabla\\times\\mathbf F\\) through either is the same, provided the field satisfies the hypotheses on both. This allows a complicated spanning surface to be replaced by a simpler one. It does not imply surface independence for an arbitrary vector field’s flux. (ocw.mit.edu)\n\nElectromagnetism. Stokes’ theorem connects the integral and differential versions of the curl equations in Maxwell’s equations. For a fixed loop and fixed spanning surface, Faraday’s law of induction in SI units gives\n\n\\[\\oint_{\\partial S}\\mathbf E\\cdot d\\mathbf r = -\\frac{d}{dt}\\iint_S\\mathbf B\\cdot\\mathbf n\\,dS.\\]\n\nApplying Stokes’ theorem and differentiating under the integral, under suitable regularity assumptions, yields\n\n\\[\\nabla\\times\\mathbf E = -\\frac{\\partial\\mathbf B}{\\partial t}.\\]\n\nThe theorem establishes equivalence between these mathematical formulations; the physical law itself is empirical. (live.ocw.mit.edu)\n\nTopology. A differential form is called exact if it equals \\(d\\eta\\), and closed if its exterior derivative vanishes. Stokes’ theorem implies that exact forms integrate to zero over compact oriented manifolds without boundary. This connects integration to topology and helps explain why global properties of a domain matter when seeking potentials. (arxiv.org)"
    },
    {
      "heading": "Hypotheses and limitations",
      "text": "The classical formula requires an orientable surface and sufficient regularity of the field on the entire surface, not merely along its boundary. A nonorientable surface, such as a Möbius strip, does not possess the global normal orientation required by this formulation. Singularities cannot simply be ignored. (live.ocw.mit.edu)\n\nIn particular, zero curl does not always imply zero circulation around every closed curve. A standard example is\n\n\\[\\mathbf F(x,y,z)= \\left( -\\frac{y}{x^2+y^2}, \\frac{x}{x^2+y^2}, 0 \\right),\\]\n\ndefined away from the \\(z\\)-axis. It has zero curl throughout its domain, but circulation \\(2\\pi\\) around the positively oriented unit circle in the \\(xy\\)-plane. The usual spanning disk meets the excluded axis, where the field is undefined, so Stokes’ theorem cannot be applied to that disk. On a simply connected open domain, a continuously differentiable curl-free field does admit a scalar potential. (ocw.mit.edu)"
    },
    {
      "heading": "Historical background",
      "text": "The classical theorem bears the name of George Gabriel Stokes, who included it in the Cambridge Smith’s Prize examination of 1854. William Thomson, later Lord Kelvin, had communicated the result to Stokes. Its subsequent importance in electromagnetic theory helped establish the theorem as a standard component of vector calculus. The modern differential-form formulation encompasses a broader principle than the original three-dimensional identity. (maths.cam.ac.uk)"
    }
  ],
  "links": [
    "derivative",
    "integral",
    "euclidean-space",
    "vector-field",
    "line-integral",
    "partial-derivative",
    "greens-theorem",
    "chain-rule",
    "differential-geometry",
    "differential-form",
    "manifold",
    "exterior-derivative",
    "metric-tensor",
    "fundamental-theorem-of-calculus",
    "divergence-theorem",
    "maxwells-equations",
    "faraday-law-of-induction",
    "topology",
    "george-gabriel-stokes"
  ],
  "sources": [
    {
      "title": "Part C: Line Integrals and Stokes' Theorem",
      "url": "https://ocw.mit.edu/courses/18-02sc-multivariable-calculus-fall-2010/pages/4.-triple-integrals-and-surface-integrals-in-3-space/part-c-line-integrals-and-stokes-theorem/"
    },
    {
      "title": "V13. Stokes' Theorem",
      "url": "https://ocw.mit.edu/courses/18-02-multivariable-calculus-fall-2007/e1401b5bdc1694b9e86f64d626234a41_stokes_theorem.pdf"
    },
    {
      "title": "V15. Relation to Physics",
      "url": "https://ocw.mit.edu/courses/18-02-multivariable-calculus-fall-2007/09ae8ccfce72c4883f1cedf16213f381_relation_to_phy.pdf"
    },
    {
      "title": "Calculus, Chapter 15: Vector Calculus",
      "url": "https://live.ocw.mit.edu/courses/res-18-001-calculus-fall-2023/mitres_18_001_f17_ch15.pdf"
    },
    {
      "title": "Lecture Notes on Differential Forms",
      "url": "https://arxiv.org/abs/1604.07862"
    },
    {
      "title": "Analysis II, Lecture 38",
      "url": "https://www.ocw.mit.edu/courses/18-101-analysis-ii-fall-2005/96d40deae73e28e888fb9ad80596f674_lecture38.pdf"
    },
    {
      "title": "Session 95: Stokes' Theorem and Surface Independence",
      "url": "https://ocw.mit.edu/courses/18-02sc-multivariable-calculus-fall-2010/pages/4.-triple-integrals-and-surface-integrals-in-3-space/part-c-line-integrals-and-stokes-theorem/session-95-stokes-theorem-and-surface-independence/"
    },
    {
      "title": "Session 94: Simply Connected Regions; Topology",
      "url": "https://ocw.mit.edu/courses/18-02sc-multivariable-calculus-fall-2010/pages/4.-triple-integrals-and-surface-integrals-in-3-space/part-c-line-integrals-and-stokes-theorem/session-94-simply-connected-regions-topology/"
    },
    {
      "title": "A History of Mathematics in Cambridge",
      "url": "https://www.maths.cam.ac.uk/about/history"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}