Skip to main content
Mathematics LibreTexts

5.1: Volumes by Slicing

  • Page ID
    212044
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    The previous chapter emphasized a geometric interpretation of definite integrals as “areas” in two dimensions. This section emphasizes another geometrical use of integration, computing volumes of solid three-dimensional objects such as those shown below:

    three 3D geometric wireframe shapes arranged side-by-side. On the left is a blue shape that resembles a trumpet or horn with a square cross-section, flaring out from a small square on the right to a large square on the left. In the center is a red sphere with a horizontal circular belt around its middle, depicting a globe-like structure. On the right is a brown shape representing a curved cone or horn with circular cross-sections that increase in size from left to right.

    Our basic approach will involve cutting the whole solid into thin “slices” whose volumes we can approximate, adding the volumes of these “slices” together (to get a Riemann sum), and finally obtaining an exact answer by taking a limit of those sums to get a definite integral.

    The Building Blocks: Right Solids

    A right solid is a three-dimensional shape swept out by moving a planar region \(A\) some distance \(h\) along a line perpendicular to the plane of \(A\):

    A light blue, four-sided polygon with a curved top edge, labeled inside as "area A". A horizontal red arrow extends to the right from the center of this shape, labeled with the letter "h" and the word "sideways" above it. A right-angle symbol is located where the red arrow originates within the blue shape, indicating that the height (h) is perpendicular to the cross-sectional area (A).

    We call the region \(A\) a face of the solid and use the word “right” to indicate that the movement occurs along a line perpendicular — at a right angle — to the plane of \(A\). Two parallel cuts produce one slice with two faces:

    On the left, a long, three-dimensional prism with a curved top is shown with two thin vertical lines labeled "parallel cuts". A red arrow points from these lines to the right, where a single thin, light-blue cross-section is displayed. This slice is labeled "FACE" on its surface and "one slice" below it, illustrating that the slice has the same shape as the face of the larger object.

    Note

    A slice has volume, and a face has area.

    Example \(\PageIndex{1}\)

    Suppose a fine, uniform mist is suspended in the air and that every cubic foot of mist contains \(0.02\) ounces of water droplets. If you run \(50\) feet in a straight line through this mist, how wet do you get? Assume that the front (or a cross section) of your body has an area of \(8\) square feet.

    Solution

    As you run, the front of your body sweeps out a “tunnel” through the mist:

    A row of human figures inside a long rectangular box. The box is labeled "50 feet" in length and contains several light-blue figures with the text "mist in the air" above them. To the right, a single solid blue figure is labeled "8 square feet," representing the cross-sectional area of one "slice" of the mist.

    The volume of the “tunnel” is the area of the front of your body multiplied by the length of the tunnel:\[\mbox{volume} = \left(8 \mbox{ ft}^2\right)\left(50 \mbox{ ft}\right) = 400 \mbox{ ft}^3\nonumber\]Because each cubic foot of mist held \(0.02\) ounces of water (which is now on you), you swept out a total of \(\displaystyle \left(400 \mbox{ ft}^3\right)\left(0.02 \ \frac{\mbox{oz}}{\mbox{ft}^3}\right) = 8\) ounces of water. If the water were truly suspended and not falling, would it matter how fast you ran? 

    If \(A\) is a rectangle, then the “right solid” formed by moving \(A\) along a line:

    A yellow rectangular plane labeled "A" representing a cross-sectional area. Four black arrows extend horizontally to the right from the corners of this plane to form the wireframe of a rectangular prism.

    is a 3-dimensional solid box \(B\). The volume of \(B\) is:\[\left(\mbox{area of }A\right)\left(\mbox{distance along the line}\right) = \left(\mbox{base}\right)\left(\mbox{height}\right)\left(\mbox{width}\right)\nonumber\]  

    If \(A\) is a circle with radius \(r\) meters:

    A yellow disk labeled "A" with black arrows pointing horizontally to the right, ending at a corresponding white circular outline

    then the “right solid” formed by moving \(A\) along a line a distance of \(h\) meters is a right circular cylinder with volume equal to:\[\left(\mbox{area of } A\right)\left(\mbox{distance along the line}\right) = \left[ \pi \left(r \mbox{ ft}\right)^2\right] \cdot \left[h \mbox{ ft}\right] = \pi r^2 h \mbox{ ft}^3\nonumber\]

    If we cut a right solid perpendicular to its axis (like slicing a block of cheese), then each face (cross-section) has the same two-dimensional shape and area. In general, if a 3-dimensional right solid \(B\) is formed by moving  a 2-dimensional shape \(A\) along a line perpendicular to \(A\), then the volume of \(B\) is defined to be:\[\left(\mbox{area of }A\right)\cdot \left(\mbox{distance moved along the line perpendicular to }A\right)\nonumber\]

    Example \(\PageIndex{2}\)

    Calculate the volumes of the right solids shown below:

    Three 3D geometric solids. The first on the left is a cylinder with a red circular base that has a radius of 3 inches and a vertical height of 4 inches. The middle shape is a rectangular prism with a blue rectangular base measuring 4 meters in length and 2 meters in width, standing at a height of 3 meters. The final shape on the right is a composite solid made of a blue rectangular prism stacked on top of a red cylinder. The cylinder at the bottom has a radius of 3 and a height of 2, while the rectangular prism on top has a base measuring 2 by 1 and a total vertical height of 6.

    Solution

    The cylinder is formed by moving the circular base with cross-sectional area \(\displaystyle \pi r^2 = 9\pi \mbox{ in}^2\) a distance of \(4\) inches along a line perpendicular to the base, so the volume is \(\displaystyle \left( 9\pi \mbox{ in}^2\right)\cdot \left( 4 \mbox{ in}\right) = 36\pi \mbox{ in}^3\).

    The volume of the box is \((\mbox{base area})\cdot\left(\mbox{distance base is moved}\right) = (8 \mbox{ m}^2 )\cdot (3 \mbox{ m}) = 24\mbox{ m}^3\). We can also simply multiply “length times width times height” to get the same answer.

    The last shape consists of two “easy” right solids with volumes \(V_1 = \left(\pi \cdot 3^2\right)\cdot(2) = 18\pi \mbox{ cm}^3\) and \(V_2 = (6)(1)(2) = 12 \mbox{ cm}^3\), so the  total volume is \(\left(18\pi + 12\right) \mbox{ cm}^3 \approx 68.5 \mbox{ cm}^3\).

    Practice \(\PageIndex{1}\)

    Calculate the volumes of the right solids shown below:

    Three 3D prismatic solids. The first on the left has a red-shaded 3-4-5 triangle as its base and is 6 units tall. The middle solid has a cyan-shaded half-disk with radius 3 as its base and is 7 units tall. The one on the right has a green-shaded blob of area 8 in^2 as its base and is 5 units tall.

    Answer

    triangular base: \(\displaystyle V = \left(\mbox{base area}\right)\cdot \left(\mbox{height}\right) = \left(\frac12 \cdot 3 \cdot 4 \right)(6) = 36\)

    \mbox{semicircular base: \(\displaystyle V = \left(\mbox{base area}\right)\cdot \left(\mbox{height}\right) = \left(\frac12 \pi \cdot 3^2\right)\left(7\right) \approx 98.96\)}

    “blob”-shaped base: \(\displaystyle V = \left(\mbox{base area}\right)\cdot \left(\mbox{height}\right) = \left(8\right)\left(5\right) = 40 \mbox{ in}^3\)

    Volumes of General Solids

    We can cut a general solid into “slices,” each of which is “almost” a right solid if the cuts are close together. The volume of each slice will then be approximately equal to the volume of a right solid, so we can approximate the total volume of the entire solid by adding up the approximate volumes of the right-solid “slices.”

    First we position an \(x\)-axis below the solid shape:

    A 3D potato-shaped solid above a horizontal axis with tickmarks at a=x_0, x_1, x_2, then further along x_(k-1) and x_k, and finally b=x_n. Vertical dashed-black line segments extend up from the axis to the bottom of the solid at each tickmark, with the ones at x_(k-1) and x_k extending up through the top of the solid. The distance between x_(k-1) and x_k is Delta x_k, and a cross-section of the solid is shown at these two points, with the one at x_k shaded red. And arrow points to the red slice with the label 'face.'

    and let \(A(t)\) be the area of the face formed when we cut the solid perpendicular to the \(x\)-axis where \(x=t\). If \({\cal P} = \left\{ x_0=a, x_1, x_2, \ldots , x_n = b\right\}\) is a partition of \([a, b]\) and we cut the solid at each \(x_k\), then each slice of the solid is “almost” a right solid and the volume of each slice is approximately\[\left(\mbox{area of a face of the slice}\right)\left(\mbox{thickness of the slice}\right) \approx A\left(x_k\right)\cdot \Delta x_k\nonumber\]The total volume \(V\) of the solid is approximately equal to the sum of the volumes of the slices:\[V = \sum  \left(\mbox{volume of each slice}\right) \approx \sum  A\left(x_k\right)\cdot \Delta x_k\nonumber\]which is a Riemann sum.

    The limit, as the mesh of the partitions approaches \(0\) (taking thinner and thinner slices), of the Riemann sum is the definite integral of \(A(x)\):\[V \approx \sum  A\left(x_k\right)\cdot \Delta x_k \longrightarrow \int_a^b A(x) \, dx\]

    Volume by Slices Formula

    If: \(S\) is a solid and \(A(x)\) is the area of the face formed by a cut at \(x\) made perpendicular to the \(x\)-axis

    then: the volume \(V\) of the part of \(S\) sitting above \([a, b]\) is:\[V = \int_a^b A(x) \, dx\nonumber\]

    If \(S\) is a solid:

    A 3D potato-shaped solid to the left of a vertical axis with tickmarks at (From top to bottom) c, y and d, with dashed-black line segments extending to the right from the axis to the far side of the solid at each tickmark. At y, there is a green-shaded cross section with an arrow pointing to it labeled A(y).

    and \(A(y)\) is the area of a face formed by a cut at \(y\) perpendicular to the \(y\)-axis, then the volume of a slice with thickness \(\Delta y_k\) is approximately \(A\left(y_k\right)\cdot \Delta y_k\). The volume of the part of \(S\) between cuts at \(y = c\) and \(y = d\) on the \(y\)-axis is therefore:\[V = \int_c^d A(y) \, dy\nonumber\]Whether you slice a region with cuts perpendicular to the \(x\)-axis or cuts perpendicular to the \(y\)-axis depends on which slicing method results in slices with cross-sectional areas that are easiest to compute. Furthermore, slicing one way may result in a definite integral that is difficult to compute, while slicing the other way may result in a much easier definite integral (although you often can't tell which method will result in an easier integration process until you actually set up the integrals).

    Example \(\PageIndex{3}\)

    For the solid shown below, the cross-section formed by a cut at \(x\) is a rectangle with a base of 2 inches:

    A solid with a base in the xy-plane bounded on one side by the function y = cos(x), represented by a thick red curve that starts at a height of 1 on the vertical axis and slopes down to the value of pi/2 on the horizontal x-axis. A second, parallel red curve indicates the depth of the solid, which is labeled with a double-headed arrow and the number 2. A representative rectangular cross-section is highlighted in yellow at an arbitrary point x; the height of this rectangle is defined by the function cos(x), while its constant width is 2. The diagram uses black lines to form the wireframe of the solid, emphasizing its volume as it stretches from x = 0 to x = pi/2.

    1. Find a formula for the approximate volume of the slice between \(x_{k-1}\) and \(x_k\).
    2. Compute the volume of the solid for \(x\) between \(0\) and \(\displaystyle \frac{\pi}{2}\).
    Solution
    1.  The volume of a “slice” is approximately: \begin{align*}(\mbox{area of the face})\cdot (\mbox{thickness})  &= (\mbox{base})\cdot(\mbox{height})\cdot (\mbox{thickness})\\ &= (2 \mbox{ in})\left(\cos(x_k) \mbox{ in}\right)\cdot \left( \Delta x_k \mbox{ in}\right)\\ &= 2\cos(x_k) \Delta x_k \mbox{ in}^3\end{align*}
    2. If we cut the solid into \(n\) slices of equal thickness \(\Delta x\) and add up the approximate volumes of the slices, we get a Riemann sum\[\sum_{k=1}^{n} \, 2\cos(x_k) \Delta x \ \longrightarrow \ \int_0^{\frac{\pi}{2}} 2\cos(x) \, dx = 2\sin(x)\bigg|_0^{\frac{\pi}{2}} = 2\nonumber\]so the volume of the solid is \(2 \mbox{ in}^3\).
    Practice \(\PageIndex{2}\)

    For the solid shown below, the face formed by a cut at \(x\) is a triangle with a base of 4 inches:

    A solid with triangular cross-sections. The base lies in the horizontal xy-plane, forming a rectangle that extends from 0 to 2 on the x-axis and from 0 to 4 on the z-axis. A thick blue curve representing the function y = x^2 defines the height of the solid along one edge, starting at the origin (0,0) and rising to a height of 4 at the x-value of 2. A representative triangular cross-section is shaded in yellow. This triangle stands vertically, with its height determined by the blue curve y = x^2 and its base stretching across the full width of the depth axis, which is marked with the number 4. Black wireframe lines outline the rest of the shape, showing how these triangular slices decrease in size as they move toward the origin, creating a wedge-like solid with a curved top. The vertical axis is labeled with tick marks at 2 and 4 to provide scale.

    1. Find a formula for the approximate volume of the slice between \(x_{k-1}\) and \(x_k\).
    2. Use a definite integral to compute the volume of the solid for \(x\) between \(1\) and \(2\).
    Answer
    1. The base of each triangular slice is 4 and the height is approximately \({x_k}^2\) so \(\displaystyle A \left(x_k\right) \approx \frac12 (4)\left({x_k}^2\right) = 2 {x_k}^2\) and the volume of the \(k\)-th slice is this approximately \(2{x_k}^2 \cdot \Delta x_k\).
    2. Adding up the approximate volumes of all \(n\) slices yields \(\displaystyle \sum_{n=1}^{\infty} \, 2{x_k}^2 \cdot \Delta x_k\), which is a Riemann sum with limit:\[\int_0^2 2x^2 \, dx = \frac23 x^3 \bigg|_1^2 = \frac{16}{3}-\frac23 = \frac{14}{3}\nonumber\]
    Example \(\PageIndex{4}\)

    For the solid shown below, each face formed by a cut at \(x\) is a square:

    A red curve y=sqrt(x) is graphed on a [0,4]X[0,2] grid and forms the base of a solid with square cross-sections perpendicular to the xy-plane. One such black square is shown at x=4, along with another shaded yellow near x=2. The other two edges of the solid are shown in red.

    Compute the volume of the solid.

    Solution

    The volume of a “slice” is approximately: \begin{align*}(\mbox{area of the face})\cdot (\mbox{thickness})  &= (\mbox{base})^2 \cdot (\mbox{thickness})\\ &= (\sqrt{x_k})^2 \cdot \Delta x_k  = x_k \cdot \Delta x_k\end{align*} Adding up the approximate volumes of \(n\) slices, we get a Riemann sum that approximates the volume of the entire solid:\[\sum_{k=1}^{n} \, x_k \cdot \Delta x_k \ \longrightarrow \ \int_0^{4} x \, dx = \frac12x^2 \bigg|_0^4 = 8\nonumber\]so the volume of the solid is \(8\). You can check that this answer is reasonable by noticing that the solid is contained in a rectangular box with dimensions 2 by 2 by 4, which has a volume of \((2)(2)(4) = 16\).

    Example \(\PageIndex{5}\)

    Find the volume of the square-based pyramid shown below:

    A pyramid with a square base of 6 units on each side has its vertex at y=10 on the y-axis. A representative horizontal cyan-shaded square slice is shown midway up the pyramid with side s.

    Solution

    Each cut perpendicular to the \(y\)-axis yields a square face, but in order to find the area of each square we need a formula for the length of one side \(s\) of the square as a function of \(y\), the location of the cut. Using similar triangles:

    An isosceles triangle with base of length 6 on the horizontal axis and vertex at (0,10). A cyan-colored horizontal slice of width s is y units above the bade and 10-y units below the vertex.

    we know that:\[\frac{s}{10-y} = \frac{6}{10} \quad \Rightarrow \quad s = \frac{6}{10}\left(10 - y\right) = 6 - \frac35 y\nonumber\]The rest of the solution is straightforward: \[A(y) = (\mbox{side})^2 = \left[ \frac35 (10 - y) \right]^2 = \frac{9}{25} \left (100 - 20 y + y^2 \right)\nonumber\]so the volume of the solid is: \begin{align*}V &= \int_0^{10} A(y) \, dy = \int_0^{10}  \frac{9}{25} \left (100 - 20 y + y^2 \right) \, dy \\ &= \frac{9}{25} \left[100y - 10y^2 + \frac13 y^3\right]_0^{10}\\ &= \frac{9}{25}\left[\left(1000-1000+\frac{1000}{3}\right)-\left(0-0+0\right)\right] = 120\end{align*} You may recall from geometry that the formula for the volume of a pyramid is \(\displaystyle \frac13 Bh\) where \(B\) is the area of the base, which yields the same result as the definite integral: \(\displaystyle \frac13 \left(6^2\right)(10) = 120\).

    Example \(\PageIndex{6}\)

    Form a solid with a base that is the region between the graphs of \(f(x) = x+1\) and \(g(x) = x^2\) for \(0 \leq x \leq 2\) by building squares with heights (sides) equal to the vertical distance between the graphs of \(f\) and \(g\):

    A graph of a red line segment y=x+1 and blue parabolic segment y=x^2 on a [0,2]X[0,4] grid. A dashed-black vertical line segment extends upward from (2,0) to the red line. Three  purple-shaded squares perpendicular to the xy-plane each hace a side with bottom on the blue curve and top on the red line. Another x=2 has bottom on the red line and top on the blue curve.

    Find the volume of this solid.

    Solution

    The area of a square face is \(\displaystyle A(x) = \left(\mbox{side}\right)^2\) and the length of a side is either \(f(x)-g(x)\) or \(g(x)-f(x)\), depending on whether \(f(x) \geq g(x)\) or \(g(x) \geq f(x)\). We can express this side length as \(\left|f(x)-g(x)\right|\) but the side length is squared in the area formula, so \(A(x) = \left| f(x) - g(x) \right|^2 = \left(f(x)-g(x)\right)^2\). Then:
    \begin{align*}V &= \int_a^b A(x) \, dx = \int_0^2 \left(f(x) - g(x)\right)^2 \, dx = \int_0^2 \left[(x+1) - x^2 \right]^2 \, dx \\
    &= \int_0^2 \left[1 + 2x - x^2 - 2x^3 + x^4\right]\, dx \\
    &= \left[x + x^2 - \frac13 x^3 - \frac12 x^4 + \frac15 x^5\right]_0^2\end{align*} 
    which results in a volume of \(\displaystyle \frac{26}{15}\).

    Wrap-Up

    At first, all of these volumes may seem overwhelming — there are so many possible solids and formulas and different cases. If you concentrate on the differences, things can indeed seem very complicated. Instead, focus on the pattern of cutting, finding areas of faces, volumes of slices, and adding those volumes. Then reason your way to a definite integral. Try to make cuts so the resulting faces have regular shapes (rectangles, triangles, circles) whose areas you can calculate easily. Try not to let the complexity of the whole solid confuse you. Sketch the shape of one face and label its dimensions. If you can find the area of one face in the middle of the solid, you can usually find the pattern for all of the faces — and then you can easily set up the integral.

    Problems

    In Problems 1–5, compute the volume of the solid using the values provided in the table.

    1. Three rectangular boxes positioned side by side, labeled 1, 2 and 3 from left to right.
      box base height width
      1 8 6 1
      2 6 4 2
      3 3 3 1
    2. Four rectangular boxes positioned side by side, labeled 1, 2, 3 and 4 from left to right.
      box base height width
      1 8 6 1
      2 8 4 2
      3 4 3 2
      4 2 2 1
    3. Three circular cylinders positioned side by side, labeled 1, 2 and 3 from left to right.
      disk radius width
      1 4 0.5
      2 3 1.0
      3 1 2.0
    4. Three circular cylinders positioned side by side, labeled 1, 2 and 3 from left to right.
      disk diameter width
      1 8 0.5
      2 6 1.0
      3 2 2.0
    5. Three cylinders with blob-shaped faces, the left one labeled 1 and the middle one labeled 2.
      slice face area width
      1 9 0.2
      2 6 0.2
      3 2 0.2
    6. Five rock slices are embedded with mineral deposits. Use the information in the table to estimate the total rock volume.
      Five cylinders with blob-shaped faces positioned side by side, each with one or two red-shaded blobs shown on its face.
      slice face area min. area width
      1 4 1 0.6
      2 12 2 0.6
      3 20 4 0.6
      4 10 3 0.6
      5 8 2 0.6

    In Problems 7–12, represent the volume of each solid as a definite integral, then evaluate the integral.

    1. For \(0 \leq x \leq 3\), each face is a square with height \(5-x\) inches.
      A red line segment y=5-x in the first quadrant of the xy-plane with tick marks on the x-axis at 1, 2 and. Three purple-shaded squares are perpendicular to the x-axis, with their tops centered on the red line.
    2. For \(0 \leq x \leq 3\), each face is a rectangle with base \(x\) inches and height \(x^2\) inches.
      A red parabola on a [0,2]X[0,9] grid in the xy-place together with a blue line that starts at the origin and continues away from the xy-plane parallel to the x-axis. A dashed-black horizontal line extends from (0,9) to (9,9) in the xy-plane. A yellow shaded rectangle with base 3 and height 9 has its top back corner on the red curve, its bottom back corner at x=3 on the x-axis and it front bottom corner on the blue line. A similar yellow-shaded rectangle is  parallel to the first rectangle with base x and height x^2, positioned near where x=1.
    3. For \(0 \leq x \leq 4\), each face is a triangle with base \(x+1\) m and height \(\sqrt{x}\) m.
      A solid with triangular cross-sections. The base is located in the horizontal plane, bounded by the x-axis and a blue line labeled 1 + x that slants away from the origin. The solid begins at the origin and extends to a value of 4 on the x-axis. A red curve representing the function square root of x defines the height of the solid along the x-axis, rising from 0 to a maximum height of 2. Three vertical triangular cross-sections are shaded in yellow. For each triangle, the vertical side is positioned above the x-axis with a height determined by the red curve, while the base of the triangle extends horizontally to meet the blue line. The vertical axis features a tick mark at 2, connected to the end of the red curve by a dashed line. The horizontal x-axis is labeled with a 4 at its furthest point, and a tick mark of 1 is visible on the depth axis.
    4. For \(0 \leq x \leq 3\), each face is a circle with height (diameter) \(4-x\) m.
      A red line segment y=4-x is shown for x between 0 and 3 in the xy-plane with a tickmark at x=3 on the x-axis and one at y=4 on the y-axis. Four purple-shaded disks are perpendicular to the xy-plane, with a diameter extending from the x-axis to the red line. The one furthest left is at x=0 and the one furthest right is at x = 3.
    5. For \(0 \leq x \leq 4\), each face is a circle with height (diameter) \(4-x\) m.
      A red line segment y=4-x is shown for x between 0 and 4 in the xy-plane with a tickmark at x=4 on the x-axis and one at y=4 on the y-axis. Four yellow-shaded disks are perpendicular to the xy-plane, with a diameter extending from the x-axis to the red line. The one furthest left is at x=0.
    6. For \(0 \leq x \leq 2\), each face is a square with a side extending from \(y = 1\) to \(y = x+2\).
      A red line y=1 and a blue line y=x+2 are shown on a [0,2]X[0,4] grid in the xy-plane. Three purple-shaded squares perpendicular to the xy-plane have their front bottom corner on the red line and their top front corner on the blue line. The one furthest right is at x=2.
    7. Suppose \(A\) and \(B\) are solids (see below) so that every horizontal cut produces faces of \(A\) and \(B\) that have equal areas. What can we conclude about the volumes of \(A\) and \(B\)? Justify your answer.
      Solid A on the left is bounded by two blue curves and contains four representative cross-sectional slices shaded in light purple. Solid B on the right is bounded by two red curves and contains four corresponding cross-sectional slices shaded in yellow. The blue boundaries of Solid A are relatively straight and symmetrical, while the red boundaries of Solid B are more irregular and curved, giving it a slanted or skewed appearance. Horizontal dashed lines connect the cross-sections of Solid A to those of Solid B at several different levels. These lines demonstrate that at any given height, the area of the purple cross-section in Solid A is equal to the area of the yellow cross-section in Solid B.

    In Problems 14–18, represent the volume of each solid as a definite integral, then evaluate the integral.

    1. A blue line y=2x is in the xy-plane. Three yellow-shaded right triangles have their vertical side extending from the x-axis up to the blue line, with the rightmost triangle at x=3. A caption reads 'base = 1/2 height' with the base of each triangle extending out perpendicular to the xy-plane. A second blue line connects the front-most vertex of each triangle with the origin.
    2. A red curve y=1/x is shown in the xy-plane for x between 1 and 4. FOur yellow squares, the leftmost at x-1 and the rightmost at x=4, extend perpendicular from the xy-plane with caption 'base = height.' Another red curve connects the top-front corners of each square, and yet another the bottom-front corners.
    3. A red curve y=sqrt(x) is shown on a [0,4]X[0,4] grid in the xy-plane along with the blue horizontal line y=2 and another red curve that is the reflection of the first across the blue line. Four green-shaded disks labeled 'circles' are perpendicular to the xy-plane and centered on the blue line with a diameter extending between the red curves.
    4. A red curve y=sqrt(x) is shown on a [0,4]X[0,6] grid in the xy-plane along with the blue horizontal line y=3 and another red curve that is the reflection of the first across the blue line. Four green-shaded disks labeled 'circles' are perpendicular to the xy-plane and centered on the blue line with a diameter extending between the red curves.
    5. A red parabola is graphed on a [0,2]X[0,4] grid in the xy-plane between (0,0) and (2,4). Three light-blue right triangles, the rightmost at x=2, extend perpendicular from the xy-plane with the label 'height = x^2,' and a blue line segment connecting their bottom-front vertices to the origin with the label 'base = x.'

    In Problems 19–28, represent the volume of each solid as a definite integral, then evaluate the integral.

    1. The base of a solid is the region between one arch of the curve \(y = \sin(x)\) and the \(x\)-axis, and cross-sections (“slices”) of the solid perpendicular to the base (and to the \(x\)-axis) are squares.
    2. The base of a solid is the region in the first quadrant bounded by the \(x\)-axis, the \(y\)-axis and the curve \(y = \cos(x)\), and cross-sections (“slices”) of the solid perpendicular to the base (and to the \(x\)-axis) are squares.
    3. The base of a solid is the region in the first quadrant bounded by the \(x\)-axis, the \(y\)-axis and the curve \(y = \cos(x)\), and slices perpendicular to the base (and to the \(x\)-axis) are semicircles.
    4. The base of a solid is the region between one arch of the curve \(y = \sin(x)\) and the \(x\)-axis, and slices perpendicular to the base (and to the \(x\)-axis) are equilateral triangles.
    5. The base of a solid is the region bounded by the parabolas \(y = x^2\) and \(y = 3+x-x^2\), and slices perpendicular to the base (and to the \(x\)-axis) are:
      1. squares.
      2. semicircles.
      3. rectangles twice as tall as they are wide.
      4. isosceles right triangles with a hypotenuse in the base of the solid.
    6. The base of a solid is the first-quadrant region bounded by the \(y\)-axis, the curve \(y = \sin(x)\) and the curve \(y = \cos(x)\), and slices perpendicular to the base (and to the \(x\)-axis) are:
      1. squares.
      2. semicircles.
      3. rectangles twice as tall as they are wide.
      4. isosceles right triangles with a hypotenuse in the base of the solid.
    7. The base of a solid is the region bounded by the \(x\)-axis, the \(y\)-axis and the parabola \(y = 8-x^2\), and slices perpendicular to the base (and to the \(y\)-axis) are squares.
    8. The base of a solid is the region bounded by the \(x\)-axis, the line \(y = 3\) and the parabola \(y = 8-x^2\), and slices perpendicular to the base (and to the \(y\)-axis) are squares.
    9. The base of a solid is the region bounded below by the line \(y = 1\), on the left by the line \(x = 2\) and above by the parabola \(y = 8-x^2\), and slices perpendicular to the base (and to the \(y\)-axis) are semicircles.
    10. The base of a solid is the region bounded below by the line \(y = 1\), on the left by the line \(x = 2\) and above by the parabola \(y = 8-x^2\), and slices perpendicular to the base (and to the \(x\)-axis) are semicircles.
    11. Calculate:
      1. the volume of the right solid in the figure:
        The top diagram, titled "parallel squares," shows a solid with a uniform rectangular shape. It features five identical light-purple square cross-sections arranged along a horizontal axis. The vertical axis is labeled y and reaches a constant height of H, while the horizontal axis extends to a length of L. The bottom diagram, titled "growing squares," shows a wedge-shaped solid. The vertical height starts at the origin (0,0) and increases linearly as it moves along the horizontal axis. A dashed line indicates the constant height H. Four light-purple square cross-sections are shown, each one progressively larger than the one before it. The final square at the length L is the largest, creating a solid that expands in size as the x-value increases.
      2. the volume of the “right cone” in the bottom figure and
      3. the ratio of the “right cone” volume to the right solid volume.
    12. Calculate:
      1. the volume of the right solid in the top figure below:
        The top diagram, titled "same size circles," depicts a cylinder. It shows five identical yellow circular cross-sections spaced evenly along a horizontal axis. The vertical axis is labeled y and marks a constant height H, representing the diameter of the circles. The horizontal axis extends to a total length of L. The bottom diagram, titled "growing circles," illustrates a cone. The diameter of the circles starts at zero at the origin and increases linearly as it moves along the horizontal axis. A dashed line indicates the  height H, which the solid reaches only at its furthest point. Four yellow circular cross-sections are shown, each growing progressively larger from left to right. The final and largest circle is located at the length L, resulting in a solid that tapers to a point at the origin.
      2. the volume of the “right cone” in the bottom figure above.
      3. the ratio of the “right cone” volume to the right solid volume.
    13. Calculate
      1. the volume of the right solid in the top figure below:
        The top diagram, titled "same size blobs," shows a solid with a uniform but irregular cross-section. It features five identical light-blue, irregularly shaped cross-sections (the "blobs") arranged along a horizontal axis. The vertical axis is labeled y and marks a height H, which remains constant across the length of the solid. The horizontal axis extends to a total length of L. The bottom diagram, titled "growing blobs," illustrates a solid that tapers to a point. The irregular cross-sections start at zero at the origin and increase in size as they move along the horizontal axis. A dashed line indicates the height H, which the largest blob reaches only at the far end of the axis. Four light-blue blobs are shown, each growing progressively larger from left to right. The final and largest blob is located at the length L, resulting in a cone-like solid.
        if each “blob” has area \(B\)
      2. the volume of the “right cone” in the bottom figure above, using “similar blobs” to conclude that the cross-section \(x\) units from the \(y\)-axis has area \(\displaystyle A(x) = \frac{B}{L^2}x^2\)
      3. the ratio of the “right cone” volume to the right solid volume.
    14. “Personal calculus”: Describe a practical way to determine the volume of your hand and arm up to the elbow.

    5.1: Volumes by Slicing is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?