Section 3.1 Average Value and Area Revisited
¶In this section we apply the tool of integration to two applications, namely that of finding the average value of a function and that of determining the area of a region bounded by functions.
Subsection 3.1.1 Average Value of a Function
The average of some finite set of values is a familiar concept. If, for example, the class scores on a quiz are 10, 9, 10, 8, 7, 5, 7, 6, 3, 2, 7, 8, then the average score is the sum of these numbers divided by the size of the class:
Although the above was a discrete example, we can extend the idea to that of continuous functions. If we are given an integrable function \(f\) on a closed interval \([a,b]\text{,}\) then the average value of \(f\) on \([a,b]\) can be defined in a similar fashion. We begin by dividing the interval \([a,b]\) into \(n\) subintervals with equal width
and partition
such that \(x_i\) is in the \(i\)th subinterval. Then the average value \(f_{avg}\) over the \(n\) subintervals and choices \(x_i\) is given by
We now use a typical trick in mathematics, namely we multiply both sides by 1 in the form of \(\frac{ba}{ba}\) and rearrange terms:
Next, we replace \(\frac{ba}{n}\) by \(\Delta x\) to obtain
Taking the limit as \(n\to\infty\text{,}\) we finally have
provided the limit exists.
We summarize this result in the following definition.
Definition 3.1. Average Value of a Function.
If \(f\) is an integrable function on the closed interval \([a,b]\text{,}\) then the average value \(f_{avg}\) of \(f\) on \([a,b]\) is
provided the definite integral exists.
Interactive Demonstration. Use the sliders below to investigate how changing \(b = a + \Delta x\) changes the average value of the function. The area under the curve on the interval \([a,b] \) is shaded in blue.
Example 3.2. Average Value Visualized.
Suppose a function is defined by \(f(x)=16x^2+5\text{.}\)
What is the average value of \(f\) between \(x=1\) and \(x=3\text{?}\)
Interpret your result from part (a) geometrically.

By definition of the average value of a function, we have
\begin{equation*} \begin{split} f_{avg} \amp = \frac{1}{31} \int_1^3 \left(16x^2 + 5\right)\,dx \\[1ex] \amp = \frac{1}{2} \left[\frac{16x^3}{3} + 5x\right]_1^3 = \frac{1}{2} \left[\left(16 \cdot 3^2 + 15\right)  \left(\frac{16 \cdot 1^3}{3} + 5\right)\right]\\[1ex] \amp =\frac{1}{2} \left(\frac{446}{3}\right) = \frac{223}{3} \end{split} \end{equation*} 
We can interpret the same problem geometrically by asking the question: What is the average height of \(f(x)=16x^2+5\) on the interval \([1,3]\text{?}\) The area \(A\) under \(f(x)=16x^2+5\) on the interval \([1,3]\) is given by
\begin{equation*} A = \int_1^3 \left(16x^2+5\right)\,dx = \frac{446}{3}\text{.} \end{equation*}The area under the graph of \(y=f_{avg}=\frac{223}{3}\) over the same interval \([1,3]\) is simply the area of a rectangle that is 2 units wide and \(223/3\) units high with area \(446/3\) units squared. So the average height of a function is is the height of the horizontal line that produces the same area over the given interval as shown below.
Subsection 3.1.2 Area of Symmetric Functions
While we do not often work with even and odd functions, it is nonetheless useful to know the following facts about the area of the region under the curves of these functions on a symmetric interval \([a,a]\text{.}\) Figure 3.(a) illustrates the area of the region under the curve of an even function \(f\) on the interval \([a,a]\text{,}\) and we are readily convinced that the net area shown is twice that of the net area of \(f\) on the interval \([0,a]\text{.}\) Similarly, Figure 3.(b) illustrates the area of the region under the curve of an odd function \(f\) on the interval \([a,a]\text{,}\) and we readily believe that the net area is zero.
Theorem 3.3. Integrals of Odd/Even Functions on \([a,a]\).
Let \(f\) be a continuous function on the symmetric interval \([a,a]\text{.}\)

If \(f\) is even, then
\begin{equation*} \int_{a}^a f(x)\,dx = 2\int_0^a f(x)\,dx\text{.} \end{equation*} 
If \(f\) is odd, then
\begin{equation*} \int_{a}^a f(x)\,dx = 0\text{.} \end{equation*}
Proof.
The proofs are readily accessible, so we only show the proof for item 1 of the theorem as the proof for item 2 is similar.
Subsection 3.1.3 Area Between Curves: Integration w.r.t. \(x\)
We have seen how integration can be used to find an area between a curve and the \(x\)axis. With very little change we can find some areas between curves; indeed, the area between a curve and the \(x\)axis may be interpreted as the area between the curve and a second “curve” with equation \(y=0\text{.}\)
Suppose we would like to find the area below \(\ds f(x)= x^2+4x+3\) and above \(\ds g(x)=x^3+7x^210x+5\) over the interval \(1\le x\le2\text{.}\) Figure 3.(a) depicts the area of the region contained between the curves of \(f\) and \(g\) as well as the lines \(x=1\) and \(x=2\text{.}\) We can see from this figure that the curve \(f\) is indeed above the curve \(g\) on the interval \([1,2]\text{.}\)
We can approximate the area between two curves by dividing the area into thin sections and approximating the area of each section by a rectangle, as indicated in Figure 3.(b). The area of a typical rectangle is \(\Delta x(f(x_i)g(x_i))\text{,}\) so the total area is approximately
This is exactly the sort of sum that turns into an integral in the limit, namely the integral
Then
We can also approach this problem of finding the area of the region between the curves of \(f\) and \(g\) as well as the lines \(x=1\) and \(x=2\) by using our knowledge of the definite integrals of \(f\) and \(g\) separately. Figure 3.(a) depicts the area of the region between the curves \(f\) and the \(x\)axis as well as the lines \(x=1\) and \(x=2\text{,}\) which we know as the definite integral
Similarly, Figure 3.(b) depicts the area of the region between the curves \(g\) and the \(x\)axis as well as the lines \(x=1\) and \(x=2\text{,}\) which we know as the definite integral
From Figure 3.4, we can readily determine that the area of the region we want must be the area of the region under the graph of \(f\) minus the area of the region under the graph of \(g\) as shown in Figure 3.(c). Once again, we have that
In summary, this procedure can informally be thought of as follows.
Area Between Two Curves: Integration w.r.t. \(x\).
This leads us to the following theorem for the area of the region between two curves on a closed interval.
Theorem 3.4. Area Between Two Curves: Integration w.r.t. \(x\).
Let \(y=f(x)\) and \(y=g(x)\) be continuous functions on a closed interval \([a,b]\) such that \(f(x) \geq g(x)\) for all \(x \in [a,b]\text{.}\) Then the area \(A\) of the region between the curves of \(f\) and \(g\) as well as the lines \(x=a\) and \(x=b\) is
Example 3.5. Area Between Curves.
Find the area between \(\ds f(x)= x^2+4x\) and \(\ds g(x)=x^26x+5\text{.}\)
Here we are not given a specific interval, so it must be the case that there is a “natural” region involved, which we see from the graph shown below. Since the curves are both parabolas, the only reasonable interpretation is the region between the two intersection points.
We now find the intersection points by letting \(f(x)=g(x)\text{:}\)
If we let
the total area is
after a bit of simplification.
A general guideline to compute the area between two curves follows.
Guideline for Finding Area Between Two Curves: Integration w.r.t. \(x\).
Given two continuous functions \(y=f(x)\) and \(y=g(x)\) on a closed interval \([a,b]\text{,}\) we can use the following steps to calculate the area of the region between the curves of \(f\) and \(g\) and the lines \(x=a\) and \(x=b\text{.}\)

Find all intersection points of \(f\) and \(g\) in \([a,b]\text{.}\) Suppose there are \(n\) of them called
\begin{equation*} i_1,i_2,\dots,i_n\text{.} \end{equation*} 
Use these intersection points to create subintervals of \([a,b]\text{:}\)
\begin{equation*} [a,b] = [a,i_1]\cup[i_1,i_2]\cup\dots\cup[i_n,b]\text{.} \end{equation*} Draw a sketch of the two curves on \([a,b]\) and indicate all intersection points, similar to the figure shown below.
Based on the sketch, determine top curve and the bottom curve in each subinterval.

For each subinterval, write the area of the region like so
\begin{equation*} \int_{\text{ left bound } }^{\text{ right bound } } \left[\left(\text{ top curve } \right)\left(\text{ bottom curve } \right)\right]\,dx \end{equation*} The area of the region between the curves \(f\) and \(g\) and the lines \(x=a\) and \(x=b\) is the sum of all intervals from step 5, similar to the area calculated in Figure 3.5.
Example 3.6. Area Between Two Curves.
Determine the area enclosed by \(y=x^2\text{,}\) \(y=\sqrt x\text{,}\) \(x=0\) and \(x=2\text{.}\)
The points of intersection of \(y=x^2\) and \(y=\sqrt x\) are
Thus, either \(x=0\) or \(x=1\text{.}\) Sketching the curves gives:
The area we want to compute is the shaded region. Since the top curve changes at \(x=1\text{,}\) we need to use the formula twice. For \(A_1\) we have \(a=0\text{,}\) \(b=1\text{,}\) the top curve is \(y=\sqrt x\) and the bottom curve is \(y=x^2\text{.}\) For \(A_2\) we have \(a=1\text{,}\) \(b=2\text{,}\) the top curve is \(y=x^2\) and the bottom curve is \(y=\sqrt x\text{.}\)For the first integral we have:
Therefore, the second integral evaluates to
Thus,
Example 3.7. Area Between Sine and Cosine.
Determine the area enclosed by \(y=\sin x\) and \(y=\cos x\) on the interval \([0,~2\pi]\text{.}\)
The curves \(y=\sin x\) and \(y=\cos x\) intersect when:
We have the following sketch:
The area we want to compute is the shaded region. The top curve changes at \(x=\pi/4\) and \(x=5\pi/4\text{,}\) thus, we need to split the area up into three regions: from \(0\) to \(\pi/4\text{;}\) from \(\pi/4\) to \(5\pi/4\text{;}\) and from \(5\pi/4\) to \(2\pi\text{.}\)Subsection 3.1.4 Area Between Curves: Integration w.r.t. \(y\)
Sometimes the given curves are not functions of \(x\text{.}\) Instead, the area of the region is between two functions of \(y\text{,}\) namely \(x=f(y)\) and \(x=g(y)\text{,}\) and the lines \(y=c\) and \(y=d\text{,}\) which can be thought of informally as the following.
Area Between Two Curves: Integration w.r.t. \(y\).
This leads us to a similar theorem as for the case when there are functions of \(x\) bounding a region.
Theorem 3.8. Area Between Two Curves: Integration w.r.t. \(y\).
Let \(x=f(y)\) and \(x=g(y)\) be two continuous functions on a closed interval \([c,d]\) such that \(f(y)\geq g(y)\) for all \(y\) in \([c,d]\text{.}\) Then the area \(A\) of the region between the curves of \(f\) and \(g\) as well as the lines \(y=c\) and \(y=d\) is
Note:

As before, if we do not know which of two functions \(x=f(y)\) and \(x=g(y)\) is larger on a given interval \([c,d]\text{,}\) we can still ensure that we calculate the area of the region between the curves of \(f\) and \(g\) and the lines \(y=c\) and \(y=d\) by placing absolute values around the integrand:
\begin{equation*} \int_c^d\vert f(y)g(y)\vert\,dy \end{equation*} Likewise, the Guideline for Finding Area Between Two Curves: Integration w.r.t. \(x\) can be adopted for this scenario as well, which we leave to the reader to do.
Example 3.9. Area Between Two Curves.
Determine the area enclosed by \(x=y^2\) and \(x=8\text{.}\)
Note that \(x=y^2\) and \(x=8\) intersect when:
Sketching the two curves gives:
From the sketch \(c=2\sqrt 2\text{,}\) \(d=2\sqrt 2\text{,}\) the right curve is \(x=8\) and the left curve is \(x=y^2\text{.}\)We could have also integrated w.r.t. \(x\) by using the two functions \(y=\sqrt{x}\) and \(y=\sqrt{x}\text{.}\) We leave it to the reader to follow up on this integration.
Exercises for Section 3.1.
Exercise 3.1.1.
Find the average height of \(f(x)\) over the given interval(s).

\(f(x) = \cos x\) on \([0,\pi/2]\text{,}\) \([\pi/2,\pi/2]\text{,}\) and \([0,2\pi]\)
AnswerSolution\(2/\pi\text{;}\) \(2/\pi\text{;}\) \(0\)The average value of \(f(x) = \cos(x)\) over \([0, \pi/2]\) is
\begin{equation*} f_{avg} = \frac{2}{\pi} \int_0^{\pi/2} \cos x\,dx = \frac{2}{\pi} \sin x \bigg\vert_0^{\pi/2} = \frac{2}{\pi}\text{.} \end{equation*}The average value of \(f(x) = \cos(x)\) over \([\pi/2, \pi/2]\) is
\begin{equation*} f_{avg} = \frac{1}{\pi} \int_0^{\pi/2} \cos x\,dx = \frac{2}{\pi} \sin x \bigg\vert_0^{\pi/2} = \frac{2}{\pi}\text{.} \end{equation*}The average value of \(f(x) = \cos(x)\) over \([0,2\pi\) is
\begin{equation*} f_{avg} = \frac{2}{\pi} \int_{0}^{2\pi} \cos x\,dx = \frac{2}{\pi} \sin x \bigg\vert_{0}^{2\pi} = 0\text{.} \end{equation*} 
\(f(x)= x^2\) on \([2,2]\)
AnswerSolution\(4/3\)The average value of \(f(x)=x^2\) over \([2,2]\) is
\begin{equation*} f_{avg} = \frac{1}{2(2)} \int_{2}^2 x^2\,dx = \frac{1}{4} \frac{x^3}{3}\bigg\vert_{2}^2 = \frac{4}{3}\text{.} \end{equation*} 
\(f(x)=\dfrac{1}{x^2}\) on \([1,a]\)
AnswerSolution\(1/a\)The average value of \(f(x)=\frac{1}{x^2}\) on the interval \([1,a]\) (assuming \(a > 1\)), is
\begin{equation*} f_{avg} = \frac{1}{a1} \int_1^a \frac{1}{x^2}\,dx = \frac{1}{a1}\frac{1}{x}\bigg\vert_1^a = \frac{1}{a1}\left(\frac{1}{a}+1\right) = \frac{1}{a}\text{.} \end{equation*} 
\(f(x)=\sqrt{1x^2}\) on \([1,1]\)
AnswerSolution\(\pi/4\)The average value of \(f(x) = \sqrt{1x^2}\) on \([1,1]\) is
\begin{equation*} f_{avg} = \frac{1}{2}\int_{1}^1 \sqrt{1x^2}\,dx = \frac{1}{4} \left[\sqrt(1  x^2) x + \sin^{1}(x)\right]_{1}^1 = \frac{\pi}{4}\text{.} \end{equation*}
Exercise 3.1.2.
Find the area bounded by the curves by integrating with respect to \(x\text{.}\)

\(\ds y=x^4x^2\text{,}\) \(\ds y=x^2\) (right of the \(y\)axis)
AnswerSolution\(\ds 16\sqrt2/15\)Let \(f(x) = x^4x^2\) and \(g(x)=x^2\text{.}\) We begin by plotting the two curves:
The two curves intersect at \(x=0\) and \(x=\pm \sqrt{2}\text{.}\) The area \(A\) between the curves (in green) is bounded above by \(g(x)\) and below by \(f(x)\text{,}\) and we notice that \(A\) is symmetric about \(x=0\text{.}\) Therefore, we calculate\begin{equation*} A = 2\int_0^{\sqrt{2}} \left[g(x)  f(x)\right]\,dx = 2\int_0^{\sqrt{2}}\left[2x^2x^4\right]\,dx = 2\left[\frac{2}{3}x^3\frac{1}{5}x^5\right]_0^{\sqrt{2}} = \frac{16\sqrt{2}}{15}\text{.} \end{equation*} 
\(y=\cos(\pi x/2)\text{,}\) \(\ds y=1 x^2\) (in first quadrant)
AnswerSolution\(2/32/\pi\)Let \(f(x) = \cos(\pi x/2)\) and \(g(x) = 1x^2\text{.}\) We begin by plotting the two curves in the first quadrant:
The two curves intersect at \((1,0)\) and \((0,1)\text{,}\) and the area \(A\) (in green) is bounded above by \(y=g(x)\) and bounded below by \(y=f(x)\text{.}\) Therefore:\begin{equation*} \begin{split} A \amp = \int_0^1 \left[g(x)  f(x)\right]\,dx \\ \amp = \int_0^1 \left[1  x^2\cos(\pi x/2)\right]\,dx \\ \amp = \left[\frac{x^3}{3}+x  \frac{2}{\pi} \sin(\pi x/2)\right]_0^1 \\ \amp =\frac{2}{3}\frac{2}{\pi}\\ \amp \approx 0.03005. \end{split} \end{equation*} 
\(y=\sin(\pi x/3)\text{,}\) \(y=x\) (in first quadrant)
AnswerSolution\(\ds 3/\pi  3\sqrt3/(2\pi)1/8\)Let \(f(x) = \sin(\pi x/3)\) and \(g(x) = x\text{.}\) We begin by plotting the two curves in the first quadrant:
The two curves intersect at \(x=0\) and at \(x=1/2\text{.}\) From the graph above, we see that \(A\) is bounded above by \(y=f(x)\) and bounded below by \(y=g(x)\text{.}\) Therefore,\begin{equation*} \begin{split} A \amp = \int_0^{1/2} \left[f(x)g(x)\right]\,dx\\ \amp = \int_0^{1/2} \left[\sin(\pi x/3)  x\right]\,dx \\ \amp = \left[\frac{3}{\pi} \cos(\pi x/3) \frac{x^2}{2}\right]_0^{1/2}\\ \amp = \frac{3}{\pi}  \frac{2\sqrt{3}}{2\pi}  \frac{1}{8}\\ \amp \approx 0.0029363 \end{split} \end{equation*} 
\(\ds y=\sqrt{x}\text{,}\) \(\ds y=x^2\)
AnswerSolution\(1/3\)Let \(f(x) = \sqrt{x}\) and \(g(x) = x^2\text{.}\) We begin by plotting the two curves (for \(x \geq 0\)):
The two curves intersect at \((0,0)\) and \((1,1)\text{.}\) The area \(A\) (in green) is bounded above by the curve \(y=f(x)\) and below by the curve \(y=g(x)\text{.}\) Therefore, we compute:\begin{equation*} \begin{split} A \amp = \int_0^1 \left[f(x)  g(x)\right]\,dx\\ \amp = \int_0^1 \left[\sqrt(x)  x^2\right]\,dx\\ \amp = \left[\frac{2 x^{3/2}}{3}  \frac{x^3}{3}\right]_0^1\\ \amp = \frac{2}{3}  \frac{1}{3}= \frac{1}{3}. \end{split} \end{equation*} 
\(\ds y=x^{3/2}\text{,}\) \(\ds y=x^{2/3}\)
AnswerSolution\(1/5\)Let \(f(x) = x^{3/2}\) and \(g(x) = x^{2/3}\text{.}\) We begin by plotting the two curves:
The two curves intersect at \((0,0)\) and \((1,1)\text{.}\) The area \(A\) (in green) is bounded above by the curve \(y=g(x)\) and below by the curve \(y=f(x)\text{.}\) Therefore, we compute:\begin{equation*} \begin{split} A \amp = \int_0^1 \left[g(x)  f(x)\right]\,dx\\ \amp = \int_0^1 \left[x^{2/3}  x^{3/2}\right]\,dx\\ \amp = \left[\frac{3x^{5/3}}{5}  \frac{2x^{5/2}}{5}\right]_0^1\\ \amp = \frac{3}{5}  \frac{2}{5} = \frac{1}{5} \end{split} \end{equation*} 
\(\ds y=x^22x\text{,}\) \(y=x2\)
AnswerSolution\(1/6\)Let \(f(x) = x^22x\text{,}\) \(g(x) = x2\text{.}\) First, we notice that
\begin{equation*} x^22x = x2 \implies x =1, \ x=2\text{.} \end{equation*}Now plot the two curves:
So the area \(A\) is bounded above by the curve \(y=g(x)\) and below by the cruve \(y=f(x)\) between \(x=1\) and \(x=2\text{.}\) We now compute:\begin{equation*} \begin{split} A\amp = \int_1^2 \left[g(x)f(x)\right]\,dx \\ \amp = \int_1^2 \left[(x2)(x^22x)\right]\,dx \\ \amp = \int_1^2 \left[x^2+3x2 \right]\,dx \\ \amp = \left[ \frac{x^3}{3} + \frac{3 x^2}{2} 2 x \right]_1^2\\ \amp = \frac{1}{6}. \end{split} \end{equation*}
Exercise 3.1.3.
Find the area bounded by the curves by integrating with respect to \(y\text{.}\)

\(\ds x=y^3\) and \(\ds x=y^2\)
AnswerSolution\(1/12\)Let \(f(y) = y^3\) and \(g(y) = y^2\text{.}\) We first notice that
\begin{equation*} y^3=y^2 \implies y = 0, y = 1\text{.} \end{equation*}Now plot the two curves:
Therefore, the area \(A\) is bounded to the left by the curve \(x=f(y)\) and to the right by the curve \(x=g(y)\) for \(0 \leq y \leq 1\text{.}\) We now integrate with respect to \(y\text{:}\)\begin{equation*} \begin{split} A \amp = \int_0^1 \left[g(y)  f(y)\right]\,dy \\ \amp = \int_0^1 \left[y^2  y^3 \right]\,dy \\ \amp = \left[\frac{y^3}{3}  \frac{y^4}{4}\right]_0^1\\ \amp = \frac{1}{3}\frac{1}{4} = \frac{1}{12}. \end{split} \end{equation*} 
\(x=0\) and \(\ds x=25y^2\)
AnswerSolution\(500/3\)Let \(f(y) = 0\) and \(g(y) = 25y^2\text{.}\) We first find the intersection points:
\begin{equation*} 25y^2 = 0 \implies y = \pm 5\text{.} \end{equation*}Now plot the curves:
So for \(5 \leq y \leq 5\text{,}\) the area \(A\) is bounded to the left by the curve \(x=f(y)\text{,}\) and to the right by the curve \(x=g(y)\text{.}\) We now integrate with respect to \(y\text{:}\)\begin{equation*} \begin{split} A \amp = \int_{5}^5 \left[g(y)  f(y)\right]\,dy\\ \amp = \int_{5}^5 \left[25y^2\right]\,dy\\ \amp = \left[25y  \frac{y^3}{3}\right]_{5}^5\\ \amp = \frac{500}{3} \approx 166.67. \end{split} \end{equation*}
Exercise 3.1.4.
Find the area bounded by the curves.

\(\ds x=1y^2\) and \(y=x1\)
AnswerSolution\(9/2\)We first rewrite \(y=x1\) as \(x=y1\text{.}\) Now let \(f(y) = 1y^2\) and \(g(y) =y1\text{.}\) The intersection points of these two curves is
\begin{equation*} 1y^2 = y1 \implies y = 1,\ y=2\text{.} \end{equation*}We now plot the two curves for \(1\leq y \leq 2\text{:}\)
The area \(A\) is bounded to the right by the curve \(x=f(y)\) and to the left by the curve \(x=g(y)\) on the entire interval \(1 \leq y \leq 2\text{.}\) We can now integrate with respect to \(y\text{:}\)\begin{equation*} \begin{split} A \amp = \int_{1}^2 \left[f(y) g(y)\right]\,dy \\ \amp = \int_{1}^2 \left[2y^2 + y\right]\,dy\\ \amp = \left[2y  \frac{y^3}{3} + \frac{y^2}{2} \right]_{1}^2\\ \amp = \frac{9}{2} = 4.5 \end{split} \end{equation*} 
\(\ds x=3yy^2\) and \(x+y=3\)
AnswerSolution\(4/3\)Let \(f(y)=3yy^2\) and \(g(y)=3y\text{.}\) Then we wish to find the area between the curves \(x=f(y)\) and \(x=g(y)\text{:}\)
The curves intersect at the points \((0,3)\) and \((2,1)\text{,}\) and we notice that the desired area \(A\) (in green) is bounded to the left by \(g(y)\) and to the right by \(f(y)\text{.}\) We therefore integrate with respect to \(y\text{:}\)\begin{equation*} A = \int_1^3 \left[3yy^2  (3y)\right]\,dy = \int_1^3 (4yy^2  3)\,dy =\left[2y^2\frac{1}{3}y^33y\right]_1^3 = \frac{4}{3}\text{.} \end{equation*} 
\(\ds y=\sqrt x\) and \(\ds y=\sqrt{x+1}\text{,}\) \(0\le x\le 4\)
AnswerSolution\(\ds 10\sqrt{5}/36\)Let \(f(x) = \sqrt{x}\) and \(g(x) = \sqrt{x+1}\text{.}\) The area between the two curves \(f\) and \(g\text{,}\) as well as the lines \(x=0\) and \(x=4\) is the shaded area below:
\(A\) is bounded below by the curve \(y=f(x)\) and is bounded above by the curve \(y=g(x)\) for all \(x \in [0,4]\text{.}\) Therefore, we integrate with respect to \(x\text{:}\)\begin{equation*} \begin{split} A \amp = \int_0^4 \left[g(x)  f(x)\right]\,dx\\ \amp = \int_0^4 \left[\sqrt{x+1}  \sqrt{x}\right]\,dx\\ \amp = \left[\frac{2(x+1)^{2/3}}{3}  \frac{2x^{3/2}}{3}\right]_0^4\\ \amp = \frac{10\sqrt{5}}{3}  6 \approx 1.4536. \end{split} \end{equation*} 
\(y=\sin x\cos x\) and \(y=\sin x\text{,}\) \(0\le x\le \pi\)
AnswerSolution\(2\)Let \(f(x) = \sin x \cos x\) and \(g(x) = \sin x\text{.}\) We first rewrite \(f(x) = \frac{1}{2} \sin(2x)\text{.}\) Therefore, the area between the curves \(f\) and \(g\) for \(x \in [0,\pi]\) is the shaded area below:
The curves intersect at \((0,0)\) and at \((\pi,0)\text{.}\) The desired area \(A\) is bounded above by \(g(x)\) and below by \(f(x)\) for all \(x \in [0,\pi]\text{.}\) We therefore integrate with respect to \(x\text{:}\)\begin{equation*} A = \int_0^\pi \left(\sin(x)\frac{1}{2}\sin(2x)\right)\,dx = \left[\frac{1}{4}\cos(2x)\cos(x)\right]_0^\pi = \frac{1}{4} + 1  \frac{1}{4} + 1 = 2\text{.} \end{equation*}
Exercise 3.1.5.
Find the area bounded by the given curves.
Answer 1The area \(A\) is bounded above by the curve \(y=0\) and above by the curve \(y=x^33x^2\) for all \(x \in [0,3]\text{.}\) We therefore integrate with respect to \(x\text{:}\)
For \(0 \leq x \leq 3\text{,}\) the area \(A\) is bounded above by \(y=0\) and below by \(y=x^43x^3\text{.}\) We therefore integrate with respect to \(x\text{:}\)
We first notice the odd symmetry in this problem. On \([0,2]\text{,}\) the area is bounded above by \(y=x\sqrt{4x^2}\) and below by \(y=0\text{.}\) Therefore, the total area can be expressed as
Let \(u=4x^2\text{,}\) with \(du = 2x\,dx\text{.}\) Then when \(x=0\text{,}\) \(u=4\) and when \(x=2\text{,}\) \(u=0\text{.}\) Therefore:
First notice that the curve \(y=\displaystyle{\frac{3x}{x^2+1}}\) is an odd function. Therefore, the desired area is given by
We carry out the integration by making the substitution:
Then,
The area is thus
The area is bounded above by the curve \(y=0\) and below by the curve \(y=\frac{x}{3}  \sqrt{x}\) for \(x \in [0,9]\text{.}\) We therefore integrate with respect to \(x\text{:}\)
For \(x\in[0,1]\text{,}\) the area is bounded above by the curve \(y=\sqrt{x/4}\) and below by the curve \(y=1/2+x\text{.}\) We therefore integrate with respect to \(x\text{:}\)
Exercise 3.1.6.
An object moves so that its velocity at time \(t\) is \(v(t)=9.8t+20\) m/s. Describe the motion of the object between \(t=0\) and \(t=5\text{,}\) find the total distance travelled by the object during that time, and find the net distance travelled. Solution
Exercise 3.1.7.
An object moves so that its velocity at time \(t\) is \(v(t)=\sin t\text{.}\) Set up and evaluate a single definite integral to compute the net distance travelled between \(t=0\) and \(t=2\pi\text{.}\)
AnswerWe make a sketch of the velocity function below:
By symmetry of the sine function, we see that the net distance travelled must be
Exercise 3.1.8.
An object moves so that its velocity at time \(t\) is \(v(t)=1+2\sin t\) m/s. Find the net distance travelled by the object between \(t=0\) and \(t=2\pi\text{,}\) and find the total distance travelled during the same period.
AnswerWe make a sketch of the velocity function below:
Therefore, the net distance travelled is
And the total distance \(D\) travelled is the total area under the velocity curve. Since the velocity is negative for \(t\in \left(\frac{7\pi}{6},\frac{11\pi}{6}\right)\text{,}\) we split the integral into three pieces:
Exercise 3.1.9.
Consider the function \(f(x)=(x+2)(x+1)(x1)(x2)\) on \([2,2]\text{.}\) Find the total area between the curve and the \(x\)axis (measuring all area as positive).
AnswerWe first sketch the function \(f(x)\) on \([2,2]\text{:}\)
We notice that the area is bounded below by the curve \(y=f(x)\) on \((2,1)\cup(1,2)\text{,}\) and is bounded above by the curve on \((1,1)\text{.}\) Therefore, the total area will be given by:
Furthermore, we note that the area is symmetric about the \(y\)axis. Therefore, we can simplify:
First, we solve the corresponding indefinite integral by rewriting the integrand in expanded form:
We now evaluate the definite integrals:
Exercise 3.1.10.
Consider the function \(\ds f(x)=x^23x+2\) on \([0,4]\text{.}\) Find the total area between the curve and the \(x\)axis (measuring all area as positive).
AnswerWe first rewrite \(f(x) = x^23x+2 = (x1)(x2)\text{.}\)
From the plot above, we see that the area (in green) is bounded above by the curve \(y=f(x)\) on \((0,1)\cup(2,4)\text{,}\) and below by the curve on \((1,2)\text{.}\) Therefore, the area is given by
We first find the corresponding indefinite integral:
Using this result, we can compute the definite integrals:
Exercise 3.1.11.
Evaluate the three integrals:
and verify that \(A=BC\text{.}\) Draw a diagram which illustrates this relationship.
AnswerWe first evaluate the corresponding indefinite integral:
Therefore,
Similarly, we have
and
Hence,
We illustrate this relationship below:
where \(B\) is the net area—in other words, \(B=A+C\text{.}\)