6.2: Determining Volumes by Slicing
 Last updated
 Save as PDF
 Page ID
 10831
 Contributed by OpenStax
 Mathematics at OpenStax CNX
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
In the preceding section, we used definite integrals to find the area between two curves. In this section, we use definite integrals to find volumes of threedimensional solids. We consider three approaches—slicing, disks, and washers—for finding these volumes, depending on the characteristics of the solid.
Volume and the Slicing Method
Just as area is the numerical measure of a twodimensional region, volume is the numerical measure of a threedimensional solid. Most of us have computed volumes of solids by using basic geometric formulas. The volume of a rectangular solid, for example, can be computed by multiplying length, width, and height: \(V=lwh.\) The formulas for the volumes of:
 a sphere
\[V_{sphere}=\dfrac{4}{3}πr^3,\]
 a cone
\[V_{cone}=\dfrac{1}{3}πr^2h\]
 and a pyramid
\[V_{pyramid}=\dfrac{1}{3}Ah\]
have also been introduced. Although some of these formulas were derived using geometry alone, all these formulas can be obtained by using integration.
We can also calculate the volume of a cylinder. Although most of us think of a cylinder as having a circular base, such as a soup can or a metal rod, in mathematics the word cylinder has a more general meaning. To discuss cylinders in this more general context, we first need to define some vocabulary.
We define the crosssection of a solid to be the intersection of a plane with the solid. A cylinder is defined as any solid that can be generated by translating a plane region along a line perpendicular to the region, called the axis of the cylinder. Thus, all crosssections perpendicular to the axis of a cylinder are identical. The solid shown in Figure \(\PageIndex{1}\) is an example of a cylinder with a noncircular base. To calculate the volume of a cylinder, then, we simply multiply the area of the crosssection by the height of the cylinder: \(V=A⋅h.\) In the case of a right circular cylinder (soup can), this becomes \(V=πr^2h.\)
If a solid does not have a constant crosssection (and it is not one of the other basic solids), we may not have a formula for its volume. In this case, we can use a definite integral to calculate the volume of the solid. We do this by slicing the solid into pieces, estimating the volume of each slice, and then adding those estimated volumes together. The slices should all be parallel to one another, and when we put all the slices together, we should get the whole solid. Consider, for example, the solid S shown in Figure \(\PageIndex{2}\), extending along the \(x\)axis.
We want to divide \(S\) into slices perpendicular to the \(x\)axis. As we see later in the chapter, there may be times when we want to slice the solid in some other direction—say, with slices perpendicular to the \(y\)axis. The decision of which way to slice the solid is very important. If we make the wrong choice, the computations can get quite messy. Later in the chapter, we examine some of these situations in detail and look at how to decide which way to slice the solid. For the purposes of this section, however, we use slices perpendicular to the \(x\)axis.
Because the crosssectional area is not constant, we let \(A(x)\) represent the area of the crosssection at point x. Now let \(P={x_0,x_1…,X_n}\) be a regular partition of \([a,b]\), and for \(i=1,2,…n\), let \(S_i\) represent the slice of \(S\) stretching from \(x_{i−1}\) to \(x_i\). The following figure shows the sliced solid with \(n=3\).
Finally, for \(i=1,2,…n,\) let \(x^∗_i\) be an arbitrary point in \([x_{i−1},x_i]\). Then the volume of slice \(S_i\) can be estimated by \(V(S_i)≈A(x^∗_i)\,Δx\). Adding these approximations together, we see the volume of the entire solid \(S\) can be approximated by
\[V(S)≈\sum_{i=1}^nA(x^∗_i)\,Δx.\]
By now, we can recognize this as a Riemann sum, and our next step is to take the limit as \(n→∞.\) Then we have
\[V(S)=\lim_{n→∞}\sum_{i=1}^nA(x^∗_i)\,Δx=∫_a^b A(x)\,dx.\]
The technique we have just described is called the slicing method. To apply it, we use the following strategy.
ProblemSolving Strategy: Finding Volumes by the Slicing Method
 Examine the solid and determine the shape of a crosssection of the solid. It is often helpful to draw a picture if one is not provided.
 Determine a formula for the area of the crosssection.
 Integrate the area formula over the appropriate interval to get the volume.
Recall that in this section, we assume the slices are perpendicular to the \(x\)axis. Therefore, the area formula is in terms of x and the limits of integration lie on the \(x\)axis. However, the problemsolving strategy shown here is valid regardless of how we choose to slice the solid.
Example \(\PageIndex{1}\): Deriving the Formula for the Volume of a Pyramid
We know from geometry that the formula for the volume of a pyramid is \(V=\dfrac{1}{3}Ah\). If the pyramid has a square base, this becomes \(V=\dfrac{1}{3}a^2h\), where a denotes the length of one side of the base. We are going to use the slicing method to derive this formula.
Solution
We want to apply the slicing method to a pyramid with a square base. To set up the integral, consider the pyramid shown in Figure \(\PageIndex{4}\), oriented along the \(x\)axis.
We first want to determine the shape of a crosssection of the pyramid. We know the base is a square, so the crosssections are squares as well (step 1). Now we want to determine a formula for the area of one of these crosssectional squares. Looking at Figure \(\PageIndex{4}\) (b), and using a proportion, since these are similar triangles, we have
\[\dfrac{s}{a}=\dfrac{x}{h}\]
or
\[s=\dfrac{ax}{h}.\]
Therefore, the area of one of the crosssectional squares is
\[A(x)=s^2=\left(\dfrac{ax}{h}\right)^2 \quad\quad\text{(step 2)}\]
Then we find the volume of the pyramid by integrating from \(0\) to \(h\) (step 3):
\[V=∫_0^hA(x)\,dx=∫_0^h\left(\dfrac{ax}{h}\right)^2\,dx=\dfrac{a^2}{h^2}∫_0^hx^2\,dx=\left.\Big[\dfrac{a^2}{h^2}\left(\dfrac{1}{3}x^3\right)\Big]\right^h_0=\dfrac{1}{3}a^2h.\]
This is the formula we were looking for.
Exercise \(\PageIndex{1}\)
Use the slicing method to derive the formula \[V=\dfrac{1}{3}πr^2h\] for the volume of a circular cone.
 Hint

Use similar triangles, as in Example \(\PageIndex{1}\).
Solids of Revolution
If a region in a plane is revolved around a line in that plane, the resulting solid is called a solid of revolution, as shown in the following figure.
Solids of revolution are common in mechanical applications, such as machine parts produced by a lathe. We spend the rest of this section looking at solids of this type. The next example uses the slicing method to calculate the volume of a solid of revolution.
Example \(\PageIndex{2}\): Using the Slicing Method to find the Volume of a Solid of Revolution
Use the slicing method to find the volume of the solid of revolution bounded by the graphs of \(f(x)=x^2−4x+5,x=1\),and \(x=4,\) and rotated about the \(x\)axis.
Solution
Using the problemsolving strategy, we first sketch the graph of the quadratic function over the interval \([1,4]\) as shown in the following figure.
Next, revolve the region around the \(x\)axis, as shown in the following figure.
Since the solid was formed by revolving the region around the \(x\)axis, the crosssections are circles (step 1). The area of the crosssection, then, is the area of a circle, and the radius of the circle is given by \(f(x).\) Use the formula for the area of the circle:
\[A(x)=πr^2=π[f(x)]^2=π(x^2−4x+5)^2\quad\quad\text{(step 2).}\]
The volume, then, is (step 3)
\[\begin{align*} V &=∫_a^b A(x)\,dx \\ &=∫^4_1π(x^2−4x+5)^2\,dx \\ &=π∫^4_1(x^4−8x^3+26x^2−40x+25)\,dx \\ &=\left. π\left(\dfrac{x^5}{5}−2x^4+\dfrac{26x^3}{3}−20x^2+25x\right)\right^4_1 \\ &=\dfrac{78}{5}π \end{align*}\]
The volume is \(78π/5\,\text{units}^3.\)
Exercise \(\PageIndex{2}\)
Use the method of slicing to find the volume of the solid of revolution formed by revolving the region between the graph of the function \(f(x)=1/x\) and the \(x\)axis over the interval \([1,2]\) around the \(x\)axis. See the following figure.
 Hint

Use the problemsolving strategy presented earlier and follow Example \(\PageIndex{2}\) to help with step 2.
 Answer

\(\dfrac{π}{2} \,\text{units}^3\)
The Disk Method
When we use the slicing method with solids of revolution, it is often called the disk method because, for solids of revolution, the slices used to over approximate the volume of the solid are disks. To see this, consider the solid of revolution generated by revolving the region between the graph of the function \(f(x)=(x−1)^2+1\) and the \(x\)axis over the interval \([−1,3]\) around the \(x\)axis. The graph of the function and a representative disk are shown in Figure \(\PageIndex{8}\) (a) and (b). The region of revolution and the resulting solid are shown in Figure \(\PageIndex{8}\) (c) and (d).
Figure \(\PageIndex{8}\): (e) A dynamic version of this solid of revolution generated using CalcPlot3D.
We already used the formal Riemann sum development of the volume formula when we developed the slicing method. We know that \[∫_a^b A(x)\,dx.\nonumber\]
The only difference with the disk method is that we know the formula for the crosssectional area ahead of time; it is the area of a circle. This gives the following rule.
The Disk Method
Let \(f(x)\) be continuous and nonnegative. Define \(R\) as the region bounded above by the graph of \(f(x)\), below by the \(x\)axis, on the left by the line \(x=a\), and on the right by the line \(x=b\). Then, the volume of the solid of revolution formed by revolving \(R\) around the \(x\)axis is given by
\[V=∫^b_aπ[f(x)]^2\,dx.\]
The volume of the solid we have been studying (Figure \(\PageIndex{8}\)) is given by
\[\begin{align*} V &=∫^b_aπ\left[f(x)\right]^2\,dx \\
&=∫^3_{−1}π\big[(x−1)^2+1\big]^2\,dx=π∫^3_{−1}\big[(x−1)^4+2(x−1)^2+1\big]^2\,dx \\
&=π\left.\Big[\frac{1}{5}(x−1)^5+\frac{2}{3}(x−1)^3+x\Big]\right^3_{−1} \\
&=π\left[\left(\frac{32}{5}+\frac{16}{3}+3\right)−\left(−\frac{32}{5}−\frac{16}{3}−1\right)\right] \\
&=\frac{412π}{15}\,\text{units}^3. \end{align*}\]
Let’s look at some examples.
Example \(\PageIndex{3}\): Using the Disk Method to Find the Volume of a Solid of Revolution 1
Use the disk method to find the volume of the solid of revolution generated by rotating the region between the graph of \(f(x)=\sqrt{x}\) and the \(x\)axis over the interval \([1,4]\) around the \(x\)axis.
Solution
The graphs of the function and the solid of revolution are shown in the following figure.
We have
\[ \begin{align*} V&=∫^b_aπ\big[f(x)\big]^2\,dx \\
&=∫^4_1π\left[\sqrt{x}\right]^2\,dx=π∫^4_1x\,dx \\
&=\dfrac{π}{2}x^2\bigg^4_1=\dfrac{15π}{2} \end{align*}\]
The volume is \((15π)/2 \,\text{units}^3.\)
Exercise \(\PageIndex{3}\)
Use the disk method to find the volume of the solid of revolution generated by rotating the region between the graph of \(f(x)=\sqrt{4−x}\) and the \(x\)axis over the interval \([0,4]\) around the \(x\)axis.
 Hint

Use the procedure from Example \(\PageIndex{3}\).
 Answer

\(8π \,\text{units}^3\)
So far, our examples have all concerned regions revolved around the \(x\)axis, but we can generate a solid of revolution by revolving a plane region around any horizontal or vertical line. In the next example, we look at a solid of revolution that has been generated by revolving a region around the \(y\)axis. The mechanics of the disk method are nearly the same as when the \(x\)axis is the axis of revolution, but we express the function in terms of \(y\) and we integrate with respect to y as well. This is summarized in the following rule.
Rule: The Disk Method for Solids of Revolution around the \(y\)axis
Let \(g(y)\) be continuous and nonnegative. Define \(Q\) as the region bounded on the right by the graph of \(g(y)\), on the left by the \(y\)axis, below by the line \(y=c\), and above by the line \(y=d\). Then, the volume of the solid of revolution formed by revolving \(Q\) around the \(y\)axis is given by
\[V=∫^d_cπ\big[g(y)\big]^2\,dy.\]
The next example shows how this rule works in practice.
Example \(\PageIndex{4}\): Using the Disk Method to Find the Volume of a Solid of Revolution 2
Let \(R\) be the region bounded by the graph of \(g(y)=\sqrt{4−y}\) and the \(y\)axis over the \(y\)axis interval \([0,4]\). Use the disk method to find the volume of the solid of revolution generated by rotating \(R\) around the \(y\)axis.
Solution
Figure \(\PageIndex{10}\) shows the function and a representative disk that can be used to estimate the volume. Notice that since we are revolving the function around the \(y\)axis, the disks are horizontal, rather than vertical.
The region to be revolved and the full solid of revolution are depicted in the following figure.
To find the volume, we integrate with respect to \(y\) We obtain
\[V=∫^d_cπ\big[g(y)\big]^2\,dy=∫^4_0π\left[\sqrt{4−y}\right]^2\,dy=π∫^4_0(4−y)\,dy=π\left.\left[4y−\frac{y^2}{2}\right]\right^4_0=8π.\]
The volume is \(8π \,\text{units}^3\).
Exercise \(\PageIndex{4}\)
Use the disk method to find the volume of the solid of revolution generated by rotating the region between the graph of \(g(y)=y\) and the \(y\)axis over the interval \([1,4]\) around the \(y\)axis.
 Hint

Use the procedure from Example \(\PageIndex{4}\).
 Answer

\(21π \,\text{units}^3\)
The Washer Method
Some solids of revolution have cavities in the middle; they are not solid all the way to the axis of revolution. Sometimes, this is just a result of the way the region of revolution is shaped with respect to the axis of revolution. In other cases, cavities arise when the region of revolution is defined as the region between the graphs of two functions. A third way this can happen is when an axis of revolution other than the \(x\)axis or \(y\)axis is selected.
When the solid of revolution has a cavity in the middle, the slices used to approximate the volume are not disks, but washers (disks with holes in the center). For example, consider the region bounded above by the graph of the function \(f(x)=\sqrt{x}\) and below by the graph of the function \(g(x)=1\) over the interval \([1,4]\). When this region is revolved around the \(x\)axis, the result is a solid with a cavity in the middle, and the slices are washers. The graph of the function and a representative washer are shown in Figure \(\PageIndex{12}\) (a) and (b). The region of revolution and the resulting solid are shown in Figure \(\PageIndex{12}\) (c) and (d).
Figure \(\PageIndex{12}\): (e) A dynamic version of this solid of revolution generated using CalcPlot3D.
The crosssectional area, then, is the area of the outer circle less the area of the inner circle. In this case,
\(A(x)=π\left(\sqrt{x}\right)^2−π(1)^2=π(x−1).\)
Then the volume of the solid is
\[V=∫^b_a A(x)\,dx=∫^4_1π(x−1)\,dx=π\left.\left[\frac{x^2}{2}−x\right]\right^4_1=\frac{9}{2}π\,\text{units}^3.\]
Generalizing this process gives the washer method.
Rule: The Washer Method
Suppose \(f(x)\) and \(g(x)\) are continuous, nonnegative functions such that \(f(x)≥g(x)\) over \([a,b]\). Let \(R\) denote the region bounded above by the graph of \(f(x)\), below by the graph of \(g(x)\), on the left by the line \(x=a\), and on the right by the line \(x=b\). Then, the volume of the solid of revolution formed by revolving \(R\) around the \(x\)axis is given by
\[V=∫^b_aπ\left[(f(x))^2−(g(x))^2\right]\,dx.\]
Example \(\PageIndex{5}\): Using the Washer Method
Find the volume of a solid of revolution formed by revolving the region bounded above by the graph of \(f(x)=x\) and below by the graph of \(g(x)=1/x\) over the interval \([1,4]\) around the \(x\)axis.
Solution
The graphs of the functions and the solid of revolution are shown in the following figure.
We have
\[\begin{align*} V &=∫^b_aπ\big[(f(x))^2−(g(x))^2\big]\,dx=π∫^4_1\left[x^2−\left(\frac{1}{x}\right)^2\right]\,dx \\
&=π\left.\left[\frac{x^3}{3}+\frac{1}{x}\right]\right^4_1 \\
&=\dfrac{81π}{4}\,\text{units}^3. \end{align*}\]
Figure \(\PageIndex{13}\): (c) A dynamic version of this solid of revolution generated using CalcPlot3D.
Exercise \(\PageIndex{5}\)
Find the volume of a solid of revolution formed by revolving the region bounded by the graphs of \(f(x)=\sqrt{x}\) and \(g(x)=1/x\) over the interval \([1,3]\) around the \(x\)axis.
 Hint

Graph the functions to determine which graph forms the upper bound and which graph forms the lower bound, then use the procedure from Example \(\PageIndex{5}\).
 Answer

\(\dfrac{10π}{3} \,\text{units}^3\)
As with the disk method, we can also apply the washer method to solids of revolution that result from revolving a region around the \(y\)axis. In this case, the following rule applies.
Rule: The Washer Method for Solids of Revolution around the \(y\)axis
Suppose \(u(y)\) and \(v(y)\) are continuous, nonnegative functions such that \(v(y)≤u(y)\) for \(y∈[c,d]\). Let \(Q\) denote the region bounded on the right by the graph of \(u(y)\), on the left by the graph of \(v(y)\), below by the line \(y=c\), and above by the line \(y=d\). Then, the volume of the solid of revolution formed by revolving \(Q\) around the \(y\)axis is given by
\[V=∫^d_cπ\left[(u(y))^2−(v(y))^2\right]\,dy.\]
Rather than looking at an example of the washer method with the \(y\)axis as the axis of revolution, we now consider an example in which the axis of revolution is a line other than one of the two coordinate axes. The same general method applies, but you may have to visualize just how to describe the crosssectional area of the volume.
Example \(\PageIndex{6}\):
Find the volume of a solid of revolution formed by revolving the region bounded above by \(f(x)=4−x\) and below by the \(x\)axis over the interval \([0,4]\) around the line \(y=−2.\)
Solution
The graph of the region and the solid of revolution are shown in the following figure.
We can’t apply the volume formula to this problem directly because the axis of revolution is not one of the coordinate axes. However, we still know that the area of the crosssection is the area of the outer circle less the area of the inner circle. Looking at the graph of the function, we see the radius of the outer circle is given by \(f(x)+2,\) which simplifies to
\(f(x)+2=(4−x)+2=6−x.\)
The radius of the inner circle is \(g(x)=2.\) Therefore, we have
\[\begin{align*} V &=∫^4_0π\left[(6−x)^2−(2)^2\right]\,dx \\
&=π∫^4_0(x^2−12x+32)\,dx=π\left.\left[\frac{x^3}{3}−6x^2+32x\right]\right^4_0 \\
&=\dfrac{160π}{3}\,\text{units}^3.\end{align*}\]
Figure \(\PageIndex{14}\): (c) A dynamic version of this solid of revolution generated using CalcPlot3D.
Exercise \(\PageIndex{6}\)
Find the volume of a solid of revolution formed by revolving the region bounded above by the graph of \(f(x)=x+2\) and below by the \(x\)axis over the interval \([0,3]\) around the line \(y=−1.\)
 Hint

Use the procedure from Example \(\PageIndex{6}\).
 Answer

\(60π\) units^{3}
Key Concepts
 Definite integrals can be used to find the volumes of solids. Using the slicing method, we can find a volume by integrating the crosssectional area.
 For solids of revolution, the volume slices are often disks and the crosssections are circles. The method of disks involves applying the method of slicing in the particular case in which the crosssections are circles, and using the formula for the area of a circle.
 If a solid of revolution has a cavity in the center, the volume slices are washers. With the method of washers, the area of the inner circle is subtracted from the area of the outer circle before integrating.
Key Equations
 Disk Method along the \(x\)axis
\(\displaystyle V=∫^b_aπ\big[f(x)\big]^2\,dx\)
 Disk Method along the \(y\)axis
\(\displaystyle V=∫^d_cπ\big[g(y)\big]^2\,dy\)
 Washer Method
\(\displaystyle V=∫^b_aπ\left[(f(x))^2−(g(x))^2\right]\,dx\)
Glossary
 crosssection
 the intersection of a plane and a solid object
 disk method
 a special case of the slicing method used with solids of revolution when the slices are disks
 slicing method
 a method of calculating the volume of a solid that involves cutting the solid into pieces, estimating the volume of each piece, then adding these estimates to arrive at an estimate of the total volume; as the number of slices goes to infinity, this estimate becomes an integral that gives the exact value of the volume
 solid of revolution
 a solid generated by revolving a region in a plane around a line in that plane
 washer method
 a special case of the slicing method used with solids of revolution when the slices are washers
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CCBYSANC 4.0 license. Download for free at http://cnx.org.