Ex 1 Lista 1 Sol
Ex 1 Lista 1 Sol
Ex 1 Lista 1 Sol
54 Page 1 of 2
Problem 1.54
Check the divergence theorem for the function
using as your volume one octant of the sphere of radius R (Fig. 1.48). Make sure you include the
entire surface. [Answer: πR4 /4]
Solution
In spherical coordinates (r, φ, θ), where θ is the angle from the polar axis, the divergence of a
vector function is
1 ∂ 1 ∂ 1 ∂vφ
∇ · v = 2 (r2 vr ) + (vθ sin θ) + .
r ∂r r sin θ ∂θ r sin θ ∂φ
For the given function, it evaluates to
1 ∂ 2 2 1 ∂ 1 ∂
∇·v = 2
[r (r cos θ)] + [(r2 cos φ) sin θ] + (−r2 cos θ sin φ)
r ∂r r sin θ ∂θ r sin θ ∂φ
1 ∂ 4 1 ∂ 2 1 ∂
= (r cos θ) + (r cos φ sin θ) + (−r2 cos θ sin φ)
r2 ∂r r sin θ ∂θ r sin θ ∂φ
1 3 1 2
1 2
= 2 (4r cos θ) + (r cos φ cos θ) +
(−r
cos θ cos φ)
r r sin
θ r sin
θ
= 4r cos θ.
The divergence theorem (or Gauss’s theorem) relates the volume integral of ∇ · v to a closed
surface integral. ˚ ‹
∇ · v dV = v · dS
D bdy D
If D is the octant shown in Fig. 1.48 and v = r2 cos θ r̂ + r2 cos φ θ̂ − r2 cos θ sin φ φ̂, then the left
side becomes
˚ ˆ π/2 ˆ π/2 ˆ R ˆ π/2 ! ˆ
π/2
! ˆ
R
2 3
∇ · v dV = (4r cos θ)(r sin θ dr dφ dθ) = 2 sin 2θ dθ dφ r dr
0 0 0 0 0 0
D
π R4 πR4
= 2(1) = .
2 4 4
www.stemjock.com
Griffiths Electrodynamics 4e: Problem 1.54 Page 2 of 2
π 1
4
=R
2 2
πR4
= .
4
www.stemjock.com