You are on page 1of 2

Griffiths Electrodynamics 5e: Problem 1.

30 Page 1 of 2

Problem 1.30
Calculate the surface integral of the function in Ex. 1.7, over the bottom of the box. For
consistency, let “upward” be the positive direction. Does the surface integral depend only on the
boundary line for this function? What is the total flux over the closed surface of the box
(including the bottom)? [Note: For the closed surface, the positive direction is “outward,” and
hence “down,” for the bottom face.]

Solution

The box of interest here is shown below.

Let
v = 2xzx̂ + (x + 2)ŷ + y(z 2 − 3)ẑ
and calculate the integral of v over each of the faces.
  2 2  2 2  2 2
v · da = v · (x̂ dy dz) = vx dy dz = 2(2)z dy dz = 16
0 0 x=2 0 0 x=2 0 0
face (i)
  2 2  2 2  2 2
v · da = v · (−x̂ dy dz) =− vx dy dz = − 2(0)z dy dz = 0
0 0 x=0 0 0 x=0 0 0
face (ii)
  2 2  2 2  2 2
v · da = v · (ŷ dx dz) = vy dx dz = (x + 2) dx dz = 12
0 0 y=2 0 0 y=2 0 0
face (iii)
  2 2  2 2  2 2
v · da = v · (−ŷ dx dz) =− vy dx dz = − (x + 2) dx dz = −12
0 0 y=0 0 0 y=0 0 0
face (iv)
  2 2  2 2  2 2
v · da = v · (ẑ dx dy) = vz dx dy = y(1) dx dy = 4
0 0 z=2 0 0 z=2 0 0
face (v)
  2 2  2 2  2 2
v · da = v · (−ẑ dx dy) =− vz dx dy = − y(−3) dx dy = 12
0 0 z=0 0 0 z=0 0 0
face (vi)

www.stemjock.com
Griffiths Electrodynamics 5e: Problem 1.30 Page 2 of 2

Therefore, the closed surface integral of v over the box is


      
v · da = v · da + v · da + v · da + v · da + v · da + v · da
box face (i) face (ii) face (iii) face (iv) face (v) face (vi)

= 16 + 0 + 12 − 12 + 4 + 12

= 32.

Because it’s nonzero, the integral of v over the bottom face does not only depend on the
boundary line; the surface being integrated over also matters. This conclusion could have been
reached more quickly from the fact that the divergence of v is nonzero.
∂ ∂ ∂
∇·v = (2xz) + (x + 2) + [y(z 2 − 3)]
∂x ∂y ∂z
= 2z + 0 + 2yz

= 2z(1 + y)

Observe that the volume integral of ∇ · v over the box gives the same result, verifying Gauss’s
theorem.
  2 2 2
∇ · v dV = 2z(1 + y) dx dy dz
0 0 0
box
 2   2   2 
=2 dx (1 + y) dy z dz
0 0 0

= 2(2)(4)(2)

= 32

www.stemjock.com

You might also like