MA2104 Week 12
MA2104 Week 12
1/53
Divergence and Gauss’ Theorem
Definition 1 (Divergence)
Let F(x, y, z) = P(x, y , z) i + Q(x, y, z) j + R(x, y , z) k be a
vector field in space, where P, Q and R have first order
derivatives in some region D. The divergence of F is the scalar
function defined by
∂P ∂Q ∂R
div F = + + .
∂x ∂y ∂z
In 2-dimensional space,
∂P ∂Q
F(x, y) = P(x, y)i + Q(x, y)j, div F = + .
∂x ∂y
2/53
Divergence and Gauss’ Theorem
∂ ∂ ∂
▽= i+ j+ k.
∂x ∂y ∂z
∂ ∂ ∂ ∂P ∂Q ∂R
▽·F=⟨ , , ⟩ · ⟨P, Q, R⟩ = + + = div F.
∂x ∂y ∂z ∂x ∂y ∂z
3/53
Divergence and Gauss’ Theorem
Interpretation of divergence:
4/53
Divergence and Gauss’ Theorem
5/53
Divergence and Gauss’ Theorem
6/53
Divergence and Gauss’ Theorem
Conclusion:
7/53
Divergence and Gauss’ Theorem
8/53
Divergence and Gauss’ Theorem
Thanks to Gauss!
9/53
Divergence and Gauss’ Theorem
10/53
Divergence and Gauss’ Theorem
Example 1
Find the flux of the vector field F(x, y, z) = zi + y j + xk across
the unit sphere x 2 + y 2 + z 2 = 1 with positive orientation.
11/53
Divergence and Gauss’ Theorem
∂z ∂y ∂x
div F = ▽ · ⟨z, y, x⟩ = + + = 1.
∂x ∂y ∂z
ZZ ZZZ
4π
F · dS = 1 dV =
S B 3
12/53
Divergence and Gauss’ Theorem
Example 2
ZZ
Evaluate F · dS where
S
2
F(x, y, z) = xy i + (y 2 + exz )j + sin(xy) k
and S is the surface (with positive orientation) of the region E
bounded by the parabolic cylinder z = 1 − x 2 and the planes
z = 0, y = 0 and y + z = 2.
13/53
Divergence and Gauss’ Theorem
Solution.
14/53
Divergence and Gauss’ Theorem
The divergence of F is
∂ ∂ 2 2 ∂
div F = (xy) + (y + exz ) + (sin(xy)) = 3y
∂x ∂y ∂z
E = {(x, y , z) : −1 ≤ x ≤ 1, 0 ≤ z ≤ 1 − x 2 , 0 ≤ y ≤ 2 − z}
15/53
Divergence and Gauss’ Theorem
ZZ ZZZ
F · dS = div F dV
S E
ZZZ
= 3y dV
E
Z 1 Z 1−x 2 Z 2−z
= 3 y dy dz dx
−1 0 0
Z 1 Z 1−x 2
(2 − z)2
= 3 dz dx
−1 0 2
16/53
Divergence and Gauss’ Theorem
1 1−x 2
(2 − z)3
ZZ Z
3
F · dS = − dx
S 2 −1 3 0
1 1 2
Z
= − (x + 1)3 − 8 dx
2 −1
184
= . sweet!
35
■
17/53
Divergence and Gauss’ Theorem
Example 3
Let F = ⟨x 2 , y 2 , z 2 ⟩, and let S be the boundary (with outward
orientation) of the solid E which is a half-cylinder defined by
q
E = {(x, y , z) : 0 ≤ x ≤ 2, −1 ≤ y ≤ 1, 0 ≤ z ≤ 1 − y 2 }.
Compute ZZ
F · dS.
S
18/53
Divergence and Gauss’ Theorem
ZZZ
flux across S = div F dV ≈ div F(P) × Volume(E)
E
19/53
Divergence and Gauss’ Theorem
20/53
Divergence and Gauss’ Theorem
21/53
Curl and Stokes’ Theorem
Definition 3 (Curl)
∂R ∂Q ∂P ∂R ∂Q ∂P
curl F = − i+ − j+ − k.
∂y ∂z ∂z ∂x ∂x ∂y
22/53
Curl and Stokes’ Theorem
i j k
∂ ∂ ∂
▽×F = ∂x ∂y ∂z
P Q R
∂R ∂Q ∂P ∂R ∂Q ∂P
= − i+ − j+ − k
∂y ∂z ∂z ∂x ∂x ∂y
= curl F
23/53
Curl and Stokes’ Theorem
Example 4
If F(x, y, z) = xzi + xyzj − y 2 k, find curl F.
24/53
Curl and Stokes’ Theorem
Solution.
curl F = ▽ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
xz xyz −y 2
∂ 2 ∂ ∂ 2 ∂
= (−y ) − (xyz) i − (−y ) − (xz) j
∂y ∂z ∂x ∂z
∂ ∂
+ (xyz) − (xz) k
∂x ∂y
26/53
Curl and Stokes’ Theorem
27/53
Curl and Stokes’ Theorem
28/53
Curl and Stokes’ Theorem
29/53
Curl and Stokes’ Theorem
30/53
Curl and Stokes’ Theorem
Example 5
Z
Evaluate F · dr where
C
F(x, y, z) = −y 2 i + xj + z 2 k
31/53
Curl and Stokes’ Theorem
32/53
Curl and Stokes’ Theorem
First, we compute
i j k
∂ ∂ ∂
curl F = ∂x ∂y ∂z = (1 + 2y)k
−y 2 x z2
33/53
Curl and Stokes’ Theorem
Also,
rx × ry = ⟨0, 1, 1⟩
is pointing upwards.
35/53
Curl and Stokes’ Theorem
Subsequently,
Z ZZ
F · dr = curl F · dS
C S
ZZ
= ⟨0, 0, 1 + 2y⟩ · (rx × ry ) dA
Z ZD
= (1 + 2y) dA
D
Z 2π Z 1
= (1 + 2r sin θ)r dr dθ
0 0
2π 1
r2 r3
Z
= + 2 sin θ dθ
0 2 3 0
1
= (2π) + 0 = π.
2
■ 36/53
Curl and Stokes’ Theorem
Example 6
ZZ
Use Stokes’ Theorem to compute curl F · dS where:
S
F(x, y, z) = xzi + yzj + xyk
37/53
Curl and Stokes’ Theorem
38/53
Curl and Stokes’ Theorem
39/53
Curl and Stokes’ Theorem
ZZ Z
curl F · dS = F · dr
S C
Z 2π
= F · r′ (t) dt
0
Z 2π √ √
= − 3 cos t sin t + 3 sin t cos t dt
0
= 0.
40/53
Curl and Stokes’ Theorem
Remark:
41/53
Curl and Stokes’ Theorem
Example 7
Let F = ⟨y 2 , x 2 , z 2 ⟩. Show that
Z Z
F · dr = F · dr
C1 C2
42/53
Curl and Stokes’ Theorem
43/53
Curl and Stokes’ Theorem
44/53
Curl and Stokes’ Theorem
Z ZZ
F · dr = curl F · dS, (1)
C1 S1
Z ZZ
F · dr = curl F · dS
C2 S1 ∪S2
ZZ ZZ
= curl F · dS + curl F · dS (2)
S1 S2
45/53
Curl and Stokes’ Theorem
46/53
Visualizing the curl vector
47/53
Visualizing the curl vector
48/53
Visualizing the curl vector
Z
v · dr is a measure of the tendency of the fluid to move
C
around C.
49/53
Visualizing the curl vector
50/53
Visualizing the curl vector
Z ZZ
v · dr = curl v · dS
Ca Sa
ZZ
= curl v · n dS
Z ZSa
≈ curlv(P0 ) · n(P0 ) dS
Sa
= curl v(P0 ) · n(P0 )πa2 .
51/53
Visualizing the curl vector
52/53
Visualizing the curl vector
Phew!
53/53