Gauss Divergence Theorem
Gauss Divergence Theorem
P. Sam Johnson
The divergence form of Green’s Theorem in the plane states that the net
outward flux of a vector field across a simple closed curve can be
calculated by integrating the divergence of the field over the region
enclosed by the curve.
Upon being denied his degree at Kharkhow Univesity by the minister for
religious affairs and national education (for atheism), Ostrogradsky left
Russia for Paris in 1822, attracted by the presence of Laplace, Legendre,
Fourier, Poisson, and Cauchy.
Cal Fridrich Gauss (1777-1855) has already proved the theorem while
working on the theory of gravitation, but his notebooks were not to be
publised until many years later.
The divergence of a vector field F = M(x, y , z)i + N(x, y , z)j + P(x, y , z)k
is the scalar function
∂M ∂N ∂P
divF = ∇.F = + + .
∂x ∂y ∂z
The symbol “div F” is read as “divergence of F” or “div F.” The notation
∇.F is read “del dot F.”
Div F has the same physical interpretation in three dimensions that it does
in two. If F is the velocity field of a fluid flow, the value of div F at a point
(x, y , z) is the rate at which fluid is being piped in or drained away at
(x, y , z).
The divergence is the flux per unit volume or flux density at the point.
The Divergence Theorem says that under suitable condition the outward
flux of a vector field across a closed surface (oriented outward) equals the
tiple integral of the divergence of the field over the region enclosed by the
surface.
F = − GM(xi+y j+zk)
(x 2 +y 2 +z 2 )3/2
h 2 2 2 3/2 2 2 2 2 1/2 i
) −3x (x +y +z )
⇒ div F = −GM (x +y +z (x 2 2 2 )3
h 2 2 2 3/2 2 2 2 +y2 +z i h 2 2 2 3/2 2 2 2 2 1/2 i
(x +y +z ) −3y (x +y +z )1/2 (x +y +z ) −3z (x +y +z )
−GM 2 2 +z 2 )3 −GM (x 2 +y 2 +z 2 )3
h 2 2(x +y i
3(x +y +z 2 )2 −3(x 2 +y 2 +z 2 )(x 2 +y 2 +z 2 )
= −GM (x 2 +y 2 +z 2 )7/2
=0
2 2 2 2 2
y
∂
∂y ρ
= ρ1 − ρy 3 and ∂z ∂ z
ρ
= ρ1 − ρz 3 ⇒ ∇ · F = ρ3 − x +yρ3 +z = ρ2
⇒ RRR
Flux R R R
2
dV = 02π 0π 12 ρ2 ρ2 sin φ dρdφdθ = 02π 0π 3 sin φdφdθ = 02π 6dθ = 12π
R R R
= ρ
D
1
(x )
∂
[ln(x 2+ y 2 )] = x 22x , ∂ − 2z tan−1 yx = − 2z = − x 22z
2. +y 2 ∂y 2 +y 2
,
∂x x x 1+( yx )
p p
∂ 2 2 2 2
∂z
z x +y = x +y
p
⇒ ∇ · F = x 22x +y 2
− x 22z
+y 2
+ x 2 + y 2 ⇒ Flux
p
2x
− x 22z
RRR
= x 2 +y 2 +y 2
+ x 2 + y 2 dzdydx
D
R R √ R 2 2r cos θ R R√
= 02π 1 2 −1 − 2z + r dzrdrdθ = 02π 1 2 6 cos θ − 3r + 3r 2 drdθ
r2 r2
R h √ √ √ i √
− 02π 6 2 − 1 cos θ − 3 ln 2 + 2 2 − 1 dθ = 2π − 32 ln 2 + 2 2 − 1
(b) Define
h F1 and F2 as a ⇒ ∇ × (aFi
in part 1 + bFh2)
∂P ∂P ∂N ∂N ∂M1 ∂M ∂P ∂P
i
= a ∂y1 + b ∂y2 − a ∂z1 + b ∂z2 i+ a + b ∂z2 − a ∂x1 + b ∂x2 j+
h ∂z
∂N ∂N ∂M ∂M ∂P1 ∂N1 ∂M1 ∂P1 ∂N1 ∂M
h i i
a ∂x1 + b ∂x2 − a ∂y1 + b ∂y2 k=a ∂y
− i + − j + − ∂y1 k +
∂z ∂z ∂x ∂x
∂P2 ∂N ∂M2 ∂P ∂N2 ∂M
h i
b ∂y
− ∂z2 i + ∂z
− ∂x2 j + ∂x
− ∂y2 k = a∇ × F1 + b∇ × F2
i j k
(c) F1 × F2 = M1 N1 P1 = (N1 P2 − P1 N2 )i − (M1 P2 − P1 M2 )j + (M1 N2 − N1 M2 )k ⇒ ∇ · (F1 × F2 )
M2 N2 P2
= ∇ · [(N1 P2 − P1 N2 )i − (M1 P2 − P1 M2 )j + (M1 N2 − N1 M2 )k]
∂ (M P − P M ) + ∂ (M N − N M ) = P ∂N1 + N ∂P2 − N ∂P1 − P ∂N2 −
= ∂ (N1 P2 − P1 N2 ) − ∂y 1 2 1 2 1 2 1 2 2 ∂x 1 ∂x 2 ∂x 1 ∂x
∂x ∂z
∂P ∂M ∂M ∂P ∂N ∂M ∂M ∂N
M1 ∂y2 + P2 ∂y1 − P1 ∂y2 − M2 ∂y1 + M1 ∂z2 + N2 ∂z1 − N1 ∂z2 − M2 ∂z1
∂P ∂N ∂M1 ∂P1 ∂N1 ∂M1 ∂N2 ∂P2 ∂P ∂M
= M2 ∂y1 − ∂z1 + N2 ∂z
− ∂x
+ P 2 ∂x
− ∂y
+ M 1 ∂z
− ∂y
+ N1 ∂x2 − ∂z2 +
∂M2 ∂N2
P1 ∂y
− ∂x = F2 · ∇ × F1 − F1 · ∇ × F2
ZZZ ZZ
∇ · Fdσ = F · ndσ [Divergence Theorem]
D S
ZZ
≤ |F · n|dσ [A property of integrals]
S
ZZ
≤ (1)dσ [|F · n| ≤ 1]
S
= Area of S.
2. Yes, the outward flux through the top in 5. The reason is this: Since
∇ · F = ∇ · (xi − 2y j + (z + 3)k) = 1 − 2 + 1 = 0, the outward flux across the closed
cubelike surface is 0 by the Divergence Theorem. The flux across the top is therefore the
negative of the flux across the sides and base. Routine calculations show that the sum of
these latter fluxes is -5. (The flux across the sides that lie in the xz-plane and the yz-plane
are 0, while the flux across the xy -plane is -3.) Therefore the flux across the top is 5.
4. Outward flux of a constant field : Show that the outward flux of a constant vector field
F = C across any closed surface to which the Divergence Theorem applies is zero.
throughout D.
(a) Suppose that f is harmonic throughout a bounded region D enclosed by a smooth
surface S and that n is the chosen unit normal vector on S. Show that the integral
over S of ∇f · n, the derivative of f in the direction of n, is zero.
(b) Show that if f is harmonic on D, then
ZZ ZZZ
f ∇f · n dσ = |∇f |2 dV .
S D
2. Outward flux of a gradient field : Let S be the surface of the portionp of the solid sphere
x 2 + y 2 + z 2 ≤ a2 that lies in the first octant and let f (x, y , z) = ln x 2 + y 2 + z 2 .
Calculate
ZZ
∇f · n dσ.
P. Sam Johnson Divergence Theorem March 16, 2022 28/36
Solution for Exercise 12
ZZ ZZZ
2
f ∇g · n dσ = (f ∇ g + ∇f · ∇g ) dV . (1)
S D
Equation (1) is Green’s first formula. (Hint: Apply the Divergence Theorem to the field F = f ∇g .)
2. Green’s second formula (Continuation of Exercise 25.) Interchange f and g in Equation (1) to obtain a similar formula.
Then subtract this formula from Equation (1) to show that
ZZ ZZZ
2 2
(f ∇g − g ∇f ) · n dσ = (f ∇ g − g ∇ f ) dV . (2)
S D
to show that the Law of Conservation of Mass is equivalent to the continuity equation,
∂p
∇.pv + = 0.
∂t
P. Sam Johnson Divergence Theorem March 16, 2022 32/36
Solution for Exercise 14
RRR
(a) The integral p(t, x, y , z)dV represents the mass of the fluid at any time t. The
D
equation says that the instantaneous rate of change of mass is flux of the fluid through
the surface S enclosing the region D: the mass decreases if the flux is outward (so the
fluid flows out of D), and increases if the flow is inward (interpreting n as the outward
pointing unit normal to the surface).
RRR ∂p d
∇ · pvdV ⇒ ∂ρ
RRR RR RRR
(b) ∂t
dV = dt pdV = − pv · ndσ = − ∂t
= −∇ · pv
D D S D
∂p
Since the law is to hold for all regions D, ∇ · pv + ∂t
= 0, as claimed.
∂T
= K ∇2 T ,
∂t
where K = k/(cρ) > 0 is the diffusivity constant. (Notice that if T (t, x) represents the
temperature at time t at position x in a uniform conducting rod with perfectly insulated
sides, then ∇2 T = ∂ 2 T /∂x 2 and the diffusion equation reduces to the one-dimensional
heat equation in Chapter 14’s Additional Exercises.)