Skip to main content
Mathematics LibreTexts

9.3: Volume

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

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

    \( \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}\)

    We have seen how to compute certain areas by using integration; some volumes may also be computed by evaluating an integral. Generally, the volumes that we can compute this way have cross-sections that are easy to describe.

    alt

    Figure 9.3.1. Volume of a pyramid approximated by rectangular prisms. (AP)

    Example \(\PageIndex{1}\)

    Find the volume of a pyramid with a square base that is 20 meters tall and 20 meters on a side at the base.

    Solution

    As with most of our applications of integration, we begin by asking how we might approximate the volume. Since we can easily compute the volume of a rectangular prism (that is, a \box"), we will use some boxes to approximate the volume of the pyramid, as shown in figure 9.3.1: on the left is a cross-sectional view, on the right is a 3D view of part of the pyramid with some of the boxes used to approximate the volume.
    Each box has volume of the form \((2xi)(2xi)\Delta y\). Unfortunately, there are two variables here; fortunately, we can write \(x\) in terms of \(y\): \(x = 10 - y/2\) or \(xi = 10 - yi/2\). Then the total volume is approximately

    \[ \sum_{i=0}^{n-1} 4 (10-y_i/2)^2 \Delta y \]

    and in the limit we get the volume as the value of an integral:

    \[ \int_{0}^{20} 4 (10-y/2)^2 dy = \int_{0}^{20} (20-y)^2 dy = -\dfrac{(20-y)^3}{3} \Big|_{0}^{20} = -\dfrac{0^3}{3} - - \dfrac{20^3}{3}= \dfrac{8000}{3}\]

    As you may know, the volume of a pyramid is \((1=3)(\text{height})(\text{area of base}) = (1=3)(20)(400)\), which agrees with our answer.

    Example \(\PageIndex{2}\)

    The base of a solid is the region between \(f(x)=x^2-1\) and \(g(x)=-x^2+1\), and its cross-sections perpendicular to the \(x\)-axis are equilateral triangles, as indicated in figure 9.3.2. Find the volume of the solid.

    clipboard_e2732c72d4a013aa908158326f1b547a4.png
    Figure \(\PageIndex{2}\): Solid with equilateral triangles as cross-sections. You can see how to plot something like this in Sage, although to understand what is going on you'll need to understand section 16.6.
    Solution

    A cross-section at a value \(x_i\) on the \(x\)-axis is a triangle with base \(2\left(1-x_i^2\right)\) and height \(\sqrt{3}\left(1-x_i^2\right)\), so the area of the cross-section is

    \[\frac{1}{2}(\text { base })(\text { height })=\left(1-x_i^2\right) \sqrt{3}\left(1-x_i^2\right)\]

    and the volume of a thin "slab" is then

    \[\left(1-x_i^2\right) \sqrt{3}\left(1-x_i^2\right) \Delta x .\]

    Thus the total volume is

    \[\int_{-1}^1 \sqrt{3}\left(1-x^2\right)^2 d x=\frac{16}{15} \sqrt{3} .\]

    One easy way to get "nice" cross-sections is by rotating a plane figure around a line. For example, in figure 9.3.3 we see a plane region under a curve and between two vertical lines; then the result of rotating this around the \(x\)-axis, and a typical circular cross-section.

    clipboard_e3b3093b40f6fe86fe63e29b2ab0d11ac.png
    Figure \(\PageIndex{3}\): A solid of rotation.
    Of course a real "slice" of this figure will not have straight sides, but we can approximate the volume of the slice by a cylinder or disk with circular top and bottom and straight sides; the volume of this disk will have the form \(\pi r^2 \Delta x\). As long as we can write \(r\) in terms of \(x\) we can compute the volume by an integral.
    Example \(\PageIndex{3}\)

    Find the volume of a right circular cone with base radius 10 and height 20. (A right circular cone is one with a circular base and with the tip of the cone
    directly over the center of the base.)

    We can view this cone as produced by the rotation of the line \(y = x/2\) rotated about the x-axis, as indicated in figure 9.3.4.
    At a particular point on the x-axis, say xi, the radius of the resulting cone is the
    y-coordinate of the corresponding point on the line, namely \(y_i = xi/2\). Thus the total
    volume is approximately

    \[ \sum_{i=0}^{n-1} \pi (x_i/2)^2 dx \]

    and the exact volume is

    \[\int_{0}^{20} \pi \dfrac{x^2}{4} dx = \dfrac{\pi}{4} \dfrac{20^3}{3}= \dfrac{2000\pi}{3} \]

    A region that generates a cone; approximating the volume by circular disks.
    Figure 9.3.4. A region that generates a cone; approximating the volume by circular disks.
    (AP)

    Note that we can instead do the calculation with a generic height and radius:

    \[ int_{0}^h \pi \dfrac{r^2}{h^2}x^2 dx = \dfrac{\pi r^2}{h^2}\dfrac{h^3}{3} = \dfrac{\pi r^2 h }{3}, \]

    giving us the usual formula for the volume of a cone.

    Example \(\PageIndex{4}\)

    Find the volume of the object generated when the area between \(y=x^2\) and \(y=x\) is rotated around the \(x\)-axis. This solid has a "hole" in the middle; we can compute the volume by subtracting the volume of the hole from the volume enclosed by the outer surface of the solid. In figure 9.3.5 we show the region that is rotated, the resulting solid with the front half cut away, the cone that forms the outer surface, the horn-shaped hole, and a crosssection perpendicular to the \(x\)-axis.

    clipboard_e87bf5e99900170bd6cb8b3b31b1417e9.png
    Figure \(\PageIndex{5}\): Solid with a hole, showing the outer cone and the shape to be removed to form the hole. (AP)

    We have already computed the volume of a cone; in this case it is \(\pi / 3\). At a particular value of \(x\), say \(x_i\), the cross-section of the horn is a circle with radius \(x_i^2\), so the volume of the horn is

    \[\int_0^1 \pi\left(x^2\right)^2 d x=\int_0^1 \pi x^4 d x=\pi \frac{1}{5}\]

    so the desired volume is \(\pi / 3-\pi / 5=2 \pi / 15\).
    As with the area between curves, there is an alternate approach that computes the desired volume "all at once" by approximating the volume of the actual solid. We can approximate the volume of a slice of the solid with a washer-shaped volume, as indicated in figure 9.3.5.

    The volume of such a washer is the area of the face times the thickness. The thickness, as usual, is \(\Delta x\), while the area of the face is the area of the outer circle minus the area of the inner circle, say \(\pi R^2-\pi r^2\). In the present example, at a particular \(x_i\), the radius \(R\) is \(x_i\) and \(r\) is \(x_i^2\). Hence, the whole volume is

    \[\int_0^1 \pi x^2-\pi x^4 d x=\left.\pi\left(\frac{x^3}{3}-\frac{x^5}{5}\right)\right|_0 ^1=\pi\left(\frac{1}{3}-\frac{1}{5}\right)=\frac{2 \pi}{15}\]

    Of course, what we have done here is exactly the same calculation as before, except we have in effect recomputed the volume of the outer cone.

    Suppose the region between \(f(x)=x+1\) and \(g(x)=(x-1)^2\) is rotated around the \(y\)-axis; see figure 9.3.6. It is possible, but inconvenient, to compute the volume of the resulting solid by the method we have used so far. The problem is that there are two "kinds" of typical rectangles: those that go from the line to the parabola and those that touch the parabola on both ends. To compute the volume using this approach, we need to break the problem into two parts and compute two integrals:

    \[\pi \int_0^1(1+\sqrt{y})^2-(1-\sqrt{y})^2 d y+\pi \int_1^4(1+\sqrt{y})^2-(y-1)^2 d y=\frac{8}{3} \pi+\frac{65}{6} \pi=\frac{27}{2} \pi\]

    If instead we consider a typical vertical rectangle, \{but still rotate around the \(y\)-axis, \} we get a thin "shell" instead of a thin "washer". If we add up the volume of such thin shells we will get an approximation to the true volume. What is the volume of such a shell? Consider the shell at \(x_i\). Imagine that we cut the shell vertically in one place and "unroll" it into a thin, flat sheet. This sheet will be almost a rectangular prism that is \(\Delta x\) thick, \(f\left(x_i\right)-g\left(x_i\right)\) tall, and \(2 \pi x_i\) wide (namely, the circumference of the shell before it was unrolled). The volume will then be approximately the volume of a rectangular prism with these dimensions: \(2 \pi x_i\left(f\left(x_i\right)-g\left(x_i\right)\right) \Delta x\). If we add these up and take the limit as usual, we get the integral

    \[\int_0^3 2 \pi x(f(x)-g(x)) d x=\int_0^3 2 \pi x\left(x+1-(x-1)^2\right) d x=\frac{27}{2} \pi\]

    Not only does this accomplish the task with only one integral, the integral is somewhat easier than those in the previous calculation. Things are not always so neat, but it is often the case that one of the two methods will be simpler than the other, so it is worth considering both before starting to do calculations.

    clipboard_ec3abb1b66b1ec5ea44f31382491ebdff.png
    Figure \(\PageIndex{6}\): Computing volumes with \shells". (AP)

    Contributors and Attributions


    This page titled 9.3: Volume is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by David Guichard via source content that was edited to the style and standards of the LibreTexts platform.