5. Vector Calculus

Stokes’ Theorem

Relates circulation around a boundary curve to the surface integral of curl across a surface.

Stokes’ Theorem

Welcome, students! Today we’re diving into one of the most fascinating and powerful results in multivariable calculus: Stokes’ Theorem. 🌟 By the end of this lesson, you’ll understand how this theorem connects the circulation of a vector field around a curve to the curl of the field over a surface. Our goal: to help you see how this links line integrals and surface integrals, and why it’s so useful in physics and engineering. Ready? Let’s explore the magic behind Stokes’ Theorem! 🌀

The Big Picture: What is Stokes’ Theorem?

Stokes’ Theorem is a generalization of the Fundamental Theorem of Calculus to higher dimensions. In simple terms, it says that the circulation of a vector field $\mathbf{F}$ around a closed curve $C$ is equal to the surface integral of the curl of $\mathbf{F}$ over a surface $S$ bounded by that curve.

Mathematically, Stokes’ Theorem states:

$$

$\oint_{C}$ $\mathbf{F}$ $\cdot$ d$\mathbf{r}$ = $\iint_{S}$ ($\nabla$ $\times$ $\mathbf{F}$) $\cdot$ $\mathbf{n}$ \, dS

$$

Where:

  • $\oint_{C} \mathbf{F} \cdot d\mathbf{r}$ is the line integral of the vector field $\mathbf{F}$ around the closed curve $C$.
  • $\nabla \times \mathbf{F}$ is the curl of the vector field $\mathbf{F}$.
  • $\mathbf{n}$ is the unit normal vector to the surface $S$.
  • $dS$ is the surface element.

Why is Stokes’ Theorem Useful?

  1. Unification of Concepts: It unifies line integrals and surface integrals, showing that circulation (line integral) can be described by the curl (surface integral).
  2. Applications in Physics: Stokes’ Theorem helps in electromagnetism, fluid dynamics, and more, connecting field behavior along curves to behavior across surfaces.
  3. Simplification: Sometimes it’s easier to compute the surface integral rather than the line integral, or vice versa, depending on the problem.

Let’s break it down step by step and see how it works with real-world examples.

Curl of a Vector Field: The Key Ingredient

Before we can fully appreciate Stokes’ Theorem, we need to understand the concept of curl. The curl of a vector field $\mathbf{F} = \langle F_1, F_2, F_3 \rangle$ measures the rotation or "twisting" of the field at any point. It’s a vector that describes the infinitesimal rotation of the field.

How to Compute the Curl

The curl of a vector field $\mathbf{F} = \langle F_1, F_2, F_3 \rangle$ is given by the following formula:

$$

$\nabla$ $\times$ $\mathbf{F}$ = $\left($ \frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z}, \frac{\partial F_1}{\partial z} - \frac{\partial F_3}{\partial x}, \frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y} $\right)$

$$

This can be remembered using a determinant form:

$$

$\nabla \times \mathbf{F} = \begin{vmatrix}$

$\mathbf{i} & \mathbf{j} & \mathbf{k} \\$

\frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\

$F_1 & F_2 & F_3$

$\end{vmatrix}$

$$

Where $\mathbf{i}, \mathbf{j}, \mathbf{k}$ are the unit vectors in the $x$, $y$, and $z$ directions.

Example: Finding the Curl

Let’s take a simple example. Suppose:

$$

$\mathbf{F}$(x, y, z) = \langle y, -x, z^2 \rangle

$$

We compute the curl step-by-step:

  1. Compute $\frac{\partial F_3}{\partial y} - \frac{\partial F_2}{\partial z}$:
  • $\frac{\partial F_3}{\partial y} = \frac{\partial (z^2)}{\partial y} = 0$
  • $\frac{\partial F_2}{\partial z} = \frac{\partial (-x)}{\partial z} = 0$
  • So, the first component is $0 - 0 = 0$.
  1. Compute $\frac{\partial F_1}{\partial z} - \frac{\partial F_3}{\partial x}$:
  • $\frac{\partial F_1}{\partial z} = \frac{\partial (y)}{\partial z} = 0$
  • $\frac{\partial F_3}{\partial x} = \frac{\partial (z^2)}{\partial x} = 0$
  • The second component is $0 - 0 = 0$.
  1. Compute $\frac{\partial F_2}{\partial x} - \frac{\partial F_1}{\partial y}$:
  • $\frac{\partial F_2}{\partial x} = \frac{\partial (-x)}{\partial x} = -1$
  • $\frac{\partial F_1}{\partial y} = \frac{\partial (y)}{\partial y} = 1$
  • The third component is $-1 - 1 = -2$.

So, the curl is:

$$

$\nabla$ $\times$ $\mathbf{F}$ = \langle 0, 0, -2 \rangle

$$

This tells us that the field $\mathbf{F}$ has a constant rotation around the $z$-axis.

Physical Interpretation of Curl

Think of curl like the rotation of a fluid. If you imagine placing a tiny paddlewheel in a flowing fluid, the curl tells you how fast the paddlewheel would spin and around which axis.

  • If the curl is zero, the paddlewheel won’t spin: the field has no rotation.
  • If the curl is nonzero, the paddlewheel spins, indicating rotational motion in the field.

💡 Fun Fact: In fluid dynamics, the curl is related to vorticity, which measures the local spinning of the fluid. Hurricanes, for example, have high vorticity in their centers!

Line Integrals and Surface Integrals

Line Integrals: Circulation Around a Curve

The left side of Stokes’ Theorem involves a line integral around a closed curve $C$. This integral measures the circulation of the vector field $\mathbf{F}$ around the curve.

A line integral of a vector field $\mathbf{F}$ along a curve $C$ is given by:

$$

$\oint_{C} \mathbf{F} \cdot d\mathbf{r}$

$$

Where $d\mathbf{r}$ is the differential vector tangent to the curve. This integral sums up the component of $\mathbf{F}$ that’s aligned with the direction of the curve at each point.

Example: Line Integral Around a Circle

Suppose we have the vector field $\mathbf{F}(x, y, z) = \langle -y, x, 0 \rangle$ and we want to find the circulation around the unit circle in the $xy$-plane, parameterized by:

$$

$\mathbf{r}$(t) = \langle $\cos$ t, $\sin$ t, 0 \rangle, \quad 0 $\leq$ t $\leq 2$$\pi$

$$

We compute the line integral:

  1. Find $\mathbf{F}(\mathbf{r}(t)) = \langle -\sin t, \cos t, 0 \rangle$.
  2. Find $d\mathbf{r} = \langle -\sin t, \cos t, 0 \rangle dt$.
  3. Compute the dot product: $\mathbf{F}(\mathbf{r}(t)) \cdot d\mathbf{r} = (-\sin t)(-\sin t) + (\cos t)(\cos t) = \sin^2 t + \cos^2 t = 1$.
  4. Integrate over $t$: $\int_0^{2\pi} 1 \, dt = 2\pi$.

So, the circulation around the unit circle is $2\pi$.

Surface Integrals: Flux of the Curl

The right side of Stokes’ Theorem involves a surface integral of the curl of the vector field over a surface $S$ bounded by the curve $C$.

A surface integral of a vector field $\mathbf{G}$ over a surface $S$ is:

$$

$\iint_{S} \mathbf{G} \cdot \mathbf{n} \, dS$

$$

Where $\mathbf{n}$ is the unit normal vector to the surface. In Stokes’ Theorem, $\mathbf{G} = \nabla \times \mathbf{F}$, so we’re integrating the curl of $\mathbf{F}$.

Example: Surface Integral of the Curl

Let’s use the same vector field $\mathbf{F}(x, y, z) = \langle -y, x, 0 \rangle$. We found earlier that its curl is:

$$

$\nabla$ $\times$ $\mathbf{F}$ = \langle 0, 0, 2 \rangle

$$

Now, let’s choose the surface $S$ to be the unit disk in the $xy$-plane. The normal vector is $\mathbf{n} = \langle 0, 0, 1 \rangle$.

We compute the surface integral:

$$

$\iint_{S}$ ($\nabla$ $\times$ $\mathbf{F}$) $\cdot$ $\mathbf{n}$ \, dS = $\iint_{S}$ \langle 0, 0, 2 \rangle $\cdot$ \langle 0, 0, 1 \rangle \, dS = $\iint_{S}$ 2 \, dS

$$

The area of the unit disk is $\pi$, so the integral is:

$$

$\iint_{S}$ 2 \, dS = $2 \cdot$ $\pi$ = $2\pi$

$$

Notice that this matches the line integral result we found earlier! This is exactly what Stokes’ Theorem predicts.

Bringing It All Together: Stokes’ Theorem in Action

Let’s summarize what we’ve seen. Stokes’ Theorem tells us that if we have a closed curve $C$ and a surface $S$ that $C$ bounds, then the line integral around $C$ is equal to the surface integral of the curl over $S$.

Example: A Full Application

Let’s do one more example to see Stokes’ Theorem in full.

Suppose:

$$

$\mathbf{F}$(x, y, z) = \langle yz, xz, xy \rangle

$$

We want to find the circulation around the curve $C$ defined by the intersection of the plane $x + y + z = 1$ and the coordinate planes (so $x, y, z \geq 0$). This curve is a triangle with vertices at $(1, 0, 0)$, $(0, 1, 0)$, and $(0, 0, 1)$.

Step 1: Compute the Curl

We find the curl $\nabla \times \mathbf{F}$:

  1. First component: $\frac{\partial (xy)}{\partial y} - \frac{\partial (xz)}{\partial z} = x - x = 0$.
  2. Second component: $\frac{\partial (yz)}{\partial z} - \frac{\partial (xy)}{\partial x} = y - y = 0$.
  3. Third component: $\frac{\partial (xz)}{\partial x} - \frac{\partial (yz)}{\partial y} = z - z = 0$.

So, $\nabla \times \mathbf{F} = \langle 0, 0, 0 \rangle$.

Step 2: Apply Stokes’ Theorem

Stokes’ Theorem says:

$$

$\oint_{C}$ $\mathbf{F}$ $\cdot$ d$\mathbf{r}$ = $\iint_{S}$ ($\nabla$ $\times$ $\mathbf{F}$) $\cdot$ $\mathbf{n}$ \, dS

$$

Since the curl is zero everywhere, the surface integral is:

$$

$\iint_{S}$ \langle 0, 0, 0 \rangle $\cdot$ $\mathbf{n}$ \, dS = 0

$$

Therefore, by Stokes’ Theorem, the line integral must also be zero:

$$

$\oint_{C} \mathbf{F} \cdot d\mathbf{r} = 0$

$$

This tells us that the circulation around the triangular curve is zero. Even though $\mathbf{F}$ is not zero, the rotation (curl) is zero, so there’s no net circulation around the boundary.

Why Does This Matter?

This example shows that if a vector field has zero curl, then its circulation around any closed curve is zero. This is a key result in physics: it means that if there’s no local rotation in the field, there’s no net circulation around closed loops.

Real-World Applications of Stokes’ Theorem

Electromagnetism

In Maxwell’s equations, one of the four fundamental equations is Faraday’s Law of Induction. It can be written in a form that looks just like Stokes’ Theorem:

$$

$\oint_{C}$ $\mathbf{E}$ $\cdot$ d$\mathbf{r}$ = - $\frac{d}{dt}$ $\iint_{S}$ $\mathbf{B}$ $\cdot$ $\mathbf{n}$ \, dS

$$

This describes how a changing magnetic field $\mathbf{B}$ induces an electric field $\mathbf{E}$ around a loop. Stokes’ Theorem helps connect the line integral of the electric field to the surface integral of the changing magnetic field.

Fluid Dynamics

In fluid flow, the curl of the velocity field represents vorticity. Stokes’ Theorem helps engineers analyze circulation in fluids, such as understanding the flow around airfoils or in pipes.

Computer Graphics

In computer graphics and simulations, Stokes’ Theorem can be used in vector field visualization and in algorithms that simulate physical phenomena like fluid flow.

Conclusion

Congratulations, students! 🎉 You’ve explored the beauty and power of Stokes’ Theorem. Let’s recap:

  • Stokes’ Theorem connects the circulation of a vector field around a closed curve to the surface integral of the curl of the field over a surface bounded by that curve.
  • We learned how to compute the curl of a vector field and what it represents physically (rotation).
  • We saw how line integrals measure circulation and how surface integrals measure the flux of the curl.
  • We applied Stokes’ Theorem step by step and saw real-world examples, from electromagnetism to fluid dynamics.

This theorem is a cornerstone of vector calculus, unifying several important ideas and showing up in many areas of science and engineering.

Study Notes

  • Stokes’ Theorem: Relates a line integral around a closed curve $C$ to a surface integral of the curl over a surface $S$ bounded by $C$.

$$

$\oint_{C}$ $\mathbf{F}$ $\cdot$ d$\mathbf{r}$ = $\iint_{S}$ ($\nabla$ $\times$ $\mathbf{F}$) $\cdot$ $\mathbf{n}$ \, dS

$$

  • Curl of a Vector Field: Measures rotation of the field. For $\mathbf{F} = \langle F_1, F_2, F_3 \rangle$:

$$

$ \nabla \times \mathbf{F} = \begin{vmatrix}$

$ \mathbf{i} & \mathbf{j} & \mathbf{k} \\$

\frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\

$ F_1 & F_2 & F_3$

$ \end{vmatrix}$

$$

  • Line Integral: Measures circulation of a vector field around a closed curve $C$.

$$

$ \oint_{C} \mathbf{F} \cdot d\mathbf{r}$

$$

  • Surface Integral: Measures the flux of a vector field through a surface $S$.

$$

$ \iint_{S} \mathbf{G} \cdot \mathbf{n} \, dS$

$$

  • Key Insight: If $\nabla \times \mathbf{F} = \mathbf{0}$, then the circulation around any closed curve is zero.
  • Applications:
  • Faraday’s Law of Induction in electromagnetism.
  • Vorticity in fluid dynamics.
  • Analysis of vector fields in physics and engineering.

Keep practicing, students, and you’ll master Stokes’ Theorem in no time! 🚀

Practice Quiz

5 questions to test your understanding