Approximating Areas

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, 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++19+20,

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

i=120i,

which is much more compact.

Typically, sigma notation is presented in the form

i=1nai

where ai

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 i=27si

is interpreted as s2+s3+s4+s5+s6+s7.

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 3i

    for

    i=1,2,3,4,5.
  2. Write the sum in sigma notation:
    1+14+19+116+125.
  1. Write
    i=153i=3+32+33+34+35=363.
  2. The denominator of each term is a perfect square. Using sigma notation, this sum can be written as i=151i2.

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

i=362i=23+24+25+26=120
Hint

Use the solving steps in [link] as a guide.

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

Rule: Properties of Sigma Notation

Let a1,a2,…,an

and b1,b2,…,bn

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 1mn.


  1. i=1nc=nc

  2. i=1ncai=ci=1nai

  3. i=1n(ai+bi)=i=1nai+i=1nbi

  4. i=1n(aibi)=i=1naii=1nbi

  5. i=1nai=i=1mai+i=m+1nai

Proof

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

2. We have

i=1ncai=ca1+ca2+ca3++can=c(a1+a2+a3++an)=ci=1nai.

3. We have

i=1n(ai+bi)=(a1+b1)+(a2+b2)+(a3+b3)++(an+bn)=(a1+a2+a3++an)+(b1+b2+b3++bn)=i=1nai+i=1nbi.

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
    i=1ni=1+2++n=n(n+1)2.
  2. The sum of consecutive integers squared is given by
    i=1ni2=12+22++n2=n(n+1)(2n+1)6.
  3. The sum of consecutive integers cubed is given by
    i=1ni3=13+23++n3=n2(n+1)24.
Evaluation Using Sigma Notation

Write using sigma notation and evaluate:

  1. The sum of the terms (i3)2

    for

    i=1,2,…,200.
  2. The sum of the terms (i3i2)

    for

    i=1,2,3,4,5,6.
  1. Multiplying out (i3)2,

    we can break the expression into three terms.


    i=1200(i3)2=i=1200(i26i+9)=i=1200i2i=12006i+i=12009=i=1200i26i=1200i+i=12009=200(200+1)(400+1)66[200(200+1)2]+9(200)=2,686,700120,600+1800=2,567,900
  2. Use sigma notation property iv. and the rules for the sum of squared terms and the sum of cubed terms.
    i=16(i3i2)=i=16i3i=16i2=62(6+1)246(6+1)(2(6)+1)6=176445466=350

Find the sum of the values of 4+3i

for i=1,2,…,100.

15,550

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)=x3

over the integers 1,2,3,…,10.

Using the formula, we have

i=010i3=(10)2(10+1)24=100(121)4=3025.

Evaluate the sum indicated by the notation k=120(2k+1).

440

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 ([link]).

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.

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, ban.

We do this by selecting equally spaced points x0,x1,x2,…,xn

with x0=a,xn=b,

and

xixi1=ban

for i=1,2,3,…,n.

We denote the width of each subinterval with the notation Δx, so Δx=ban

and

xi=x0+iΔx

for i=1,2,3,…,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={xi}

for i=0,1,2,…,n

with a=x0<x1<x2<<xn=b,

which divides the interval [a,b]

into subintervals of the form [x0,x1],[x1,x2],…,[xn1,xn]

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 [xi1,xi]

(for i=1,2,3,…,n),

construct a rectangle with width Δx and height equal to f(xi1),

which is the function value at the left endpoint of the subinterval. Then the area of this rectangle is f(xi1)Δx.

Adding the areas of all these rectangles, we get an approximate value for A ([link]). We use the notation Ln to denote that this is a left-endpoint approximation of A using n subintervals.

ALn=f(x0)Δx+f(x1)Δx++f(xn1)Δx=i=1nf(xi1)Δx

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.

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 [xi1,xi],

only this time the height of the rectangle is determined by the function value f(xi)

at the right endpoint of the subinterval. Then, the area of each rectangle is f(xi)Δx

and the approximation for A is given by

ARn=f(x1)Δx+f(x2)Δx++f(xn)Δx=i=1nf(xi)Δx.

The notation Rn

indicates this is a right-endpoint approximation for A ([link]).

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.

The graphs in [link] represent the curve f(x)=x22.

In graph (a) we divide the region represented by the interval [0,3]

into six subintervals, each of width 0.5. Thus, Δx=0.5.

We then form six rectangles by drawing vertical lines perpendicular to xi1,

the left endpoint of each subinterval. We determine the height of each rectangle by calculating f(xi1)

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,

AL6=i=16f(xi1)Δx=f(x0)Δx+f(x1)Δx+f(x2)Δx+f(x3)Δx+f(x4)Δx+f(x5)Δ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.

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.

In [link](b), we draw vertical lines perpendicular to xi

such that xi

is the right endpoint of each subinterval, and calculate f(xi)

for i=1,2,3,4,5,6.

We multiply each f(xi)

by Δx to find the rectangular areas, and then add them. This is a right-endpoint approximation of the area under f(x).

Thus,

AR6=i=16f(xi)Δx=f(x1)Δx+f(x2)Δx+f(x3)Δx+f(x4)Δx+f(x5)Δx+f(x6)Δ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.
Approximating the Area Under a Curve

Use both left-endpoint and right-endpoint approximations to approximate the area under the curve of f(x)=x2

on the interval [0,2];

use n=4.

First, divide the interval [0,2]

into n equal subintervals. Using n=4,Δx=(20)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 [link]. 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,

L4=f(x0)Δx+f(x1)Δx+f(x2)Δx+f(x3)Δx=0(0.5)+0.25(0.5)+1(0.5)+2.25(0.5)=1.75.

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.

The right-endpoint approximation is shown in [link]. The intervals are the same, Δx=0.5,

but now use the right endpoint to calculate the height of the rectangles. We have

R4=f(x1)Δx+f(x2)Δx+f(x3)Δx+f(x4)Δx=0.25(0.5)+1(0.5)+2.25(0.5)+4(0.5)=3.75.

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.

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

Sketch left-endpoint and right-endpoint approximations for f(x)=1x

on [1,2];

use n=4.

Approximate the area using both methods.

The left-endpoint approximation is 0.7595. The right-endpoint approximation is 0.6345. See the below [link].* * *

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.

Hint

Follow the solving strategy in [link] step-by-step.

Looking at [link] and the graphs in [link], 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. [link] shows the area of the region under the curve f(x)=(x1)3+4

on the interval [0,2]

using a left-endpoint approximation where n=4.

The width of each rectangle is

Δx=204=12.

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

L4=f(0)(0.5)+f(0.5)(0.5)+f(1)(0.5)+f(1.5)0.5=7.5.

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.

[link] shows the same curve divided into eight subintervals. Comparing the graph with four rectangles in [link] 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

L8=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.

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.

The graph in [link] 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

L32=f(0)(0.0625)+f(0.0625)(0.0625)+f(0.125)(0.0625)++f(1.9375)(0.0625)=7.9375.

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.

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

R4=f(0.5)(0.5)+f(1)(0.5)+f(1.5)(0.5)+f(2)(0.5)=8.5.

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.

Dividing the region over the interval [0,2]

into eight rectangles results in Δx=208=0.25.

The graph is shown in [link]. The area is

R8=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.

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.

Last, the right-endpoint approximation with n=32

is close to the actual area ([link]). The area is approximately

R32=f(0.0625)(0.0625)+f(0.125)(0.0625)+f(0.1875)(0.0625)++f(2)(0.0625)=8.0625.

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.

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. [link] 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 Ln Approximate Area Rn
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 [xi1,xi].

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 ci in the subinterval [xi1,xi],

and use f(xi*)

as the height of our rectangle. This gives us an estimate for the area of the form

Ai=1nf(xi*)Δ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 Δx be the width of each subinterval [xi1,xi]

and for each i, let xi*

be any point in [xi1,xi].

A Riemann sum is defined for f(x)

as

i=1nf(xi*)Δ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 i=1nf(xi*)Δx

be a Riemann sum for f(x).

Then, the area under the curve y=f(x)

on [a,b]

is given by

A=limni=1nf(xi*)Δ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; 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 {xi*}.

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 limni=1nf(xi*)Δx

exists and is unique (in other words, it does not depend on the choice of {xi*}).

We look at some examples shortly. But, before we do, let’s take a moment and talk about some specific choices for {xi*}.

Although any choice for {xi*}

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 {xi*}

to guarantee one result or the other.

If we want an overestimate, for example, we can choose {xi*}

such that for i=1,2,3,…,n,f(xi*)f(x)

for all x[xi1,xi].

In other words, we choose {xi*}

so that for i=1,2,3,…,n,f(xi*)

is the maximum function value on the interval [xi1,xi].

If we select {xi*}

in this way, then the Riemann sum i=1nf(xi*)Δx

is called an upper sum. Similarly, if we want an underestimate, we can choose {xi*}

so that for i=1,2,3,…,n,f(xi*)

is the minimum function value on the interval [xi1,xi].

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)=10x2

on [1,2];

let n=4

subintervals.

With n=4

over the interval [1,2],Δx=14.

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],

[link] 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.

The Riemann sum is

k=14(10x2)(0.25)=0.25[10(1.25)2+10(1.5)2+10(1.75)2+10(2)2]=0.25[8.4375+7.75+6.9375+6]=7.28.

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

  1. Find an upper sum for f(x)=10x2

    on

    [1,2];

    let

    n=4.
  2. Sketch the approximation.
  1. 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.

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)=sinx

Find a lower sum for f(x)=sinx

over the interval [a,b]=[0,π2];

let n=6.

Let’s first look at the graph in [link] to get a better idea of the area of interest.

A graph of the function y = sin(x) from 0 to pi. It is set up for a left endpoint approximation from 0 to pi/2 and n=6. It is a lower sum.

The intervals are [0,π12],[π12,π6],[π6,π4],[π4,π3],[π3,5π12],

and [5π12,π2].

Note that f(x)=sinx

is increasing on the interval [0,π2],

so a left-endpoint approximation gives us the lower sum. A left-endpoint approximation is the Riemann sum i=05sinxi(π12).

We have

Asin(0)(π12)+sin(π12)(π12)+sin(π6)(π12)+sin(π4)(π12)+sin(π3)(π12)+sin(5π12)(π12)=0.863.

Using the function f(x)=sinx

over the interval [0,π2],

find an upper sum; let n=6.

A1.125
Hint

Follow the steps from [link].

Key Concepts

Key Equations


i=1ncai=ci=1nai
i=1n(ai+bi)=i=1nai+i=1nbi
i=1n(aibi)=i=1naii=1nbi
i=1nai=i=1mai+i=m+1nai
i=1ni2=12+22++n2=n(n+1)(2n+1)6
i=0ni3=13+23++n3=n2(n+1)24

State whether the given sums are equal or unequal.

  1. i=110i

    and

    k=110k
  2. i=110i

    and

    i=615(i5)
  3. i=110i(i1)

    and

    j=09(j+1)j
  4. i=110i(i1)

    and

    k=110(k2k)

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=i1.

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.

i=510i
i=510i2
38530=355

Suppose that i=1100ai=15

and i=1100bi=−12.

In the following exercises, compute the sums.

i=1100(ai+bi)
i=1100(aibi)
15(−12)=27
i=1100(3ai4bi)
i=1100(5ai+4bi)
5(15)+4(−12)=27

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

k=120100(k25k+1)
j=150(j22j)
j=150j22j=150j=(50)(51)(101)62(50)(51)2=40,375
j=1120(j210j)
k=125[(2k)2100k]
4k=125k2100k=125k=4(25)(26)(51)950(25)(26)=−10,400

Let Ln

denote the left-endpoint sum using n subintervals and let Rn

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.

L4 for f(x)=1x1

on [2,3]

R4 for g(x)=cos(πx)

on [0,1]

R4=0.25

L6 for f(x)=1x(x1)

on [2,5]

R6 for f(x)=1x(x1)

on [2,5]

R6=0.372

R4 for 1x2+1

on [−2,2]

L4 for 1x2+1

on [−2,2]

L4=2.20

R4 for x22x+1

on [0,2]

L8 for x22x+1

on [0,2]

L8=0.6875

Compute the left and right Riemann sums—L4 and R4, respectively—for f(x)=(2\|x\|)

on [−2,2].

Compute their average value and compare it with the area under the graph of f.

Compute the left and right Riemann sums—L6 and R6, respectively—for f(x)=(3\|3x\|)

on [0,6].

Compute their average value and compare it with the area under the graph of f.

L6=9.000=R6.

The graph of f is a triangle with area 9.

Compute the left and right Riemann sums—L4 and R4, respectively—for f(x)=4x2

on [−2,2]

and compare their values.

Compute the left and right Riemann sums—L6 and R6, respectively—for f(x)=9(x3)2

on [0,6]

and compare their values.

L6=13.12899=R6.

They are equal.

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

L30 for f(x)=x2

on [1,2]

L10 for f(x)=4x2

on [−2,2]

L10=410i=1104(−2+4(i1)10)

R20 for f(x)=sinx

on [0,π]

R100 for lnx

on [1,e]

R100=e1100i=1100ln(1+(e1)i100)

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?

[T] L100 and R100 for y=x23x+1

on the interval [−1,1]

[T] L100 and R100 for y=x2

on the interval [0,1]

A graph of the given function on the interval [0, 1]. It is set up for a left endpoint approximation and is an underestimate because the function is increasing. Ten rectangles are shown for visual clarity, but this behavior persists for more rectangles.


R100=0.33835,L100=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.

[T] L50 and R50 for y=x+1x21

on the interval [2,4]

[T] L100 and R100 for y=x3

on the interval [−1,1]

A graph of the given function over [-1,1] set up for a left endpoint approximation. It is an underestimate since the function is increasing. Ten rectangles are shown for visual clarity, but this behavior persists for more rectangles.


L100=−0.02,R100=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.

[T] L50 and R50 for y=tan(x)

on the interval [0,π4]

[T] L100 and R100 for y=e2x

on the interval [−1,1]

A graph of the given function over the interval -1 to 1 set up for a left endpoint approximation. It is an underestimate since the function is increasing. Ten rectangles are shown for isual clarity, but this behavior persists for more rectangles.


L100=3.555,R100=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.

Let tj denote the time that it took Tejay van Garteren to ride the jth stage of the Tour de France in 2014. If there were a total of 21 stages, interpret j=121tj.

Let rj

denote the total rainfall in Portland on the jth day of the year in 2009. Interpret j=131rj.

The sum represents the cumulative rainfall in January 2009.

Let dj

denote the hours of daylight and δj

denote the increase in the hours of daylight from day j1

to day j in Fargo, North Dakota, on the jth day of the year. Interpret d1+j=2365δj.

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 110

mi to his daily routine each week, what is the total mileage on Joe’s shoes after 25 weeks?

The total mileage is 7×i=125(1+(i1)10)=7×25+710×12×25=385mi.

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/.
Decade Ppm/y
1964–1973 1.07
1974–1983 1.34
1984–1993 1.40
1994–2003 1.87
2004–2013 2.07

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

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

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

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

309,389,957

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

![A graph of a function that increases linearly with a slope of 1 from (0,1) to (3,4). It curves from (3,4) to (5,4), changing direction from increasing to decreasing at (4,5). Finally, it decreases linearly with a slope of 1 from (5,4) to (8,1).](/calculus-book/resources/CNX_Calc_Figure_05_01_201.jpg)
![The graph of a smooth curve going through the points (0,3), (1,2), (2,1), (3,2), (4,3), (5,4), (6,5), (7,4), and (8,3).](/calculus-book/resources/CNX_Calc_Figure_05_01_202.jpg)
L8=3+2+1+2+3+4+5+4=24
![The graph of a smooth curve going through the points (0,0), (1,1), (2,2), (3,1), (4,3), (5,2), (6,4), (7,5), and (8,7).](/calculus-book/resources/CNX_Calc_Figure_05_01_203.jpg)
![The graph of a smooth curve going through the points (0, 3), (1, 5), (2, 7), (3, 6), (4, 8), (5, 6), (6, 5), (7, 4), and (8, 6).](/calculus-book/resources/CNX_Calc_Figure_05_01_204.jpg)
L8=3+5+7+6+8+6+5+4=44

[T] Use a computer algebra system to compute the Riemann sum, LN,

for N=10,30,50

for f(x)=1x2

on [−1,1].

[T] Use a computer algebra system to compute the Riemann sum, LN, for N=10,30,50

for f(x)=11+x2

on [−1,1].

L101.7604,L301.7625,L501.76265

[T] Use a computer algebra system to compute the Riemann sum, LN, for N=10,30,50

for f(x)=sin2x

on [0,2π].

Compare these estimates with π.

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

How do these estimates compare with the exact answers, which you can find via geometry?

[T] y=cos(πx)

on the interval [0,1]

R1=−1,L1=1,R10=−0.1,L10=0.1,L100=0.01,

and R100=−0.1.

By symmetry of the graph, the exact area is zero.

[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 RN and LN for N=1,10,100.

[T] y=x45x2+4

on the interval [−2,2],

which has an exact area of 3215

R1=0,L1=0,R10=2.4499,L10=2.4499,R100=2.1365,L100=2.1365

[T] y=lnx

on the interval [1,2],

which has an exact area of 2ln(2)1

Explain why, if f(a)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].

If [c,d]

is a subinterval of [a,b]

under one of the left-endpoint sum rectangles, then the area of the rectangle contributing to the left-endpoint estimate is f(c)(dc).

But, f(c)f(x)

for cxd,

so the area under the graph of f between c and d is f(c)(dc)

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 [a,b].

Explain why, if f(b)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].

Show that, in general, RNLN=(ba)×f(b)f(a)N.

LN=baNi=1Nf(a+(ba)i1N)=baNi=0N1f(a+(ba)iN)

and RN=baNi=1Nf(a+(ba)iN).

The left sum has a term corresponding to i=0

and the right sum has a term corresponding to i=N.

In RNLN,

any term corresponding to i=1,2,…,N1

occurs once with a plus sign and once with a minus sign, so each such term cancels and one is left with RNLN=baN(f(a+(ba))NN)(f(a)+(ba)0N)=baN(f(b)f(a)).

Explain why, if f is increasing on [a,b],

the error between either LN or RN and the area A below the graph of f is at most (ba)f(b)f(a)N.

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.


    Three graphs, stacked vertically, drawn on graph paper. Each shows the same image. However, the axes become progressively more exact in units. The first is marked in units, from negative 3 units to positive 3 units on each axis. The second has the half-units marked, and the third has the quarter units marked. As such, the graph paper boxes become smaller and smaller. The image is symmetrical across each axis and is a curved cross shape. It meets the axes at (0,3), (3,0), (0,-3), and (-3,0) and has corners roughly at (.7,.7), (.7,-.7), (-.7,-7.), and (-.7,.7). In graph 1, no square unit boxes are completely contained inside the shape. Twenty boxes are enclosed partially by the shape. In graph 2, nine boxes are completely contained inside the shape, and eleven boxes are enclosed partially by the shape. In graph 3, 11 boxes are completely contained inside the shape, and 4.5 are enclosed partially by the shape.

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.

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.

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(πn).

The base of the outer triangle is B=cos(πn)+sin(πn)tan(πn)

and the height is H=Bsin(2πn).

Use this information to argue that the area of a unit circle is equal to π.

A wedge of a circle cut at an acute angle theta = 2pi / n. Several extra lines are drawn. The first is a line A connecting the ends of the two radii, creating a triangle. The second is another line B parallel to the A, connecting the radii a few units in from each endpoint. A concentric curve C connects the endpoints of B and is tangent to A near its midpoint. The area between this curve C and the edge of the circle is shaded in pink, and the rest of the wedge is purple. A final concentric curve is drawn very close to angle theta.

Let A be the area of the unit circle. The circle encloses n congruent triangles each of area sin(2πn)2,

so n2sin(2πn)A.

Similarly, the circle is contained inside n congruent triangles each of area BH2=12(cos(πn)+sin(πn)tan(πn))sin(2πn),

so An2sin(2πn)(cos(πn))+sin(πn)tan(πn).

As n,n2sin(2πn)=πsin(2πn)(2πn)π,

so we conclude πA.

Also, as n,cos(πn)+sin(πn)tan(πn)1,

so we also have Aπ.

By the squeeze theorem for limits, we conclude that A=π.

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 Ai=1nf(xi*)Δ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


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1

Attribution: