8. Vector Calculus

Stokes' theorem

Stokes' theorem establishes a profound bridge between the surface integral of the curl of a vector field over an open, orientable surface and the line integral of the vector field around its boundary curve.

For: UP PGT Mathematics UP TGT Mathematics DSSSB PGT / TGT KVS / NVS PGT LT Grade
📖 Topic progress
○ Mark as complete

Definition and statement

Kelvin-Stokes Theorem
Let $S$ be a piecewise smooth, oriented surface in $\mathbb{R}^3$ bounded by a simple, closed, piecewise smooth boundary curve $C$ with positive orientation relative to the surface normal $\hat{n}$. If $\vec{F} = P\hat{i} + Q\hat{j} + R\hat{k}$ is a vector field whose component functions have continuous first-order partial derivatives on an open region containing $S$, then $$\oint_C \vec{F} \cdot d\vec{r} = \iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS = \iint_S (\text{curl } \vec{F}) \cdot \hat{n} \, dS$$

📐 Geometric Interpretation

Geometrically, Stokes' theorem equates the total microscopic circulation of a vector field over an open surface (measured by the surface integral of the curl) to the macroscopic circulation of the vector field around the boundary loop $C$. The orientation of $C$ is determined by the right-hand rule with respect to the unit normal vector $\hat{n}$ of the surface.

⚙️ Algebraic & Structural Meaning

Algebraically, Stokes' theorem is a higher-dimensional generalization of Green's theorem in the plane and a special case of the generalized Stokes' theorem on manifolds involving differential forms: $\int_{\partial S} \omega = \int_S d\omega$. It reduces the dimension of integration by one, translating surface integrals into easier boundary line integrals.

Conditions and hypotheses

Check each condition and what changes when it is omitted:

Hypothesis / Condition Domain / Interval Necessity What Fails If Condition Dropped
Surface Regularity & Orientability Surface $S \subset \mathbb{R}^3$ Strictly Mandatory / Necessary If the surface is non-orientable (e.g., Möbius strip), a consistent global unit normal $\hat{n}$ cannot be defined, rendering the surface integral and the theorem invalid.
Differentiability of Vector Field Open domain containing $S$ Strictly Mandatory If partial derivatives of $P, Q, R$ are discontinuous or do not exist, the curl vector field $\nabla \times \vec{F}$ is undefined, breaking the surface integral.
Boundary Curve Smoothness & Orientation Boundary $C = \partial S$ Essential for conclusion If the curve $C$ has self-intersections or incorrect orientation relative to $\hat{n}$, the sign and existence of the line integral will be incorrect.

Useful results and shortcuts

Use these identities and results when their conditions apply:

01

Surface Projection Reduction (Planar Shortcut)

$$\iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS = \iint_R \left( -\frac{\partial z}{\partial x} \frac{\partial R}{\partial y} + \dots \right) dx \, dy$$

Rule: When the surface $S$ is given explicitly as $z = g(x, y)$ over a region $R$ in the $xy$-plane, project the surface integral directly onto the $xy$-plane using $dx \, dy = \frac{dx \, dy}{|\hat{n} \cdot \hat{k}|}$, bypassing direct 3D parametrization.

Application: undefined
02

Contour Substitution (Deformation of Path)

$$\oint_{C_1} \vec{F} \cdot d\vec{r} = \oint_{C_2} \vec{F} \cdot d\vec{r} \quad \text{if } \nabla \times \vec{F} = \mathbf{0}$$

Rule: If $\nabla \times \vec{F} = \mathbf{0}$ (irrotational field) in a simply connected domain, replace a complex boundary curve $C$ with a simpler curve (like a circle or square) enclosing the same holes or region to compute the line integral instantly.

03

Conservative Field Zero-Circulation

$$\oint_C \vec{F} \cdot d\vec{r} = 0$$

Rule: If $\vec{F} = \nabla \phi$ (conservative field) and $C$ is any closed piecewise smooth curve, the line integral is identically zero without any calculation because $\nabla \times (\nabla \phi) = \mathbf{0}$.

04

Stokes' Theorem to Green's Theorem Reduction

$$\oint_C (P dx + Q dy) = \iint_R \left( \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right) dx \, dy$$

Rule: When $S$ lies entirely in the $xy$-plane ($z=0, \hat{n}=\hat{k}$), Stokes' theorem automatically collapses to Green's theorem in the plane.

Application: Used to solve 2D line integrals by converting them to double integrals over simple domains.
05

Symmetry Exploitation in Curl Integration

$$\iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS = 0$$

Rule: If the surface $S$ and the integrand component of $\nabla \times \vec{F}$ possess odd symmetry about a coordinate plane, the integral evaluates to zero immediately.

06

Stokes' Theorem Surface Independence

$$\iint_{S_1} (\nabla \times \vec{F}) \cdot \hat{n}_1 \, dS_1 = \iint_{S_2} (\nabla \times \vec{F}) \cdot \hat{n}_2 \, dS_2$$

Rule: Replace a complex curved surface with a flat planar disk sharing the identical boundary curve.

Application: Classic trick for difficult surface integrals in UP PGT.

Common errors and counterexamples

These examples show how a conclusion can fail when a condition is missing:

⚠️ COMMON ERROR #01

Orientation Reversal Sign Error

Common Pitfall: Candidates compute the line integral or surface integral without verifying whether the boundary curve orientation matches the right-hand rule relative to $\hat{n}$.

Counterexample: $C$ traversed clockwise instead of counterclockwise when $\hat{n}$ points upward.

Why it fails: Reversing the curve orientation flips the sign of the line integral: $\oint_{-C} \vec{F} \cdot d\vec{r} = - \oint_C \vec{F} \cdot d\vec{r}$.

🛡️ Exam Defense: Always explicitly check the standard counterclockwise orientation in the $xy$-plane view when looking down the positive normal.
⚠️ COMMON ERROR #02

Singularities within the Surface

Common Pitfall: Applying Stokes' theorem when the vector field $\vec{F}$ or its curl has a singularity (e.g., division by zero at the origin) piercing through the surface $S$.

Counterexample: $\vec{F} = \frac{-y\hat{i} + x\hat{j}}{x^2+y^2}$ integrated over a surface containing the $z$-axis.

Why it fails: The hypotheses require continuous first-order partial derivatives across the entire open region containing $S$. Singularities invalidate the theorem.

🛡️ Exam Defense: Inspect denominators of curl components for zeroes within the region enclosed by $C$.

Comparison

Concept / TheoremHypotheses / AssumptionsKey Formula / OutcomeGeometric MeaningExam Identification Clue
Green's TheoremRegion $R$ in plane, closed curve $C$, $C^1$ components$$\oint_C (P dx + Q dy) = \iint_R (Q_x - P_y) dA$$Relates 2D line integral to 2D double integral over planar area2D vector field, closed path in $xy$-plane
Stokes' TheoremOpen surface $S$ in $\mathbb{R}^3$, boundary curve $C$, $C^1$ surface$$\oint_C \vec{F} \cdot d\vec{r} = \iint_S (\nabla \times \vec{F}) \cdot \hat{n} dS$$Relates 3D line integral around boundary to curl flux across open surface3D space, open surface $S$ with boundary $C$
Gauss's Divergence TheoremClosed surface $S$ enclosing solid volume $V$, differentiable $\vec{F}$$$\iint_S \vec{F} \cdot \hat{n} dS = \iiint_V (\nabla \cdot \vec{F}) dV$$Relates total flux across closed surface to divergence in volumeClosed 3D surface enclosing a solid volume
Fundamental Theorem of Line IntegralsConservative field $\vec{F} = \nabla \phi$, connected path $C$ from $A$ to $B$$$\int_C \nabla \phi \cdot d\vec{r} = \phi(B) - \phi(A)$$Line integral depends only on endpoints, independent of pathExact differential, gradient field, path independence

Solved examples

Each problem includes a full solution and a shorter method:

CANONICAL PROBLEM 01 Dual-Method Breakdown

Evaluate $\oint_C [(y + z)dx + (z + x)dy + (x + y)dz]$ where $C$ is the curve given by $x^2 + y^2 = 1, z = 0$ oriented counterclockwise.

(A) $0$(B) $2\pi$(C) $\pi$(D) $4\pi$
✓ Correct Answer: (A)
📚 Method A: Formal Textbook Derivation
Step 1: Identify $\vec{F} = (y+z)\hat{i} + (z+x)\hat{j} + (x+y)\hat{k}$. Step 2: Compute $\nabla \times \vec{F} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ \partial/\partial x & \partial/\partial y & \partial/\partial z \\ y+z & z+x & x+y \end{vmatrix} = (1-1)\hat{i} + (1-1)\hat{j} + (1-1)\hat{k} = \mathbf{0}$. Step 3: Since curl is zero, by Stokes' theorem the line integral is $\iint_S \mathbf{0} \cdot \hat{n} \, dS = 0$.
⚡ Method B: 25-Second Exam Shortcut
Recognize instantly that $\vec{F} = \nabla(xy + yz + zx)$ is a conservative field (or observe that curl components vanish identically), making the closed line integral equal to 0 in 5 seconds.
💡 Tip: Always check if the vector field is the gradient of a scalar function before computing determinants.
CANONICAL PROBLEM 02 Dual-Method Breakdown

Using Stokes' theorem, evaluate $\iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS$ where $\vec{F} = y^2\hat{i} + xz\hat{j} + (y^2-x)\hat{k}$ and $S$ is the upper half of the sphere $x^2 + y^2 + z^2 = 1, z \ge 0$.

(A) $-\pi$(B) $\pi$(C) $2\pi$(D) $0$
✓ Correct Answer: (A)
📚 Method A: Formal Textbook Derivation
Step 1: The boundary $C$ of the hemisphere $z \ge 0$ is the unit circle $x^2 + y^2 = 1, z = 0$ traversed counterclockwise. Step 2: Apply Stokes' theorem to convert surface integral to line integral $\oint_C (y^2 dx + xz dy + (y^2-x) dz)$. Step 3: On $C$, $z = 0$ and $dz = 0$, so the integral reduces to $\oint_C y^2 dx$. Step 4: Parameterize $C$ as $x = \cos t, y = \sin t, t \in [0, 2\pi]$, so $dx = -\sin t dt$. Step 5: Evaluate $\int_0^{2\pi} \sin^2 t (-\sin t) dt = \int_0^{2\pi} -\sin^3 t dt = -\pi$.
⚡ Method B: 25-Second Exam Shortcut
Convert the hemisphere surface integral to the equatorial circle boundary integral immediately. Set $z=0$, parameterize with $x=\cos t, y=\sin t$, and evaluate the single-variable definite integral.
💡 Tip: Surface independence allows replacing a spherical cap boundary integral with its flat circular base projection.

Practice questions

Choose an answer to check it and see the solution:

Q1
MCQ 1: Stokes' theorem connects a surface integral over an open surface $S$ to:
A A volume integral over the enclosed region $V$
B A line integral around the boundary curve $C of S$
C A double integral over the $xy$-plane projection
D A scalar potential difference between endpoints
Derivation & Analysis:

Stokes' theorem equates the surface integral of the curl of $\vec{F}$ over $S$ to the line integral of $\vec{F}$ around the boundary curve $C = \partial S$.

Q2
MCQ 2: If $\vec{F} = x^2\hat{i} + y^2\hat{j} + z^2\hat{k}$, what is the value of $\oint_C \vec{F} \cdot d\vec{r}$ for any closed curve $C$?
A $1$
B $2\pi$
C $0$
D Depends on the curve
Derivation & Analysis:

The curl of $\vec{F}$ is $\nabla \times \vec{F} = \mathbf{0}$ because each component depends only on its own coordinate variable. By Stokes' theorem, the integral equals $\iint_S \mathbf{0} \cdot \hat{n} \, dS = 0$.

Q3
MCQ 3: Green's theorem in the plane is a special case of which vector integral theorem?
A Gauss's Divergence Theorem
B Stokes' Theorem
C Green's First Identity
D Green's Second Identity
Derivation & Analysis:

When the surface $S$ lies flat in the $xy$-plane ($z=0$), Stokes' theorem reduces directly to Green's theorem in the plane.

Q4
MCQ 4: What is $\nabla \times (f \vec{A})$ expressed in terms of curl and gradient?
A $f(\nabla \times \vec{A}) + \nabla f \times \vec{A}$
B $f(\nabla \times \vec{A}) - \nabla f \times \vec{A}$
C $(\nabla f) \cdot (\nabla \times \vec{A})$
D $f \nabla(\vec{A})$
Derivation & Analysis:

Vector identity for the curl of a scalar times a vector field is $\nabla \times (f \vec{A}) = f(\nabla \times \vec{A}) + (\nabla f) \times \vec{A}$.

Q5
MCQ 5: If the surface $S$ is closed (i.e., has no boundary curve $C$), then according to Stokes' theorem, for any smooth vector field $\vec{F}$:
A $\iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS = 1$
B $\iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS = 0$
C $\iint_S (\nabla \times \vec{F}) \cdot \hat{n} \, dS = \oint_C \vec{F} \cdot d\vec{r}$
D The theorem does not apply
Derivation & Analysis:

If $S$ is a closed surface, its boundary is empty ($C = \emptyset$), so the boundary line integral is zero, making the surface integral of the curl over a closed surface identically zero.

Q6
MCQ 6: Evaluate $\oint_C (y dx + z dy + x dz)$ where $C$ is the circle $x^2 + y^2 = 1, z = 0$ oriented positively.
A $-\pi$
B $\pi$
C $-\pi/2$
D $-2\pi$
Derivation & Analysis:

Here $\vec{F} = y\hat{i} + z\hat{j} + x\hat{k}$. Curl $\nabla \times \vec{F} = -\hat{i} - \hat{j} - \hat{k}$. Surface normal $\hat{n} = \hat{k}$. Dot product $(\nabla \times \vec{F}) \cdot \hat{k} = -1$. Over unit disk $A = \pi$, integral is $-\iint_S dA = -\pi$.

Q7
MCQ 7: Which of the following surfaces is non-orientable, violating a fundamental hypothesis of Stokes' theorem?
A Sphere
B Paraboloid
C Möbius Strip
D Circular Cylinder
Derivation & Analysis:

A Möbius strip has only one side and one boundary, making it non-orientable and invalidating standard applications of Stokes' theorem.

Q8
MCQ 8: Assertion (A): The line integral of a curl-free vector field around any simple closed curve is zero. Reason (R): Stokes' theorem relates the boundary line integral to the surface integral of the curl.
A Both (A) and (R) are true and (R) is the correct explanation of (A)
B Both (A) and (R) are true but (R) is not the correct explanation of (A)
C (A) is true but (R) is false
D (A) is false but (R) is true
Derivation & Analysis:

If $\nabla \times \vec{F} = \mathbf{0}$, Stokes' theorem implies $\oint_C \vec{F} \cdot d\vec{r} = \iint_S \mathbf{0} \cdot \hat{n} \, dS = 0$. Thus (R correctly explains (A).

Q9
MCQ 9: If $\vec{F} = xy\hat{i} + yz\hat{j} + zx\hat{k}$, what is the $z$-component of $\nabla \times \vec{F}$?
A $-x$
B $x$
C $y$
D $-y$
Derivation & Analysis:

The $z$-component of curl is $\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = \frac{\partial}{\partial x}(yz) - \frac{\partial}{\partial y}(xy) = 0 - x = -x$. Wait, recomputing: $P=xy, Q=yz, R=zx$. $(\nabla \times \vec{F})_z = \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 0 - x = -x$.

Q10
MCQ 10: If a vector field $\vec{F}$ satisfies $\nabla \times \vec{F} = 2\hat{k}$ across a flat circular disk $S$ of radius $R$ lying in the $xy$-plane with normal $\hat{k}$, the line integral $\oint_C \vec{F} \cdot d\vec{r}$ equals:
A $2\pi R$
B $\pi R^2$
C $2\pi R^2$
D $4\pi R^2$
Derivation & Analysis:

By Stokes' theorem, integral = $\iint_S (2\hat{k}) \cdot \hat{k} \, dS = 2 \iint_S dS = 2 \times (\pi R^2) = 2\pi R^2$.

Common questions

Use Green's theorem for 2D line integrals over planar regions. Use Stokes' theorem when dealing with 3D line integrals around a boundary curve $C$ or surface integrals of a curl. Use Gauss's divergence theorem when calculating total outward flux across a closed 3D surface enclosing a solid volume.

Incorrect orientation of the boundary curve $C$ relative to the surface normal $\hat{n}$. Failing to adhere to the right-hand rule introduces a sign error, resulting in a negative or incorrect option selection.

Always look for surface independence. If a curved surface (like a hemisphere or paraboloid) has a flat circular boundary, replace the complex surface integral with a direct line integral around the flat boundary circle or use the flat disk projection.