How to use the divergence theorem to solve this question

Leo Liu
Messages
353
Reaction score
156
Homework Statement
.
Relevant Equations
.
1626969702959.png

The correct answer is ##\frac{\pi a^2 h} 2## by using the standard approach. However when I tried using the divergence theorem to solve this problem, I got a different answer. My work is as follows:
$$\iint_S \vec F\cdot\hat n\, dS = \iiint_D \nabla\cdot\vec F\,dV$$
$$= \iiint_D \frac{\partial y}{\partial y}\, dV$$
$$=\iiint_D \, dV=V_{cylinder}=\pi a^2h$$
Where did I go wrong?
 
Physics news on Phys.org
Is the surface integral over a closed surface?
 
  • Like
Likes Leo Liu
Your volume is only half the cylinder.
(After you add the surfaces needed to close the surface where the integral contribution is zero.)
 
  • Like
Likes PeroK and Leo Liu
PeroK said:
Is the surface integral over a closed surface?
Nope. But IMO the flux passing through the led of the cylinder and the bottom of the cylinder is 0.
 
Orodruin said:
Your volume is only half the cylinder.
(After you add the surfaces needed to close the surface where the integral contribution is zero.)
I am sorry. I don't get it.
 
Leo Liu said:
I am sorry. I don't get it.
You've calculated the volume of the whole cylinder. The surface is only half the cylinder.
 
PeroK said:
You've calculated the volume of the whole cylinder. The surface is only half the cylinder.
1626972009451.png

Okay I see -- I didn't see the condition that the surface is to the right of the xz plane. Thank you! :smile:
 
Back
Top