Stokes' theorem says a line integral around a closed curve equals the flux of ×F\nabla \times \mathbf{F} through any oriented surface bounded by that curve, provided the field is smooth enough and the orientations match. The one idea to keep: circulation around the edge and curl through the surface are two ways to measure the same thing.

When To Use This Method

Apply Stokes' theorem whenever one of the two integrals is much easier than the other. Sometimes the boundary curve is easy to parametrize, so the line integral is the better route; sometimes the curl is simple and the surface is easy, so the surface integral is faster. The method gives you a choice of which side to compute.

For a smooth vector field F\mathbf{F} on an oriented surface SS with positively oriented boundary S\partial S,

SFdr=S(×F)ndS.\oint_{\partial S} \mathbf{F} \cdot d\mathbf{r} = \iint_S (\nabla \times \mathbf{F}) \cdot \mathbf{n}\, dS.

The left side measures circulation along the boundary; the right side measures the flux of curl through the surface. Curl measures the field's tendency to spin locally, while the boundary integral measures the net circulation around the outer edge, and the theorem says those views agree when surface and boundary are matched correctly. It is central in vector calculus, and appears in fluid mechanics (circulation and vorticity) and electromagnetism (Maxwell's equations).

The Steps

  1. Identify the surface and boundary. Start with an oriented surface SS and its boundary curve S\partial S.
  2. Match the orientation. Choose a normal vector on SS and orient the boundary consistently by the right-hand rule.
  3. Compute the easier side. Find either the line integral around S\partial S or the flux of ×F\nabla \times \mathbf{F} through SS, whichever is simpler.
  4. Check the sign. Confirm the orientation was not reversed, the most common source of sign errors.

Before applying any of this, confirm the conditions: you need an oriented surface, a boundary curve, and a vector field smooth enough on the surface and in a region around it. Orientation is the condition students miss most. Once you choose a normal vector n\mathbf{n}, the boundary direction is fixed by the right-hand rule; if n\mathbf{n} points upward, the positive boundary direction is counterclockwise viewed from above.

Full Worked Example On The Unit Disk

Take the vector field

F(x,y,z)=(y,x,0).\mathbf{F}(x,y,z) = (-y,x,0).

Identify the surface and boundary. Let SS be the unit disk x2+y21x^2 + y^2 \le 1 in the plane z=0z=0, oriented upward. Its boundary S\partial S is the unit circle, oriented counterclockwise.

Compute the easier side. The surface side is shorter here. First the curl:

×F=(0yxz,(y)z0x,xx(y)y)=(0,0,2).\nabla \times \mathbf{F} = \left( \frac{\partial 0}{\partial y} - \frac{\partial x}{\partial z}, \frac{\partial (-y)}{\partial z} - \frac{\partial 0}{\partial x}, \frac{\partial x}{\partial x} - \frac{\partial (-y)}{\partial y} \right) = (0,0,2).

Because the unit normal is n=(0,0,1)\mathbf{n} = (0,0,1),

(×F)n=2,(\nabla \times \mathbf{F}) \cdot \mathbf{n} = 2,

so

S(×F)ndS=S2dS=2area(S)=2π.\iint_S (\nabla \times \mathbf{F}) \cdot \mathbf{n}\, dS = \iint_S 2\, dS = 2 \cdot \text{area}(S) = 2\pi.

Verify against the line integral. A standard parametrization of the unit circle is

r(t)=(cost,sint,0),0t2π,\mathbf{r}(t) = (\cos t,\sin t,0), \qquad 0 \le t \le 2\pi,

so

r(t)=(sint,cost,0),F(r(t))=(sint,cost,0),\mathbf{r}'(t) = (-\sin t,\cos t,0), \qquad \mathbf{F}(\mathbf{r}(t)) = (-\sin t,\cos t,0),

giving F(r(t))r(t)=1\mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = 1 and

SFdr=02π1dt=2π.\oint_{\partial S} \mathbf{F} \cdot d\mathbf{r} = \int_0^{2\pi} 1\, dt = 2\pi.

Both sides match at 2π2\pi. The field clearly rotates around the origin, and the theorem captures that rotation either by walking around the circle or by measuring curl through the disk.

Practice And Where Each Step Goes Wrong

For a self-check, keep the same unit disk but change the field to

F(x,y,z)=(2y,2x,0).\mathbf{F}(x,y,z) = (-2y,2x,0).

Recompute the curl and apply Stokes' theorem, then verify the boundary integral. The geometry is fixed, so you can focus on how the field changes the answer; both sides should come out to 4π4\pi.

The steps fail in predictable places:

  1. Forgetting to match the boundary orientation with the chosen normal.
  2. Using a surface that does not have the given curve as its boundary.
  3. Treating it as a statement about any vector field, without checking smoothness assumptions.
  4. Confusing the flux of F\mathbf{F} with the flux of ×F\nabla \times \mathbf{F}. The theorem uses curl, not the original field.
  5. Thinking it only works for flat surfaces. It also works for curved surfaces when the standard regularity conditions hold.

The orientation steps are where sign errors come from: reversing the normal flips the surface integral's sign, reversing the boundary flips the line integral's sign, and reversing only one gives the wrong sign overall. A compact mental model for first uses: circulation around the edge equals total curl through the surface.

Frequently Asked Questions

What does Stokes' theorem say in simple terms?
It says that the circulation of a vector field around the boundary of an oriented surface equals the flux of the curl through that surface, as long as the regularity and orientation conditions are met.
Why does orientation matter in Stokes' theorem?
The boundary direction and the surface normal must match through the right-hand rule. If you reverse one orientation without reversing the other, the sign changes.
When is Stokes' theorem useful?
It is useful when one side of the theorem is much easier to compute than the other, especially in vector calculus, fluid flow, and electromagnetism.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →