The volume of a "spherical cap" using triple integrals

brotherbobby
Messages
749
Reaction score
169
Homework Statement
If a liquid fills a hemispherical bowl of radius ##a## to a height ##h##, show that the volume of the liquid is ##\boxed{V = \dfrac{1}{3}\pi h^2(3a-h)}##. (See figure below).
Relevant Equations
1. The equation of a sphere of radius ##a## : ##x^2+y^2+z^2=a^2##.

2. Volume is given by the triple integral : ##\displaystyle{V = \int\int\int dx \,dy \,dz}##

3. The volume of a cylinder of radius ##r## and height ##h## is : ##V = \pi r^2 h##
1744620722402.png

Drawing : The drawing of the problem is shown alongside.

This is also known as the problem of the "spherical cap". I have been able to do it by the normal way. It involves taking a thin slice of the liquid of thickness ##dz## at a height (or depth) ##z## from O and calculating its area ##A = \pi r^2(z)##, where ##r^2(z) = a^2-(a-z)^2##. Integrating this gives the volume : ##\displaystyle{V = \int\limits_{a-h}^h A\,dz}## and it gave the answer above in ##\boxed{\text{box}}##.


1744620780927.png

The issue : How to do the problem using the method of triple integrals ?

I draw the situation of the problem alongside, naming some points and flipping the diagram horizontally for convenience. The volume of the water is the spherical cap. This can be found by subtracting the volume of the cylinder ABDC from the volume of the dome APBDC : ##V_{\text{liquid}}\text{(APB)} = V_{\text{dome}}\text{(APBDC)} - V_{\text{cylinder}}\text{(ABDC)}##.

The radius of the liquid surface at the point ##h## is ##r = \sqrt{a^2-(a-h)^2}=\sqrt{2ah-h^2}\qquad {\color{blue}{(1)}}##

(I) Volume of the dome APBDC : Using triple intgrals,

##
\begin{align*}
V_{\text{dome}}\text{(APBDC)}&= \int\limits_0^a dz\hspace{-1em}\int\limits_{-\sqrt{r^2-z^2}}^{\sqrt{r^2-z^2}}dy\hspace{-1em}\int\limits_{-\sqrt{r^2-z^2-y^2}}^{\sqrt{r^2-z^2-y^2}}\hspace{-1em}dx\quad\small{\text{(Note the use of}\, r\,\text{the radius of the cap at}\, h)}\\
&= 4\int\limits_0^a \!dz\int\limits_0^r' \!\!dy\int\limits_0^{\sqrt{r'^2-y^2}}\hspace{-1em}dx\qquad(\text{where}\;r'^2=r^2-z^2)\\
&=4\int\limits_0^a dz\int\limits_0^r' dy{\sqrt{r'^2-y^2}}\\
&=\pi\int\limits_0^a dz(r^2-z^2)\qquad\qquad{\small{(\text{Upon using the known integral for} \int\sqrt{a^2-x^2}dx)}}\\
&=\pi\left|r^2z-\dfrac{z^3}{3}\right|_0^a\\
V_{\text{dome}}\text{(APBDC)}&= \pi\left[(2ah-h^2)a-\dfrac{a^3}{3}\right]\qquad{\color{blue}{(2)}}\\
\end{align*}
##
where I used the value of ##r## from ##(1)## above.


(II) Volume of the cylinder ABDC : The volume of the cylinder can be found without the need for integrating. We have

##
\begin{align*}
V_{\text{cylinder}}\text{(ABDC)}&= \pi r^2\times\text{height}\\
&= \pi(2ah-h^2)(a-h)\qquad\text{Using the value of}\, r\,\text{from}\, (1)\,\text{above}\\
V_{\text{cylinder}}\text{(ABDC)}&= \pi(2a^2h-ah^2-2ah^2+h^3)\qquad\color{blue}{(3)}\\
\end{align*}
##

Subtracting (3) from (2) above, we get the volume of the liquid or the "spherical cap" :

##\underline{V_{\text{liquid}}\text{(APB)} = \pi\left(2ah^2-h^3-\dfrac{a^3}{3}\right)}\quad{\color{red}{\huge\times}}##.

This does not match the answer : ##\boxed{V = \dfrac{1}{3}\pi h^2(3a-h)}\quad{\color{green}{\Large\checkmark}}##.

Request : Where did I go wrong in my calculation above?
 
Last edited:
Physics news on Phys.org
Your integration region makes no sense. Consider what happens with the y-integral when z = a …
 
brotherbobby said:
(I) Volume of the dome APBDC : Using triple intgrals,

##V_{\text{dome}}\text{(APBDC)}= \int\limits_0^a dz\hspace{-1em}\int\limits_{-\sqrt{r^2-z^2}}^{\sqrt{r^2-z^2}}dy\hspace{-1em}\int\limits_{-\sqrt{r^2-z^2-y^2}}^{\sqrt{r^2-z^2-y^2}}\hspace{-1em}dx\quad\small{\text{(Note the use of}\, r\,\text{the radius of the cap at}\, h)}##
Is that correct? The 'dome' APBDC consists of two parts with different shapes (spherical cap and cylinder). There is a discontinuity where they meet. A single integral can't handle that.

If you want the volume of a cap using a triple integral, use spherical coordinates.


EDITED. The above is wrong, hence struck-through. See Post #4.
 
Last edited:
Steve4Physics said:
Is that correct? The 'dome' APBDC consists of two parts with different shapes (spherical cap and cylinder). There is a discontinuity where they meet. A single integral can't handle that.

If you want the volume of a cap using a triple integral, use spherical coordinates.

(Disclaimer: I write this as a non-mathematician.)
So here is the basic issue. I restricted it to two coordinates as drawing in 3D tends to get messy:
20250414_112815210_iOS.png

When doing the z-integral last you must express the bounds on ##y## as a function of ##z##. The lower bound is zero, but the upper bound has two different expressions depending on ##z## (note that it is still continuous though - the derivative is not continuous). Doing the ##z##-integral last corresponds to doing the integral along the yellow lines (i.e., the ##y##-integral) first.

You could perfectly well write down the triple integral using a single region in Cartesian coordinates, but this would require doing the ##z##-integral first, i.e., first integrating along the blue lines. In that case the upper bound of the region is well described by a single function ##z(y)##.


It should also be pointed out that the method mentioned as the "normal way" also relies on a triple integral, just that two of the integrals have already been performed.
 
  • Like
Likes mathwonk, PeroK and Steve4Physics
Orodruin said:
You could perfectly well write down the triple integral using a single region in Cartesian coordinates, but this would require doing the ##z##-integral first,
Yes indeed. Thanks. My Post #3 is wrong and has been changed (struck-through).
 
1744952125004.png
Sorry for coming in late, though I must admit that I am still in dark over this problem. Let me copy and paste the drawing. I am required to find the volume of the "spherical cap", region APBA.

I have done the problem using ##\displaystyle{V = \int\limits_{a-h}^h A\,dz}##, where ##A=\pi r^2(z)##, ##r(z)## being the radius of a slice of the cap at an arbitrary height ##z## and ##dz## the thickness of the slice. ##\color{green}{\Large\checkmark}##

The issue : I tried a different method, where ##\small{V_{\text{liquid}}\text{(APB)} = V_{\text{dome}}\text{(APBDC)} - V_{\text{cylinder}}\text{(ABDC)}}##. I believe I was right in post#1 above finding the volume of the cylinder but not the dome APBDC.
I could follow the posts above, but they didn't help me find the answer, which is ##\small{\boxed{V = \dfrac{1}{3}\pi h^2(3a-h)}}\quad{\color{green}{\Large\checkmark}}##.

I'd like to change tack and try calculate the volume of the cap directly again, but this time use the method of triple integrals. (I will return to the problem of finding the volume of the dome after am done with this, which I suspect will be easier).
1744953727457.png


It's good to draw the diagram again. I put it to the right. The center of the base of the cape is ##\text O'##. I take an element at a height ##z## from the base, of dimensions ##dx, dy, dz##.


The volume of the spherical cap ##\small{\displaystyle{V = \int\limits_0^h dz \int\limits_{-\sqrt{z^2-r^2}}^{\sqrt{z^2-r^2}}dy \int\limits_{-\sqrt{z^2-y^2-r^2}}^{\sqrt{z^2-y^2-r^2}}dx}}\qquad{\color{blue}{(4)}}##

I'd like to take this slowly. Is equation ##(4)## above on the right track, specially given the integral limits?
 
brotherbobby said:
View attachment 360019Sorry for coming in late, though I must admit that I am still in dark over this problem. Let me copy and paste the drawing. I am required to find the volume of the "spherical cap", region APBA.

I have done the problem using ##\displaystyle{V = \int\limits_{a-h}^h A\,dz}##, where ##A=\pi r^2(z)##, ##r(z)## being the radius of a slice of the cap at an arbitrary height ##z## and ##dz## the thickness of the slice. ##\color{green}{\Large\checkmark}##

The issue : I tried a different method, where ##\small{V_{\text{liquid}}\text{(APB)} = V_{\text{dome}}\text{(APBDC)} - V_{\text{cylinder}}\text{(ABDC)}}##. I believe I was right in post#1 above finding the volume of the cylinder but not the dome APBDC.
I could follow the posts above, but they didn't help me find the answer, which is ##\small{\boxed{V = \dfrac{1}{3}\pi h^2(3a-h)}}\quad{\color{green}{\Large\checkmark}}##.

I'd like to change tack and try calculate the volume of the cap directly again, but this time use the method of triple integrals. (I will return to the problem of finding the volume of the dome after am done with this, which I suspect will be easier).
View attachment 360020

It's good to draw the diagram again. I put it to the right. The center of the base of the cape is ##\text O'##. I take an element at a height ##z## from the base, of dimensions ##dx, dy, dz##.


The volume of the spherical cap ##\small{\displaystyle{V = \int\limits_0^h dz \int\limits_{-\sqrt{z^2-r^2}}^{\sqrt{z^2-r^2}}dy \int\limits_{-\sqrt{z^2-y^2-r^2}}^{\sqrt{z^2-y^2-r^2}}dx}}\qquad{\color{blue}{(4)}}##

I'd like to take this slowly. Is equation ##(4)## above on the right track, specially given the integral limits?
Equation (4) makes no sense to me. The radius ##r## depends on ##z##. Moreover, if you put ##z = 0##, you can see that the limits of your integral are not valid.
 
I am sorry. Yes I should correct it but any hints how they should run?
 
brotherbobby said:
I am sorry. Yes I should correct it but any hints how they should run?
Put an angle ##\theta## at the centre of the sphere and relate ##h## to the radius ##r(h)## using trig.
 
  • #10
brotherbobby said:
I am sorry. Yes I should correct it but any hints how they should run?
Don't you think the radius of the sphere ##a## should appear somewhere in your expression for ##V##?
 
Back
Top