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 $\left[a,b\right].$ 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

$\sum _{i=1}^{20}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 $\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 , $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}.$

Solution

1. Write
$\begin{array}{cc}\sum _{i=1}^{5}{3}^{i}\hfill & =3+{3}^{2}+{3}^{3}+{3}^{4}+{3}^{5}\hfill \\ & =363.\hfill \end{array}$
2. The denominator of each term is a perfect square. Using sigma notation, this sum can be written as $\sum _{i=1}^{5}\frac{1}{{i}^{2}}.$

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.

Solution

$\sum _{i=3}^{6}{2}^{i}={2}^{3}+{2}^{4}+{2}^{5}+{2}^{6}=120$

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

Rule: Properties of Sigma Notation

Let ${a}_{1},{a}_{2}\text{,…,}{a}_{n}$ and ${b}_{1},{b}_{2}\text{,…,}{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}}c{a}_{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}=\sum _{i=1}^{m}{a}_{i}+\sum _{i=m+1}^{n}{a}_{i}$

Proof

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

2. We have

$\begin{array}{cc}\underset{i=1}{\overset{n}{\Sigma}}c{a}_{i}\hfill & =c{a}_{1}+c{a}_{2}+c{a}_{3}+\cdots+c{a}_{n}\hfill \\ & =c({a}_{1}+{a}_{2}+{a}_{3}+\cdots+{a}_{n})\hfill \\ \\ \\ & =c\underset{i=1}{\overset{n}{\Sigma}}{a}_{i}.\hfill \end{array}$

3. We have

$\begin{array}{cc}\underset{i=1}{\overset{n}{\Sigma}}({a}_{i}+{b}_{i})\hfill & =({a}_{1}+{b}_{1})+({a}_{2}+{b}_{2})+({a}_{3}+{b}_{3})+\cdots+({a}_{n}+{b}_{n})\hfill \\ & =({a}_{1}+{a}_{2}+{a}_{3}+\cdots+{a}_{n})+({b}_{1}+{b}_{2}+{b}_{3}+\cdots+{b}_{n})\hfill \\ \\ \\ & =\underset{i=1}{\overset{n}{\Sigma}}{a}_{i}+\underset{i=1}{\overset{n}{\Sigma}}{b}_{i}.\hfill \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\text{,…,}200.$
2. The sum of the terms $({i}^{3}-{i}^{2})$ for $i=1,2,3,4,5,6.$

Solution

1. Multiplying out ${(i-3)}^{2},$ we can break the expression into three terms.
$\begin{array}{cc}\sum _{i=1}^{200}{(i-3)}^{2}\hfill & =\sum _{i=1}^{200}({i}^{2}-6i+9)\hfill \\ \\ \\ & =\sum _{i=1}^{200}{i}^{2}-\sum _{i=1}^{200}6i+\sum _{i=1}^{200}9\hfill \\ & =\sum _{i=1}^{200}{i}^{2}-6\sum _{i=1}^{200}i+\sum _{i=1}^{200}9\hfill \\ & =\frac{200(200+1)(400+1)}{6}-6\left[\frac{200(200+1)}{2}\right]+9(200)\hfill \\ & =2,686,700-120,600+1800\hfill \\ & =2,567,900\hfill \end{array}$
2. Use sigma notation property iv. and the rules for the sum of squared terms and the sum of cubed terms.
$\begin{array}{cc}\sum _{i=1}^{6}({i}^{3}-{i}^{2})\hfill & =\sum _{i=1}^{6}{i}^{3}-\sum _{i=1}^{6}{i}^{2}\hfill \\ \\ \\ \\ & =\frac{{6}^{2}{(6+1)}^{2}}{4}-\frac{6(6+1)(2(6)+1)}{6}\hfill \\ & =\frac{1764}{4}-\frac{546}{6}\hfill \\ & =350\hfill \end{array}$

Find the sum of the values of $4+3i$ for $i=1,2\text{,…,}100.$

Hint

Use the properties of sigma notation to solve the problem.

15,550

Finding the Sum of the Function Values

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

Solution

Using the formula, we have

$\begin{array}{cc}\sum _{i=0}^{10}{i}^{3}\hfill & =\frac{{(10)}^{2}{(10+1)}^{2}}{4}\hfill \\ \\ & =\frac{100(121)}{4}\hfill \\ & =3025.\hfill \end{array}$

Evaluate the sum indicated by the notation $\sum _{k=1}^{20}(2k+1).$

Hint

Use the rule on sum and powers of integers.

440

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 $\left[a,b\right].$ 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) ).

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 $\left[a,b\right]$ into $n$ subintervals of equal width, $\frac{b-a}{n}.$ We do this by selecting equally spaced points ${x}_{0},{x}_{1},{x}_{2}\text{,…,}{x}_{n}$ with ${x}_{0}=a,{x}_{n}=b,$ and

${x}_{i}-{x}_{i-1}=\frac{b-a}{n}$

for $i=1,2,3\text{,…,}n.$

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

${x}_{i}={x}_{0}+i\Delta x$

for $i=1,2,3\text{,…,}n.$ This notion of dividing an interval $\left[a,b\right]$ 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=\left\{{x}_{i}\right\}$ for $i=0,1,2\text{,…,}n$ with $a={x}_{0} < {x}_{1} < {x}_{2} < \cdots < {x}_{n}=b,$ which divides the interval $\left[a,b\right]$ into subintervals of the form $\left[{x}_{0},{x}_{1}\right],\left[{x}_{1},{x}_{2}\right]\text{,…,}\left[{x}_{n-1},{x}_{n}\right]$ is called a partition of $\left[a,b\right].$ If the subintervals all have the same width, the set of points forms a regular partition of the interval $\left[a,b\right].$

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 $\left[{x}_{i-1},{x}_{i}\right]$ (for $i=1,2,3\text{,…,}n),$ construct a rectangle with width Δ$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}{cc}A\approx {L}_{n}\hfill & =f({x}_{0})\Delta x+f({x}_{1})\Delta x+\cdots+f({x}_{n-1})\Delta x\hfill \\ \\ \\ \\ & =\underset{i=1}{\overset{n}{\Sigma}}f({x}_{i-1})\Delta x\hfill \end{array}$

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 $\left[{x}_{i-1},{x}_{i}\right],$ 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}{cc}A\approx {R}_{n}\hfill & =f({x}_{1})\Delta x+f({x}_{2})\Delta x+\cdots+f({x}_{n})\Delta x\hfill \\ \\ \\ \\ & =\underset{i=1}{\overset{n}{\Sigma}}f({x}_{i})\Delta x.\hfill \end{array}$

The notation ${R}_{n}$ indicates this is a right-endpoint approximation for A ( (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 $\left[0,3\right]$ 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 $\left[0,0.5\right],\left[0.5,1\right],\left[1,1.5\right],\left[1.5,2\right],\left[2,2.5\right],\left[2.5,3\right].$ 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}{}\\ \\ A\approx {L}_{6}\hfill & =\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\hfill \\ & =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\hfill \\ & =(0)0.5+(0.125)0.5+(0.5)0.5+(1.125)0.5+(2)0.5+(3.125)0.5\hfill \\ & =0+0.0625+0.25+0.5625+1+1.5625\hfill \\ & =3.4375.\hfill \end{array}$

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 Δ$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}{}\\ \\ A\approx {R}_{6}\hfill & =\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\hfill \\ & =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\hfill \\ & =(0.125)0.5+(0.5)0.5+(1.125)0.5+(2)0.5+(3.125)0.5+(4.5)0.5\hfill \\ & =0.0625+0.25+0.5625+1+1.5625+2.25\hfill \\ & =5.6875.\hfill \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 $\left[0,2\right];$ use $n=4.$

Solution

First, divide the interval $\left[0,2\right]$ into $n$ equal subintervals. Using $n=4,\Delta x=\frac{(2-0)}{4}=0.5.$ This is the width of each rectangle. The intervals $\left[0,0.5\right],\left[0.5,1\right],\left[1,1.5\right],\left[1.5,2\right]$ are shown in (Figure) . 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{array}{cc}{L}_{4}\hfill & =f({x}_{0})\Delta x+f({x}_{1})\Delta x+f({x}_{2})\Delta x+f({x}_{3})\Delta x\hfill \\ & =0(0.5)+0.25(0.5)+1(0.5)+2.25(0.5)\hfill \\ & =1.75.\hfill \end{array}$

The right-endpoint approximation is shown in (Figure) . 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{array}{cc}{R}_{4}\hfill & =f({x}_{1})\Delta x+f({x}_{2})\Delta x+f({x}_{3})\Delta x+f({x}_{4})\Delta x\hfill \\ & =0.25(0.5)+1(0.5)+2.25(0.5)+4(0.5)\hfill \\ & =3.75.\hfill \end{array}$

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

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

Hint

Follow the solving strategy in (Figure) step-by-step.

Solution

The left-endpoint approximation is 0.7595. The right-endpoint approximation is 0.6345. See the below (Figure) .

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 $\left[0,2\right]$ 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}{cc}{L}_{4}\hfill & =f(0)(0.5)+f(0.5)(0.5)+f(1)(0.5)+f(1.5)0.5\hfill \\ & =7.5.\hfill \end{array}$

(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}{cc}{L}_{8}\hfill & =f(0)(0.25)+f(0.25)(0.25)+f(0.5)(0.25)+f(0.75)(0.25)\hfill \\ & +f(1)(0.25)+f(1.25)(0.25)+f(1.5)(0.25)+f(1.75)(0.25)\hfill \\ & =7.75.\hfill \end{array}$

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}{cc}{L}_{32}\hfill & =f(0)(0.0625)+f(0.0625)(0.0625)+f(0.125)(0.0625)+\cdots+f(1.9375)(0.0625)\hfill \\ & =7.9375.\hfill \end{array}$

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}{cc}{R}_{4}\hfill & =f(0.5)(0.5)+f(1)(0.5)+f(1.5)(0.5)+f(2)(0.5)\hfill \\ & =8.5.\hfill \end{array}$

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

$\begin{array}{cc}{R}_{8}\hfill & =f(0.25)(0.25)+f(0.5)(0.25)+f(0.75)(0.25)+f(1)(0.25)\hfill \\ & +f(1.25)(0.25)+f(1.5)(0.25)+f(1.75)(0.25)+f(2)(0.25)\hfill \\ & =8.25.\hfill \end{array}$

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

$\begin{array}{cc}{R}_{32}\hfill & =f(0.0625)(0.0625)+f(0.125)(0.0625)+f(0.1875)(0.0625)+\cdots+f(2)(0.0625)\hfill \\ & =8.0625.\hfill \end{array}$

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 $\left[{x}_{i-1},{x}_{i}\right].$ 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 c i in the subinterval $\left[{x}_{i-1},{x}_{i}\right],$ 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 $\left[a,b\right]$ and let P be a regular partition of $\left[a,b\right].$ Let Δ$x$ be the width of each subinterval $\left[{x}_{i-1},{x}_{i}\right]$ and for each i , let ${x}_{i}^{*}$ be any point in $\left[{x}_{i-1},{x}_{i}\right].$ 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 $\left[a,b\right],$ 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 $\left[a,b\right]$ is given by

$A=\underset{n\to \infty }{\text{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 $\left\{{x}_{i}^{*}\right\}.$ 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 $\left[a,b\right],$ then $\underset{n\to \infty }{\text{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 $\left\{{x}_{i}^{*}\right\}\text{).}$

We look at some examples shortly. But, before we do, let’s take a moment and talk about some specific choices for $\left\{{x}_{i}^{*}\right\}.$ Although any choice for $\left\{{x}_{i}^{*}\right\}$ 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 $\left\{{x}_{i}^{*}\right\}$ to guarantee one result or the other.

If we want an overestimate, for example, we can choose $\left\{{x}_{i}^{*}\right\}$ such that for $i=1,2,3\text{,…,}n,f({x}_{i}^{*})\ge f(x)$ for all $x\in \left[{x}_{i-1},{x}_{i}\right].$ In other words, we choose $\left\{{x}_{i}^{*}\right\}$ so that for $i=1,2,3\text{,…,}n,f({x}_{i}^{*})$ is the maximum function value on the interval $\left[{x}_{i-1},{x}_{i}\right].$ If we select $\left\{{x}_{i}^{*}\right\}$ 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 $\left\{{x}_{i}^{*}\right\}$ so that for $i=1,2,3\text{,…,}n,f({x}_{i}^{*})$ is the minimum function value on the interval $\left[{x}_{i-1},{x}_{i}\right].$ 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 $\left[a,b\right],$ 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 $\left[1,2\right];$ let $n=4$ subintervals.

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

The Riemann sum is

$\begin{array}{cc}\sum _{k=1}^{4}(10-{x}^{2})(0.25)\hfill & =0.25\left[10-{(1.25)}^{2}+10-{(1.5)}^{2}+10-{(1.75)}^{2}+10-{(2)}^{2}\right]\hfill \\ & =0.25\left[8.4375+7.75+6.9375+6\right]\hfill \\ & =7.28.\hfill \end{array}$

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

1. Find an upper sum for $f(x)=10-{x}^{2}$ on $\left[1,2\right];$ let $n=4.$
2. Sketch the approximation.

Hint

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

Solution

1. $\text{Upper sum}=8.0313.$

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

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

Solution

Let’s first look at the graph in (Figure) to get a better idea of the area of interest.

The intervals are $\left[0,\frac{\pi }{12}\right],\left[\frac{\pi }{12},\frac{\pi }{6}\right],\left[\frac{\pi }{6},\frac{\pi }{4}\right],\left[\frac{\pi }{4},\frac{\pi }{3}\right],\left[\frac{\pi }{3},\frac{5\pi }{12}\right],$ and $\left[\frac{5\pi }{12},\frac{\pi }{2}\right].$ Note that $f(x)= \sin x$ is increasing on the interval $\left[0,\frac{\pi }{2}\right],$ so a left-endpoint approximation gives us the lower sum. A left-endpoint approximation is the Riemann sum $\sum _{i=0}^{5} \sin {x}_{i}(\frac{\pi }{12}).$ We have

$\begin{array}{cc}A\hfill & \approx \sin (0)(\frac{\pi }{12})+ \sin (\frac{\pi }{12})(\frac{\pi }{12})+ \sin (\frac{\pi }{6})(\frac{\pi }{12})+ \sin (\frac{\pi }{4})(\frac{\pi }{12})+ \sin (\frac{\pi }{3})(\frac{\pi }{12})+ \sin (\frac{5\pi }{12})(\frac{\pi }{12})\hfill \\ & =0.863.\hfill \end{array}$

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

Hint

Follow the steps from (Figure) .

Solution

$A\approx 1.125$

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 $\left[a,b\right],$ 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 $\left\{{x}_{i}^{*}\right\}$ 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 $\left\{{x}_{i}^{*}\right\}$ 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}}c{a}_{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}=\sum _{i=1}^{m}{a}_{i}+\sum _{i=m+1}^{n}{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}$
$\sum _{i=0}^{n}{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. $\sum _{i=1}^{10}i$ and $\sum _{k=1}^{10}k$
2. $\sum _{i=1}^{10}i$ and $\sum _{i=6}^{15}(i-5)$
3. $\sum _{i=1}^{10}i(i-1)$ and $\sum _{j=0}^{9}(j+1)j$
4. $\sum _{i=1}^{10}i(i-1)$ and $\sum _{k=1}^{10}({k}^{2}-k)$

Solution

a. They are equal; both represent the sum of the first 10 whole numbers. b. They are equal; both represent the sum of the first 10 whole numbers. c. They are equal by substituting $j=i-1.$ d. They are equal; the first sum factors the terms of the second.

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

2.  $\sum _{i=5}^{10}i$

3.  $\sum _{i=5}^{10}{i}^{2}$

Solution

$385-30=355$

Suppose that $\sum _{i=1}^{100}{a}_{i}=15$ and $\sum _{i=1}^{100}{b}_{i}=-12.$ In the following exercises, compute the sums.

4.  $\sum _{i=1}^{100}({a}_{i}+{b}_{i})$

5.  $\sum _{i=1}^{100}({a}_{i}-{b}_{i})$

Solution

$15-(-12)=27$

6.  $\sum _{i=1}^{100}(3{a}_{i}-4{b}_{i})$

7.  $\sum _{i=1}^{100}(5{a}_{i}+4{b}_{i})$

Solution

$5(15)+4(-12)=27$

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

8.  $\sum _{k=1}^{20}100({k}^{2}-5k+1)$

9.  $\sum _{j=1}^{50}({j}^{2}-2j)$

Solution

$\sum _{j=1}^{50}{j}^{2}-2\sum _{j=1}^{50}j=\frac{(50)(51)(101)}{6}-\frac{2(50)(51)}{2}=40,\text{}375$

10.  $\sum _{j=11}^{20}({j}^{2}-10j)$

11.  $\sum _{k=1}^{25}\left[{(2k)}^{2}-100k\right]$

Solution

$4\sum _{k=1}^{25}{k}^{2}-100\sum _{k=1}^{25}k=\frac{4(25)(26)(51)}{9}-50(25)(26)=-10,\text{}400$

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 $\left[2,3\right]$

13.  R 4 for $g(x)= \cos (\pi x)$ on $\left[0,1\right]$

Solution

${R}_{4}=0.25$

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

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

Solution

${R}_{6}=0.372$

16.   R 4 for $\frac{1}{{x}^{2}+1}$ on $\left[-2,2\right]$

17.  L 4 for $\frac{1}{{x}^{2}+1}$ on $\left[-2,2\right]$

Solution

${L}_{4}=2.20$

18. R 4 for ${x}^{2}-2x+1$ on $\left[0,2\right]$

19.  L 8 for ${x}^{2}-2x+1$ on $\left[0,2\right]$

Solution

${L}_{8}=0.6875$

20.  Compute the left and right Riemann sums— L 4 and R 4 , respectively—for $f(x)=(2-|x|)$ on $\left[-2,2\right].$ 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 $\left[0,6\right].$ Compute their average value and compare it with the area under the graph of $f$.

Solution

${L}_{6}=9.000={R}_{6}.$ The graph of $f$ is a triangle with area 9.

22.  Compute the left and right Riemann sums— L 4 and R 4 , respectively—for $f(x)=\sqrt{4-{x}^{2}}$ on $\left[-2,2\right]$ 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 $\left[0,6\right]$ and compare their values.

Solution

${L}_{6}=13.12899={R}_{6}.$ They are equal.

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

24.  L 30 for $f(x)={x}^{2}$ on $\left[1,2\right]$

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

Solution

${L}_{10}=\frac{4}{10}\sum _{i=1}^{10}\sqrt{4-(-2+4\frac{(i-1)}{10})}$

26.  R 20 for $f(x)= \sin x$ on $\left[0,\pi \right]$

27.  R 100 for $\text{ln}x$ on $\left[1,e\right]$

Solution

${R}_{100}=\frac{e-1}{100}\sum _{i=1}^{100}\text{ln}(1+(e-1)\frac{i}{100})$

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 $\left[-1,1\right]$

29. [T] L 100 and R 100 for $y={x}^{2}$ on the interval $\left[0,1\right]$

Solution

${R}_{100}=0.33835,{L}_{100}=0.32835.$ The plot shows that the left Riemann sum is an underestimate because the function is increasing. Similarly, the right Riemann sum is an overestimate. The area lies between the left and right Riemann sums. Ten rectangles are shown for visual clarity. This behavior persists for more rectangles.

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

31. [T] L 100 and R 100 for $y={x}^{3}$ on the interval $\left[-1,1\right]$

Solution

${L}_{100}=-0.02,{R}_{100}=0.02.$ The left endpoint sum is an underestimate because the function is increasing. Similarly, a right endpoint approximation is an overestimate. The area lies between the left and right endpoint estimates.

32. [T] L 50 and R 50 for $y= \tan (x)$ on the interval $\left[0,\frac{\pi }{4}\right]$

33. [T] L 100 and R 100 for $y={e}^{2x}$ on the interval $\left[-1,1\right]$

Solution

${L}_{100}=3.555,{R}_{100}=3.670.$ The plot shows that the left Riemann sum is an underestimate because the function is increasing. Ten rectangles are shown for visual clarity. This behavior persists for more rectangles.

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 $\sum _{j=1}^{21}{t}_{j}.$

35.  Let ${r}_{j}$ denote the total rainfall in Portland on the $j$th day of the year in 2009. Interpret $\sum _{j=1}^{31}{r}_{j}.$

Solution

The sum represents the cumulative rainfall in January 2009.

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}+\sum _{j=2}^{365}{\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?

Solution

The total mileage is $7×\sum _{i=1}^{25}(1+\frac{(i-1)}{10})=7×25+\frac{7}{10}×12×25=385\text{mi}.$

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

Average Annual Atmospheric CO 2 Increase, 1964–2013 Source : 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–1990 Source : 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

Solution

Add the numbers to get 8.1-in. net increase.

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–2000 Source : 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–2009 Source : 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.)

Solution

309,389,957

In the following exercises, estimate the areas under the curves by computing the left Riemann sums, L 8 .

42.

43.

Solution

${L}_{8}=3+2+1+2+3+4+5+4=24$

44.

45.

Solution

${L}_{8}=3+5+7+6+8+6+5+4=44$

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 $\left[-1,1\right].$

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 $\left[-1,1\right].$

Solution

${L}_{10}\approx 1.7604,{L}_{30}\approx 1.7625,{L}_{50}\approx 1.76265$

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 $\left[0,2\pi \right].$ Compare these estimates with π .

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 $\left[0,1\right]$

Solution

${R}_{1}=-1,{L}_{1}=1,{R}_{10}=-0.1,{L}_{10}=0.1,{L}_{100}=0.01,$ and ${R}_{100}=-0.1.$ By symmetry of the graph, the exact area is zero.

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

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}-5{x}^{2}+4$ on the interval $\left[-2,2\right],$ which has an exact area of $\frac{32}{15}$

Solution

${R}_{1}=0,{L}_{1}=0,{R}_{10}=2.4499,{L}_{10}=2.4499,{R}_{100}=2.1365,{L}_{100}=2.1365$

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

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

Solution

If $\left[c,d\right]$ is a subinterval of $\left[a,b\right]$ under one of the left-endpoint sum rectangles, then the area of the rectangle contributing to the left-endpoint estimate is $f(c)(d-c).$ But, $f(c)\le f(x)$ for $c\le x\le d,$ so the area under the graph of $f$ between $c$ and $d$ is $f(c)(d-c)$ plus the area below the graph of $f$ but above the horizontal line segment at height $f(c),$ which is positive. As this is true for each left-endpoint sum interval, it follows that the left Riemann sum is less than or equal to the area below the graph of $f$ on $\left[a,b\right].$

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

55.  Show that, in general, ${R}_{N}-{L}_{N}=(b-a)×\frac{f(b)-f(a)}{N}.$

Solution

${L}_{N}=\frac{b-a}{N}\underset{i=1}{\overset{n}{\Sigma}}f(a+(b-a)\frac{i-1}{N})=\frac{b-a}{N}\sum _{i=0}^{N-1}f(a+(b-a)\frac{i}{N})$ and ${R}_{N}=\frac{b-a}{N}\underset{i=1}{\overset{n}{\Sigma}}f(a+(b-a)\frac{i}{N}).$ The left sum has a term corresponding to $i=0$ and the right sum has a term corresponding to $i=N.$ In ${R}_{N}-{L}_{N},$ any term corresponding to $i=1,2\text{,…,}N-1$ occurs once with a plus sign and once with a minus sign, so each such term cancels and one is left with ${R}_{N}-{L}_{N}=\frac{b-a}{N}(f(a+(b-a))\frac{N}{N})-(f(a)+(b-a)\frac{0}{N})=\frac{b-a}{N}(f(b)-f(a)).$

56.  Explain why, if $f$ is increasing on $\left[a,b\right],$ 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.

Solution

Graph 1: a. $L(A)=0,B(A)=20;$ b. $U(A)=20.$ Graph 2: a. $L(A)=9;$ b. $B(A)=11,U(A)=20.$ Graph 3: a. $L(A)=11.0;$ b. $B(A)=4.5,U(A)=15.5.$

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 π .

Solution

Let A be the area of the unit circle. The circle encloses $n$ congruent triangles each of area $\frac{ \sin (\frac{2\pi }{n})}{2},$ so $\frac{n}{2} \sin (\frac{2\pi }{n})\le A.$ Similarly, the circle is contained inside $n$ congruent triangles each of area $\frac{BH}{2}=\frac{1}{2}( \cos (\frac{\pi }{n})+ \sin (\frac{\pi }{n}) \tan (\frac{\pi }{n})) \sin (\frac{2\pi }{n}),$ so $A\le \frac{n}{2} \sin (\frac{2\pi }{n})( \cos (\frac{\pi }{n}))+ \sin (\frac{\pi }{n}) \tan (\frac{\pi }{n}).$ As $n\to \infty ,\frac{n}{2} \sin (\frac{2\pi }{n})=\frac{\pi \sin (\frac{2\pi }{n})}{(\frac{2\pi }{n})}\to \pi ,$ so we conclude $\pi \le A.$ Also, as $n\to \infty , \cos (\frac{\pi }{n})+ \sin (\frac{\pi }{n}) \tan (\frac{\pi }{n})\to 1,$ so we also have $A\le \pi .$ By the squeeze theorem for limits, we conclude that $A=\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 (Σ) 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