The Theorems of Gauss and Stokes
Two theorems saying that what happens inside a region adds up to what crosses its boundary: divergence to outward flux, curl to circulation.
Needs a step first: 15
Gauss's (divergence) theorem says : all the sources inside a volume equal the net flow out through its surface. Stokes' theorem says : the total swirl through a surface equals the circulation around its edge. Both are the fundamental theorem of calculus in more dimensions. They turn Maxwell's equations from statements at each point into laws about whole surfaces and loops, and often turn a hard integral into an easy one.
Where it shows up: Gauss's law for electric charge and Faraday's law of induction are these theorems applied to Maxwell's equations, and conservation laws in physics take the same form.
How to hold it: In your head
See both theorems as the fundamental theorem of calculus in more dimensions: what happens inside a region adds up to what crosses its boundary, with orientations set by the outward normal and the right-hand rule.
What knowing it looks like
- State both theorems with the correct orientations: outward normal, and the right-hand rule linking a surface to its edge.
- Verify the divergence theorem for a simple field on a sphere or cube, computing both sides.
- Use Gauss's law to find the electric field of a uniformly charged sphere.
Test yourself
Verify Stokes' theorem for and the unit disc in the -plane: compute the circulation of anticlockwise around the unit circle, and the flux of upward through the disc.
Show the worked answer
Needs a step first: 15
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "The Theorems of Gauss and Stokes" (Undergraduate II tier): Two theorems saying that what happens inside a region adds up to what crosses its boundary: divergence to outward flux, curl to circulation.
I already know: Divergence and Curl, Multiple Integrals.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Verify Stokes' theorem for $\mathbf{F} = (-y, x, 0)$ and the unit disc in the $xy$-plane: compute the circulation of $\mathbf{F}$ anticlockwise around the unit circle, and the flux of $\nabla \times \mathbf{F}$ upward through the disc.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.Needs first
- Divergence and CurlFor a field of arrows, such as a flow or a force, divergence measures spreading out from a point and curl measures swirling.Undergraduate II · Multivariable & Vector Calculus
- Multiple IntegralsIntegrals over areas and volumes, computed as repeated single integrals, with a Jacobian factor when changing coordinates.Undergraduate I · Multivariable & Vector Calculus
Leads to
On the way to
Recommended
- OpenStax CalculusOpenStax, Rice University · BookA free, peer-reviewed calculus textbook in three volumes, from limits through series to vectors and multiple integrals, with worked examples and answers.
- Khan Academy: Multivariable CalculusKhan Academy · CourseFree, ad-free videos and exercises on partial derivatives, gradients, multiple integrals, divergence, curl and Stokes' theorem, taught largely by Grant Sanderson of 3Blue1Brown.
- Mathematics for Machine LearningDeisenroth, Faisal and Ong (Cambridge University Press) · BookA free book that gathers exactly the linear algebra, vector calculus, probability and optimisation machine learning uses, then applies them to regression, PCA and classification.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.