Skip to main content

Section 5.1 Approximating Areas

Learning Objectives.

  • Use the sum of rectangular areas to approximate the area under a curve.

  • Use Riemann sums to approximate area.

Archimedes was fascinated with calculating the areas of various shapes—in other words, the amount of space enclosed by the shape. He used a process that has come to be known as the method of exhaustion, which used smaller and smaller shapes, the areas of which could be calculated exactly, to fill an irregular region and thereby obtain closer and closer approximations to the total area. In this process, an area bounded by curves is filled with rectangles, triangles, and shapes with exact area formulas. These areas are then summed to approximate the area of the curved region.

In this section, we develop techniques to approximate the area between a curve, defined by a function \(f(x),\) and the \(x\)-axis on a closed interval \([a,b].\) Like Archimedes, we first approximate the area under the curve using shapes of known area (namely, rectangles). By using smaller and smaller rectangles, we get closer and closer approximations to the area. Taking a limit allows us to calculate the exact area under the curve.

Let’s start by introducing some notation to make the calculations easier. We then consider the case when \(f(x)\) is continuous and nonnegative. Later in the chapter, we relax some of these restrictions and develop techniques that apply in more general cases.

Subsection 5.1.1 Sigma (Summation) Notation

As mentioned, we will use shapes of known area to approximate the area of an irregular region bounded by curves. This process often requires adding up long strings of numbers. To make it easier to write down these lengthy sums, we look at some new notation here, called sigma notation (also known as summation notation). The Greek capital letter \(\Sigma,\) sigma, is used to express long sums of values in a compact form. For example, if we want to add all the integers from 1 to 20 without sigma notation, we have to write

\begin{equation*} 1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20. \end{equation*}

We could probably skip writing a couple of terms and write

\begin{equation*} 1+2+3+4+ \cdots +19+20, \end{equation*}

which is better, but still cumbersome. With sigma notation, we write this sum as

\begin{equation*} \displaystyle{ \sum_{i=1}^{20} i}, \end{equation*}

which is much more compact.

Typically, sigma notation is presented in the form

\begin{equation*} \displaystyle{ \sum_{i=1}^{n} a_i} \end{equation*}

where \(a_i\) describes the terms to be added, and the \(i\) is called the index. Each term is evaluated, then we sum all the values, beginning with the value when \(i=1\) and ending with the value when \(i=n.\) For example, an expression like \(\displaystyle{ \sum_{i=2}^{7} s_i}\) is interpreted as \(s_2+s_3+s_4+s_5+s_6+s_7.\) Note that the index is used only to keep track of the terms to be added; it does not factor into the calculation of the sum itself. The index is therefore called a dummy variable. We can use any letter we like for the index. Typically, mathematicians use \(i\text{,}\) \(j\text{,}\) \(k\text{,}\) \(m\text{,}\) and \(n\) for indices.

Subsection 5.1.2 Approximating Area

Now that we have the necessary notation, we return to the problem at hand: approximating the area under a curve. Let \(f(x)\) be a continuous, nonnegative function defined on the closed interval \([a,b].\) We want to approximate the area \(A\) bounded by \(f(x)\) above, the \(x\)-axis below, the line \(x=a\) on the left, and the line \(x=b\) on the right (Figure 5.3).

"A graph in quadrant one of an area bounded by a generic curve f(x) at the top, the x-axis at the bottom, the line x = a to the left, and the line x = b to the right. About midway through, the concavity switches from concave down to concave up, and the function starts to increases shortly before the line x = b."
Figure 5.3. An area (shaded region) bounded by the curve \(f(x)\) at top, the \(x\)-axis at bottom, the line \(x=a\) to the left, and the line \(x=b\) at right.

How do we approximate the area under this curve? The approach is a geometric one. By dividing a region into many small shapes that have known area formulas, we can sum these areas and obtain a reasonable estimate of the true area. We begin by dividing the interval \([a,b]\) into \(n\) subintervals of equal width, \(\frac{b-a}{n}.\) We do this by selecting equally spaced points \(x_0,x_1,x_2 , \dots , x_n\) with \(x_0=a,x_n=b,\) and

\begin{equation*} x_i-x_{i-1} =\frac{b-a}{n} \end{equation*}

for \(i=1,2,3 , \dots , n.\)

We denote the width of each subinterval with the notation \(\Delta x \text{,}\) so \(\Delta x =\frac{b-a}{n}\) and

\begin{equation*} x_i=x_0+i\Delta x \end{equation*}

for \(i=1,2,3 , \dots , n.\) This notion of dividing an interval \([a,b]\) into subintervals by selecting points from within the interval is used quite often in approximating the area under a curve, so let’s define some relevant terminology.

Definition 5.4.

A set of points \(P={x_i}\) for \(i=0,1,2 , \dots , n\) with \(a=x_0\lt x_1\lt x_2\lt \cdots \lt x_n=b,\) which divides the interval \([a,b]\) into subintervals of the form \([x_0,x_1],[x_1,x_2] , \dots , [x_{n-1} ,x_n]\) is called a partition of \([a,b].\) If the subintervals all have the same width, the set of points forms a regular partition of the interval \([a,b].\)

We can use this regular partition as the basis of a method for estimating the area under the curve. We next examine two methods: the left-endpoint approximation and the right-endpoint approximation.

Note 5.5. Rule: Left-Endpoint Approximation.

On each subinterval \([x_{i-1} ,x_i]\) (for \(i=1,2,3 , \dots , n),\) construct a rectangle with width \(\Delta x \) and height equal to \(f(x_{i-1} ),\) which is the function value at the left endpoint of the subinterval. Then the area of this rectangle is \(f(x_{i-1} )\Delta x .\) Adding the areas of all these rectangles, we get an approximate value for \(A\) (Figure 5.6). We use the notation L_n to denote that this is a left-endpoint approximation of \(A\) using \(n\) subintervals.

\begin{align*} A\approx L_n\amp =f(x_0)\Delta x +f(x_1)\Delta x + \cdots +f(x_{n-1} )\Delta x \\ \amp=\displaystyle{ \sum_{i=1}^{n} f(x_{i-1} )\Delta x } \end{align*}
"A diagram showing the left-endpoint approximation of area under a curve. Under a parabola with vertex on the y axis and above the x axis, rectangles are drawn between a=x0 on the origin and b = xn. The rectangles have endpoints at a=x0, x1, x2…x(n-1), and b = xn, spaced equally. The height of each rectangle is determined by the value of the given function at the left endpoint of the rectangle."
Figure 5.6. In the left-endpoint approximation of area under a curve, the height of each rectangle is determined by the function value at the left of each subinterval.

The second method for approximating area under a curve is the right-endpoint approximation. It is almost the same as the left-endpoint approximation, but now the heights of the rectangles are determined by the function values at the right of each subinterval.

Note 5.7. Rule: Right-Endpoint Approximation.

Construct a rectangle on each subinterval \([x_{i-1} ,x_i],\) only this time the height of the rectangle is determined by the function value \(f(x_i)\) at the right endpoint of the subinterval. Then, the area of each rectangle is \(f(x_i)\Delta x \) and the approximation for \(A\) is given by

\begin{align*} A\approx R_n\amp =f(x_1)\Delta x +f(x_2)\Delta x + \cdots +f(x_n)\Delta x \\ \amp=\displaystyle{ \sum_{i=1}^{n} f(x_i)\Delta x }. \end{align*}

The notation \(R_n\) indicates this is a right-endpoint approximation for \(A\) (Figure 5.8).

"A diagram showing the right-endpoint approximation of area under a curve. Under a parabola with vertex on the y axis and above the x axis, rectangles are drawn between a=x0 on the origin and b = xn. The rectangles have endpoints at a=x0, x1, x2…x(n-1), and b = xn, spaced equally. The height of each rectangle is determined by the value of the given function at the right endpoint of the rectangle."
Figure 5.8. In the right-endpoint approximation of area under a curve, the height of each rectangle is determined by the function value at the right of each subinterval. Note that the right-endpoint approximation differs from the left-endpoint approximation in Figure 5.6.

The graphs in Figure 5.9 represent the curve \(f(x)=\frac{x^2}{2}.\) In graph (a) we divide the region represented by the interval \([0,3]\) into six subintervals, each of width 0.5. Thus, \(\Delta x =0.5.\) We then form six rectangles by drawing vertical lines perpendicular to \(x_{i-1} ,\) the left endpoint of each subinterval. We determine the height of each rectangle by calculating \(f(x_{i-1} )\) for \(i=1,2,3,4,5,6.\) The intervals are \([0,0.5],[0.5,1],[1,1.5],[1.5,2],[2,2.5],[2.5,3].\) We find the area of each rectangle by multiplying the height by the width. Then, the sum of the rectangular areas approximates the area between \(f(x)\) and the \(x\)-axis. When the left endpoints are used to calculate height, we have a left-endpoint approximation. Thus,

\begin{align*} A\approx L_6\amp =\displaystyle{ \sum_{i=1}^{6} f(x_{i-1} )\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 \\ \amp=f(0)0.5+f(0.5)0.5+f(1)0.5+f(1.5)0.5+f(2)0.5+f(2.5)0.5\\ \amp =(0)0.5+(0.125)0.5+(0.5)0.5+(1.125)0.5+(2)0.5+(3.125)0.5\\ \amp =0+0.0625+0.25+0.5625+1+1.5625\\ \amp =3.4375. \end{align*}
"Diagrams side by side, showing the differences in approximating the area under a parabolic curve with vertex at the origin between the left endpoints method (the first diagram) and the right endpoints method (the second diagram). In the first diagram, rectangles are drawn at even intervals (delta x) under the curve with heights determined by the value of the function at the left endpoints. In the second diagram, the rectangles are drawn in the same fashion, but with heights determined by the value of the function at the right endpoints. The endpoints in both are spaced equally from the origin to (3, 0), labeled x0 to x6."
Figure 5.9. Methods of approximating the area under a curve by using (a) the left endpoints and (b) the right endpoints.

In Figure 5.9(b), we draw vertical lines perpendicular to \(x_i\) such that \(x_i\) is the right endpoint of each subinterval, and calculate \(f(x_i)\) for \(i=1,2,3,4,5,6.\) We multiply each \(f(x_i)\) by \(\Delta x \) to find the rectangular areas, and then add them. This is a right-endpoint approximation of the area under \(f(x).\) Thus,

\begin{align*} A\approx R_6\amp =\displaystyle{ \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 \\ \amp =f(0.5)0.5+f(1)0.5+f(1.5)0.5+f(2)0.5+f(2.5)0.5+f(3)0.5\\ \amp =(0.125)0.5+(0.5)0.5+(1.125)0.5+(2)0.5+(3.125)0.5+(4.5)0.5\\ \amp =0.0625+0.25+0.5625+1+1.5625+2.25\\ \amp =5.6875. \end{align*}

Example 5.10. Approximating the Area Under a Curve.

Use both left-endpoint and right-endpoint approximations to approximate the area under the curve of \(f(x)=x^2\) on the interval \([0,2];\) use \(n=4.\)

Solution.

First, divide the interval \([0,2]\) into \(n\) equal subintervals. Using \(n=4,\Delta x =\frac{(2-0)}{4}=0.5.\) This is the width of each rectangle. The intervals \([0,0.5],[0.5,1],[1,1.5],[1.5,2]\) are shown in Figure 5.11. Using a left-endpoint approximation, the heights are \(f(0)=0,f(0.5)=0.25,f(1)=1,f(1.5)=2.25.\) Then,

\begin{align*} L_4\amp =f(x_0)\Delta x +f(x_1)\Delta x +f(x_2)\Delta x +f(x_3)\Delta x \\ \amp =0(0.5)+0.25(0.5)+1(0.5)+2.25(0.5)\\ \amp =1.75. \end{align*}
"A graph of the left-endpoint approximation of the area under the curve f(x) = x^2 from 0 to 2 with endpoints spaced .5 units apart. The heights of the rectangle are determined by the values of the function at their left endpoints."
Figure 5.11. The graph shows the left-endpoint approximation of the area under \(f(x)=x^2\) from 0 to 2.

The right-endpoint approximation is shown in Figure 5.12. The intervals are the same, \(\Delta x =0.5,\) but now use the right endpoint to calculate the height of the rectangles. We have

\begin{align*} R_4\amp =f(x_1)\Delta x +f(x_2)\Delta x +f(x_3)\Delta x +f(x_4)\Delta x \\ \amp =0.25(0.5)+1(0.5)+2.25(0.5)+4(0.5)\\ \amp =3.75. \end{align*}
"A graph of the right-endpoint approximation method of the area under the curve f(x) = x^2 from 0 to 2 with endpoints spaced .5 units apart. The heights of the rectangles are determined by the values of the function at the right endpoints."
Figure 5.12. The graph shows the right-endpoint approximation of the area under \(f(x)=x^2\) from 0 to 2.

The left-endpoint approximation is 1.75; the right-endpoint approximation is 3.75.

Checkpoint 5.13.

Sketch left-endpoint and right-endpoint approximations for \(f(x)=\frac{1}{x}\) on \([1,2];\) use \(n=4.\) Approximate the area using both methods.

Hint.

Follow the solving strategy in Example 5.10 step-by-step.

Solution.

The left-endpoint approximation is 0.7595. The right-endpoint approximation is 0.6345. See below.

"Two graphs side by side showing the left-endpoint approximation ad right-endpoint approximation of the area under the curve f(x) = 1/x from 1 to 2 with endpoints spaced evenly at .25 units. The heights of the left-endpoint approximation one are determined by the values of the function at the left endpoints, and the height of the right-endpoint approximation one are determined by the values of the function at the right endpoints."

Looking at Figure 5.9 and the graphs in Example 5.10, we can see that when we use a small number of intervals, neither the left-endpoint approximation nor the right-endpoint approximation is a particularly accurate estimate of the area under the curve. However, it seems logical that if we increase the number of points in our partition, our estimate of \(A\) will improve. We will have more rectangles, but each rectangle will be thinner, so we will be able to fit the rectangles to the curve more precisely.

We can demonstrate the improved approximation obtained through smaller intervals with an example. Let’s explore the idea of increasing \(n\text{,}\) first in a left-endpoint approximation with four rectangles, then eight rectangles, and finally 32 rectangles. Then, let’s do the same thing in a right-endpoint approximation, using the same sets of intervals, of the same curved region. Figure 5.14 shows the area of the region under the curve \(f(x)=(x-1)^3+4\) on the interval \([0,2]\) using a left-endpoint approximation where \(n=4.\) The width of each rectangle is

\begin{equation*} \Delta x =\frac{2-0}{4}=\frac{1}{2}. \end{equation*}

The area is approximated by the summed areas of the rectangles, or

\begin{align*} L_4\amp =f(0)(0.5)+f(0.5)(0.5)+f(1)(0.5)+f(1.5)0.5\\ \amp =7.5. \end{align*}
"A graph of the left-endpoint approximation of the area under the given curve from a = x0 to b=x4. The heights of the rectangles are determined by the values of the function at the left endpoints."
Figure 5.14. With a left-endpoint approximation and dividing the region from \(a\) to \(b\) into four equal intervals, the area under the curve is approximately equal to the sum of the areas of the rectangles.

Figure 5.15 shows the same curve divided into eight subintervals. Comparing the graph with four rectangles in Figure 5.14 with this graph with eight rectangles, we can see there appears to be less white space under the curve when \(n=8.\) This white space is area under the curve we are unable to include using our approximation. The area of the rectangles is

\begin{align*} L_8\amp =f(0)(0.25)+f(0.25)(0.25)+f(0.5)(0.25)+f(0.75)(0.25)\\ \amp+f(1)(0.25)+f(1.25)(0.25)+f(1.5)(0.25)+f(1.75)(0.25)\\ \amp =7.75. \end{align*}
"A graph showing the left-endpoint approximation for the area under the given curve from a=x0 to b = x8. The heights of the rectangles are determined by the values of the function at the left endpoints."
Figure 5.15. The region under the curve is divided into \(n=8\) rectangular areas of equal width for a left-endpoint approximation.

The graph in Figure 5.16 shows the same function with 32 rectangles inscribed under the curve. There appears to be little white space left. The area occupied by the rectangles is

\begin{align*} L_{32}\amp =f(0)(0.0625)+f(0.0625)(0.0625)+f(0.125)(0.0625)+ \cdots +f(1.9375)(0.0625)\\ \amp =7.9375. \end{align*}
"A graph of the left-endpoint approximation of the area under the given curve from a = x0 to b = x32. The heights of the rectangles are determined by the values of the function at the left endpoints."
Figure 5.16. Here, 32 rectangles are inscribed under the curve for a left-endpoint approximation.

We can carry out a similar process for the right-endpoint approximation method. A right-endpoint approximation of the same curve, using four rectangles (Figure 5.17), yields an area

\begin{align*} R_4\amp =f(0.5)(0.5)+f(1)(0.5)+f(1.5)(0.5)+f(2)(0.5)\\ \amp =8.5. \end{align*}
"A graph of the right-endpoint approximation for the area under the given curve from x0 to x4. The heights of the rectangles are determined by the values of the function at the right endpoints."
Figure 5.17. Now we divide the area under the curve into four equal subintervals for a right-endpoint approximation.

Dividing the region over the interval \([0,2]\) into eight rectangles results in \(\Delta x =\frac{2-0}{8}=0.25.\) The graph is shown in Figure 5.18. The area is

\begin{align*} R_8\amp =f(0.25)(0.25)+f(0.5)(0.25)+f(0.75)(0.25)+f(1)(0.25)\\ \amp +f(1.25)(0.25)+f(1.5)(0.25)+f(1.75)(0.25)+f(2)(0.25)\\ \amp =8.25. \end{align*}
"A graph of the right-endpoint approximation for the area under the given curve from a=x0 to b=x8.The heights of the rectangles are determined by the values of the function at the right endpoints."
Figure 5.18. Here we use right-endpoint approximation for a region divided into eight equal subintervals.

Last, the right-endpoint approximation with \(n=32\) is close to the actual area (Figure 5.19). The area is approximately

\begin{align*} R_{32}\amp =f(0.0625)(0.0625)+f(0.125)(0.0625)+f(0.1875)(0.0625)+ \cdots +f(2)(0.0625)\\ \amp =8.0625. \end{align*}
"A graph of the right-endpoint approximation for the area under the given curve from a=x0 to b=x32. The heights of the rectangles are determined by the values of the function at the right endpoints."
Figure 5.19. The region is divided into 32 equal subintervals for a right-endpoint approximation.

Based on these figures and calculations, it appears we are on the right track; the rectangles appear to approximate the area under the curve better as \(n\) gets larger. Furthermore, as \(n\) increases, both the left-endpoint and right-endpoint approximations appear to approach an area of 8 square units. Table 5.20 shows a numerical comparison of the left- and right-endpoint methods. The idea that the approximations of the area under the curve get better and better as \(n\) gets larger and larger is very important, and we now explore this idea in more detail.

Table 5.20. Converging Values of Left- and Right-Endpoint Approximations as \(n\) Increases
Values of \(n\) Approximate Area L_n Approximate Area Rn
\(n=4\) 7.5 8.5
\(n=8\) 7.75 8.25
\(n=32\) 7.94 8.06

Subsection 5.1.3 Forming Riemann Sums

So far we have been using rectangles to approximate the area under a curve. The heights of these rectangles have been determined by evaluating the function at either the right or left endpoints of the subinterval \([x_{i-1} ,x_i].\) In reality, there is no reason to restrict evaluation of the function to one of these two points only. We could evaluate the function at any point \(x_i \) in the subinterval \([x_{i-1} ,x_i],\) and use \(f(x_i^*)\) as the height of our rectangle. This gives us an estimate for the area of the form

\begin{equation*} A\approx \displaystyle{ \sum_{i=1}^{n} f(x_i^* )\Delta x }. \end{equation*}

A sum of this form is called a Riemann sum, named for the 19th-century mathematician Bernhard Riemann, who developed the idea.

Definition 5.21.

Let \(f(x)\) be defined on a closed interval \([a,b]\) and let \(P\) be a regular partition of \([a,b].\) Let \(\Delta x \) be the width of each subinterval \([x_{i-1} ,x_i]\) and for each \(i\text{,}\) let \(x_i^* \) be any point in \([x_{i-1} ,x_i].\) A Riemann sum is defined for \(f(x)\) as

\begin{equation*} \displaystyle{ \sum_{i=1}^{n} f(x_i^* )\Delta x }. \end{equation*}

Recall that with the left- and right-endpoint approximations, the estimates seem to get better and better as \(n\) get larger and larger. The same thing happens with Riemann sums. Riemann sums give better approximations for larger values of \(n\text{.}\) We are now ready to define the area under a curve in terms of Riemann sums.

Definition 5.22.

Let \(f(x)\) be a continuous, nonnegative function on an interval \([a,b],\) and let \(\displaystyle{ \sum_{i=1}^{n} f(x_i^* )\Delta x }\) be a Riemann sum for \(f(x).\) Then, the area under the curve \(y=f(x)\) on \([a,b]\) is given by

\begin{equation*} A=\lim_{n\to \infty }\displaystyle{ \sum_{i=1}^{n} f(x_i^* )\Delta x }. \end{equation*}

Some subtleties here are worth discussing. First, note that taking the limit of a sum is a little different from taking the limit of a function \(f(x)\) as \(x\) goes to infinity. Limits of sums are discussed in detail in the chapter on Sequences and Series; however, for now we can assume that the computational techniques we used to compute limits of functions can also be used to calculate limits of sums.

Second, we must consider what to do if the expression converges to different limits for different choices of \({x_i^* }.\) Fortunately, this does not happen. Although the proof is beyond the scope of this text, it can be shown that if \(f(x)\) is continuous on the closed interval \([a,b],\) then \(\displaystyle{\lim_{n\to \infty } \sum_{i=1}^{n} f(x_i^* )\Delta x }\) exists and is unique (in other words, it does not depend on the choice of \({x_i^* }\text{ ). }\)

We look at some examples shortly. But, before we do, let’s take a moment and talk about some specific choices for \({x_i^* }.\) Although any choice for \({x_i^* }\) gives us an estimate of the area under the curve, we don’t necessarily know whether that estimate is too high (overestimate) or too low (underestimate). If it is important to know whether our estimate is high or low, we can select our value for \({x_i^* }\) to guarantee one result or the other.

If we want an overestimate, for example, we can choose \({x_i^* }\) such that for \(i=1,2,3 , \dots , n,f(x_i^* )\geq f(x)\) for all \(x∈[x_{i-1} ,x_i].\) In other words, we choose \({x_i^* }\) so that for \(i=1,2,3 , \dots , n,f(x_i^* )\) is the maximum function value on the interval \([x_{i-1} ,x_i].\) If we select \({x_i^* }\) in this way, then the Riemann sum \(\displaystyle{ \sum_{i=1}^{n} f(x_i^* )\Delta x }\) is called an upper sum. Similarly, if we want an underestimate, we can choose \({x_i^* }\) so that for \(i=1,2,3 , \dots , n,f(x_i^* )\) is the minimum function value on the interval \([x_{i-1} ,x_i].\) In this case, the associated Riemann sum is called a lower sum. Note that if \(f(x)\) is either increasing or decreasing throughout the interval \([a,b],\) then the maximum and minimum values of the function occur at the endpoints of the subintervals, so the upper and lower sums are just the same as the left- and right-endpoint approximations.

Example 5.23. Finding Lower and Upper Sums.

Find a lower sum for \(f(x)=10-x^2\) on \([1,2];\) let \(n=4\) subintervals.

Solution.

With \(n=4\) over the interval \([1,2],\Delta x =\frac{1}{4}.\) We can list the intervals as \([1,1.25],[1.25,1.5],[1.5,1.75],[1.75,2].\) Because the function is decreasing over the interval \([1,2],\) Figure 5.24 shows that a lower sum is obtained by using the right endpoints.

"The graph of f(x) = 10 − x^2 from 0 to 2. It is set up for a right-end approximation of the area bounded by the curve and the x axis on [1, 2], labeled a=x0 to x4. It shows a lower sum."
Figure 5.24. The graph of \(f(x)=10-x^2\) is set up for a right-endpoint approximation of the area bounded by the curve and the \(x\)-axis on \([1,2],\) and it shows a lower sum.

The Riemann sum is

\begin{align*} \displaystyle{ \sum_{k=1}^4(10-x^2)}{(0.25)}\amp =0.25[10-(1.25)^2+10-(1.5)^2+10-(1.75)^2+10-(2)^2]\\ \amp =0.25[8.4375+7.75+6.9375+6]\\ \amp =7.28. \end{align*}

The area of 7.28 is a lower sum and an underestimate.

Checkpoint 5.25.

  1. Find an upper sum for \(f(x)=10-x^2\) on \([1,2];\) let \(n=4.\)

  2. Sketch the approximation.

Hint.

\(f(x)\) is decreasing on \([1,2],\) so the maximum function values occur at the left endpoints of the subintervals.

Solution.
  1. \(\displaystyle \text{ Upper sum }=8.0313.\)

  2. "A graph of the function f(x) = 10 − x^2 from 0 to 2. It is set up for a right endpoint approximation over the area [1,2], which is labeled a=x0 to x4. It is an upper sum."

Subsection 5.1.4 Key Concepts

  • The use of sigma (summation) notation of the form \(\displaystyle{ \sum_{i=1}^{n} a_i}\) is useful for expressing long sums of values in compact form.

  • For a continuous function defined over an interval \([a,b],\) the process of dividing the interval into \(n\) equal parts, extending a rectangle to the graph of the function, calculating the areas of the series of rectangles, and then summing the areas yields an approximation of the area of that region.

  • The width of each rectangle is \(\Delta x =\frac{b-a}{n}.\)

  • Riemann sums are expressions of the form \(\displaystyle{ \sum_{i=1}^{n} f(x_i^* )\Delta x },\) and can be used to estimate the area under the curve \(y=f(x).\) Left- and right-endpoint approximations are special kinds of Riemann sums where the values of \({x_i^* }\) are chosen to be the left or right endpoints of the subintervals, respectively.

  • Riemann sums allow for much flexibility in choosing the set of points \({x_i^* }\) at which the function is evaluated, often with an eye to obtaining a lower sum or an upper sum.

Subsection 5.1.5 Key Equations

  • Properties of Sigma Notation

    \begin{gather*} \displaystyle{ \sum_{i=1}^{n} c}=nc\\ \displaystyle{ \sum_{i=1}^{n} ca_i}=c\displaystyle{ \sum_{i=1}^{n} a_i}\\ \displaystyle{ \sum_{i=1}^{n} (a_i+b_i)}=\displaystyle{ \sum_{i=1}^{n} a_i}+\displaystyle{ \sum_{i=1}^{n} b_i}\\ \displaystyle{ \sum_{i=1}^{n} (a_i-b_i)}=\displaystyle{ \sum_{i=1}^{n} a_i}-\displaystyle{ \sum_{i=1}^{n} b_i}\\ \displaystyle{ \sum_{i=1}^{n} a_i}=\displaystyle{ \sum_{i=1}^{m} a_i}+\displaystyle{ \sum_{i=m+1}^n a_i} \end{gather*}

  • Left-Endpoint Approximation \(A\approx L_n=f(x_0)\Delta x +f(x_1)\Delta x + \cdots +f(x_{n-1} )\Delta x =\displaystyle{ \sum_{i=1}^{n} f(x_{i-1} )\Delta x }\)

  • Right-Endpoint Approximation \(A\approx R_n=f(x_1)\Delta x +f(x_2)\Delta x + \cdots +f(x_n)\Delta x =\displaystyle{ \sum_{i=1}^{n} f(x_i)\Delta x }\)