
John H. answered 02/21/20
Expert in the cognitive science of learning
There are two ways to do this. One way is to think about the volume of each cross section. Since the volume of a square is just its length squared, and you know the length of one side is y, the volume for each one is just y2, or just (4 − x2). So you can set up your integral:
∫ from -2 to 2 of (4 − x2) dx
And then just apply the rules of exponent integration, and you get 4x -x3/3 evaluated from -2 to 2.
Another way you can do it is to use double integrals. (I actually typed this out before I realized this was probably an early Calc 2 problem and went back to write the first part. So if you haven't been introduced to double integrals yet, this will just be a preview of what's coming.)
Because the cross sections are squares, their height will just be the same as their length, so you can describe the surface of this shape as:
z = y = √(4 − x2)
Now you can set it up as the integral
∫∫ z dA = ∫ from -2 to 2 ∫ from 0 to √(4 − x2) of z dy dx
For the inner integral, you are integrating relative to y, so it just becomes y*√(4 − x2) evaluated from 0 to √(4 − x2), which just reduces to (4 − x2). So now you have,
∫ from -2 to 2 of (4 − x2) dx
Just apply the rules of exponent integration, and you get 4x -x3/3 evaluated from -2 to 2.