How to use the divergence theorem to solve this question

Click For Summary
The discussion centers on solving a problem using the divergence theorem, where the correct answer is identified as πa²h/2. A participant initially misapplies the theorem, calculating the volume of a full cylinder instead of half, leading to an incorrect result. Clarification arises regarding the surface integral, emphasizing that the surface is only half the cylinder and that additional surfaces must be considered for a closed surface. Ultimately, the participant acknowledges the oversight regarding the specified conditions of the surface. Understanding these details is crucial for accurately applying the divergence theorem in this context.
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: