Contents

Electromagnetic Theory
Vector Analysis
Electrostatics
Magnetostatics
Maxwell Equations
Wave Propagation
Transmission Lines
Antennas
Other Topics
Other Subjects
Section Progress93%

13 of 14 articles

Stokes Theorem

Surface to line integral conversion, curl relation.

Mohith N
Updated: 19 March 2026
10 min read

Stokes' theorem is the second fundamental integral theorem in vector calculus used in electromagnetics. It relates the line integral of a vector field around a closed curve to the surface integral of the curl of that field over any surface bounded by that curve. This theorem is the mathematical bridge that connects Maxwell's curl equations in differential form to their integral forms, particularly Faraday's law and Ampere's circuital law.

Stokes Theorem: Surface to Line Integral ConversionSurface S∫∫S (∇×A)·dScurl flux throughbounded surfaceContour C(boundary)dl= equals∮C A·dlStokes Theorem∮C A·dl = ∫∫S (∇×A)·dSClosed line integralof A around C equalscurl flux through SFaraday Law (integral):∮C E·dl = -d/dt ∫∫B·dSEMF around loopAmpere Law (integral):∮C H·dl = Ienc + IdMMF around loop
Figure 1: Stokes theorem connects curl flux through a surface to circulation around its boundary contour

Core Concept: What Stokes Theorem States

Stokes' theorem states that the closed line integral of a vector field A around a curve C equals the surface integral of the curl of A over any open surface S bounded by C. In mathematical form:

∮C A · dl = ∫∫S (∇ × A) · dS

The key phrase is any open surface bounded by C. Many different surfaces can be drawn with the same boundary contour C, and the theorem guarantees they all give the same surface integral value. This is because curl of A is a conservative quantity in this sense: its flux through any capping surface depends only on the boundary curve, not on the particular surface chosen.

Physically, the theorem links the macroscopic circulation of a field around a loop to the microscopic rotational tendency of the field at each interior point. If the field has strong curl throughout the surface, its line integral around the boundary will be large. If the curl is zero everywhere inside, the circulation around the boundary is also zero regardless of the surface shape.

Mathematical Expression and Orientation

The orientation matters critically in Stokes' theorem. The direction of the area element dS = dS an is linked to the direction of traversal along C through the right-hand rule. If the fingers of the right hand curl in the direction of traversal along C, the thumb points in the direction of the outward normal an of the surface. Reversing the direction of C reverses the sign of both sides.

Applying Stokes' theorem to Maxwell's curl equation ∇ × E = -∂B/∂t gives:

∮C E · dl = -d/dt ∫∫S B · dS = -dΦB/dt

This is Faraday's law in integral form. The left side is the EMF around the loop C, and the right side is the negative rate of change of magnetic flux through any surface bounded by C. Similarly, applying Stokes' theorem to ∇ × H = J + ∂D/∂t gives Ampere's circuital law in integral form: ∮C H · dl = Ienc + Id.

Practical Understanding

In circuit analysis, Faraday's law derived through Stokes' theorem is used to compute the induced EMF in a coil due to a changing magnetic field. The surface integral of B over the coil cross-section gives the flux, and its time derivative gives the induced voltage.

Stokes' theorem is also used to prove that a vector field with zero curl everywhere can be expressed as the gradient of a scalar potential. Since ∮C A · dl = ∫∫S (∇×A) · dS = 0 for any closed path, the field A is conservative. This is the formal proof that irrotational fields have scalar potentials.

Numerical Example

Example
Given:
A = y ax - x ay
Contour C: unit square in xy-plane, vertices at (0,0), (1,0), (1,1), (0,1)
Traversed counterclockwise (normal in +z direction)

Why this formula applies:
Stokes theorem: ∮C A·dl = ∫∫S (∇×A)·dS

Formula:
Curl z-component: ∂Ay/∂x - ∂Ax/∂y = ∂(-x)/∂x - ∂(y)/∂y = -1 - 1 = -2
So ∇ × A = -2 az

Surface integral side:
∫∫S (∇×A)·dS = ∫₀¹ ∫₀¹ (-2) dxdy = -2 × 1 × 1 = -2

Line integral verification:
Side 1 (y=0, x: 0→1): ∫ y dx - x dy = 0 (y=0, dy=0)
Side 2 (x=1, y: 0→1): ∫ y(0) - 1(dy) = -1
Side 3 (y=1, x: 1→0): ∫ 1·dx = -1
Side 4 (x=0, y: 1→0): ∫ -0·dy = 0
Total = 0 + (-1) + (-1) + 0 = -2

Final Answer:
∮C A·dl = -2  (both methods agree, theorem verified)
Exam Tip: In GATE, when a closed line integral looks complex, compute the curl of the field and integrate it over the enclosed surface instead. Also remember: if ∇ × A = 0 in a simply connected region, then ∮C A · dl = 0 for any closed path in that region. This makes the field conservative, path-independent, and derivable from a scalar potential.
Stokes Theorem: Right Hand Rule and Surface IndependenceRight Hand Rule for StokesSurface Sany capping surfaceC (CCW)an (+z)CCW traversal → +z normalvia right-hand ruleSurface IndependenceSurface S1flatSurface S2(curved, same boundary)Both S1 and S2 give same∫∫ (∇×A)·dS value
Figure 2: Any surface bounded by the same contour C gives identical curl flux; orientation is fixed by right-hand rule
  • Stokes theorem: ∮C A · dl = ∫∫S (∇×A) · dS, converting surface integral to closed line integral.
  • Orientation: right-hand rule connects traversal direction on C to normal direction on S.
  • Any surface bounded by C gives the same surface integral value (surface independence of curl flux).
  • Faraday law in integral form is derived by applying Stokes theorem to ∇ × E = -∂B/∂t.
  • Ampere law in integral form is derived by applying Stokes theorem to ∇ × H = J + ∂D/∂t.

Quick Revision

  • Stokes theorem: ∮C A · dl = ∫∫S (∇×A) · dS over any open surface S bounded by C.
  • Physical meaning: circulation around a boundary equals total curl flux through the interior.
  • Right-hand rule: CCW traversal of C corresponds to +z outward normal for a flat surface in xy-plane.
  • Faraday law: ∮E · dl = -dΦB/dt (EMF = rate of change of magnetic flux).
  • Ampere circuital law: ∮H · dl = Ienc + Id (total current including displacement current).
  • If ∇ × A = 0 everywhere, then ∮C A · dl = 0 for any closed C, meaning field is conservative.
  • Exam trap: Stokes theorem requires an open surface with a boundary; divergence theorem requires a closed surface. These two theorems are never interchangeable.

Stokes Theorem Quiz

Test your ability to apply Stokes Theorem to convert surface integrals of curl to line integrals.

Question 1 of 3

Q1.Stokes Theorem relates which two types of integrals?