We have seen previously that for continuous functions defined on closed intervals, the Fundamental Theorem of Calculus relates the process of finding antiderivatives to calculating certain areas. As it turns out the process used to transcribe Riemann sums that approximate such areas to definite integrals that give an exact answer is a fundamental procedure that applies to numerous examples in both mathematics and other STEM fields. In the upcoming sections, we will apply this process to many different cases of interest. As an opening remark, we deal only with piecewise continuously differentiable functions unless otherwise noted.
1 The Fundamental Theorem of Calculus and Areas
We begin the section with an example that illustrates the concepts that are fundamental in setting up definite integrals. Consider a continuous function \(f(x)\) that is positive on a closed interval \([a,b]\) in its domain. Suppose that we are interested in finding the area bounded by the graph of \(y=f(x)\) and the \(x\)-axis between \(x=a\) and \(x=b\). Below is an example of such an example.
We can write this area as the definite integral
and we may use the Fundamental Theorem of Calculus to evaluate it. However, recalling how this result was obtained in the first place is instructive. Understanding the logic behind it is essential in order to apply a similar method to set up integrals to model other types of situations. We thus give a detailed conceptual outline of the argument here.
Step 1: Slice Since we have expressed \(y\) as an function of \(x\), we divide the interval \([a,b]\) into \(n\) pieces of uniform width \(\Delta x\).
As a note, using rectangles of equal width is not a requirement. In a more theoretical treatment, this can be treated, but it suffices for us to use uniform widths in order to present more conceptually tractable examples. As such, we adopt this convention here as well as in the coming sections.
Step 2: Approximate We cannot determine the exact area of the slice, but we can approximate each slice by a rectangle. The top of the rectangle should coincide with the top curve, and the bottom of the rectangle should coincide with the lower curve above some common \(x\)-value on the base of the rectangle. For the sake of the picture, we use the lefthand endpoint to determine the height of each rectangle.
We can now find the area \(\Delta A_k\) of the \(k\)-th rectangle. \begin{align} \Delta A_k & = (height) \times (width) \nonumber \\ \Delta A_k &= f\left (x_k^*\right )\Delta x \end{align}
where \(x_k^*\) here is the \(x\)-value of the right-hand endpoint of each rectangle. The height of the rectangle is thus \(f(x_k^*)\).
Let \(S_n\) denote the total area obtained by adding the areas of the \(n\) rectangles together. Then, we can compute \(S_n\) easily by adding up the areas of all of the rectangles.
or if you prefer using sigma notation, \begin{equation} S_n =\sum _{k=1}^{n} \Delta A_k = \sum _{k=1}^n f(x_k^*) \Delta x. \end{equation} Note that as we use more rectangles, the following occur simultaneously:
- The width \(\Delta x\) of each rectangle decreases.
- The total number of rectangles increases.
- The sum of the areas of the rectangles becomes closer to the actual area.
The actual area is then \(A = \lim _{n \rightarrow \infty } \left [ \sum _{k=1}^n f(x_k^*) \Delta x \right ]\).
Step 3: Integrate While this infinite limit can be quite cumbersome to work out in even the simplest cases, the Fundamental Theorem of Calculus comes to the rescue. It guarantees that since \(y=f(x)\) is continuous on \([a,b]\), we may find the area by finding antiderivatives and evaluating the difference of an antiderivative of \(f(x)\) at the endpoints.
where \(F(x)\) is an antiderivative of \(f(x)\).
This can now be interpreted conceptually as follows:
- The notation “\(\Delta x\)” represents the finite but small width of a rectangle. The notation “\(dx\)” represents the infinitesimal width of a rectangle.
- The procedure of definite integration can be thought of conceptually as follows. We simultaneously shrink the widths of the rectangles while adding all of the areas together.
- The integrand \(f(x) dx\) can be thought of as the area of an infinitesimal rectangle of height \(f(x)\) and thickness \(dx\). As such, we cannot think of a rectangle of width \(dx\) as having width zero since we must add infinitely many such rectangles together.
This same procedure can be used to model many other situations, which will be the subject of the coming sections. It is therefore important to understand the logic behind it.
2 The Area Between Two Curves
The above procedure also can be used to find areas between two curves as well. Henceforth, by “area”, we will mean “total area”; the area bounded by the curves should be taken to be positive. For example, the area bounded by \(y=-x\) and \(y=0\) from \(x=0\) and \(x=1\) is shown below.
By noticing that this is the area of a triangle whose base and height have length 1, the total area should be \(+\frac {1}{2}\).
As it turns out, the previous procedure can be used to find the total area between two curves. We explore this in the context of another motivating example.
So how should we do this? Let’s apply the procedure of “Slice, Approximate, Integrate”.
Step 1: Slice We divide \([-1,1]\) up into \(n\) pieces of equal width \(\Delta x\).
Step 2: Approximate We cannot determine the exact area of the slice, but just as before, we can approximate each slice by a rectangle whose heights are determined by the value of the function \(y = f(x)\) at some \(x\)-value on its base. Here, we choose to use left-hand endpoints.
The area \(\Delta A_k\) of the \(k\)-th rectangle is given by \begin{align*} \Delta A_k & = (height) \times (width), \nonumber \\ \end{align*}
where \(x_k^*\) is the \(x\)-value of the left-hand endpoint of the \(k\)-th rectangle.
To find the height of the darkly shaded rectangle, notice that this height is just the vertical distance between the curves. Vertical distances can always be found by taking the top \(y\)-value minus the bottom \(y\)-value. Since these \(y\)-values lie on the graphs of the given functions, at a given \(x\)-value, we have \(y_{top}=4x^3+15\)\(y_{bot}=3x^2-2\) and \(y_{top}=4x^3+15\)\(y_{bot}=3x^2-2\).
Thus, the height \(h\) of the rectangle is \(h=y_{top}-y_{bot} = \answer [given]{(4x^3+15)-(3x^2-2)}\).
The approximate total area obtained by adding the areas of the \(n\) rectangles between \(x=-1\) and \(x=1\) together. Note that as we use more rectangles, the following occur simultaneously.
- The width \(\Delta x\) of each rectangle decreases.
- The total number of rectangles increases.
- The sum of the areas of the rectangles becomes closer to the actual area.
The approximate area \(A\) is given by the finite sum \(A = \sum _{k=1}^n f(x_k^*) \Delta x \).
Step 3: Integrate The actual area \(A\) is found by taking the limit of the above sum, that is
and we can write this as the definite integral
Once again the Fundamental Theorem of Calculus allows us to find the area using antiderivatives.
\begin{align*} A &= \int _{x=-1}^{x=1} 4x^3-3x^2+17 dx \\ &= \bigg [] \answer [given]{x^4-x^3+17x}\bigg ]_{x= -1}^{x=1} \\ &= \left [(1)^4-(1)^3+17(1)\right ] - \left [(-1)^4-(-1)^3+17(-1)\right ] \\ &=\answer [given]{32} \end{align*}
Note that \(A = \int _{x=-1}^{x=1} (4x^3+15)-(3x^2-2) dx\) can be interpreted as follows:
- The integrand is the area of a rectangle, whose height is determined as the difference between the top and bottom \(y\)-values of the bounding curves, and whose thickness \(dx\) is infinitesimal.
-
Since we integrate with respect to \(x\), the limits of integration tell us the range of the \(x\)-values of the rectangles to be added.
- The lower limit gives the \(x\)-position of the first rectangle.
- The upper limit gives the \(x\)-position of the last rectangle.
A similar procedure can be used in many other examples for the rest of the chapter. The major point here is that once we find the approximate area for a single rectangle, we can immediately write down the integral that gives the exact area of the region.
3 Integrating with respect to x
We can summarize the above procedure with a formula that respects the geometrical reasoning described previously.
By using vertical rectangles, we have
Let’s look at a few more examples that demonstrate how to apply the formula.
Note that there is a “natural” right-hand boundary here given by the \(x\)-value where the curves intersect.
\begin{align*} \frac {9}{x} &= 2x-3\\ 9 &= 2x^2-3x\\ 2x^2-3x-9 &= 0\\ (2x+\answer [given]{3})(x+\answer [given]{-3}) &= 0 \\ x &= -\frac {3}{2} \text { or }\answer [given]{3}. \end{align*}
From the picture, note that the other intersection point \(x=-\frac {3}{2}\) is not relevant.
We must now express \(h\) in terms of the variable of integration. Since \(h\) is a vertical distance, \(h(x)=y_{top}-y_{bot}\). The function used to determine the upper \(y\)-value is \(y_{top}=2x-3\)\(y_{top}=\frac {9}{x}\)\(y_{top}=1\). The function used to determine the lower \(y\)-value is \(y_{bot}=2x-3\)\(y_{bot}=\frac {9}{x}\)\(y_{bot}=1\)
The height \(h\) of the rectangle is thus \(h=y_{top}-y_{bot} = \answer [given]{\frac {9}{x}-(2x-3)}\), and the area is given by:
Evaluating the integral, we find that the area is \(A= \answer [given]{-2+9 \ln (3)}\).
As usual, we begin by drawing a picture and indicating the type of rectangle that will be used to build the area:
As you can see, something interesting happens here; the curve used to determine the height of the top rectangle changes. In order to express this area by integrating with respect to \(x\), we have to split it into two pieces.
The top curve will change at the \(x\)-value where the two curves intersect. To find this \(x\)-value, we first must express each curve as a function of \(x\). The function \(y=\sqrt {2x}\) is already a function of \(x\). For the line \(x+2y=6\), we can solve \(y=\answer [given]{3- \frac {1}{2}x}\).
We can now find the \(x\)-value of the intersection point. Write with me:
\begin{align*} \sqrt {2x} &= 3 -\frac {1}{2}x \\ 2x &= \left (3 -\frac {1}{2}x\right )^2 \\ 2x&= 9-3x+\frac {1}{4} x^2 \\ 0 &= \frac {1}{4} x^2 -5x+9 \\ 0 &= x^2 -20x+36 \\ 0 &= (x-2)(x-18) \end{align*}
Hence, \(x=2\) or \(x=18\).
Note that by squaring both sides to eliminate the square root, we may have introduced an extraneous root. We can check this easily enough:
By substituting \(x=2\) into the equation \(\sqrt {2x} = 3-\frac {1}{2}x\), we obtain \(2=2\), which is a true statement. However, doing the same for \(x=18\) gives \(6 = -6\), which is not true (though it should be clear why \(x=18\) is a solution to the equation that results from squaring both sides!)
Thus, we use \(x=\answer [given]{2}\).
For the second region, we find the rightmost \(x\)-value is \(x=6\) (set \(3-\frac {1}{2}x=0\)).
We can now think of the original region in two separate parts and write down an integral that gives the area of each.
Using the picture above:
Putting this together, we can write down a sum of integrals that gives the area.
4 Integrating with respect to y
We needed to use two integrals to find the area because we used vertical slices to build up the area of the region and the top curve changed. Mercifully, there is an easier way to find this area. Instead of using vertical slices to build the area, we could instead use horizontal ones.
So what are we doing? Instead of making slices with respect to \(x\) as we did before, we are slicing with respect to \(y\). The area of one of these rectangles is \(\Delta A = h \Delta y\). To find the exact area, we simultaneously need to shrink the widths of the rectangles and add all of them together. The same procedure as before produces a convenient result.
By using horizontal rectangles, we have
Now, let’s revisit the last example.
Since we are going to integrate with respect to \(y\), we must describe the curves as functions of \(y\):
For \(y=\sqrt {2x}\), we can solve for \(x\) to obtain \(x= \answer [given]{\frac {1}{2}y^2}\).
For \(x+2y=6\), we can solve for \(x\) to obtain \(x= \answer [given]{6-2y}\).
We can note that the lowest slice occurs at \(y=0\) and the upper slice occurs at the \(y\)-value where the curves intersect. Setting these new expressions equal to each other gives \(y= \answer [given]{2}\).
Now that we have our limits of integration, we must express \(h\) in terms of the variable of integration! Since \(h\) is a horizontal distance, \(h=x_{right}-x_{left}\)
The function used to determine the rightmost \(x\)-value is \(x_{right}=\frac {1}{2}y^2\)\(x_{right}=6-2y\) and the function used to determine the leftmost \(x\)-value is \(x_{left}=\frac {1}{2}y^2\)\(x_{left}=6-2y\).
The length \(h\) of the rectangle is thus \(h=x_{right}-x_{left} = \answer [given]{(6-2y)-\left (\frac {1}{2}y^2\right )}\) and the area is given by the integral
5 Choosing a variable of integration
As we have seen, choosing a particular type of slice may be more advantageous than another. To make this more explicit, draw a vertical rectangle or horizontal rectangle in the region.
- If the top or bottom curve of the region depends on where you draw the slice, you’ll need more than one integral with respect to \(x\) to find the area.
- If the left or right curve of the region depends on where you draw the slice, you’ll need more than one integral with respect to \(y\) to find the area.
How many integrals with respect to \(x\) are needed to compute this area? \(\answer [given]{1}\)
How many integrals with respect to \(y\) are needed to compute this area? \(\answer [given]{2}\)
Sometimes, you will need multiple integrals to find the area of a region no matter which type of slice you use.
How many integrals with respect to \(x\) are needed to compute this area? \(\answer [given]{3}\)
How many integrals with respect to \(y\) are needed to compute this area? \(\answer [given]{3}\)
We conclude the section by summarizing a few important facts.
- To find vertical distances, we always take \(y_{top} - y_{bot}\). To find horizontal distances, we always take \(x_{right}-x_{left}\).
- When we integrate with respect to \(x\), we use vertical slices and when we use vertical slices, we integrate with respect to \(x\). When we integrate with respect to \(y\), we use horizontal slices and when we use horizontal slices, we integrate with respect to \(y\).
- Once we choose a variable of integration, everything in the integrand must be expressed in terms of that variable! This includes both the limits of integration and any functions that arise in the integrand.
2025-01-06 19:25:52“Mathematics is not about numbers, equations, computations, or algorithms; it is about understanding.” - William Paul Thurston