Shared05 - Volume part 2 Assignment / Volume part 2 Notes.sagewsOpen in CoCalc
This material was developed by Aaron Tresham at the University of Hawaii at Hilo and is

### Prerequisites:

• Intro to Sage
• Graphing and Solving Equations
• Symbolic Integration
• Volume, Part 1

# Volume, part 2: Solids of Revolution

Recall from last week: If a solid is placed along the x-axis from to and the area of the cross section perpendicular to the x-axis at is , then the volume of the solid is .

If the solid may be obtained by rotating a plane region around an axis in that plane, we get a "solid of revolution."

If a solid of revolution is obtained by rotating around the x-axis the region between the graph of a function and the x-axis over the interval , then the cross section perpendicular to the x-axis at is a disk with area , where the radius is . Therefore, the volume of this solid is

## Example 1

Find the volume of the solid obtained by rotating around the x-axis the region between and the x-axis from to .

First, let's look at a graph of the region we're rotating.

f(x)=sqrt(x)
plot(f,xmin=0,xmax=4,fill='axis')


Sage can plot the surface we get by rotating the curve only. To get the solid, imagine filling in this surface.

3D rendering not yet implemented

The volume of this solid is .

integral(pi*x,x,0,4)

8*pi

## Example 2

Find the volume of the solid obtained by rotating around the horizontal line the region between and the line over the interval .

Here is a graph of the region we're rotating.

f(x)=sqrt(x)
g(x)=1
plot(f,xmin=1,xmax=4,fill=g(x))+plot(g,xmin=0,xmax=5,color='black',ymin=0,linestyle='--')


Once again, the cross sections perpendicular to the axis of rotation are disks. However, the radius is not given by the value of the function; instead, the radius is the distance from the axis of rotation to the function, i.e., .

Thus, the volume is .

integral(pi*(sqrt(x)-1)^2,x,1,4)

7/6*pi

Here is the 3D picture. Imagine the cone-shaped thing is filled in.

3D rendering not yet implemented

## Rotating around the y-axis

If we rotate the region between a curve and the y-axis and our axis of rotation is the y-axis, then we need given as a function of , . When we take cross sections perpendicular to the y-axis, we get disks again, and the radius of the disk is given by . Thus, the volume of the solid of revolution is

## Example 3

Find the volume of the solid obtained by rotating around the y-axis the region between and the y-axis from to .

Here is a graph of the region.

plot(sqrt(x),xmin=0,xmax=4,fill=2)


We are given as a function of , but we need as a function of . So we solve the equation for : .

Then the volume of our solid is .

%var y
integral(pi*y^4,y,0,2)

32/5*pi

Here is a picture of the surface.

3D rendering not yet implemented

## The Washer Method

In the previous example, cross sections perpendicular to the axis of rotation were disks, because the region we were rotating touched the axis of rotation.

If there is a gap between our region and our axis of rotation, then the resulting cross sections are not disks, instead they are annuli (singular, annulus). An annulus is the region between two circles in the same plane, like a washer.

If the outer circle has radius and the inner circle has radius , then the area of the annulus is .




Here is a picture of an annulus with outer radius 2 and inner radius 1. Its area is .

If we form a solid of revolution by rotating around the x-axis the region between two functions and from to , then the cross sections perpendicular to the x-axis are annuli, where the outer radius is given by whichever function is greater and the inner radius is given by the other function.

Let's assume for . Then the area of an annular cross section is , and the volume of the solid is

## Example 4

Find the volume of the solid obtained by rotating around the x-axis the region between and over the interval .

First, notice that is the function on top on this interval (that is, for all in ).

f(x)=sqrt(x)
g(x)=x^2
plot(f,xmin=0,xmax=1,fill=g(x))+plot(g,xmin=0,xmax=1,color='red')


Now the value of the integral is .

integral(pi*x-pi*x^4,x,0,1)

3/10*pi

Here is a picture (the solid is between the green and blue surfaces).

3D rendering not yet implemented

## Example 5

Let's rotate the same region around the horizontal line and find the new volume.

plot(f,xmin=0,xmax=1,fill=g(x))+plot(g,xmin=0,xmax=1,color='red')+plot(2,xmin=-.2,xmax=1.2,color='black',linestyle='--')


Cross section perpendicular to the line are annuli again.

The outer radius is the distance from the center () to the function that's furthest away from the center (in this case, ). This distance is .

The inner radius is the distance from the center to the closest function (in this case, ). This distance is .

Therefore, the volume is .

integral(pi*(2-x^2)^2-pi*(2-sqrt(x))^2,x,0,1)

31/30*pi
3D rendering not yet implemented

## Example 6

Find the volume of the solid obtained by rotating around the vertical line the region between and from to .

Here's the region:

f(x)=2*x+1
g(x)=x^2+1
plot(f,xmin=0,xmax=2,fill=g(x))+plot(g,xmin=0,xmax=2,color='red')+line([(4,0),(4,5.1)],color='black',linestyle='--')


Now we need to take cross sections perpendicular to the line . When we do so, we get annuli. That is, we cut the solid at a given value of to get a annulus. So we need to integrate in the y-direction, which means we need everything in terms of y.

If , then . If , then . When , then , and when , then .

The outer radius of a cross section is the horizontal distance from to the function furthest away, which is . This distance is .

The inner radius is the horizontal distance from to the closest function, which is . This distance is .

Therefore, the volume is .

%var y
integral (pi*(4-(y-1)/2)^2-pi*(4-sqrt(y-1))^2,y,1,5)

8*pi

Here is a picture.

3D rendering not yet implemented

## Example 7

Find the volume of the solid obtained by rotating around the x-axis the region between and from and .

Here is the region:

f(x)=sin(x)+1
g(x)=cos(x)+1
plot(f,xmin=-3*pi/4,xmax=5*pi/4,fill=g(x),ticks=pi/4,tick_formatter=pi)+plot(g,xmin=-3*pi/4,xmax=5*pi/4,color='red')


Cross sections perpendicular to the x-axis are annuli.

The outer radius is given by the function on top. In this example, the function on top actually changes. This happens when the two functions cross at [How do we know this is where they cross?]. Of course, the function on the bottom changes as well.

We need to break our problem into two parts:

1. From to , is on top and is on the bottom.

2. From to , these are switched.

So the volume is .

integral(pi*(cos(x)+1)^2-pi*(sin(x)+1)^2,x,-3*pi/4,pi/4)+integral(pi*(sin(x)+1)^2-pi*(cos(x)+1)^2,x,pi/4,5*pi/4)

8*sqrt(2)*pi
3D rendering not yet implemented

## Example 8 - Two Functions with a Gap

Find the volume of the solid obtained by rotating around the vertical line the region between the curves and from to .

Here is a picture of the region. Notice the gap between the two functions.

f(x)=x^2
g(x)=2*x+4
plot(f,xmin=0,xmax=2,color='red')+plot(g,xmin=0,xmax=2,fill=f)+line([(3,0),(3,8)],linestyle='dashed',color='black')


Since we are rotating around a vertical line, we need to integrate in the y-direction, and since there is a gap between the two functions, the outer and inner radius are not given by the same functions the entire time.

From to , the outer radius is a constant , while the inner radius is .

From to , the outer radius is , and the inner radius is a constant .

Thus, we need to do two integrals and add them together.

%var y
integral(pi*3^2-pi*(3-sqrt(y))^2,y,0,4)+integral(pi*(3-(1/2*y-2))^2-pi*1^2,y,4,8)

112/3*pi

## Summary

To find volumes for solids of revolution:

• Draw a picture of the region to be rotated and indicate the axis of rotation.

• If you're rotating around the x-axis or another horizontal line, then you will integrate with respect to x. You need functions in terms of x and x-values for the limits of integration.

• If you're rotating around the y-axis or another vertical line, then you will integrate with respect to y. You need functions in terms of y and y-values for the limits of integration.

• Decide if your cross sections are disks or annuli. Is there a gap between the region to be rotated and the axis of rotation? Then you have annuli.

• Determine the radius for a disk or the outer and inner radii for an annulus.

• Integrate!

Final Hint: If you get a negative volume for a washer question, you probably reversed the inner and outer radii.