Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download
Project: Math 242
Views: 242
This material was developed by Aaron Tresham at the University of Hawaii at Hilo and is Creative Commons License
licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Prerequisites:

  • Intro to Sage

  • Symbolic Integration

Volume

Our goal is to find the volume of a three-dimensional object. We'll start with the simplest figure, a right cylindrical solid.

Definition: A right cylindrical solid consists of a plane region B1 (called the "base"), a congruent region B2 in a parallel plane, and all points on line segments that are perpendicular to B1 and that join B1 and B2.

Here's an example picture:

The base could be any shape in a plane. If the base is a rectangle, we get a rectangular box. If the base is a polygon, we get a prism. If the base is a circle, we get a (circular) cylinder. If the base is an amoeba-shaped blob, then we get ... something.

The key fact about cylindrical solids is that they have congruent cross sections (when you cut parallel to the base).

A cross section is the intersection of the solid and a plane. If you take a plane parallel to the base that intersects the solid, then the intersection is a plane region congruent to the base.

It is easy to compute the volume of a cylindrical solid: simply multiply the area of the base and the height. So if A=A= area of base and h=h= height, then the volume is V=AhV=A\cdot h.

Of course, most solids are not cylindrical. How do we find the volume of different kinds of solids? The strategy is to cut the solid into pieces and approximate each piece with a cylindrical solid. Find the volume of these approximations and add up all the results. This gives you an approximation for the volume of the whole solid. You can improve the approximation by increasing the number of pieces.

Example 1

To find the volume of a loaf of bread, cut it into slices and approximate the volume of each slice (V=V= area of face times width of slice).

Let's make this idea more mathematical.

  • Orient the solid SS along the x-axis between x=ax=a and x=bx=b.

  • Divide the interval [a,b][a,b] into nn subintervals of equal width Δx=ban\Delta x=\frac{b-a}{n}.

  • Label the endpoints of the intervals in order: a=x0,x1,x2,,xn=ba=x_0, x_1, x_2,\ldots,x_n=b. [Is this sounding familiar?]

  • Let A(x)A(x) be the area of the cross section of SS obtained by intersecting SS with the plane perpendicular to the x-axis that includes xx.

  • Approximate the volume of the portion of SS between xix_i and xi+1x_{i+1} by Vi=A(xi)ΔxV_i=A(x_i)\cdot \Delta x. That is, treat this portion as a cylindrical solid with base area A(xi)A(x_i) and height Δx=xi+1xi\Delta x = x_{i+1}-x_i.

  • Add up all the approximations to get an estimate for the volume of SS: Vi=0n1Vi=i=0n1A(xi)ΔxV\approx\displaystyle\sum_{i=0}^{n-1} V_i=\sum_{i=0}^{n-1}A(x_i)\cdot\Delta x.

  • Notice that this is a Riemann sum! To get the actual volume, take the limit as nn\to\infty. When you take a limit of Riemann sums, you get an integral.

  • Therefore, V=abA(x)dx\displaystyle V=\int_a^bA(x)\, dx.

Example 2

Find the volume of a sphere of radius rr.

Solution: Put the center of the sphere at the origin. On the x-axis, the sphere starts at a=ra=-r and ends at b=rb=r. A cross section perpendicular to the x-axis is a circle whose radius is the y-value of the sphere at that point.

Take a cross section perpendicular to the x-axis at xx. The point on the sphere directly above xx is (x,y,0)(x,y,0), for some y>0y>0 (we're right above xx, so z=0z=0). This point is the very top of the circular cross section.

The equation of the sphere is x2+y2+z2=r2x^2+y^2+z^2=r^2, so for the point (x,y,0)(x,y,0) we have x2+y2=r2x^2+y^2=r^2. Solving for yy, we get y=r2x2\displaystyle y=\sqrt{r^2-x^2} (remember y>0y>0).

This yy is the radius of the cross section, so using the area formula for a circle we see that the area of our cross section is A(x)=πy2=π(r2x2)2=π(r2x2)\displaystyle A(x)=\pi y^2=\pi\left(\sqrt{r^2-x^2}\right)^2=\pi(r^2-x^2).

Thus, the volume of the sphere is V=rrA(x)dx=rrπ(r2x2)dx\displaystyle V=\int_{-r}^rA(x)\, dx=\int_{-r}^r\pi(r^2-x^2)\, dx.

Let's have Sage compute this (although this is not a hard integral; rr is a constant, so we're integrating a quadratic function).

%var r integral(pi*(r^2-x^2),x,-r,r) #integral(function, variable, lower limit, upper limit)
4/3*pi*r^3

So, V=43πr3V=\frac{4}{3}\pi r^3. That's just what we expect from Geometry.

Example 3

Find the volume of a right pyramid whose base is a square with sides of length 10 and whose height is 5.

Solution: Put the vertex of the pyramid at the origin and the x-axis along its central axis (so the x-axis goes right through the center of the square). Thus a=0a=0 and b=5b=5.

Take a cross section perpendicular to the x-axis at xx. This cross section is a square.

If the we call the length of the sides of the cross section ss, then the area of the cross section is s2s^2. But we need to find the area of this cross section in terms of xx.

Consider the line through (0,0)(0,0) and (5,5)(5,5). This line has equation y=xy=x. When we take a cross section at some xx, then the point (x,x)(x,x) is at the very top, and the length of one side of the cross section is twice xx, i.e., s=2xs=2x.

Here is a side view:

So the area of the cross section is A(x)=s2=(2x)2=4x2A(x)=s^2=(2x)^2=4x^2.

Thus, the volume of the pyramid is V=054x2dx=5003\displaystyle V=\int_0^54x^2\, dx=\frac{500}{3}.

integral(4*x^2,x,0,5)
500/3

Example 4

Find the volume of the solid whose base is an elliptical region with boundary curve 9x2+4y2=369x^2+4y^2=36 when the cross sections perpendicular to the x-axis are isosceles right triangles with hypotenuse in the base.

Here's a picture of the base. Imagine a solid sticking up out of this ellipse.

%var y implicit_plot(9*x^2+4*y^2==36,(x,-3,3),(y,-3,3))

Solution: The cross section perpendicular to the x-axis through the point (x,y)(x,y) with y>0y>0 on the ellipse is an isosceles right triangle. The hypotenuse is in the base - it has length 2y2y. Let's call the length of the legs ss.

The Pythagorean Theorem gives s2+s2=(2y)2s^2+s^2=(2y)^2, or 2s2=4y2=369x22s^2=4y^2=36-9x^2 (from the equation of the ellipse).

The area of the cross section is A=12bh=12s2=14(369x2)A=\frac{1}{2}bh=\frac{1}{2}s^2=\frac{1}{4}(36-9x^2).

Thus, the volume is V=2214(369x2)dx=24\displaystyle V=\int_{-2}^{2}\frac{1}{4}(36-9x^2)\, dx=24.

integral(1/4*(36-9*x^2),x,-2,2)
24

This approach to volume is an example of a very common strategy: break up a complicated problem into small pieces, approximate the answer for the small pieces using something we understand, combine all the approximations, then increase the number of pieces. There are many examples in which this strategy results in an integral.

Next week we'll find the volume of solids of revolution using this cross-section approach.