Examples

Example 3.1.2   Find the area enclosed by $ y=x+1$, $ y=9-x^2$, $ x=-1$, $ x=2$.
Figure 3.1.1: What is the enclosed area?
% latex2html id marker 12424
\includegraphics[width=0.6\textwidth]{graphs/example_curve_area1}

   Area$\displaystyle = \int_{-1}^2 \Bigl[(9-x^2) - (x+1)\Bigr] dx
$

We have reduced the problem to a computation:

$\displaystyle \int_{-1}^2 [(9-x^2) - (x+1)] dx
= \int_{-1}^2 (8-x-x^2)dx
= \left[ 8x - \frac{1}{2}x^2 - \frac{1}{3}x^3 \right]_{-1}^2
= \frac{39}{2}.
$

The above example illustrates the simplest case. In practice more interesting situations often arise. The next example illustrates finding the boundary points $ a,b$ when they are not explicitly given.

Example 3.1.3   Find area enclosed by the two parabolas $ y=12-x^2$ and $ y=x^2-6$.

Figure 3.1.2: What is the enclosed area?
% latex2html id marker 12443
\includegraphics[width=0.6\textwidth]{graphs/example_curve_area2}

Problem: We didn't tell you what the boundary points $ a,b$ are. We have to figure that out. How? We must find exactly where the two curves intersect, by setting the two curves equal and finding the solution. We have

$\displaystyle x^2-6 = 12-x^2,$

so $ 0 = 2x^2 -18 = 2(x^2-9) = 2(x-3)(x+3)$, hence the intersect points are at $ a=-3$ and $ b=3$. We thus find the area by computing

$\displaystyle \int_{-3}^3 \left[12-x^2 - (x^2-6)\right] dx
= \int_{-3}^3 (18 - 2x^2) dx
= 4 \int_{0}^3 (9 - x^2) dx
= 4 \cdot 18 = 72.
$

Example 3.1.4   A common way in which you might be tested to see if you really understand what is going on, is to be asked to find the area between two graphs $ x = f(y)$ and $ x=g(y)$. If the two graphs are vertical, subtract off the right-most curve. Or, just ``switch $ x$ and $ y$'' everywhere (i.e., reflect about $ y=x$). The area is unchanged.

Example 3.1.5   Find the area (not signed area!) enclosed by $ y=\sin(\pi x)$, $ y=x^2 - x$, and $ x=2$.
Figure 3.1.3: Find the area
% latex2html id marker 12485
\includegraphics[width=0.6\textwidth]{graphs/example_curve_area3}

Write $ x^2 - x = (x-1/2)^2 - 1/4$, so that we can obtain the graph of the parabola by shifting the standard graph. The area comes in two pieces, and the upper and lower curve switch in the middle. Technically, what we're doing is integrating the absolute value of the difference. The area is

$\displaystyle \int_{0}^{1} \sin(\pi x) - (x^2-x) dx
-
\int_{1}^{2} (x^2-x) - \sin(\pi x)dx
= \frac{4}{\pi} + 1
$

Something to take away from this is that in order to solve this sort of problem, you need some facility with graphing functions. If you aren't comfortable with this, review.

William Stein 2006-03-15