## 5.1 Approximating Areas

### Learning Objectives

• Use sigma (summation) notation to calculate sums and powers of integers.
• 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.

# 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

$1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20$.

We could probably skip writing a couple of terms and write

$1+2+3+4+\cdots+19+20$,

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

$\underset{i=1}{\overset{20}{\Sigma}} i$,

which is much more compact.

Typically, sigma notation is presented in the form

$\underset{i=1}{\overset{n}{\Sigma}}a_i$

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 $\underset{i=2}{\overset{7}{\Sigma}}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$, $j$, $k$, $m$, and $n$ for indices.

Let’s try a couple of examples of using sigma notation.

### Using Sigma Notation

1. Write in sigma notation and evaluate the sum of terms $3^i$ for $i=1,2,3,4,5$.
2. Write the sum in sigma notation:
$1+\frac{1}{4}+\frac{1}{9}+\frac{1}{16}+\frac{1}{25}$.

Write in sigma notation and evaluate the sum of terms $2^i$ for $i=3,4,5,6$.

#### Hint

Use the solving steps in (Figure) as a guide.

The properties associated with the summation process are given in the following rule.

### Rule: Properties of Sigma Notation

Let $a_1,a_2, \cdots,a_n$ and $b_1,b_2,\cdots,b_n$ represent two sequences of terms and let $c$ be a constant. The following properties hold for all positive integers $n$ and for integers $m$, with $1\le m\le n$.

1. $\underset{i=1}{\overset{n}{\Sigma}}c=nc$
2. $\underset{i=1}{\overset{n}{\Sigma}}ca_i=c\underset{i=1}{\overset{n}{\Sigma}}a_i$
3. $\underset{i=1}{\overset{n}{\Sigma}}(a_i+b_i)=\underset{i=1}{\overset{n}{\Sigma}}a_i+\underset{i=1}{\overset{n}{\Sigma}}b_i$
4. $\underset{i=1}{\overset{n}{\Sigma}}(a_i-b_i)=\underset{i=1}{\overset{n}{\Sigma}}a_i-\underset{i=1}{\overset{n}{\Sigma}}b_i$
5. $\underset{i=1}{\overset{n}{\Sigma}}a_i=\underset{i=1}{\overset{m}{\Sigma}}a_i+\underset{i=m+1}{\overset{n}{\Sigma}}a_i$

## Proof

We prove properties 2 and 3 here, and leave proof of the other properties to the Exercises.

Property 2: We have

$\begin{array}{ll}\underset{i=1}{\overset{n}{\Sigma}}ca_i & =ca_1+ca_2+ca_3+\cdots+ca_n \\ & =c(a_1+a_2+a_3+\cdots+a_n) \\ & =c\underset{i=1}{\overset{n}{\Sigma}}a_i \end{array}$

Property 3: We have

$\begin{array}{ll}\underset{i=1}{\overset{n}{\Sigma}}(a_i+b_i) & =(a_1+b_1)+(a_2+b_2)+(a_3+b_3)+\cdots+(a_n+b_n) \\ & =(a_1+a_2+a_3+\cdots+a_n)+(b_1+b_2+b_3+\cdots+b_n) \\ & =\underset{i=1}{\overset{n}{\Sigma}}a_i+\underset{i=1}{\overset{n}{\Sigma}}b_i \end{array}$

A few more formulas for frequently found functions simplify the summation process further. These are shown in the next rule, for sums and powers of integers, and we use them in the next set of examples.

### Rule: Sums and Powers of Integers

1. The sum of $n$ integers is given by
$\underset{i=1}{\overset{n}{\Sigma}}i=1+2+\cdots+n=\frac{n(n+1)}{2}$.
2. The sum of consecutive integers squared is given by
$\underset{i=1}{\overset{n}{\Sigma}}i^2=1^2+2^2+\cdots+n^2=\frac{n(n+1)(2n+1)}{6}$.
3. The sum of consecutive integers cubed is given by
$\underset{i=1}{\overset{n}{\Sigma}}i^3=1^3+2^3+\cdots+n^3=\frac{n^2(n+1)^2}{4}$.

### Evaluation Using Sigma Notation

Write using sigma notation and evaluate:

1. The sum of the terms $(i-3)^2$ for $i=1,2,\cdots,200$.
2. The sum of the terms $(i^3-i^2)$ for $i=1,2,3,4,5,6$.

Find the sum of the values of $4+3i$ for $i=1,2,\cdots,100$.

#### Hint

Use the properties of sigma notation to solve the problem.

### Finding the Sum of the Function Values

Find the sum of the values of $f(x)=x^3$ over the integers $1,2,3,\cdots,10$.

Evaluate the sum indicated by the notation $\underset{k=1}{\overset{20}{\Sigma}}(2k+1)$.

#### Hint

Use the rule on sum and powers of integers.

# 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)).

Figure 1. 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,\cdots,x_n$ with $x_0=a, \, x_n=b$, and

$x_i-x_{i-1}=\frac{b-a}{n}$

for $i=1,2,3,\cdots,n$.

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

$x_i=x_0+i \Delta x$

for $i=1,2,3,\cdots,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

A set of points $P=\{x_i\}$ for $i=0,1,2,\cdots,n$ with $a=x_0<x_1<x_2<\cdots<x_n=b$, which divides the interval $[a,b]$ into subintervals of the form $[x_0,x_1], \, [x_1,x_2],\cdots,[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.

### Rule: Left-Endpoint Approximation

On each subinterval $[x_{i-1},x_i]$ (for $i=1,2,3,\cdots,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)). We use the notation $L_n$ to denote that this is a left-endpoint approximation of $A$ using $n$ subintervals.

$\begin{array}{ll} A \approx L_n & =f(x_0)\Delta x+f(x_1)\Delta x+\cdots+f(x_{n-1})\Delta x \\ & =\underset{i=1}{\overset{n}{\Sigma}}f(x_{i-1})\Delta x \end{array}$

Figure 2. 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.

### 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{array}{ll} A \approx R_n & =f(x_1)\Delta x+f(x_2)\Delta x+\cdots+f(x_n)\Delta x \\ & =\underset{i=1}{\overset{n}{\Sigma}}f(x_i)\Delta x \end{array}$

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

Figure 3. 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).

The graphs in (Figure) 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{array}{ll} A \approx L_6 & =\underset{i=1}{\overset{6}{\Sigma}}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 \\ & =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 \\ & =(0)0.5+(0.125)0.5+(0.5)0.5+(1.125)0.5+(2)0.5+(3.125)0.5 \\ & =0+0.0625+0.25+0.5625+1+1.5625 \\ & =3.4375 \end{array}$

Figure 4. Methods of approximating the area under a curve by using (a) the left endpoints and (b) the right endpoints.

In (Figure)(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{array}{ll} A \approx R_6 & =\underset{i=1}{\overset{6}{\Sigma}}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 \\ & =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 \\ & =(0.125)0.5+(0.5)0.5+(1.125)0.5+(2)0.5+(3.125)0.5+(4.5)0.5 \\ & =0.0625+0.25+0.5625+1+1.5625+2.25 \\ & =5.6875 \end{array}$

### 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$.

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 (Figure) step-by-step.

Looking at (Figure) and the graphs in (Figure), 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$, 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) 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

$\Delta x=\frac{2-0}{4}=\frac{1}{2}$.

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

$\begin{array}{ll} L_4 & =f(0)(0.5)+f(0.5)(0.5)+f(1)(0.5)+f(1.5)0.5 \\ & =7.5 \end{array}$

Figure 7. 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) shows the same curve divided into eight subintervals. Comparing the graph with four rectangles in (Figure) 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{array}{ll} L_8 & =f(0)(0.25)+f(0.25)(0.25)+f(0.5)(0.25)+f(0.75)(0.25) \\ & +f(1)(0.25)+f(1.25)(0.25)+f(1.5)(0.25)+f(1.75)(0.25) \\ & =7.75 \end{array}$

Figure 8. The region under the curve is divided into $n=8$ rectangular areas of equal width for a left-endpoint approximation.

The graph in (Figure) 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{array}{ll} L_{32} & =f(0)(0.0625)+f(0.0625)(0.0625)+f(0.125)(0.0625)+\cdots+f(1.9375)(0.0625) \\ & =7.9375 \end{array}$

Figure 9. 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)), yields an area

$\begin{array}{ll} R_4 & =f(0.5)(0.5)+f(1)(0.5)+f(1.5)(0.5)+f(2)(0.5) \\ & =8.5 \end{array}$

Figure 10. 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). The area is

$\begin{array}{ll} R_8 & =f(0.25)(0.25)+f(0.5)(0.25)+f(0.75)(0.25)+f(1)(0.25) \\ & +f(1.25)(0.25)+f(1.5)(0.25)+f(1.75)(0.25)+f(2)(0.25) \\ & =8.25 \end{array}$

Figure 11. 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)). The area is approximately

$\begin{array}{ll} R_{32} & =f(0.0625)(0.0625)+f(0.125)(0.0625)+f(0.1875)(0.0625)+\cdots+f(2)(0.0625) \\ & =8.0625 \end{array}$

Figure 12. 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. (Figure) 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.

Converging Values of Left- and Right-Endpoint Approximations as $n$ Increases
Values of $n$ Approximate Area $L_n$ Approximate Area $R_n$
$n=4$ 7.5 8.5
$n=8$ 7.75 8.25
$n=32$ 7.94 8.06

# 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

$A \approx \underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$.

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

### Definition

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$, let $x_i^*$ be any point in $[x_{i-1},x_i]$. A Riemann sum is defined for $f(x)$ as

$\underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$.

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$. We are now ready to define the area under a curve in terms of Riemann sums.

### Definition

Let $f(x)$ be a continuous, nonnegative function on an interval $[a,b]$, and let $\underset{i=1}{\overset{n}{\Sigma}}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

$A=\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$.

See a graphical demonstration of the construction of a Riemann sum.

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 in the second volume of this text; 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 $\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$ exists and is unique (in other words, it does not depend on the choice of $\{x_i^*\}$).

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,\cdots,n, \, f(x_i^*)\ge f(x)$ for all $x\in [x_{i-1},x_i]$. In other words, we choose $\{x_i^*\}$ so that for $i=1,2,3,\cdots,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 $\underset{i=1}{\overset{n}{\Sigma}}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,\cdots,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.

### Finding Lower and Upper Sums

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

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.

### Finding Lower and Upper Sums for $f(x)= \sin x$

Find a lower sum for $f(x)= \sin x$ over the interval $[a,b]=[0,\frac{\pi }{2}]$; let $n=6$.

Using the function $f(x)= \sin x$ over the interval $[0,\frac{\pi}{2}]$, find an upper sum; let $n=6$.

### Key Concepts

• The use of sigma (summation) notation of the form $\underset{i=1}{\overset{n}{\Sigma}}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 $\underset{i=1}{\overset{n}{\Sigma}}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.

# Key Equations

• Properties of Sigma Notation
$\underset{i=1}{\overset{n}{\Sigma}}c=nc$
$\underset{i=1}{\overset{n}{\Sigma}}ca_i=c\underset{i=1}{\overset{n}{\Sigma}}a_i$
$\underset{i=1}{\overset{n}{\Sigma}}(a_i+b_i)=\underset{i=1}{\overset{n}{\Sigma}}a_i+\underset{i=1}{\overset{n}{\Sigma}}b_i$
$\underset{i=1}{\overset{n}{\Sigma}}(a_i-b_i)=\underset{i=1}{\overset{n}{\Sigma}}a_i-\underset{i=1}{\overset{n}{\Sigma}}b_i$
$\underset{i=1}{\overset{n}{\Sigma}}a_i=\underset{i=1}{\overset{m}{\Sigma}}a_i+\underset{i=m+1}{\overset{n}{\Sigma}}a_i$
• Sums and Powers of Integers
$\underset{i=1}{\overset{n}{\Sigma}}i=1+2+\cdots+n=\frac{n(n+1)}{2}$
$\underset{i=1}{\overset{n}{\Sigma}}i^2=1^2+2^2+\cdots+n^2=\frac{n(n+1)(2n+1)}{6}$
$\underset{i=1}{\overset{n}{\Sigma}}i^3=1^3+2^3+\cdots+n^3=\frac{n^2(n+1)^2}{4}$
• Left-Endpoint Approximation
$A \approx L_n=f(x_0)\Delta x+f(x_1)\Delta x+\cdots+f(x_{n-1})\Delta x=\underset{i=1}{\overset{n}{\Sigma}}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=\underset{i=1}{\overset{n}{\Sigma}}f(x_i)\Delta x$

1. State whether the given sums are equal or unequal.

1. $\underset{i=1}{\overset{10}{\Sigma}} i$ and $\underset{k=1}{\overset{10}{\Sigma}} k$
2. $\underset{i=1}{\overset{10}{\Sigma}} i$ and $\underset{i=6}{\overset{15}{\Sigma}} (i-5)$
3. $\underset{i=1}{\overset{10}{\Sigma}} i(i-1)$ and $\underset{j=0}{\overset{9}{\Sigma}} (j+1)j$
4. $\underset{i=1}{\overset{10}{\Sigma}} i(i-1)$ and $\underset{k=1}{\overset{10}{\Sigma}}(k^2-k)$

In the following exercises, use the rules for sums of powers of integers to compute the sums.

2. $\underset{i=5}{\overset{10}{\Sigma}} i$

3. $\underset{i=5}{\overset{10}{\Sigma}} i^2$

Suppose that $\underset{i=1}{\overset{100}{\Sigma}} a_i=15$ and $\underset{i=1}{\overset{100}{\Sigma}} b_i=-12$. In the following exercises, compute the sums.

4. $\underset{i=1}{\overset{100}{\Sigma}} (a_i+b_i)$

5. $\underset{i=1}{\overset{100}{\Sigma}} (a_i-b_i)$

6. $\underset{i=1}{\overset{100}{\Sigma}} (3a_i-4b_i)$

7. $\underset{i=1}{\overset{100}{\Sigma}} (5a_i+4b_i)$

In the following exercises, use summation properties and formulas to rewrite and evaluate the sums.

8. $\underset{k=1}{\overset{20}{\Sigma}} 100(k^2-5k+1)$

9. $\underset{j=1}{\overset{50}{\Sigma}} (j^2-2j)$

10. $\underset{j=11}{\overset{20}{\Sigma}} (j^2-10j)$

11. $\underset{k=1}{\overset{25}{\Sigma}} [(2k)^2-100k]$

Let $L_n$ denote the left-endpoint sum using $n$ subintervals and let $R_n$ denote the corresponding right-endpoint sum. In the following exercises, compute the indicated left and right sums for the given functions on the indicated interval.

12. $L_4$ for $f(x)=\frac{1}{x-1}$ on $[2,3]$

13. $R_4$ for $g(x)= \cos (\pi x)$ on $[0,1]$

14. $L_6$ for $f(x)=\frac{1}{x(x-1)}$ on $[2,5]$

15. $R_6$ for $f(x)=\frac{1}{x(x-1)}$ on $[2,5]$

16.  $R_4$ for $\frac{1}{x^2+1}$ on $[-2,2]$

17. $L_4$ for $\frac{1}{x^2+1}$ on $[-2,2]$

18. $R_4$ for $x^2-2x+1$ on $[0,2]$

19. $L_8$ for $x^2-2x+1$ on $[0,2]$

20. Compute the left and right Riemann sums—$L_4$ and $R_4$, respectively—for $f(x)=(2-|x|)$ on $[-2,2]$. Compute their average value and compare it with the area under the graph of $f$.

21. Compute the left and right Riemann sums—$L_6$ and $R_6$, respectively—for $f(x)=(3-|3-x|)$ on $[0,6]$. Compute their average value and compare it with the area under the graph of $f$.

22. Compute the left and right Riemann sums—$L_4$ and $R_4$, respectively—for $f(x)=\sqrt{4-x^2}$ on $[-2,2]$ and compare their values.

23. Compute the left and right Riemann sums—$L_6$ and $R_6$, respectively—for $f(x)=\sqrt{9-(x-3)^2}$ on $[0,6]$ and compare their values.

Express the following endpoint sums in sigma notation but do not evaluate them.

24. $L_{30}$ for $f(x)=x^2$ on $[1,2]$

25. $L_{10}$ for $f(x)=\sqrt{4-x^2}$ on $[-2,2]$

26. $R_{20}$ for $f(x)= \sin x$ on $[0,\pi]$

27. $R_{100}$ for $\ln x$ on $[1,e]$

In the following exercises, graph the function then use a calculator or a computer program to evaluate the following left and right endpoint sums. Is the area under the curve between the left and right endpoint sums?

28. [T] $L_{100}$ and $R_{100}$ for $y=x^2-3x+1$ on the interval $[-1,1]$

29. [T] $L_{100}$ and $R_{100}$ for $y=x^2$ on the interval $[0,1]$

30. [T] $L_{50}$ and $R_{50}$ for $y=\frac{x+1}{x^2-1}$ on the interval $[2,4]$

31. [T] $L_{100}$ and $R_{100}$ for $y=x^3$ on the interval $[-1,1]$

32. [T] $L_{50}$ and $R_{50}$ for $y= \tan x$ on the interval $[0,\frac{\pi}{4}]$

33. [T] $L_{100}$ and $R_{100}$ for $y=e^{2x}$ on the interval $[-1,1]$

34. Let $t_j$ denote the time that it took Tejay van Garteren to ride the $j$th stage of the Tour de France in 2014. If there were a total of 21 stages, interpret $\underset{j=1}{\overset{21}{\Sigma}} t_j$.

35. Let $r_j$ denote the total rainfall in Portland on the $j$th day of the year in 2009. Interpret $\underset{j=1}{\overset{31}{\Sigma}} r_j$.

36. Let $d_j$ denote the hours of daylight and $\delta_j$ denote the increase in the hours of daylight from day $j-1$ to day $j$ in Fargo, North Dakota, on the $j$th day of the year. Interpret $d_1+\underset{j=2}{\overset{365}{\Sigma}} \delta_j$.

37. To help get in shape, Joe gets a new pair of running shoes. If Joe runs 1 mi each day in week 1 and adds $\frac{1}{10}$ mi to his daily routine each week, what is the total mileage on Joe’s shoes after 25 weeks?

38. The following table gives approximate values of the average annual atmospheric rate of increase in carbon dioxide (CO2) each decade since 1960, in parts per million (ppm). Estimate the total increase in atmospheric CO2 between 1964 and 2013.

Average Annual Atmospheric CO2 Increase, 1964–2013Source: http://www.esrl.noaa.gov/gmd/ccgg/trends/.
1964–1973 1.07
1974–1983 1.34
1984–1993 1.40
1994–2003 1.87
2004–2013 2.07

39. The following table gives the approximate increase in sea level in inches over 20 years starting in the given year. Estimate the net change in mean sea level from 1870 to 2010.

Approximate 20-Year Sea Level Increases, 1870–1990Source: http://link.springer.com/article/10.1007%2Fs10712-011-9119-1
Starting Year 20-Year Change
1870 0.3
1890 1.5
1910 0.2
1930 2.8
1950 0.7
1970 1.1
1990 1.5

40. The following table gives the approximate increase in dollars in the average price of a gallon of gas per decade since 1950. If the average price of a gallon of gas in 2010 was \$2.60, what was the average price of a gallon of gas in 1950?

Approximate 10-Year Gas Price Increases, 1950–2000Source: http://epb.lbl.gov/homepages/Rick_Diamond/docs/lbnl55011-trends.pdf.
Starting Year 10-Year Change
1950 0.03
1960 0.05
1970 0.86
1980 −0.03
1990 0.29
2000 1.12

41. The following table gives the percent growth of the U.S. population beginning in July of the year indicated. If the U.S. population was 281,421,906 in July 2000, estimate the U.S. population in July 2010.

Annual Percentage Growth of U.S. Population, 2000–2009Source: http://www.census.gov/popest/data.
Year % Change/Year
2000 1.12
2001 0.99
2002 0.93
2003 0.86
2004 0.93
2005 0.93
2006 0.97
2007 0.96
2008 0.95
2009 0.88

(Hint: To obtain the population in July 2001, multiply the population in July 2000 by 1.0112 to get 284,573,831.)

In the following exercises, estimate the areas under the curves by computing the left Riemann sums, $L_8$.

42.
43.

44.
45.

46. [T] Use a computer algebra system to compute the Riemann sum, $L_N$, for $N=10,30,50$ for $f(x)=\sqrt{1-x^2}$ on $[-1,1]$.

47. [T] Use a computer algebra system to compute the Riemann sum, $L_N$, for $N=10,30,50$ for $f(x)=\frac{1}{\sqrt{1+x^2}}$ on $[-1,1]$.

48. [T] Use a computer algebra system to compute the Riemann sum, $L_N$, for $N=10,30,50$ for $f(x)= \sin^2 x$ on $[0,2\pi]$. Compare these estimates with $\pi$.

In the following exercises, use a calculator or a computer program to evaluate the endpoint sums $R_N$ and $L_N$ for $N=1,10,100$. How do these estimates compare with the exact answers, which you can find via geometry?

49. [T] $y= \cos (\pi x)$ on the interval $[0,1]$

50. [T] $y=3x+2$ on the interval $[3,5]$

In the following exercises, use a calculator or a computer program to evaluate the endpoint sums $R_N$ and $L_N$ for $N=1,10,100$.

51. [T] $y=x^4-5x^2+4$ on the interval $[-2,2]$, which has an exact area of $\frac{32}{15}$

52. [T] $y=\ln x$ on the interval $[1,2]$, which has an exact area of $2\ln (2)-1$

53. Explain why, if $f(a)\ge 0$ and $f$ is increasing on $[a,b]$, that the left endpoint estimate is a lower bound for the area below the graph of $f$ on $[a,b]$.

54. Explain why, if $f(b)\ge 0$ and $f$ is decreasing on $[a,b]$, that the left endpoint estimate is an upper bound for the area below the graph of $f$ on $[a,b]$.

55. Show that, in general, $R_N-L_N=(b-a) \times \frac{f(b)-f(a)}{N}$.

56. Explain why, if $f$ is increasing on $[a,b]$, the error between either $L_N$ or $R_N$ and the area $A$ below the graph of $f$ is at most $(b-a)\frac{f(b)-f(a)}{N}$.

57. For each of the three graphs:

1. Obtain a lower bound $L(A)$ for the area enclosed by the curve by adding the areas of the squares enclosed completely by the curve.
2. Obtain an upper bound $U(A)$ for the area by adding to $L(A)$ the areas $B(A)$ of the squares enclosed partially by the curve.

58. In the previous exercise, explain why $L(A)$ gets no smaller while $U(A)$ gets no larger as the squares are subdivided into four boxes of equal area.

59. A unit circle is made up of $n$ wedges equivalent to the inner wedge in the figure. The base of the inner triangle is 1 unit and its height is $\sin (\frac{\pi }{n})$. The base of the outer triangle is $B= \cos (\frac{\pi }{n})+ \sin (\frac{\pi }{n}) \tan (\frac{\pi }{n})$ and the height is $H=B \sin (\frac{2\pi }{n})$. Use this information to argue that the area of a unit circle is equal to $\pi$.

## Glossary

left-endpoint approximation
an approximation of the area under a curve computed by using the left endpoint of each subinterval to calculate the height of the vertical sides of each rectangle
lower sum
a sum obtained by using the minimum value of $f(x)$ on each subinterval
partition
a set of points that divides an interval into subintervals
regular partition
a partition in which the subintervals all have the same width
riemann sum
an estimate of the area under the curve of the form $A\approx \underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$
right-endpoint approximation
the right-endpoint approximation is an approximation of the area of the rectangles under a curve using the right endpoint of each subinterval to construct the vertical sides of each rectangle
sigma notation
(also, summation notation) the Greek letter sigma ($\Sigma$) indicates addition of the values; the values of the index above and below the sigma indicate where to begin the summation and where to end it
upper sum
a sum obtained by using the maximum value of $f(x)$ on each subinterval