Chapter 5.9 Approximating Area in the Plane
In this section, we explore ways to approximate and calculate the area of regions that are represented by the graphs of certain functions. We learn how to calculate the exact area of specific regions that are either squares, rectangles, triangles, or circles. Then, we discuss an approximation method to determine the area of more complicated regions. Finally, we discuss certain properties of the approximation methods that can aid in calculating and estimating the areas.
Area of Regions Bounded by Simple Regions
Back in the early parts of Chapter 5, we discussed how to calculate the area of a polygon \(P\). There were two ways we did it:
- Construct a triangulation for \(P\) and summing up the area of triangle in the triangulation.
- Use the shoelace formula on \(P.\)
The limitation to this method is that it only works for polygons. However, in Chapter 5.3, we discussed an approximation scheme that can be used to approximate the area of area of a circle, which is to construct polygons that “cover” more of the circle, but the gabs of the circle get smaller and smaller.
This idea can be used to calculate more complicated areas. For example, the region given below:
This region is not a triangle because the “hypothenus” is not a straight line. We will come back to this shape in the next subsection.
For now we focus on regions \(R\) whose boundaries \(\partial R\) can be described by a piecewise function of the form
\[c(t)=\begin{cases}(t,f(t))&\text{if }a\leq t\leq b\\ (b,f(b)-(t-b)f(b))&\text{if }b\leq t\leq b+1\\ ((t-b-1)(a-b)+b,0)&\text{if }b+1\leq t\leq b+2\\ (a,(t-b-2)f(a))&\text{if }b+2\leq t\leq b+3\end{cases}\]
where \(f\) is a continuous, non-negative function on \([a,b].\)
Although the formula looks complicated, all it is that the boundary is describing the region \(R\) that is form by bounding
- the \(x\)-axis,
- the vertical line \(x=a\)
- the vertical line \(x=b\)
- the function \(f\).
In the first example, we study a region made up of just vertical and horizontal lines. For this kind of region, we can calculate its area.
Example 1
Take \(R\) to be the region formed by bounding \(f(x)=4\), \(x=1\), and \(x=5\) and the \(x\)-axis. Determine if the area of \(R\) can be calculated exactly.
The region \(R\) looks like this:
This region is a rectangle with width equal to 4 and length equal to 4. Its area is thus \(\mathcal{A}(R)=4\cdot 4=16.\)
What happens if the region \(R\) is constructed with a function that is negative or below the \(x\)-axis? If that case, when the parameterization of the boundary is constructed, the orientation will be negative.
In that case, we will refer to it as signed area. In the next example, calculate the area of the following region.
Example 2
Take \(R\) to be the region formed by bounding \(f(x)=-6\), \(x=2\), and \(x=4\) and the \(x\)-axis. Determine if the area of \(R\) can be calculated exactly.
The region \(R\) looks like this:
This region is a rectangle below the \(x\)-axis with width equal to 2 and length equal to 6. Its signed area is thus \(\mathcal{A}(R)=-2\cdot 6=-12.\)
In the next example, pay attention to how we decompose the region \(R\) into two sub-regions that we can calculate the area of.
Example 3
Take \(R\) to be the region formed by bounding \(f(x)=x-4\), \(x=1\), and \(x=5\) and \(y=0\). Determine if the signed area of \(R\) can be calculated exactly.
The region \(R\) looks like this:
Decompose \(R\) into two regions, \(R_1\) and \(R_2\) like this:
Both regions are triangles, so \[\mathcal{A}(R_1)=-\frac{1}{2}\cdot 3\cdot 3=-\frac{9}{2}\quad\text{and}\quad\mathcal{A}(R_2)=\frac{1}{2}\cdot 1\cdot 1=\frac{1}{2}.\] Therefore, the area of \(R\) is \[\mathcal{A}(R)=\mathcal{A}(R_1)+\mathcal{A}(R_2)=-\frac{9}{2}+\frac{1}{2}=-4.\]
In the next example, we determine the area by graphing the region and identifying the geometric shape.
Example 4
Take \(R\) to be the region formed by bounding \(f(x)=\sqrt{4-x^2}\), \(x=-2\), and \(x=2\) and \(y=0\). Determine if the area of \(R\) can be calculated exactly.
The region \(R\) looks like this:
The region \(R\) looks like half a circle. To confirm, rewrite the formula like this: \[\begin{align*} f(x)&=\sqrt{4-x^2}\\ y&=\sqrt{4-x^2}\\ y^2&=4-x^2\\ x^2+y^2&=4. \end{align*}\] Indeed, the region is the upper half of the circle with center \((0,0)\) and radius \(r=2\).
Therefore, the area of \(R\) is \[\mathcal{A}(R)=\frac{1}{2}\pi\cdot r^2=\frac{1}{2}\pi\cdot 2^2=2\pi.\]
In this next example, we also determine the area by identifying the geometric shape.
Example 5
Take \(R\) to be the region formed by bounding \(f(x)=3\sqrt{1-x^2}\), \(x=-1\), and \(x=1\) and \(y=0\). Determine if the area of \(R\) can be calculated exactly.
The region \(R\) looks like this:
The region \(R\) looks like half an ellipse. To confirm, rewrite the formula like this:
\[\begin{align*} f(x)&=3\sqrt{1-x^2}\\ y&=3\sqrt{1-x^2}\\ \frac{y}{3}&=\sqrt{1-x^2}\\ \frac{y^2}{9}&=1-x^2\\ x^2+\frac{y^2}{9}&=1\\ \frac{x^2}{1}+\frac{y^2}{9}&=1.\\ \end{align*}\]
Indeed, the region is the upper half of the ellipse that is the circle with center \((0,0)\) and radius \(1\) asymmetrically scaled in \(y\) by \(3\) (so \(a=1\) and \(b=3\)).
Therefore, the area of \(R\) is \[\mathcal{A}(R)=\frac{1}{2}\pi\cdot a\cdot b=\frac{1}{2}\pi\cdot 1\cdot 3=\frac{3}{2}\pi.\]
In the above example, we use the fact that the ellipse whose equation is given by \[\frac{x^2}{a^2}+\frac{y^2}{b^2}=1\] has area equal to \(\pi \cdot ab.\)
Approximating Area
Now we return to the region from the start of the chapter.
This is actually the graph of \(f(x)=x^2\) on \([0,1].\) Because this is not a geometric shape we are familar with, we cannot evaluate the area exactly.
However, we can approximate it. There are many ways to approximate it. For example, we can select points \((x,f(x))\) to construct a triangulation of the figure. However, to simplify the process, rather than triangulate, we create rectangles with the same width, but varying heights determined by the function \(f\).
Let us discuss the terminology to help with this.
Partition
For any interval \([a,b]\), a partition for \([a,b]\) with \(N\) intervals is a strictly increasing function \(P\) from a set \(\{0,1,\dots,N\}\) to \(I\) such that \[ P(0)=a\quad\text{and}\quad P(N)=b. \]
For example, a partition of \([0,1]\) is \(P=(0,\tfrac{1}{2},\tfrac{3}{4},1).\)
A partition splits up the interval like this:
Interval of a Partition
For each \(n\) in \(\{1,2,\dots,N\},\) denote by \(I_P(n)\) the interval \[I_P(n)=[P(n-1),P(n)].\]
If \(P=(0,\tfrac{1}{2},\tfrac{3}{4},1),\) then we have
\[I_P(1)=[0,\tfrac{1}{2}],\quad I_P(2)=[\tfrac{1}{2},\tfrac{3}{4}]\quad\text{and}\quad I_P(3)=[\tfrac{3}{4},1].\]
Mesh
Denote by \(\|P\|\) the mesh of \(P\), by the quantity \[\|P\|=\max_{n\in\{1,\dots,N\}}(P(n)-P(n-1))\]
For \(P=(0,\tfrac{1}{2},\tfrac{3}{4},1),\) the intervals are \[I_P(1)=[0,\tfrac{1}{2}],\quad I_P(2)=[\tfrac{1}{2},\tfrac{3}{4}]\quad\text{and}\quad I_P(3)=[\tfrac{3}{4},1].\]
So
\[P(1)-P(0)=\tfrac{1}{2}-0=\tfrac{1}{2},\quad P(2)-P(1)=\tfrac{3}{4}-\tfrac{1}{2}=\tfrac{1}{4},\quad\text{and}\quad P(3)-P(2)=1-\tfrac{3}{4}=\frac{1}{4}\]
implies that \(\|P\|=\tfrac{1}{2}.\)
Even Partition
A partition \(P\) is an even partition if all intervals of \(P\) have the same length.
Practice your understanding with this example.
Example 6
Take \(P\) to be the partition of \([1,9]\) that is given by \((1, 3, 5, 9)\).
Identify the finite sequence of intervals \((I_P(n))\) and determine \(\|P\|\).
These are what the intervals look like:
\[I_P(1)=[1,3], \quad I_P(2)=[3,5]\quad\text{and}\quad I_P(3)=[5,9].\]
Here is an example where we construct an even partition \(P\) of \([-1,2]\).
Example 7
Construct an even partition \(P\) of \([-1,2]\) that has \(6\) intervals.
An even partition is a partition in which all intervals of \(P\) have the same length. An even partition of \([-1,2]\) that has \(6\) intervals is one in which the length of each interval is \[\frac{2-(-1)}{6}=\frac{3}{6}=\frac{1}{2}.\] Here is a partition: \(P=\left(-1,-\tfrac{1}{2},0,\tfrac{1}{2},1,\tfrac{3}{2},2\right).\)
In order to approximate area, we need a way to sample points.
Tagging for a Partition
For any partition \(P\) of \([a,b]\) with \(n\) intervals, a function \(\tau_P\) is a tagging for P if \(\tau_P\) is an increasing function \(\{1,\dots,n\}\) to \([a,b]\) so that for each \(i\), \(\tau_P(i)\) is in \(I_P(i)\).
Here is an example of some partitions.
Example 8
Construct two distinct taggings for the same even partition \(P\) of \([0,3]\) with three intervals.
An even partition \(P\) of \([0,3]\) with three intervals is \(P=(0,1,2,3)\). That is, \(P(0)=0\), \(P(1)=1\), \(P(2)=2\), and \(P(3)=3\).
Here is one tagging, \(\tau\):
\[\tau(1)=\tfrac{1}{4},\quad \tau(2)=1,\quad\text{and}\quad \tau(3)=\tfrac{5}{2}.\]
Here is another tagging, \(\tau'\):
\[\tau'(1)=0,\quad\tau'(2)=2,\quad\text{and}\quad\tau'(3)=\tfrac{5}{2}\]
Here are three useful taggings.
Left, Right and Midpoint Tagging
A tagging \(\tau_P\) for \(P\) is a left endpoint tagging if for each \(i\), \(\tau_P(i)\) is the left endpoint of \(I_P(i).\)
A tagging \(\tau_P\) for \(P\) is a right endpoint tagging if for each \(i\), \(\tau_P(i)\) is the right endpoint of \(I_P(i).\)
A tagging \(\tau_P\) for \(P\) is a midpoint tagging if for each \(i\), \(\tau_P(i)\) is the midpoint of \(I_P(i).\)
Finally, a tagged partition is a pair \((P,\tau_P)\) consisting of a partition \(P\) and a tagging for \(P\).
In this next example, we look at six approximations.
Example 9
Take \(R\) to be the region formed by bounding \(f(x)=x^2\) and the \(x\)-axis on \([0,1]\). Approximate \(R\) using six different approximations.
First, here are two approximations of the area using one rectangle. The first approximation uses \(f(0)=0\) as the height of the rectangle with a width of \(1\) while the second approximation uses \(f(1)=1\) as the height of the rectangle with a width of \(1\).
The area of the first approximation is \(0\) while the area of the second approximation is \(1\).
The area \(\mathcal{A}(R)\) is therefore between \(0\) and \(1\).
For the next approximation, construct two rectangles of an equal width of \(\frac{1}{2}\). The first approximation uses \(f(0)=0\) and \(f(\frac{1}{2})=\frac{1}{4}\) as the heights of the two rectangles each with a width \(\frac{1}{2}\) while the second approximation uses \(f(1)=1\) and \(f(\frac{1}{2})=\frac{1}{4}\) as the heights of the two rectangles each with a width \(\frac{1}{2}.\)
The area of the first approximation is \(0+\frac{1}{4}\cdot\frac{1}{2}=\frac{1}{8}\) while the area of the second approximation is \(\frac{1}{4}\cdot\frac{1}{2}+\frac{1}{2}\cdot 1=\frac{5}{8}\).
The area \(\mathcal{A}(R)\) is therefore between \(\frac{1}{8}\) and \(\frac{5}{8}\).
For the next approximation, construct four rectangles of an equal width of \(\frac{1}{4}\). The first approximation uses \(f(0)=0\), \(f(\frac{1}{4})=\frac{1}{16}\), \(f(\frac{1}{2})=\frac{1}{4}\) and \(f(\frac{3}{4})=\frac{9}{16}\) as the heights of the four rectangles each with a width \(\frac{1}{4}\) while the second approximation uses \(f(1)=1\), \(f(\frac{1}{4})=\frac{1}{16}\), \(f(\frac{1}{2})=\frac{1}{4}\) and \(f(\frac{3}{4})=\frac{9}{16}\) as the heights of the four rectangles each with a width \(\frac{1}{4}.\)
The area of the first approximation is \(0\cdot\frac{1}{4}+\frac{1}{4}\cdot\frac{1}{16}+\frac{1}{4}\cdot\frac{1}{4}+\frac{1}{4}\cdot\frac{9}{16}=\frac{7}{32}\) while the area of the second approximation is \(\frac{1}{4}\cdot\frac{1}{16}+\frac{1}{4}\cdot \frac{1}{4}+\frac{1}{4}\cdot\frac{9}{16}+\frac{1}{4}\cdot 1=\frac{15}{32}\).
The area \(\mathcal{A}(R)\) is therefore between \(\frac{7}{32}\) and \(\frac{15}{32}\).
Notice that the more rectangles we used, the more the rectangles “closely covered” the region \(R\). Is it possible that creating more rectangles and summing up the area will produce a better approximation for the area of the region \(R\)? In certain situations, the answer is yes.
However, before we go over under what conditions the approximation will get better, we first need to generalize the process.
Riemann Sum with Respect to a Tagged Partition
For any partition \(P\) and for each nonzero \(i\) in \(\mathcal{D}(P)\), take \(|I_P(i)|\) to be the length of the \(i^{\text{th}}\) interval that is defined by \(P\), that is, \[|I_P(i)|=P(i)-P(i-1).\] For any interval \([a,b],\) any function with domain \([a,b]\) and any tagged partition \((P,\tau_P)\) for \([a,b]\), the Riemann sum for \(f\) with respect to \((P,\tau_P)\) is the quantity \(\mathcal{R}(f,P,\tau)\) where \[\mathcal{R}(f,P,\tau)=\sum_{i\in \mathcal{D}(\tau_P)}f(\tau_P(i))|I_p(i)|.\] A Rieman sum is a sum of signed areas of rectangles, where the sign of the area is negative if \(f\) is negative at the sampled point.
Here is an example.
Example 10
Take \(f\) to be the function that is given by \[f(x) = \sqrt{x}\cos^2(x).\] Take \((P, \tau_P)\) to be the tagged partition for \([0, \pi]\) that is given by [P = (0, , , , ) _P = (, , , ).] Evaluate \(\mathcal R(f, P, \tau_P)\).
\[P(0)=0,\quad P(1)=\tfrac{\pi}{4},\quad P(2)=\tfrac{\pi}{2},\quad P(3)=\tfrac{2\pi}{3},\quad P(4)=\pi,\] and \[I_{P}(1)=\left[0,\tfrac{\pi}{4}\right],\quad I_{P}(2)=\left[\tfrac{\pi}{4},\tfrac{\pi}{2}\right], \quad I_{P}(3)=\left[\tfrac{\pi}{2},\tfrac{2\pi}{3}\right], \quad I_{P}(4)=\left[\tfrac{2\pi}{3},\pi\right].\]
Use these equalities to see that
\[\begin{align*} \mathcal R(f, P, \tau_P) &=f\left(\tfrac{\pi}{8}\right)\left(\tfrac{\pi}{4}-0\right)+f\left(\tfrac{\pi}{4}\right)\left(\tfrac{\pi}{2}-\tfrac{\pi}{4}\right)+f\left(\tfrac{2\pi}{3}\right)\left(\tfrac{2\pi}{3}-\tfrac{\pi}{2}\right)+f\left(\tfrac{7\pi}{8}\right)\left(\pi-\tfrac{2\pi}{3}\right)\\ &=\sqrt{\tfrac{\pi}{8}}\cos^2\left(\tfrac{\pi}{8}\right)\cdot\tfrac{\pi}{4}+\sqrt{\tfrac{\pi}{4}}\cos^2\left(\tfrac{\pi}{4}\right)\cdot\tfrac{\pi}{4}+\sqrt{\tfrac{2\pi}{3}}\cos^2\left(\tfrac{2\pi}{3}\right)\cdot \tfrac{\pi}{6}+\sqrt{\tfrac{7\pi}{8}}\cos^2\left(\tfrac{7\pi}{8}\right)\cdot \tfrac{\pi}{3}. \end{align*}\]
Now let us specialize to these two kind of Riemann sums.
Left Hand and Right Hand Riemann Sums
To approximate the area of the region bounded by \(y=f(x)\), \(x\)-axis, \(x=a\) and \(x=b\) with \(n\) rectangles with equal width:
- determine the width so that we have an even partition: \(\Delta x=\frac{b-a}{n}\)
- determine the heights of the rectangle by decomposing the interval \([a,b]\): \([x_0,x_1],[x_1,x_2],[x_2,x_3],\dots,[x_{n-1},x_n]\) where \(x_i=a+i\cdot\Delta x\) where \(i\in\{0,1,2,3,\dots,n-1,n\}.\)
The left-hand Riemann sum or left endpoint tagging Riemann sum is the sum of these \(n\) rectangles: \[\sum_{i=0}^{n-1}f(x_i)\Delta x=\underbrace{f(x_0)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}+\underbrace{f(x_1)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}+\dots+\underbrace{f(x_{n-1})}_{\text{height}}\underbrace{\Delta x}_{\text{width}}.\] This is read as “the sum from i equals 0 to n minus 1 of f of x sub i delta x.”
The right-hand Riemann sum or right endpoint tagging Riemann sum is the sum of these \(n\) rectangles: \[\sum_{i=1}^{n}f(x_i)\Delta x=\underbrace{f(x_1)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}+\underbrace{f(x_2)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}+\dots+\underbrace{f(x_{n})}_{\text{height}}\underbrace{\Delta x}_{\text{width}}.\] This is read as “the sum from i equals 1 to n of f of x sub i delta x.”
In this next example, calculate the Riemann sums with six rectangles.
Example 11
Take \(R\) to be the region formed by bounding \(f(x)=x^2\) and the \(x\)-axis on \([0,1]\). Approximate \(R\) using six rectangles (Riemann sums) to approximate the area.
For this problem the left-end point is \(a=0\), the right-end point is \(b=1\) and the number of rectangles is \(n=6\). The width of each rectangle is \[\Delta x=\frac{b-a}{n}=\frac{1}{6}.\] The \(x\)-values that determine the heights of each rectangle are given by the formula \[x_i=a+i\Delta x=0+i\cdot\frac{1}{6}\] for \(i\in\{0,1,2,3,4,5,6\}.\) The \(x\)-values are
- \(x_0=0\)
- \(x_1=0+1\cdot\frac{1}{6}=\frac{1}{6}\)
- \(x_2=0+2\cdot\frac{1}{6}=\frac{2}{6}\)
- \(x_3=0+3\cdot\frac{1}{6}=\frac{3}{6}\)
- \(x_4=0+4\cdot\frac{1}{6}=\frac{4}{6}\)
- \(x_5=0+5\cdot\frac{1}{6}=\frac{5}{6}\)
- \(x_6=0+6\cdot\frac{1}{6}=1.\)
The heights are
- \(f(x_0)=f(0)=0\)
- \(f(x_1)=f(\frac{1}{6})=\frac{1}{36}\)
- \(f(x_2)=f(\frac{2}{6})=\frac{1}{9}\)
- \(f(x_3)=f(\frac{3}{6})=\frac{1}{4}\)
- \(f(x_4)=f(\frac{4}{6})=\frac{4}{9}\)
- \(f(x_5)=f(\frac{5}{6})=\frac{25}{36}\)
- \(f(x_6)=f(1)=1.\)
The left-hand approximation is
\[\begin{align*} \sum_{i=0}^{5}f(x_i)\Delta x&=f(x_0)\Delta x+f(x_1)\Delta x+f(x_2)\Delta x+f(x_3)\Delta x+f(x_4)\Delta x+f(x_5)\Delta x\\ &=0\cdot \frac{1}{6}+\frac{1}{36}\cdot\frac{1}{6}+\frac{1}{9}\cdot\frac{1}{6}+\frac{1}{4}\cdot\frac{1}{6}+\frac{4}{9}\cdot\frac{1}{6}+\frac{25}{36}\cdot\frac{1}{6}\\ &=\frac{55}{216}. \end{align*}\]
The right-hand approximation is
\[\begin{align*} \sum_{i=1}^{6}f(x_i)\Delta x&=f(x_1)\Delta x+f(x_2)\Delta x+f(x_3)\Delta x+f(x_4)\Delta x+f(x_5)\Delta x+f(x_6)\Delta x\\ &=\frac{1}{36}\cdot\frac{1}{6}+\frac{1}{9}\cdot\frac{1}{6}+\frac{1}{4}\cdot\frac{1}{6}+\frac{4}{9}\cdot\frac{1}{6}+\frac{25}{36}\cdot\frac{1}{6}+1\cdot \frac{1}{6}\\ &=\frac{91}{216}. \end{align*}\]
Here is a graph of the left-hand Riemann sum approximation in Example 11:
Here is a graph of the right-hand Riemann sum approximation in Example 11:
Remember that we decompose the interval \([a,b]\) into \(n\) sub-intervals: \([x_0,x_1],[x_1,x_2],\dots,[x_{n-1},x_n].\)
The right-hand approximation samples the right endpoints, so we use \(x_1,x_2,\dots,x_n\). The left-hand approximation samples the left endpoints, so we use \(x_0,x_1,\dots,x_{n-1}.\)
However, those are not the only kind of sampling we can do. Instead of picking the endpoints, we can pick any real number in each of the sub-intervals. For example, the midpoints.
Midpoint Riemann Sum
To approximate the area of the region bounded by \(y=f(x)\), \(x\)-axis, \(x=a\) and \(x=b\) with \(n\) rectangles with equal width using midpoints:
- determine the width: \(\Delta x=\frac{b-a}{n}\)
- decomposing the interval \([a,b]\): \([x_0,x_1],[x_1,x_2],[x_2,x_3],\dots,[x_{n-1},x_n]\) where \(x_i=a+i\cdot\Delta x\) where \(i\in\{0,1,2,3,\dots,n-1,n\}.\)
- calculate the midpoint of each interval: given the interval \([x_i,x_{i+1}]\) the midpoint is \(\frac{x_i+x_{i+1}}{2}.\)
The midpoint Riemann sum is the sum of these \(n\) rectangles: \[\sum_{i=0}^{n-1}f\left(\frac{x_i+x_{i+1}}{2}\right)\Delta x=\underbrace{f\left(\frac{x_0+x_1}{2}\right)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}+\underbrace{f\left(\frac{x_1+x_2}{2}\right)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}+\dots+\underbrace{f\left(\frac{x_{n-1}+x_{n}}{2}\right)}_{\text{height}}\underbrace{\Delta x}_{\text{width}}.\]
In this next example, calculate the midpoint Riemann sums with six rectangles.
Example 12
Take \(R\) to be the region formed by bounding \(f(x)=x^2\) and the \(x\)-axis on \([0,1]\). Approximate \(R\) using six midpoint Riemann sums to approximate the area.
For this problem the left-end point is \(a=0\), the right-end point is \(b=1\) and the number of rectangles is \(n=6\). The width of each rectangle is \[\Delta x=\frac{b-a}{n}=\frac{1}{6}.\] The \(x_i\)-values are given by the formula \[x_i=a+i\Delta x=0+i\cdot\frac{1}{6}\] for \(i\in\{0,1,2,3,4,5,6\}.\) The \(x_i\)-values are
- \(x_0=0\)
- \(x_1=0+1\cdot\frac{1}{6}=\frac{1}{6}\)
- \(x_2=0+2\cdot\frac{1}{6}=\frac{2}{6}\)
- \(x_3=0+3\cdot\frac{1}{6}=\frac{3}{6}\)
- \(x_4=0+4\cdot\frac{1}{6}=\frac{4}{6}\)
- \(x_5=0+5\cdot\frac{1}{6}=\frac{5}{6}\)
- \(x_6=0+6\cdot\frac{1}{6}=1.\)
The midpoints are
- \(\frac{x_0+x_1}{2}=\frac{0+\frac{1}{6}}{2}=\frac{1}{12}\)
- \(\frac{x_1+x_2}{2}=\frac{\frac{1}{6}+\frac{1}{3}}{2}=\frac{3}{12}\)
- \(\frac{x_2+x_3}{2}=\frac{\frac{1}{3}+\frac{1}{2}}{2}=\frac{5}{12}\)
- \(\frac{x_3+x_4}{2}=\frac{\frac{1}{2}+\frac{2}{3}}{2}=\frac{7}{12}\)
- \(\frac{x_4+x_5}{2}=\frac{\frac{2}{3}+\frac{5}{6}}{2}=\frac{9}{12}\)
- \(\frac{x_5+x_6}{2}=\frac{\frac{5}{6}+1}{2}=\frac{11}{12}\)
The heights are
- \(f\left(\frac{x_0+x_1}{2}\right)=f\left(\frac{1}{12}\right)=\frac{1}{144}\)
- \(f\left(\frac{x_1+x_2}{2}\right)=f(\frac{3}{12})=\frac{1}{16}\)
- \(f\left(\frac{x_2+x_3}{2}\right)=f(\frac{5}{12})=\frac{25}{144}\)
- \(f\left(\frac{x_3+x_4}{2}\right)=f(\frac{7}{12})=\frac{49}{144}\)
- \(f\left(\frac{x_4+x_5}{2}\right)=f(\frac{9}{12})=\frac{9}{16}\)
- \(f\left(\frac{x_5+x_6}{2}\right)=f(\frac{11}{12})=\frac{121}{144}\)
The midpoint approximation is
\[\begin{align*} \sum_{i=0}^{n-1}f\left(\frac{x_i+x_{i+1}}{2}\right)\Delta x&=f\left(\frac{x_0+x_1}{2}\right)\Delta x+f\left(\frac{x_1+x_2}{2}\right)\Delta x+f\left(\frac{x_2+x_3}{2}\right)\Delta x+f\left(\frac{x_3+x_4}{2}\right)\Delta x+f\left(\frac{x_4+x_5}{2}\right)\Delta x+f\left(\frac{x_5+x_6}{2}\right)\Delta x\\ &=\frac{1}{144}\cdot \frac{1}{6}+\frac{1}{16}\cdot\frac{1}{6}+\frac{25}{144}\cdot\frac{1}{6}+\frac{49}{144}\cdot\frac{1}{6}+\frac{9}{16}\cdot\frac{1}{6}+\frac{121}{144}\cdot\frac{1}{6}\\ &=\frac{143}{432}. \end{align*}\]
Here is a graph of the midpoint Riemann sum approximation in Example 12:
Notice that compared to the left-hand and right-hand approximation, the midpoint approximation appears to have less “spacing.” In a later section, we will discuss the error of all these different approximation schemes.
Here is one final example to end this subsection.
Example 13
Use a Riemann sum with a midpoint tagging and an even partition \(P\) with \(3\) intervals to calculate the area under \(f\) on the interval \([2,8]\), where \[f(x) = 2x -3.\]
An even partition \(P\) of \([2,8]\) with \(3\) intervals is \(P=(2,4,6,8).\) A tagging \(\tau\) of \(P\) is \(\tau_P=(3,5,7).\) So,
\[\begin{align*} \mathcal R(f, P, \tau_P) &=f(3)\cdot (4-2)+f(5)\cdot (6-4)+f(7)\cdot (8-2)\\ &=3\cdot 2+7\cdot 2+11\cdot 2\\ &=42.\end{align*}\]
Note that this is the exact area:
\[\begin{align*} \text{Area}&=\frac{1}{2}\cdot 6\cdot 12+1\cdot 6\\ &=42. \end{align*}\]
Determing Area Exactly
The more rectangles we used, the closer the rectangles matched the shape of the region described by \(f(x)=x^2\) on \([0,1].\) It turns out that taking the limit will give us a finite number and that is how we define the area.
Riemann Integrable
A function \(f\) is Riemann integrable on \([a,b]\) if it satisfies this condition:
There is a real number \(L\) so that for any sequence of partitions \((P_n)\) and any associated sequence of taggings \((\tau_n)\), if \((\|P_n\|\)) is a null sequence, then \[\lim_{n\to\infty}\mathcal{R}(f,P_n,\tau_n)=L.\] In this case, \(L\) is the Riemann integral of \(f\) over \([a,b].\) Denote this quantity \(L\) by \[\int_{a}^bf(x)\,\mathrm{d}x=L.\]
Here is another way to state this as well.
Area of Region R as a Limit of Riemann Sums
Take \(f\) to be a continuous function on \([a,b].\) Take \(R\) to be the region bounded by \(f\) and the \(x\)-axis on \([a,b].\) Then the area of \(R\) is defined and \[\mathcal{A}(R)=\lim_{n\to\infty}\sum_{i=1}^nf(x_i)\Delta x\] where \(\Delta x=\frac{b-a}{n}\) and \(x_i=a+i\Delta x\).
To compute the limit, we first need to determine \(\sum\limits_{i=1}^nf(x_i)\Delta x\). This involves finding a formula that is no longer a sum.
The following formulas will be useful.
Summation Formulas
Take \(n\) to be a natural number, \(c\) be a real number, and \(a_i\) and \(b_i\) to be sequences of real numbers. Then the following formulas.
- \(\displaystyle\sum_{i=1}^ni=1+2+3+\dots+n=\frac{n(n+1)}{2}\)
- \(\displaystyle\sum_{i=1}^ni^2=1^2+2^2+3^2+\dots+n^2=\frac{n(n+1)(2n+1)}{6}\)
- \(\displaystyle\sum_{i=1}^ni^3=1^3+2^3+3^3+\dots+n^3=\left(\frac{n(n+1)}{2}\right)^2\)
- \(\displaystyle\sum_{i=1}^n c=\underbrace{c+c+c+\dots+c}_{n\text{ copies}}=n\cdot c\)
- \(\displaystyle\sum_{i=1}^n ca_i=c\sum_{i=1}^n a_i\)
- \(\displaystyle\sum_{i=1}^n (a_i\pm b_i)=\sum_{i=1}^n a_i\pm\sum_{i=1}^n b_i\)
We will use these formulas to compute the area exactly of this region:
Example 14
Take \(R\) to be the region formed by bounding \(f(x)=x^2\) and the \(x\)-axis on \([0,1]\). Calculate the area of \(R\).
For this problem \(a=0\) and \(b=1\) and \(f(x)=x^2\). For each natural number \(n\), the widths of the rectangle are \[\Delta x=\frac{1-0}{n}=\frac{1}{n}.\] The \(x_i\) are \[x_i=a+i\Delta x=0+i\frac{1}{n}=\frac{i}{n}.\] The heights are \[f(x_i)=\left(\frac{i}{n}\right)^2=\frac{i^2}{n^2}.\] The Riemann sums look like this: \[\begin{align*} \sum_{i=1}^n f(x_i)\Delta x&=\sum_{i=1}^n\frac{i^2}{n^2}\frac{1}{n}\\ &=\sum_{i=1}^n\frac{i^2}{n^3}\\ &=\sum_{i=1}^n\frac{1}{n^3}i^2.\\ \end{align*}\] The only thing changing in the sum is anything with an \(i\). The \(n\) is a constant, so the sum can be rewritten like this: \[\begin{align*} \sum_{i=1}^n f(x_i)\Delta &=\sum_{i=1}^n\frac{1}{n^3}i^2.\\ &=\frac{1}{n^3}\left[\sum_{i=1}^ni^2\right]\\ &=\frac{1}{n^3}\left[\frac{n(n+1)(2n+1)}{6}\right]&\text{use the formula for sum}\\ &=\frac{(n+1)(2n+1)}{6n^2}. \end{align*}\] The Riemann sum formula simplifies down to \[\sum_{i=1}^n f(x_i)\Delta x=\frac{(n+1)(2n+1)}{6n^2}.\]
Take the limit as \(n\) goes to infinity to get
\[\begin{align*} \lim_{n\to\infty}\sum_{i=1}^n f(x_i)\Delta x=&\lim_{n\to\infty}\frac{(n+1)(2n+1)}{6n^2}\\ =&\lim_{n\to\infty}\frac{2n^2+3n+1}{6n^2}\\ =&\frac{1}{3}. \end{align*}\]
The area of \(S\) is thus \[\mathcal{A}(S)=\frac{1}{3}.\]
Here is another example of computing the sum exactly.
Example 15
Take \(R\) to be the region formed by bounding \(f(x)=x^2+1\) and the \(x\)-axis on \([4,5]\). Calculate the area of \(R\).
For this problem \(a=4\) and \(b=5\) and \(f(x)=x^2+1\). For each natural number \(n\), the widths of the rectangle are \[\Delta x=\frac{5-4}{n}=\frac{1}{n}.\] The \(x_i\) are \[x_i=a+i\Delta x=4+i\frac{1}{n}=4+\frac{i}{n}.\] The heights are \[\begin{align*}f(x_i)&=\left(4+\frac{i}{n}\right)^2+1\\ &=\frac{i^2}{n^2}+8\frac{i}{n}+16+1\\ &=\frac{i^2}{n^2}+8\frac{i}{n}+17. \end{align*}\] The Riemann sums look like this: \[\begin{align*} \sum_{i=1}^n f(x_i)\Delta x&=\sum_{i=1}^n\left(\frac{i^2}{n^2}+8\frac{i}{n}+17\right)\frac{1}{n}\\ &=\sum_{i=1}^n\left(\frac{i^2}{n^3}+8\frac{i}{n^2}+\frac{17}{n}\right)\\ &=\sum_{i=1}^n\frac{1}{n^3}i^2+\sum_{i=1}^n8\frac{i}{n^2}+\sum_{i=1}^n\frac{17}{n}.\\ \end{align*}\] The only thing changing in the sum is anything with an \(i\). The \(n\) is a constant, so the sum can be rewritten like this: \[\begin{align*} \sum_{i=1}^n f(x_i)\Delta &=\sum_{i=1}^n\frac{1}{n^3}i^2+\sum_{i=1}^n8\frac{i}{n^2}+\sum_{i=1}^n\frac{17}{n}.\\ &=\frac{1}{n^3}\sum_{i=1}^ni^2+\frac{8}{n^2}\sum_{i=1}^ni+\frac{17}{n}\sum_{i=1}^n1. \end{align*}\] Use the Summation Formulas to get \[\begin{align*} \sum_{i=1}^n f(x_i)\Delta &=\frac{1}{n^3}\sum_{i=1}^ni^2+\frac{8}{n^2}\sum_{i=1}^ni+\frac{17}{n}\sum_{i=1}^n1.\\ &=\frac{1}{n^3}\cdot\frac{n(n+1)(2n+1)}{6}+\frac{8}{n^2}\cdot\frac{n(n+1)}{2}+\frac{17}{n}n\\ &=\frac{(n+1)(2n+1)}{6n^2}+\frac{8(n+1)}{2n}+17\\ \end{align*}\] The Riemann sum formula simplifies down to \[\sum_{i=1}^n f(x_i)\Delta x=\frac{(n+1)(2n+1)}{6n^2}+\frac{8n(n+1)}{2n^2}+17.\]
Take the limit as \(n\) goes to infinity to get
\[\begin{align*} \lim_{n\to\infty}\sum_{i=1}^n f(x_i)\Delta x&=\lim_{n\to\infty}\left(\frac{(n+1)(2n+1)}{6n^2}+\frac{8(n+1)}{2n}+17\right)\\ &=\lim_{n\to\infty}\frac{2n^2+3n+1}{6n^2}+\lim_{n\to\infty}\frac{8n+8}{2n}+\lim_{n\to\infty}17\\ &=\frac{1}{3}+4+17\\ &=\frac{64}{3} \end{align*}\]
The area of \(S\) is thus \[\mathcal{A}(S)=\frac{64}{3}.\]
This is the region we calculated the area of in Example 12.
By generalizing the summation formulas we have the following.
Integral of Pow Function
For any natural number \(m\geq 1\), we have that \[\int_0^bx^m\,\mathrm{d}x=\frac{1}{m+1}b^{m+1}.\]
Use the above formula to calculate the following.
Example 16
Use the formulas for the integrals of the power functions to evaluate these integrals:
\(\displaystyle \int_0^7 x\,{\rm d}x\);
\(\displaystyle \int_{0}^2 x^2\,{\rm d}x\);
\(\displaystyle \int_{0}^3 x^3\,{\rm d}x\);
\(\displaystyle \int_{0}^2 x^4\,{\rm d}x\).
- Here \(m=1\), so
\[\int_0^7x\,\mathrm{d}x=\tfrac{1}{2}(7)^2=\tfrac{49}{2}.\]
- Here \(m=2\), so
\[\int_0^2x^2\,\mathrm{d}x=\tfrac{1}{3}(2)^3=\tfrac{8}{3}.\]
- Here \(m=3\), so
\[\int_0^3x^3\,\mathrm{d}x=\tfrac{1}{4}(3)^4=\tfrac{81}{4}.\]
- Here \(m=4\), so
\[\int_0^2x^4\,\mathrm{d}x=\tfrac{1}{5}(2)^5=\tfrac{32}{5}.\]
Since reflections preserve the area of rectangles, for any natural number \(n\),
\[\int_0^b x^m\,\mathrm{d}x+\int_0^{b^m}x^\frac{1}{m}\,\mathrm{d}x=b^{m+1}\] and so \[\int_{0}^{b^m}x^\frac{1}{m}\,\mathrm{d}x=b^{m+1}-\frac{1}{m+1}b^{m+1}=\frac{m}{m+1}b^{m+1}.\]
Replace \(b\) with \(b^{m}\) to obtain the following.
Integral of Root Function
For any natural number \(m> 1\), we have that \[\int_0^bx^\frac{1}{m}\,\mathrm{d}x=\frac{m}{m+1}b^\frac{m+1}{m}.\]
Example 17
Use the formulas for the integrals of roots to evaluate these integrals:
\(\displaystyle \int_0^9 \sqrt{x}\,{\rm d}x\);
\(\displaystyle \int_{0}^4 x^{\frac{1}{3}}\,{\rm d}x\).
- Here \(m=2\), so
\[\int_0^9\sqrt{x}\,\mathrm{d}x=\tfrac{2}{3}(9)^\frac{3}{2}=\tfrac{2}{3}(3)^3=18.\]
- Here \(m=3\), so
\[\int_0^4x^\frac{1}{3}\,\mathrm{d}x=\tfrac{3}{4}(4)^\frac{4}{3}=3(2)^\frac{2}{3}.\]
Definite Integrals
For future sections, we will use the following notation called the definite integral.
Take \(f\) to be a bounded function. We say it is Riemann Integrable on \([a,b]\) if there exists a real number \(L\) so that the Riemann sum converges to \(L\). In such case, we define the definite integral to be that number \(L\). The notation is \[\int_a^bf(x)\,\mathrm{d}x=L,\] or \[\int_a^bf(x)\,\mathrm{d}x=\lim_{n\to\infty}\sum_{i=1}^nf(x_i)\Delta x.\] The notation is read as “the integral from a to b of f of x dx”. Sometimes, the function \(f\) is referred to as the integrand.
One interpretation of the definite integral is the (signed) area of \(f\) on the interval \([a,b].\)
Use this interpretation to complete the following example.
Example 18
Compute the following by interpreting the definite integral as signed area.
- \(\displaystyle\int_0^1 x^2\,\mathrm{d}x\)
- \(\displaystyle\int_0^4 (x-3)\,\mathrm{d}x\)
- \(\displaystyle\int_{-3}^3 \sqrt{9-x^2}\,\mathrm{d}x\)
- This is computing the signed area of \(f(x)=x^2\) on \([0,1]\). In Example 9, we calculated it and got \(\frac{1}{3}\). So \[\int_{0}^1x\,\mathrm{d}x=\frac{1}{3}.\]
- This is computing the signed area of \(f(x)=x-3\) on \([0,4]\). This is similar to Example 3. Graph the function \(f\) to determine the region, decompose it into two parts, and sum up the area to get \(-4\). So \[\int_{0}^4(x-3)\,\mathrm{d}x=-4.\]
- This is computing the signed area of \(f(x)=\sqrt{9-x^2}\) on \([-3,3]\). This is similar to Example 4. Graph the function \(f\) to determine the region. It is half a circle with radius \(r=3\). So \[\int_{-3}^3\sqrt{9-x^2}\,\mathrm{d}x=\frac{9}{2}\pi.\]
As with limits, there are ways to break up complicated integrals into simpler ones. Here is a list of properties:
Definite Integral Properties
Take \(a\),\(b\) and \(c\) to be real numbers with \(a<b\). Take \(f\) and \(g\) to be two integrable functions with \[\int_a^bf(x)\,\mathrm{d}x=L\quad\text{and}\quad\int_a^bg(x)\,\mathrm{d}x=M.\] Then the following properties apply
- \(\displaystyle\int_a^b(f(x)\pm g(x))\,\mathrm{d}x=\int_a^bf(x)\,\mathrm{d}x+\int_a^bg(x)\,\mathrm{d}x\)
- \(\displaystyle\int_a^bcf(x)\,\mathrm{d}x=c\int_a^bf(x)\,\mathrm{d}x\)
- \(\displaystyle\int_a^bc\,\mathrm{d}x=c\cdot (b-a).\)
The first property states that if we have a definite integral of a sum or difference of functions, then that definite integral is equal to the sum or difference of the definite integral of the individual function.
The second property states that if we have a definite integral of a function that is scaled by a real number \(c\), then that definite integral is equal to the definite integral of the function scaled by \(c\).
The third property states that if we have a definite integral of a constant function \(c\) on \([a,b]\), then the definite integral is \(c\dot (b-a)\). This is because the region described is a rectangle with width \(b-a\) and (signed) height \(c.\)
Here is an example in which we use the properties.
Example 19
Suppose that \(f\) and \(g\) are integrable with \[\int_2^7f(x)\,\mathrm{d}x=3\quad\text{and}\quad\int_2^7g(x)\,\mathrm{d}x=-2.\]
Calculate \[\int_2^7\left(f(x)+2g(x)+3\right)\,\mathrm{d}x.\]
The integrand \(f(x)+2g(x)+3\) is the sum of three functions, so use the Definite Integral Properties to get that \[\int_2^7\left(f(x)+2g(x)+3\right)\,\mathrm{d}x=\int_2^7f(x)\,\mathrm{d}x+\int_2^72g(x)\,\mathrm{d}x+\int_2^73\,\mathrm{d}x.\]
The integrand of the definite integral \(\int_2^72g(x)\,\mathrm{d}x\) is the function \(g\) scaled by \(2\), so use the Definite Integral Properties to get that \[\int_2^72g(x)\,\mathrm{d}x=2\int_2^7g(x)\,\mathrm{d}x.\]
The integrand of the definite integral, \(\int_2^73\,\mathrm{d}x\) is the constant function \(h(x)=3\), so the integral is equal to the area of the rectangle with height \(3\) and width \(7-2=5\): \[\int_2^723\,\mathrm{d}x=3\cdot 5=15.\]
The definite integral is thus \[\begin{align*} \int_2^7\left(f(x)+2g(x)+3\right)\,\mathrm{d}x&=\int_2^7f(x)\,\mathrm{d}x+\int_2^72g(x)\,\mathrm{d}x+\int_2^73\,\mathrm{d}x\\ &=\int_2^7f(x)\,\mathrm{d}x+2\int_2^7g(x)\,\mathrm{d}x+\int_2^73\,\mathrm{d}x\\ &=3+2(-2)+3\cdot 5\\ &=3-4+15\\ &=14. \end{align*}\]
Here is an example as well.
Example 20
Take \(f\) to be Riemann integrable on \([1,7]\). Use the equalities
\[\int_1^3 f(x)\,{\rm d}x = 5 \quad \text{and} \quad \int_1^7 f(x)\,{\rm d}x = 8\] to evaluate \[\int_3^7 f(x) \,{\rm d}x.\]
We have \([1,3]\cup[3,7]=[1,7]\), so
\[\int_1^3 f(x)\,{\rm d}x + \int_3^7 f(x)\,{\rm d}x = \int_1^7 f(x)\,{\rm d}x\]
implies that
\[\begin{align*} \int_3^7 f(x)\,{\rm d}x&= \int_1^7 f(x)\,{\rm d}x -\int_1^3 f(x)\,{\rm d}x\\ &=8-5\\ &=3. \end{align*}\]
In this next example, break the integral to use the integral for power functions rule to evalute these integrals.
Example 21
Use the formulas for the integrals of the power functions to evaluate these integrals:
- \(\displaystyle \int_2^7 x^3\,{\rm d}x\)
- \(\displaystyle \int_{-1}^2 \big(7x^2-3x^4\big)\,{\rm d}x\).
- We have \([0,2]\cup[2,7]=[0,7]\), so
\[\int_0^2 x^3\,{\rm d}x + \int_2^7 x^3\,{\rm d}x = \int_0^7 x^3\,{\rm d}x\]
implies that
\[\begin{align*} \int_2^7 x^3\,{\rm d}x&= \int_0^7 x^3\,{\rm d}x -\int_0^2 x^3\,{\rm d}x\\ &=\tfrac{1}{4}(7)^4-\tfrac{1}{4}(2)^4. \end{align*}\]
- Since \(\rm{pow}_2\) and \(\rm{pow}_4\) are both even functions, we have that \[\int_{-1}^0x^2\,\mathrm{d}x=\int_0^1 x^2\,\mathrm{d}x\quad\text{and}\quad \int_{-1}^0x^4\,\mathrm{d}x=\int_0^1 x^4\,\mathrm{d}x.\]
Moreover since \([-1,0]\cup[0,2]=[-1,2]\), we have that
\[\int_{-1}^0f(x)\,\mathrm{d}x+\int_{0}^2f(x)\,\mathrm{d}x=\int_{-1}^2f(x)\,\mathrm{d}x.\]
Thus \[\begin{align*} \int_{-1}^2 \big(7x^2-3x^4\big)\,{\rm d}x &=\int_{-1}^0(7x^2-3x^4)\,\mathrm{d}x+\int_{0}^2(7x^2-3x^4)\,\mathrm{d}x\\ &=7\int_{-1}^0 x^2\,\mathrm{d}x-3\int_{-1}^0x^4\,\mathrm{d}x+7\int_{0}^2 x^2\,\mathrm{d}x-3\int_{0}^2x^4\,\mathrm{d}x\\ &=7\int_{0}^1 x^2\,\mathrm{d}x-3\int_{0}^1x^4\,\mathrm{d}x+7\int_{0}^2 x^2\,\mathrm{d}x-3\int_{0}^2x^4\,\mathrm{d}x\\ &=\tfrac{7}{3}(1)^3-\tfrac{3}{5}(1)^5+\tfrac{7}{3}(2)^3-\tfrac{3}{5}(2)^5. \end{align*}\]
In this next example, break the integral to use the integral for root functions rule to evalute these integrals.
Example 22
Use the formulas for the integrals of roots to evaluate these integrals:
\(\displaystyle \int_{-1}^4 x^{\frac{1}{3}}\,{\rm d}x\);
\(\displaystyle \int_4^9 \big(5\sqrt{x} - 2x^{\frac{1}{3}}\big)\,{\rm d}x\).
- Since \(\rm{pow}_\frac{1}{3}\) is odd \[\int_{-1}^0 x^\frac{1}{3}\,\mathrm{d}x=-\int_0^{1}x^\frac{1}{3}\,\mathrm{d}x.\] Moreover, since \([-1,0]\cup[0,4]=[-1,4]\), so
\[\int_{-1}^0f(x)\,\mathrm{d}x+\int_{0}^4f(x)\,\mathrm{d}x=\int_{-1}^4f(x)\,\mathrm{d}x.\]
Thus, \[\begin{align*} \int_{-1}^4x^\frac{1}{3}\,\mathrm{d}x &=\int_{-1}^0x^\frac{1}{3}\,\mathrm{d}x+\int_0^4 x^\frac{1}{3}\,\mathrm{d}x\\ &=-\int_{0}^1x^\frac{1}{3}\,\mathrm{d}x+\int_0^4 x^\frac{1}{3}\,\mathrm{d}x\\ &=-\tfrac{3}{4}(1)^\frac{4}{3}+\tfrac{3}{4}(4)^\frac{4}{3}\\ &=-\tfrac{3}{4}-3(2)^\frac{2}{3}. \end{align*}\]
- Since \([0,4]\cup[4,9]=[0,9]\), so
\[\int_{0}^4f(x)\,\mathrm{d}x+\int_{4}^9f(x)\,\mathrm{d}x=\int_{0}^9f(x)\,\mathrm{d}x,\] implies that
\[\int_{4}^9f(x)\,\mathrm{d}x=\int_{0}^9f(x)\,\mathrm{d}x-\int_{0}^4f(x)\,\mathrm{d}x.\]
Thus, \[\begin{align*} \int_4^9 \big(5\sqrt{x} - 2x^{\frac{1}{3}}\big)\,{\rm d}x &=\int_{0}^9\big(5\sqrt{x} - 2x^{\frac{1}{3}}\big)\,\mathrm{d}x-\int_0^4 \big(5\sqrt{x} - 2x^{\frac{1}{3}}\big)\,\mathrm{d}x\\ &=5\cdot\tfrac{2}{3}(9)^\frac{3}{2}-2\cdot\tfrac{3}{4}(9)^\frac{4}{3}-5\cdot\tfrac{2}{3}(4)^\frac{3}{2}+2\cdot\tfrac{3}{4}(4)^\frac{4}{3}. \end{align*}\]
Next use a combination of the geometry of the problem and splitting up the integral to determine the following.
Example 23
Use symmetry, antisymmetry, or basic geometry to evaluate these integrals:
\(\displaystyle \int_{-1}^2 x\,{\rm d}x\);
\(\displaystyle \int_{-2}^2 x^{\frac{7}{3}}\,{\rm d}x\);
\(\displaystyle \int_{-\frac{1}{2}}^{\frac{\sqrt{3}}{2}} \sqrt{1-x^2}\,{\rm d}x\).
- Since \([-1,1]\cup[1,2]=[-1,2]\), so
\[\int_{-1}^1f(x)\,\mathrm{d}x+\int_{1}^2f(x)\,\mathrm{d}x=\int_{-1}^2f(x)\,\mathrm{d}x.\]
Because \(\rm{pow}_1\) is odd, we have that \[\int_{-1}^1 x\,\mathrm{d}x=0.\]
Thus,
\[\begin{align*} \int_{-1}^2 x\,\mathrm{d}x &=\int_{-1}^1x\,\mathrm{d}x+\int_1^2x\,\mathrm{d}x\\ &=0+\int_1^2x\,\mathrm{d}x\\ &=\tfrac{1}{2}(2)^2-\tfrac{1}{2}(1)^2\\ &=\tfrac{3}{2}. \end{align*}\]
Because \(\rm{pow}_\frac{7}{3}\) is odd, we have that \[\int_{-2}^2 x^\frac{7}{3}\,\mathrm{d}x=0.\]
The area is the area of the sector with angle \(\frac{\pi}{3}+\frac{\pi}{6}=\frac{\pi}{2}\) together with the area of the two triangles.
So,
\[\begin{align*} \int_{-\frac{1}{2}}^{\frac{\sqrt{3}}{2}} \sqrt{1-x^2}\,{\rm d}x&=\frac{1}{4}\pi+\frac{1}{2}\left(\frac{1}{2}\cdot\frac{\sqrt{3}}{2}\right)+\frac{1}{2}\left(\frac{1}{2}\cdot\frac{\sqrt{3}}{2}\right)\\ &=\frac{\pi}{4}+\frac{\sqrt{3}}{4}. \end{align*}\]
The next property we have is a way to bound the definite integral of a function assuming we have an upper and lower bound for the function.
Upper and Lower Bound for Definite Integral
Take \(f\) to be an integrable function on \([a,b]\) with \[m\leq f(x)\leq M.\] Then we have the following bound on the definite integral of \(f\) on \([a,b]\): \[m(b-a)\leq \int_a^bf(x)\,\mathrm{d}x\leq M(b-a).\]
The above theorem tell us that if an integrable function \(f\) is bounded below by \(m\) and bounded above by \(M\) on \([a,b]\) then its definite integral is greater than or equal to the area of a rectangle with height \(m\) and width \(b-a\) but less than or equal to the area of a rectangle with height \(M\) and width \(b-a\).
Use this property to estimate the definite integral in the next example.
Example 24
Suppose that \(f\) is an integrable function with \[-1\leq f(x)\leq 2\quad\text{on }[-1,4].\]
Determine an upper and lower bound for the definite integral \[\int_{-1}^4f(x)\,\mathrm{d}x.\]
By Upper and Lower Bound for Definite Integral we have that \[\begin{align*} -1\cdot(4-(-1))&\leq \int_{-1}^4f(x)\,\mathrm{d}x\leq 2\cdot(4-(-1))\\ -1\cdot(5)&\leq \int_{-1}^4f(x)\,\mathrm{d}x\leq 2\cdot(5)\\ -5&\leq \int_{-1}^4f(x)\,\mathrm{d}x\leq 10. \end{align*}\]
If a function has a modulus of continuity function, then we can say the following:
Modulus of Continuity Bound on the Riemann Integral
For any function \(f\) that is continuous on \([a,b]\) with modulus of continuity function \(\omega_f\) on \([a,b]\), we have that for any sequence of partitions \((P_,n\tau_n)\) of \([a,b]\) that
\[\left|\int_a^bf(x)\,\mathrm{d}x-\mathrm{R}(f,P_n,\tau_n)\right|\leq (b-a)\omega_f(\|P_n\|)\]
Here is an example that uses this fact.
Example 25
For each of these choices of interval \([a,b]\) and positive real number \(\delta\), estimate the maximum possible error for a Riemann sum approximation of \[\int_a^b x^2\,{\rm d}x\] that uses a partition \(P\) with mesh size \(\delta\):
\([a,b] = [-1, 1]\) and \(\delta = \frac{1}{4}\);
\([a,b] = [0, 2]\) and \(\delta = \frac{1}{4}\);
\([a,b] = [10, 12]\) and \(\delta = \frac{1}{8}\).
For any interval \([a,b]\) and \(x\) and \(y\) in \([a,b]\), we have
\[|x^2-y^2|=|(x-y)(x+y)|\leq |x+y||x-y|\leq 2\max(|a|,|b|)|x-y|.\]
So the function \(\omega(h)=2\max(|a|,|b|)\cdot|h|\) is modulus of continuity function.
\[|\text{error}|\leq |1-(-1)|\omega\left(\tfrac{1}{4}\right)=2\cdot 2\max(|-1|,|1|)\cdot\tfrac{1}{4}=1.\]
\[|\text{error}|\leq |2-0|\omega\left(\tfrac{1}{4}\right)=2\cdot 2\max(|0|,|-2|)\cdot\tfrac{1}{4}=2.\]
\[|\text{error}|\leq |12-10|\omega\left(\tfrac{1}{8}\right)=2\cdot 2\max(|10|,|12|)\cdot\tfrac{1}{8}=6.\]