# 9.3: Volume

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.

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

Example 9.3.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 9.3.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. The solid has been truncated to show a triangular cross-section above \(x = 1/2\). Find the volume of the solid.

**Figure 9.3.2.** Solid with equilateral triangles as cross-sections. (AP)

**Solution**

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

\[\dfrac{1}{2} (base)(height) = (1-x_i^2)\sqrt{3}(1-x_i^2) , \]

and the volume of a thin "slab" is then

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

Thus the total volume is

\[\int_{-1}^1 \sqrt{3} (1-x^2)^2 dx = \dfrac{16}{15} \sqrt{3} \]

One easy way to get "nice" cross-sections is by rotating a plane gure 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.

**Figure 9.3.3.** A solid of rotation. (AP)

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 9.3.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} \]

*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 9.3.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 cross-section perpendicular to the x-axis.

**Solution**

We have already computed the volume of a cone; in this case it is \(\dfrac{\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 (x^2)^2 dx = \int_0^1 \pi x^4 dx =\pi \dfrac{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.

Figure 9.3.5 Solid with a hole, showing the outer cone and the shape to be removed to

form the hole. (AP)

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_061 \pi x^2 -\pi x^4 dx = \pi \left( \dfrac{x^3}{3}-\dfrac{x^5}{5} \right)\Big|_0^1 = \pi \left(\dfrac{1}{3} - \dfrac{1}{5}\right) = \dfrac{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 gure 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:

∫ 1

0

(1 +

p

y)2 �� (1 ��

p

y)2 dy +

∫ 4

1

(1 +

p

y)2 �� (y �� 1)2 dy =

8

3

+

65

6

=

27

2

:

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 xi. Imagine that we cut the shell vertically in one place and \unroll"

it into a thin,

at sheet. This sheet will be almost a rectangular prism that is Δx thick,

f(xi) �� g(xi) tall, and 2xi 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: 2xi(f(xi) �� g(xi))Δx. If we add these up and take the limit as usual,

we get the integral

∫ 3

0

2x(f(x) �� g(x)) dx =

∫ 3

0

2x(x + 1 �� (x �� 1)2) dx =

27

2

:

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.

0 1 2 3

0

1

2

3

4

0 1 2 3

0

1

2

3

4

Figure 9.3.6 Computing volumes with \shells". (AP)

Example 9.3.5

Suppose the area under y = ��x2 + 1 between x = 0 and x = 1 is

rotated around the x-axis. Find the volume by both methods.

Disk method:

∫ 1

0

(1 �� x2)2 dx =

8

15

.

Shell method:

∫ 1

0

2y

√

1 �� y dy =

8

15

.