---
title: "Stokes' Theorem and the Divergence Theorem"
description: "Both theorems say that integrating a derivative over a region equals integrating the original object over its boundary. With Green's theorem and the fundamental theorem, they are one statement in four"
canonical: https://lightmysky.com/learn/mathematics/stokes-theorem-and-the-divergence-theorem-mt_sRojZcrw-q
source: https://lightmysky.com/learn/mathematics/stokes-theorem-and-the-divergence-theorem-mt_sRojZcrw-q.md
retrieved: 2026-11-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Stokes' Theorem and the Divergence Theorem

Both theorems say that integrating a derivative over a region equals integrating the original object over its boundary. With Green's theorem and the fundamental theorem, they are one statement in four settings.

Subject: Mathematics · Area: Calculus & Analysis · Ages 20 to 21
Page: https://lightmysky.com/learn/mathematics/stokes-theorem-and-the-divergence-theorem-mt_sRojZcrw-q

## Ready when they can

- State each theorem and identify the region and its boundary
- Convert a surface flux integral into a triple integral of divergence
- Explain how all four theorems in the course share one form

## Lesson: Inside sums equal their boundary totals

Each theorem says that integrating a derivative over a region equals integrating the original object over the region's boundary. The fundamental theorem of calculus is the line case: the integral of f prime over [a, b] equals f(b) minus f(a), and the boundary is the two endpoints. Green's theorem is the flat case: a double integral of a curl or divergence over a plane region equals a line integral around its edge. The divergence theorem and Stokes' theorem are the cases in space.

The divergence theorem pairs a solid with its closed outer surface. The triple integral of the divergence over the solid equals the outward flux through the surface. With the outward normal, positive total flux means net outflow, negative means net inflow, and zero means the flow balances.

**Example.** Take the field (3x, y, z) leaving a cube of side 3. Its divergence is 3 plus 1 plus 1, the constant 5. The cube volume is 3 cubed, which is 27. With constant divergence the flux is divergence times volume: 5 times 27 is 135. When a surface is closed, try the inside integral before parametrising six faces.

*(drawing: Match the problem first: a closed skin goes to the divergence theorem, and a cap with a rim curve goes to Stokes.)*

Stokes' theorem pairs a surface with its rim curve: the flux of curl F through the cap equals the circulation of F around the rim. Circulation adds up F dotted with the direction of travel around the rim. Only the rim matters, so you can swap a hard cap for an easier one with the same rim. Orientation follows the right hand rule: fingers curl along the rim direction and the thumb points along the cap normal. Flipping the normal flips the sign of the answer.

**Example.** Take F = (-y, x, 0) around the circle of radius 2 in the plane z = 0, walked anticlockwise seen from above. Its curl is (0, 0, 2). Use the flat disk as the cap, with normal (0, 0, 1). The curl dotted with the normal is 2 everywhere, and the disk has area 4 pi, so the circulation is 8 pi.

**Tip.** Match each problem to its pairing before computing. A closed skin asks for the divergence trade, and a rim curve asks for the Stokes trade. Watch orientation closely: one flipped normal changes the sign of the whole answer.

**Recap.** Sum the derivative inside and you get the boundary total for free, so pick the easier side to compute.

*The lesson and quiz items were written for this dataset. The lesson was later revised.*

## Practice

14 questions on this page, each with its working shown.

## Needs first

- [Surface Integrals and Flux](https://lightmysky.com/learn/mathematics/surface-integrals-and-flux-mt_b3FIxOVaTO)
- [Divergence and Curl](https://lightmysky.com/learn/mathematics/divergence-and-curl-mt_JbjW8WKOPE)

## Optional connections

- [The Fundamental Theorem of Calculus](https://lightmysky.com/learn/mathematics/the-fundamental-theorem-of-calculus-mt_EsS_ovdz2A)

## Opens up

- [Displacement Current and Maxwell's Equations](https://lightmysky.com/learn/science/displacement-current-and-maxwells-equations-mt_YR8m8TNfyy)
