Example 4.1.2.
Find the volume of the solid between the surface \(z=5-2x^2-3y^2\) and the xy-plane (\(z=0\)).
First we determine what function we will integrate. For a volume calculation we integrate \(1 dx \; dy \; dz\text{.}\) See later examples for why we would integrate something else.
The next thing we need determine is the region over which we will be integrating. These become the bounds of the integral.
We know the shape of both parts, but need to determine how they connect, that is, where the two surfaces intersect. Both are solved in terms of \(z\text{,}\) so we can simply setup up the equation \(0=5-2x^2-3y^2\text{.}\) Note this is an ellipse in terms of \(x\) and \(y\text{.}\) It will define the x and y bounds of the integral. Because the \(z=0\) is the lowest possible \(z\) value, that is the bottom of the shape and the other surface is the top.
Due to symmetries of this shape in \(x\) and \(y\) and that the vertical always has the same top and bottom, we can chose to integrate in any order. We choose x then y then z.
Because the plane is on the bottom (a \(z\) property) the bounds for \(x\) and \(y\) are determined solely by the surface. We can solve the surface equation for x.
\begin{align*}
z = & 5-2x^2-3y^2\\
2x^2 = & 5-3y^2-z\\
x^2 = & \frac{5-3y^2-z}{2}\\
x = & \pm \sqrt{\frac{5-3y^2-z}{2}}
\end{align*}
Two solutions makes sense because we need both a back (the negative in this case) and a front (the positive in this case). The first part of the integral will be
\begin{equation*}
\int_{-\sqrt{\frac{5-3y^2-z}{2}}}^{\sqrt{\frac{5-3y^2-z}{2}}} dx
\end{equation*}
For the y bounds we need all possible y values without respect to the x value, that is at each height (z value) what the y values can be. This means we need the smallest and biggest y values. In this case we know the cross section is an ellipse and so the biggest and smallest y values occur when \(x=0\text{.}\) Using this we can solve the surface equation for the y bounds.
\begin{align*}
z = & 5-2 0^2-3y^2\\
3y^2 = & 5-z\\
y^2 = & \frac{5-z}{3}\\
y = & \pm \sqrt{\frac{5-z}{3}}
\end{align*}
Again two solutions makes sense because we need both a left and a right bound. Our integral is now
\begin{equation*}
\int_{-\sqrt{\frac{5-z}{3}}}^{\sqrt{\frac{5-z}{3}}} \int_{-\sqrt{\frac{5-3y^2-z}{2}}}^{\sqrt{\frac{5-3y^2-z}{2}}} dx \; dy
\end{equation*}
Finally we determine the z bounds. In this case we know the plane \(z=0\) is always the bottom and the surface determines the top. We need all possible z values without respect to x or y. In this case we can see that the highest value occurs in the center (\(x=0\text{,}\) \(y=0\)). Plugging this into the surface equation we obtain \(z=5-2(0^2)-3(0^2)=5\text{.}\)
The final integral is
\begin{equation*}
\int_0^5 \int_{-\sqrt{\frac{5-z}{3}}}^{\sqrt{\frac{5-z}{3}}} \int_{-\sqrt{\frac{5-3y^2-z}{2}}}^{\sqrt{\frac{5-3y^2-z}{2}}} dx \; dy \; dz
\end{equation*}