DEV Community

Cover image for Calculating the volume of a cup via rotational solids
Paul Cochrane πŸ‡ͺπŸ‡Ί
Paul Cochrane πŸ‡ͺπŸ‡Ί

Posted on β€’ Originally published at peateasea.de on

Calculating the volume of a cup via rotational solids

As part of tutoring physics and maths to high school students, I sometimes write up deep-dive explanations of questions arising during lessons. This post discusses two ways to find the volume of a cup generated by rotating two curves about the xx -axis.

Question

A cup is generated by rotating two curves about the xx -axis (see the blue region in the figure above). Which height, hh , must the cup have so that the rotational volume is approximately equal to 200 cm3200\ \text{cm}^3 ?

The functions are defined as:

f(x)=5x+4 f(x) = \sqrt{5x + 4}

and

g(x)=5xβˆ’4. g(x) = \sqrt{5x - 4}.

Answer

An important point to realise about this question is that we’re not trying to find the volume of the interior of the cup, i.e. that which would hold a fluid or another substance. The task is rather to find the volume of the material of the cup itself.

There are two ways to do this: (a) by finding the volume enclosed by each function and subtracting the smaller volume from the larger volume, and (b) by splitting the xx domain into two well-defined regions and adding the solid formed by f(x)f(x) for the first region to the solid formed between f(x)f(x) and g(x)g(x) for the second region.

The first solution method is the easiest to understand, so we’ll start with that.

Subtracting rotational solids from one another

Before we begin solving this problem, there is an important point to make: notice that g(x)g(x) is not defined over the entire region that f(x)f(x) is defined. Where f(x)f(x) has a well-defined real value from x=0x = 0 and above, g(x)g(x) is not defined at x=0x = 0 and only obtains real values above a certain minimum xx value. Consequently, it’s not possible to simply integrate from 0 up to hh for both functions; we have to be careful.

To find the cup’s volume we need to calculate the volume enclosed by rotating g(x)g(x) about the xx -axis and subtract this value from the volume enclosed by rotating f(x)f(x) about the xx -axis.

Let’s calculate the volume bounded by f(x)f(x) first. We calculate the volume of the solid of revolution for f(x)f(x) by considering infinitesimally thin discs created by rotating f(x)f(x) around the xx -axis and then integrating these discs over xx .

The surface area of a single disc is given by the familiar formula:

A=Ο€r2, A = \pi r^2,

where rr is the distance from the xx -axis to the function at a given xx value. This distance is simply the function f(x)f(x) , hence r=f(x)r = f(x) . Thus, the area of a disc enclosed by the function f(x)f(x) at a given xx is:

Af=Ο€(f(x))2. \begin{equation} A_f = \pi \bigl( f(x) \bigr)^2. \end{equation}

Integrating these discs over xx gives the volume enclosed by f(x)f(x) , which we denote here by VfV_f . I.e.

Vf=Ο€βˆ«ab(f(x))2 dx. \begin{equation} V_f = \pi \int_a^b \bigl( f(x) \bigr)^2\ dx. \end{equation}

We’re now in a position to carry out this integration. We know that

f(x)=5x+4, \begin{equation} f(x) = \sqrt{5x + 4}, \end{equation}

hence we substitute this into our equation for VfV_f above, to get:

Vf=Ο€βˆ«ab(5x+4)2 dx \begin{equation} V_f = \pi \int_a^b \Bigl( \sqrt{5x + 4} \Bigr)^2\ dx \end{equation}
=Ο€βˆ«ab5x+4 dx \begin{equation} = \pi \int_a^b 5x + 4\ dx \end{equation}
=Ο€[52x2+4x]ab dx. \begin{equation} = \pi \biggl[\frac{5}{2}x^2 + 4x\biggr]_a^b\ dx. \end{equation}

To find the definite integral, we note that f(x)f(x) is bounded to the left by the yy -axis (i.e. where x=0x = 0 ) and to the right by the height of the cup, hh . Hence the integration bounds are a=0a = 0 and b=hb = h , which gives:

Vf=Ο€[52h2+4h]βˆ’Ο€[5202+0] \begin{equation} V_f = \pi \biggl[\frac{5}{2}h^2 + 4h\biggr] - \pi \biggl[\frac{5}{2}0^2 + 0\biggr] \end{equation}
=Ο€[52h2+4h] \begin{equation} = \pi \biggl[\frac{5}{2}h^2 + 4h\biggr] \end{equation}
=52Ο€h2+4Ο€h. \begin{equation} = \frac{5}{2} \pi h^2 + 4 \pi h. \end{equation}

To find the volume enclosed by g(x)g(x) , we use a similar method. However, we note that the lower bound of the integral, aa , is no longer equal to 0; it is equal to the value of xx when g(x)=0g(x) = 0 . The upper bound when integrating over g(x)g(x) is still b=hb = h .

We can calculate the lower bound by setting g(x)g(x) equal to zero and solving for xx :

g(x)=0=5xβˆ’4; (square both sides) \begin{equation} g(x) = 0 = \sqrt{5x - 4};\ \text{(square both sides)} \end{equation}
β‡’0=5xβˆ’4 \begin{equation} \Rightarrow 0 = 5 x - 4 \end{equation}
β‡’5x=4 \begin{equation} \Rightarrow 5 x = 4 \end{equation}
β‡’x=45. \begin{equation} \Rightarrow x = \frac{4}{5}. \end{equation}

Hence the lower bound of the integral is a=45a = \frac{4}{5} .

The rotational volume of the solid enclosed by g(x)g(x) (denoted by VgV_g ) can be written like so:

Vg=Ο€βˆ«ab(g(x))2 dx. \begin{equation} V_g = \pi \int_a^b \bigl( g(x) \bigr)^2\ dx. \end{equation}

Since we know that

g(x)=5xβˆ’4 \begin{equation} g(x) = \sqrt{5x - 4} \end{equation}

we therefore have

Vg=Ο€βˆ«ab5xβˆ’4 dx \begin{equation} V_g = \pi \int_a^b 5x - 4\ dx \end{equation}
=Ο€[52x2βˆ’4x]ab. \begin{equation} = \pi \biggl[\frac{5}{2} x^2 - 4x\biggr]_a^b. \end{equation}

Substituting a=45a = \frac{4}{5} and b=hb = h , we get

Vg=Ο€[52h2βˆ’4h]βˆ’Ο€[52(45)2βˆ’4(45)] \begin{equation} V_g = \pi \biggl[\frac{5}{2} h^2 - 4h\biggr] - \pi \biggl[\frac{5}{2} \left(\frac{4}{5}\right)^2 - 4 \left(\frac{4}{5}\right)\biggr] \end{equation}
=Ο€[52h2βˆ’4h]βˆ’Ο€[52β‹…1625βˆ’165] \begin{equation} = \pi \biggl[\frac{5}{2} h^2 - 4h\biggr] - \pi \biggl[\frac{5}{2} \cdot \frac{16}{25} - \frac{16}{5}\biggr] \end{equation}
=Ο€[52h2βˆ’4h]βˆ’Ο€[12β‹…165βˆ’165] \begin{equation} = \pi \biggl[\frac{5}{2} h^2 - 4h\biggr] - \pi \biggl[\frac{1}{2} \cdot \frac{16}{5} - \frac{16}{5}\biggr] \end{equation}
=Ο€[52h2βˆ’4h]βˆ’Ο€[βˆ’12β‹…165] \begin{equation} = \pi \biggl[\frac{5}{2} h^2 - 4h\biggr] - \pi \biggl[-\frac{1}{2} \cdot \frac{16}{5}\biggr] \end{equation}
=52Ο€h2βˆ’4Ο€h+85Ο€. \begin{equation} = \frac{5}{2} \pi h^2 - 4 \pi h + \frac{8}{5} \pi. \end{equation}

To find the volume of the cup, VcV_c , we subtract the rotational volume enclosed by g(x)g(x) from the rotational volume enclosed by f(x)f(x) :

Vc=Vfβˆ’Vg \begin{equation} V_c = V_f - V_g \end{equation}
=52Ο€h2+4Ο€hβˆ’(52Ο€h2βˆ’4Ο€h+85Ο€) \begin{equation} = \frac{5}{2} \pi h^2 + 4 \pi h - \biggl(\frac{5}{2} \pi h^2 - 4 \pi h + \frac{8}{5} \pi\biggr) \end{equation}
=52Ο€h2+4Ο€hβˆ’52Ο€h2+4Ο€hβˆ’85Ο€ \begin{equation} = \frac{5}{2} \pi h^2 + 4 \pi h - \frac{5}{2} \pi h^2 + 4 \pi h - \frac{8}{5} \pi \end{equation}
=8Ο€hβˆ’85Ο€. \begin{equation} = 8 \pi h - \frac{8}{5} \pi. \end{equation}

We want this volume to equal 200 cm3200\ \text{cm}^3 , hence we set VcV_c equal to 200 and solve for hh :

Vc=200=8Ο€hβˆ’85Ο€ \begin{equation} V_c = 200 = 8 \pi h - \frac{8}{5} \pi \end{equation}
β‡’2008Ο€=hβˆ’15 \begin{equation} \Rightarrow \frac{200}{8 \pi} = h - \frac{1}{5} \end{equation}
β‡’h=2008Ο€+15 \begin{equation} \Rightarrow h = \frac{200}{8 \pi} + \frac{1}{5} \end{equation}
β‡’h=25Ο€+15 cm \begin{equation} \Rightarrow h = \frac{25}{\pi} + \frac{1}{5}\ \text{cm} \end{equation}
β‡’hβ‰ˆ8.16 cm. \begin{equation} \Rightarrow h \approx 8.16\ \text{cm}. \end{equation}

Hence the desired height of the cup, hh , is approximately equal to 8.16 cm.

Integrating with discs and washers

As with many things in mathematics, there’s more than one way to do it. In the solution above, we subtracted the volume of the smaller solid from the volume of the larger solid to calculate the cup’s volume. Another way to approach the situation is to realise that we can split the xx domain up into two regions: one where only f(x)f(x) is defined ( x∈[0,4/5)x \in [0, 4/5) ), and one where both f(x)f(x) and g(x)g(x) are defined ( x∈[4/5,h]x \in [4/5, h] ).

Looking at the problem from this perspective, we can find the solid of rotation for f(x)f(x) in the region where only f(x)f(x) is defined by using the method of discs. We can then find the solid of rotation between f(x)f(x) and g(x)g(x) over the domain where both f(x)f(x) and g(x)g(x) are defined by using the method of washers.

The following diagram illustrates the two regions over which we’ll be integrating, denoted by the text β€œdiscs” and β€œwashers” respectively:

Functions to generate cup by rotation about the x-axis showing regions which are integrated as discs and washers, respectively

Adding the volumes of the rotational solids from each region will give us the same volume for the cup as calculated in the previous section. Let’s see how this works in detail.

As before, we have the functions

f(x)=5x+4 f(x) = \sqrt{5x + 4}

and

g(x)=5xβˆ’4. g(x) = \sqrt{5x - 4}.

First, we want to find the volume of the rotational solid formed by f(x)f(x) over the domain where g(x)g(x) isn’t defined, i.e. x∈[0,4/5)x \in [0, 4/5) . As mentioned above, we use the method of discs to find the volume of this rotational solid, which we will denote here as VdiscsV_{\text{discs}} :

Vdiscs=Ο€βˆ«04/5(f(x))2 dx \begin{equation} V_{\text{discs}} = \pi \int_0^{4/5} \bigl( f(x) \bigr)^2\ dx \end{equation}
=Ο€βˆ«04/5(5x+4)2 dx \begin{equation} = \pi \int_0^{4/5} \bigl( 5x + 4 \bigr)^2\ dx \end{equation}
=[52Ο€x2+4Ο€x]04/5 \begin{equation} = \biggl[\frac{5}{2} \pi x^2 + 4 \pi x \biggr]_0^{4/5} \end{equation}
=52(45)2Ο€+445Ο€ \begin{equation} = \frac{5}{2} \biggl(\frac{4}{5}\biggr)^2 \pi + 4 \frac{4}{5} \pi \end{equation}
=521625Ο€+165Ο€ \begin{equation} = \frac{5}{2} \frac{16}{25} \pi + \frac{16}{5} \pi \end{equation}
=12165Ο€+165Ο€ \begin{equation} = \frac{1}{2} \frac{16}{5} \pi + \frac{16}{5} \pi \end{equation}
=32165Ο€ \begin{equation} = \frac{3}{2} \frac{16}{5} \pi \end{equation}
=245Ο€. \begin{equation} = \frac{24}{5} \pi. \end{equation}

We find the rest of the cup’s volume by integrating the washers formed by the region between f(x)f(x) and g(x)g(x) when they are rotated about the xx -axis. We then perform the integration from the minimum xx value for which g(x)g(x) is defined up to hh to get the volume for this part of the cup, which we will denote by VwashersV_{\text{washers}} . This calculation is as follows:

Vwashers=Ο€βˆ«4/5h(f(x))2βˆ’(g(x))2 dx \begin{equation} V_{\text{washers}} = \pi \int_{4/5}^h \bigl( f(x) \bigr)^2 - \bigl( g(x) \bigr)^2\ dx \end{equation}
=Ο€βˆ«4/5h(5x+4)βˆ’(5xβˆ’4) dx \begin{equation} = \pi \int_{4/5}^h \bigl( 5x + 4 \bigr) - \bigl( 5x - 4 \bigr)\ dx \end{equation}
=Ο€βˆ«4/5h8 dx \begin{equation} = \pi \int_{4/5}^h 8\ dx \end{equation}
=8Ο€x∣4/5h \begin{equation} = 8 \pi \biggl. x \biggr|_{4/5}^h \end{equation}
=8Ο€hβˆ’8Ο€45. \begin{equation} = 8 \pi h - 8 \pi \frac{4}{5}. \end{equation}

To find the cup’s volume, we add VdiscsV_\text{discs} to VwashersV_\text{washers} :

Vcup=Vdiscs+Vwashers \begin{equation} V_\text{cup} = V_\text{discs} + V_\text{washers} \end{equation}
=245Ο€+8Ο€hβˆ’8Ο€45. \begin{equation} = \frac{24}{5} \pi + 8 \pi h - 8 \pi \frac{4}{5}. \end{equation}

We can extract a common factor of 8Ο€8 \pi by noting that 24=3β‹…824 = 3 \cdot 8 , thus

Vcup=245Ο€+8Ο€hβˆ’8Ο€45 \begin{equation} V_\text{cup} = \frac{24}{5} \pi + 8 \pi h - 8 \pi \frac{4}{5} \end{equation}
=8Ο€35+8Ο€hβˆ’8Ο€45 \begin{equation} = 8 \pi \frac{3}{5} + 8 \pi h - 8 \pi \frac{4}{5} \end{equation}
=8Ο€(35+hβˆ’45) \begin{equation} = 8 \pi \biggl(\frac{3}{5} + h - \frac{4}{5} \biggr) \end{equation}
=8Ο€(hβˆ’15). \begin{equation} = 8 \pi \biggl(h - \frac{1}{5} \biggr). \end{equation}

We know that the desired cup volume should be equal to 200, hence we set this result equal to 200 and solve for hh :

Vcup=200=8Ο€(hβˆ’15)β‡’2008Ο€=hβˆ’15β‡’25Ο€=hβˆ’15β‡’h=25Ο€+15 cmβ‡’hβ‰ˆ8.16 cm. \begin{equation} V_\text{cup} = 200 = 8 \pi \biggl(h - \frac{1}{5} \biggr) \Rightarrow \frac{200}{8 \pi} = h - \frac{1}{5} \Rightarrow \frac{25}{\pi} = h - \frac{1}{5} \Rightarrow h = \frac{25}{\pi} + \frac{1}{5}\ \text{cm} \Rightarrow h \approx 8.16\ \text{cm}. \end{equation}

which is the result we got from the previous section. Yay! πŸŽ‰

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay