Before we continue our exploration of different methods for integrating functions, we have now have sufficient tools to examine some simple applications of definite integrals. One of the motivations for our definition of “integral” was the problem of finding the area between some curve and the \(x\)-axis for \(x\) running between two specified values. More precisely
We found the area of this region by approximating it by the union of tall thin rectangles, and then found the exact area by taking the limit as the width of the approximating rectangles went to zero. We can use the same strategy to find areas of more complicated regions in the \(xy\)-plane.
sketched in the right hand figure above. Now the region \(S_1\) of the left hand figure can be constructed by taking the region \(S_2\) of center figure and removing from it the region \(S_3\) of the right hand figure. So the area of \(S_1\) is exactly
This computation depended on the assumption that \(f(x) \gt g(x)\) and, in particular, that the curves \(y=g(x)\) and \(y=f(x)\) did not cross. If they do cross, as in this figure
then we have to be a lot more careful. The idea is to separate the domain of integration depending on where \(f(x) - g(x)\) changes sign — i.e. where the curves intersect. We will illustrate this in Example 1.5.5 below.
Before we do any calculus, it is a very good idea to make a sketch of the area in question. The curves \(y=x\text{,}\)\(x=-1\) and \(x=1\) are all straight lines, while the curve \(y=4-x^2\) is a parabola whose apex is at \((0,4)\) and then curves down (because of the minus sign in \(-x^2\)) with \(x\)-intercepts at \((\pm2,0)\text{.}\) Putting these together gives
Notice that the curves \(y=4-x^2\) and \(y=x\) intersect when \(4-x^2=x\text{,}\) namely when \(x= \frac{1}{2}\left(-1\pm\sqrt{17}\right) \approx 1.56,-2.56\text{.}\) Hence the curve \(y=4-x^2\) lies above the line \(y=x\) for all \(-1\le x\le 1\text{.}\)
We are to find the area of the shaded region. Each point \((x,y)\) in this shaded region has \(-1\le x\le 1\) and \(x \le y \le 4-x^2\text{.}\) When we were defining the integral (way back in Definition 1.1.9) we used \(a\) and \(b\) to denote the smallest and largest allowed values of \(x\text{;}\) let’s do that here too. Let’s also use \(B(x)\) to denote the bottom curve (i.e. to denote the smallest allowed value of \(y\) for a given \(x\)) and use \(T(x)\) to denote the top curve (i.e. to denote the largest allowed value of \(y\) for a given \(x\)). So in this example
For each \(i=1,2,\cdots,n\text{,}\) slice number \(i\) runs from \(x=x_{i-1}\) to \(x=x_i\text{,}\) and we approximate its area by the area of a rectangle. We pick a number \(x_i^*\) between \(x_{i-1}\) and \(x_i\) and approximate the slice by a rectangle whose top is at \(y=T(x_i^*)\) and whose bottom is at \(y=B(x_i^*)\text{.}\)
By taking the limit as \(n \to \infty\) (i.e. taking the limit as the width of the rectangles goes to zero), we convert the Riemann sum into a definite integral (see Definition 1.1.9) and at the same time our approximation of the area becomes the exact area:
Oof! Thankfully we generally do not need to go through the Riemann sum steps to get to the answer. Usually, provided we are careful to check where curves intersect and which curve lies above which, we can just jump straight to the integral
We should do this by checking where the curves intersect; that is by solving \(T(x)=B(x)\) and seeing if any of the solutions lie in the range \(-1\leq x \leq 1\text{.}\)
that \(y=T(x)=4-x^2\) lies above the curve \(y=B(x)=x\) on the region \(-1\leq x\leq 1\text{.}\)
Solution: This is a little different from the previous question, since we are not given bounding lines \(x=a\) and \(x=b\) — instead we have to determine the minimum and maximum allowed values of \(x\) by determining where the curves intersect. Hence our very first task is to get a good idea of what the region looks like by sketching it.
Start by sketching the region:
The curve \(y=x^2\) is a parabola. The point on this parabola with the smallest \(y\)-coordinate is \((0,0)\text{.}\) As \(|x|\) increases, \(y\) increases so the parabola opens upward.
The curve \(y=6x-2x^2 =-2(x^2-3x) =-2(x-\frac{3}{2})^2+\frac{9}{2}\) is also a parabola. The point on this parabola with the largest value of \(y\) has \(x=\frac{3}{2}\) (so that the negative term in \(-2(x-\frac{3}{2})^2+\frac{9}{2}\) is zero). So the point with the largest value of \(y\) is is \((\frac{3}{2},\frac{9}{2})\text{.}\) As \(x\) moves away from \(\frac{3}{2}\text{,}\) either to the right or to the left, \(y\) decreases. So the parabola opens downward. The parabola crosses the \(x\)-axis when \(0=6x-2x^2=2x(3-x)\text{.}\) That is, when \(x=0\) and \(x=3\text{.}\)
So on this region we have \(0\leq x\leq 2\text{,}\) the top curve is \(T(x)=6x-2x^2\) and the bottom curve is \(B(x)=x^2\text{.}\) Hence the area is given by
Solution: We show two different solutions to this problem. The first takes the approach we have in Example 1.5.3 but leads to messy algebra. The second requires a little bit of thinking at the beginning but then is quite straightforward. Before we get to that we should start by by sketching the region.
The curve \(y^2=2x+6\text{,}\) or equivalently \(x=\frac{1}{2} y^2-3\) is a parabola. The point on this parabola with the smallest \(x\)-coordinate has \(y=0\) (so that the positive term in \(\frac{1}{2} y^2-3\) is zero). So the point on this parabola with the smallest \(x\)-coordinate is \((-3,0)\text{.}\) As \(|y|\) increases, \(x\) increases so the parabola opens to the right.
As noted above, we can find the area of this region by approximating it by a union of narrow vertical rectangles, as we did in Example 1.5.3 — though it is a little harder. The easy way is to approximate it by a union of narrow horizontal rectangles. Just for practice, here is the hard solution. The easy solution is after it.
As we have done previously, we approximate the region by a union of narrow vertical rectangles, each of width \(\De x\text{.}\) Two of those rectangles are illustrated in the sketch
The curve at the bottom of the region is more complicated. To the left of \((-1,-2)\) the lower half of the parabola gives the bottom of the region while to the right of \((-1,-2)\) the straight line gives the bottom of the region. So
Just as before, the area is still given by the formula \(\int_a^b \big[T(x)-B(x)\big]\dee{x}\text{,}\) but to accommodate our \(B(x)\text{,}\) we have to split up the domain of integration when we evaluate the integral.
The third integral is straightforward, while we evaluate the first two via the substitution rule. In particular, set \(u=2x+6\) and replace \(\dee{x} \rightarrow \frac{1}{2}\dee{u}\text{.}\) Also \(u(-3)=0, u(-1)=4, u(5)=16\text{.}\) Hence
Easier solution: The easy way to determine the area of our region is to approximate by narrow horizontal rectangles, rather than narrow vertical rectangles. (Really we are just swapping the roles of \(x\) and \(y\) in this problem)
Look at our sketch of the region again — each point \((x,y)\) in our region has \(-2\le y\le 4\) and \(\frac{1}{2}(y^2-6)\le x \le y+1\text{.}\)
subdivide the interval \(c\le y\le d\) into \(n\) narrow subintervals, each of width \(\De y=\frac{d-c}{n}\text{.}\) Each subinterval cuts a thin horizontal slice from the region (see the figure below).
We approximate the area of slice number \(i\) by the area of a thin horizontal rectangle (indicated by the dark rectangle in the figure below). On this slice, the \(y\)-coordinate runs over a very narrow range. We pick a number \(y_i^*\text{,}\) somewhere in that range. We approximate slice \(i\) by a rectangle whose left side is at \(x=L(y_i^*)\) and whose right side is at \(x=R(y_i^*)\text{.}\)
Unlike our previous examples, the bounding curves \(y=\frac{1}{\sqrt{2}}\) and \(y=\sin(x)\) cross in the middle of the region of interest. They cross when \(y=\frac{1}{\sqrt{2}}\) and \(\sin(x)=y=\frac{1}{\sqrt{2}}\text{,}\) i.e. when \(x=\frac{\pi}{4}\text{.}\) So
to the left of \(x=\frac{\pi}{4}\text{,}\) the top boundary is part of the straight line \(y=\frac{1}{\sqrt{2}}\) and the bottom boundary is part of the curve \(y=\sin(x)\)
while to the right of \(x=\frac{\pi}{4}\text{,}\) the top boundary is part of the curve \(y=\sin(x)\) and the bottom boundary is part of the straight line \(y=\frac{1}{\sqrt{2}}\text{.}\)
but since the formulas for \(T(x)\) and \(B(x)\) change at the point \(x=\frac{\pi}{4}\text{,}\) we must split the domain of the integral in two at that point 2
We are effectively computing the area of the region by computing the area of the two disjoint pieces separately. Alternatively, if we set \(f(x) = \sin(x)\) and \(g(x) =\frac{1}{\sqrt{2}}\text{,}\) we can rewrite the integral \(\int_a^b \big[T(x) - B(x)\big]\,\dee{x}\) as \(\int_a^b \big|f(x) - g(x)\big|\,\dee{x}\text{.}\) To see that the two integrals are the same, split the domain of integration where \(f(x)-g(x)\) changes sign.
Our integral over the domain \(0\leq x \leq \frac{\pi}{2}\) is split into an integral over \(0\le x\le \frac{\pi}{4}\) and one over \(\frac{\pi}{4}\le x\le \frac{\pi}{2}\text{:}\)
We want to approximate the area between the graphs of \(y=\cos x\) and \(y=\sin x\) from \(x=0\) to \(x=\pi\) using a left Riemann sum with \(n=4\) rectangles.
We want to approximate the bounded area between the curves \(y=\arcsin\left(\dfrac{2x}{\pi}\right)\) and \(y=\sqrt{\dfrac{\pi x}{2}}\) using \(n=5\) rectangles.
Draw the five (vertical) rectangles on the picture below corresponding to a right Riemann sum.
Write down a definite integral that represents the finite area bounded by the curves \(y=x^3-x\) and \(y=x\) for \(x\ge 0\text{.}\)Do not evaluate the integral explicitly.
Write down a definite integral that represents the area of the finite region bounded by the line \(y=-\dfrac{x}{2}\) and the parabola \(y^2=6-\dfrac{5x}{4}\text{.}\)Do not evaluate the integral explicitly.
Write down a definite integral that represents the area of the finite plane region bounded by \(y^2=4ax\) and \(x^2=4ay\text{,}\) where \(a \gt 0\) is a constant. Do not evaluate the integral explicitly.
Write down a definite integral that represents the area of the finite region bounded between the line \(x+12y+5=0\) and the curve \(x=4y^2\text{.}\)Do not evaluate the integral explicitly.
Find the area of the finite region between the curves \(y=x\) and \(y=3x-x^2\text{,}\) by first identifying the points of intersection and then integrating.