Lecture 4 Stokes' Theorem

📌 Overview

This lecture introduces Stokes' Theorem, which relates a line integral around a closed boundary curve to a surface integral over any surface bounded by that curve. It can be viewed as a higher-dimensional generalization of Green's Theorem. The lecture covers the concept of induced orientation, the formal statement of the theorem, its application to conservative vector fields, and its role in Maxwell's equations for static fields.


🎯 Learning Objectives


➗ Formulas & Definitions

Concept Formula / Definition
Stokes' Theorem CFdr=S(×F)dS
Green's Theorem RF1dx+F2dy=R(F2xF1y)dA
Induced Orientation Orientation of C given by the Right-Hand Rule relative to surface normal n.
Conservative Field ×F=0 (on simply connected D) F is conservative.
Maxwell (Static E) E=ρε0, ×E=0
Maxwell (Static B) B=0, ×B=μ0J

💡 Intuitive stepwise derivation

From Green's to Stokes'

Stokes' Theorem is essentially "Green's Theorem in 3D".

  1. Green's Theorem works in the xy-plane. It says the circulation around a boundary is the sum of "microscopic" circulations (curls) over the flat region R.
  2. Stokes' Theorem lifts this to a curved surface S in R3.
  3. The boundary C=S is a closed loop in space.
  4. The "microscopic" circulation at any point on the surface is the component of the curl ×F in the direction of the surface normal n.

The Right-Hand Rule for Orientation

To ensure the signs match, we use the Right-Hand Rule:

  1. Point your thumb in the direction of the surface normal n.
  2. Your fingers curl in the direction of the positive (induced) orientation of the boundary curve C.
  3. Alternatively: If you walk along the boundary with your head in the direction of n, the surface S must be on your left.
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{110}
\begin{tikzpicture}[tdplot_main_coords, scale=2]
    % Draw surface (a cap)
    \draw[thick, fill=orange!50, opacity=0.6] plot[domain=0:360, samples=60] ({cos(\x)}, {sin(\x)}, {0.5*cos(2*\x) + 1});
    
    % Draw boundary curve
    \draw[blue, very thick, ->] plot[domain=0:180, samples=30] ({cos(\x)}, {sin(\x)}, {0.5*cos(2*\x) + 1});
    \draw[blue, very thick] plot[domain=180:360, samples=30] ({cos(\x)}, {sin(\x)}, {0.5*cos(2*\x) + 1}) node[below right] {$C = \partial S$};
    
    % Draw normal vector
    \draw[red, -stealth, very thick] (0,0,1) -- (0,0,1.8) node[above] {$\mathbf{n}$};
    
    % Label surface
    \node at (0.3, 0.3, 1.2) {$S$};
    
    % Right hand rule visualization (simplified)
    \draw[dashed, gray] (0,0,1) circle (0.3);
    \draw[->, gray] (0.3, 0, 1) arc (0:90:0.3);
\end{tikzpicture}
\end{document}

Notes / Example exercises

1. Oriented Boundary Curves

A surface S is oriented by a unit normal vector field n. This orientation induces an orientation on the boundary curve C.

Example: Bounded Cylinder (Slide 5-6)

Consider the cylinder S={(x,y,z)R3x2+y2=4,1z1}.
The boundary consists of two circles:

If S is oriented with the normal pointing towards the z-axis (inward):

Tip

Use the "walking" rule: Head points inward (towards z-axis). To keep the cylinder wall on your left, you must go CCW on top and CW on bottom.

2. Stokes' Theorem Statement

Let S be a piecewise-smooth, oriented surface in R3 bounded by a simple closed, piecewise-smooth, positively oriented boundary curve C. If F is a vector field with continuous partial derivatives:

CFdr=S(×F)dS

Comparison with Green's Theorem (Slide 7)

3. Example: Evaluating a Line Integral (Slide 9)

Problem: Evaluate CFdr where F=y2,x,z2 and C is the intersection of y+z=2 and x2+y2=1, traversed CCW from above.

Step-by-Step Plan:

  1. Find Curl: ×F=|ijkxyzy2xz2|=00,00,1(2y)=0,0,1+2y.
  2. Choose Surface: The simplest surface is the disk D in the plane y+z=2 bounded by the cylinder x2+y2=1.
  3. Parametrize Surface: z=2y. Normal vector n for z=g(x,y) is gx,gy,1=0,1,1.
  4. Setup Integral:D(×F)dS=x2+y210,0,1+2y0,1,1dA=x2+y21(1+2y)dA
  5. Solve: By symmetry, 2ydA=0. The remaining part is 1dA=Area(Disk)=π(1)2=π.
    Result: π.

4. One Boundary, Many Surfaces (Slide 12-15)

Corollary: If S1 and S2 share the same oriented boundary C, then:

S1(×F)dS=S2(×F)dS

This is extremely useful! If S1 is a complex hemisphere or paraboloid, you can often replace it with a flat disk S2 in the xy-plane.

Practice Exercise 1 (Slide 12)

Problem: Compute S(×F)dS where F=xz,yz,xy and S is the part of the sphere x2+y2+z2=4 inside the cylinder x2+y2=1 above the xy-plane.
Solution:

  1. The boundary C is the circle x2+y2=1 at height z=41=3.
  2. Instead of the spherical cap, use the flat disk D at z=3.
  3. On D, the normal is k=0,0,1.
  4. ×F=xy,xy,0.
  5. (×F)k=0.
    Result: 0.

5. Closed Surfaces (Slide 16-17)

If S is a closed surface (like a full sphere), it has no boundary (C=).
By Stokes' Theorem:

S(×F)dS=0

Intuition: You can split the closed surface into two parts S1 and S2 sharing the same boundary C, but with opposite induced orientations relative to the outward normal. They cancel out.

6. Conservative Vector Fields (Slide 18)

On an open, simply connected domain D, the following are equivalent:
(a) F is conservative (F=ϕ).
(b) Fdr is path independent.
(c) CFdr=0 for any closed curve C.
(d) ×F=0 on D.

Stokes' Theorem proves (d) (c).

7. Application: Maxwell's Equations (Slide 19-21)

For static fields:


💡 Intuitive stepwise derivation: Amp�re's Law

  1. Start with the differential form: ×B=μ0J.
  2. Integrate both sides over a surface S: S(×B)dS=Sμ0JdS.
  3. Apply Stokes' Theorem to the left side: SBdr=μ0SJdS.
  4. Recognize that SJdS is the total current I passing through the surface.
  5. Conclusion: The circulation of B around a loop is proportional to the current passing through the loop.

✍️ Notes / Example exercises (Continued)

Practice Exercise 1 (Slide 28)

Problem: F=ln(z)cos(xyz),5xez2+cos(ey2),arctan2(z)+sin(y2).
S:z=2x2y2 with z1, normal has positive z-component.
Solution:

  1. The boundary C is at z=11=2x2y2x2+y2=1.
  2. Use the flat disk D at z=1 instead of the paraboloid.
  3. On D, dS=kdA.
  4. We only need the z-component of ×F:
    (×F)z=F2xF1y=5ez2(ln(z)sin(xyz)xz).
  5. At z=1, ln(1)=0, so (×F)z=5e1=5e.
  6. D5edA=5eArea(D)=5eπ(1)2=5πe.
    Result: 5πe.

Practice Exercise 2 (Slide 28)

Problem: J=xy,3,xyz2, S:x2+z21,y=2 oriented towards y=0 (negative y direction). Evaluate CBdr.
Solution:

  1. By Ampere's Law (Stokes + Maxwell): CBdr=S(×B)dS=Sμ0JdS.
  2. S is in the plane y=2, so the normal is j=0,1,0.
  3. Jn=xy,3,xyz20,1,0=3.
  4. S3μ0dA=3μ0Area(S)=3μ0π(1)2=3πμ0.
    Result: 3πμ0.