Welcome to the jungle. We won't find any scrumptious sweets here, unless our jungle is in the middle of Oz. Our well-being depends on us being able to tackle finding volumes of more complicated objects, including pyramids, cones, and spheres.
If we just stand here helpless, we are vulnerable to an attack by a swarm of killer bees. We are going to jump right in to our voyage and see if we can integrate some of these shapes.
Find an integral expression for the volume of a pyramid whose height is 7 and whose base is square with sides of length 5.
The pyramid looks like:
If we slice the pyramid horizontally, we get a square slice:
We can use h as the variable of integration, where h measures the distance from the top of the pyramid to the slice. Then the thickness of the slice is Δ h. To find the side-length of the square, we can cut the pyramid straight down the middle from top to bottom and behold the similar triangles.
Let's have x be the length of the side of the square. Using similar triangles,
The area of the square is
so the volume of the slice at height h is
The volume of the pyramid is
To find the volume of a cone, we do the same thing except that the slices are now circles instead of squares. We use similar triangles to find the radius of each slice. The only difference is that we'd rather eat ice cream out of a cone instead of a pyramid.
Finally we come to the spheres. This is shaped like that baseball your threw at your brother's head when you were five. All these years later, he's still mad about it. And this calculus section is karma's way of repaying the favor.
It turns out that spheres just aren't that complicated. Whether we slice a sphere horizontally or vertically we get circular slices.
First, we need an equation for these circles. The equation of a sphere centered at the origin is
x2 + y2 + z2 = r2.
If we set any one of those variables to 0, the remaining variables satisfy the equation for a circle. For example, if z = 0 then
x2 + y2 = r2.