You are on page 1of 8

Supplement to Section 6.4 and 6.

5

In this section starting on page 390 the book introduces the notion of left sum and right sum.
The left sum of n rectangles is denoted by
n
L . The right sum of n rectangles is denoted by
n
R .
It is left to the student to interpret from the pictures the meanings and definitions of these sums.

Informal definition: Consider the function f represented by the following graph:









Notice that the four rectangles extend from the x -axis to the curve. The rectangles touch the
curve on their right side and the height of the rectangle is equal to the height of the curve at this
point. Thus the height of the rectangles in the pictures is ( coordinate on right side) f x . The sum
of the area of these four rectangles would be called
4
R . If the rectangles touched the curve on
their left side, the sum would be
4
L .

The formal definition is not given until Section 6.5.

Definition Left sum and Right sum:
If we partition the interval [ , ] a b into n equal subintervals of length ( ) / x b a n = with
endpoints
0 1
, , ,
n
a x x x b = = where
k
x a k x = + , then define
( ) / x b a n =
k
x a k x = + for 0 k n
| |
1 0 1 1
1
left sum ( ) ( ) ( ) ( )
n
n k n
k
L f x x f x f x f x x

=
= = = + + +


| |
1 2
1
right sum ( ) ( ) ( ) ( )
n
n k n
k
R f x x f x f x f x x
=
= = = + + +



Remark: It is sometimes easier to use
| |
1
0 1 1
0
left sum ( ) ( ) ( ) ( )
n
n k n
k
L f x x f x f x f x x

=
= = = + + +



Example 1: Compute the left sum of
2
( )
x
f x e = using 5 equal subintervals of [0,1]

Solution 1) We are given that 0 a = , 1 b = , and 5 n = .
Step 1) Compute width of each rectangle:
Since we want equal subintervals each rectangle has a width of
( ) / (1 0) / 5 1/ 5 x b a n = = = .

This point has coordinates
( , ) x y where ( ) y f x =
2
Step 2) Compute the endpoints of each interval.
We then have a partition of the interval [0,1] of
0 1 2 3 4 5
1 1 1 1 1
0, 0 1 , 2 , 3 , 4 , 5 1
5 5 5 5 5
x x x x x x
| | | | | | | | | |
= = + = = = = =
| | | | |
\ . \ . \ . \ . \ .
.

Step 3) Evaluate sum
Since we want the left sum we are going use the left five numbers. (We will not
use
5
x )
| |
| |
5
5 1 0 1 4
1
0 1/ 25 4/ 25 9/ 25 16/ 25
( ) ( ) ( ) ( )
1
(0) (1/ 5) (2/ 5) (3/ 5) (4/ 5)
5
1
5
1.309
k
k
L f x x f x f x f x x
f f f f f
e e e e e

=
= = + + +
| |
= + + + +
|
\ .
| |
( = + + + +
|

\ .





Example 2: Compute the right sum of
2
( ) 9 f x x = using 8 equal subintervals of [ 1, 3]

Solution 2) We are given that 1 a = , 3 b = , and 8 n = .
Step 1) Compute width of each rectangle:
Since we want equal subintervals each rectangle has a width of
( ) / (3 1) / 8 1/ 2 x b a n

= = = .

Step 2) Compute the endpoints of each interval.
We then have a partition of the interval [ 1, 3] with
1
1
2
k
x a k k
| |
= + = +
|
\ .

0 1 2 3 4 5 6 7 8
1 1 3 5
1, , 0, , 1, , 2, , 3
2 2 2 2
x x x x x x x x x = = = = = = = = = .

Step 3) Evaluate sum
Since we want the right sum we are going use the right eight numbers. (We will
not use
0
x )
| |
8
8 1 8
1
( ) ( ) ( )
1 1 3 5 1
(0) (1) (2) (3)
2 2 2 2 2
35 35 27 11 1
9 8 5 0
4 4 4 4 2
2.280
k
k
R f x x f x f x x
f f f f f f f f
=
= = + +
( | | | | | | | | | |
= + + + + + + +
| | | | | (
\ . \ . \ . \ . \ .
(
| |
= + + + + + + +
(
|
\ .






3
The left and right sums computed above are a special case of a Riemann Sum. Riemann Sums
do not require that the rectangle use the height on the left side or the height on the right side, but
instead allow the height to be taken at any point in between.

Definition: Riemann Sum
Let f be a continuous function defined on the closed interval [ , ] a b , and let
1.
0 1 n
a x x x b = < < < =
2.
1 k k k
x x x

= for 1, 2, , k n =
3. Let
k
c satisfy
1 k k k
x c x

for 1, 2, , k n =
Then the sum

1 1 2 2
1
( ) ( ) ( ) ( )
n
k n n
k
f c x f c x f c x f c x
=
= + + +


is called a Riemann Sum.


In the first three sections of chapter 6, the concept of indefinite integrals and anti-derivatives was
introduced. In section 4 (page 389) the definite integral symbol was used, but no formal
definition was given. The formal definition of the definite integral involves limits of a sum.
Justification for why a similar symbol is used for these seemingly unrelated topics is discussed in
section 5 (top of page 411).

Definition: (page 406) Definite Integral of f from a to b
Let f be a continuous function defined on the closed interval [ , ] a b , and let
4.
0 1 n
a x x x b = < < < =
5.
1 k k k
x x x

= for 1, 2, , k n =
6. 0
k
x as n
7. Let
k
c satisfy
1 k k k
x c x

for 1, 2, , k n =
Then

| |
1
1 1 2 2
( ) lim ( )
lim ( ) ( ) ( )
b
n
k
n
k
a
n n
n
f x dx f c x
f c x f c x f c x

=
= + + +


is called a definite integral of f from a to b . The integrand is ( ) f x , the lower limit is a ,
and the upper limit is b .


If a Riemann Sum is computed and no limit is taken then we say that the Riemann Sum is an
estimate of the definite integral.


Example 3: Estimate
2
1
0
x
e dx

using five left subintervals.


Solution 3) This is example 1. So
2
1
0
1.309
x
e dx


4
Example 4: Estimate
2
3
1
5 2
4
x
dx
x
+
+

using five right subintervals.



Solution 4) We are given that 1 a = , 3 b = , and 5 n = and
3
5 2
( )
4
x
f x
x
+
=
+
.
Step 1) Compute width of each rectangle:
Since we want equal subintervals each rectangle has a width of
( ) / (2 1) / 5 1/ 5 x b a n = = = .

Step 2) Compute the endpoints of each interval.
We then have a partition of the interval [1, 3] with
1
1
5
k
x a k k
| |
= + = +
|
\ .
0 1 2 3 4 5
7 9 11 13 15
1, , , , , 3
5 5 5 5 5
x x x x x x = = = = = = = .

Step 3) Evaluate sum
Since we want the right sum we are going use the right five numbers. (We will
not use
0
x )
| |
5
5 1 5
1
( ) ( ) ( )
7 9 11 13 1
( ) ( ) (3)
5 5 5 5 5
375 1375 1625 625 17 1
281 1229 1831 899 31 5
0.917
k
k
R f x x f x f x x
f f f f f
=
= = + +
( | | | | | |
= + + + +
| | | (
\ . \ . \ .
( | |
= + + + +
|
(
\ .




Step 4) Answer Question:
2
3
1
5 2
0.917
4
x
dx
x
+

+



In general the estimates are pretty bad unless a large number of subintervals are used.













5
Example 5: Consider
4
2
0
3x dx


a) Estimate this indefinite integral using n equal subintervals with left endpoints
n
L .
b) Compute the indefinite integral using the definition. In other words compute the limit
of the Riemann Sum as the number of subintervals increases without bound.


Solution 5a) We are given that 0 a = , 4 b = , and
2
( ) 3 f x x = .
Step 1) Compute width of each rectangle:
Since we want equal subintervals each rectangle has a width of
( ) / (4 0) / 4 / x b a n n n = = = .

Step 2) Compute the endpoints of each interval.
We then have a partition of the interval [0,4] with
4
0
k
x a k k
n
| |
= + = +
|
\ .


Step 3) Evaluate sum
Since we want the left sum we are going use the left n numbers. (We will not
use
n
x )
1
1
2
1 1
2
2
1
2
3
1
2
3
1
2
3
1 1 1
3
( )
4 4 4 4
( 1) 3 ( 1)
16 4
3( 1)
192
( 1)
192
( 2 1)
192
2 1
192 ( 1)(2 1) 2 (

6
n
n k
k
n n
k k
n
k
n
k
n
k
n n n
k k
L f x x
f k k
n n n n
k
n n
k
n
k k
n
k k
n
n n n n
n

=
= =
=
=
=
= =
=
| | | | | | | |
= =
| | | |
\ . \ . \ . \ .
| |
=
|
\ .
=
= +
(
= +
(

+ +
=


3 3 2
1)
2
32 ( 1)(2 1) 192 ( 1) 192
n
n
n n n n n
n n n
+ (
+
(

+ + +
= +

This last equality came from the handout on formulas needed for section 6.5 and
6.6.
6
Solution 5b) We are asked to compute
4
2
0
3 lim
n
n
x dx L

. Using 5a) we have


4
2
0
3 3 2
3 lim
32 ( 1)(2 1) 192 ( 1) 192
lim
64
n
n
n
x dx L
n n n n n
n n n

=
+ + +
= +
=







Example 6: Compute
( )
2
3
0
4 3 2 x x dx +

using the limit of a left Riemann Sum.


Solution 6)
Step 1) Compute width of each rectangle:
Since we want equal subintervals each rectangle has a width of
( ) / (2 0) / 2 / x b a n n n = = = .

Step 2) Compute the endpoints of each interval.
We then have a partition of the interval [0,2] with
2
0
k
x a k x k
n
| |
= + = +
|
\ .


Step 3) Evaluate sum
Since we want the left sum we are going use the left n numbers. (We will not
use
n
x )
( ) ( )
( )
1
1
3
1
3
1
3
4 2
1 1 1
2
4 2
( )
2
4 3 2
2 2 2
4 3 2
64 12 2
2
64 ( 1) 12 ( 1) 2
2
2 2
n
n k
k
n
k k
k
n
k
n n n
k k k
L f x x
x x
n
k k
n n n
k k
n n n
n n n n
n
n n n

=
=
=
= = =
=
| |
(
= +
|

\ .
(
| | | | | |
= +
(
| | |
\ . \ . \ .
(

= +
+ + | |
= +
|
\ .








7
Step 4) Compute limit

( )
( )
2
3
0
2
4 2
4 3 2 lim
64 ( 1) 12 ( 1) 2
lim 2
2 2
16 6 4 14
n
n
n
x x dx L
n n n n
n
n n n

+ =
+ + | |
= +
|
\ .
= + =







Supplemental Homework:

1. Estimate
1
3
0
x dx

using three left equal subintervals.



2. Estimate
1
2
20 5 x dx

using six right equal subintervals.



3. Estimate
( )
4
3 2
0
5 6 7 x x dx +


a. Using four right equal subintervals.
b. Using eight left equal subintervals.
c. Using n right equal subintervals.
d. Compute the indefinite integral as the limit of the Reimann Sum of part c above.
[i.e., let the number of subintervals increase without bound ( n )]

4. Estimate
( )
8
2
0
4 x dx +


a. Using four right equal subintervals.
b. Using eight left equal subintervals.
c. Using n left equal subintervals.
d. Compute the indefinite integral as the limit of the Reimann Sum of part c above.
[i.e., let the number of subintervals increase without bound ( n )]



Answers:
1.
1
9
2. 13.758 3. a. 348 b. 336 c.
2
2
1 ( 1)(2 1
320 64 28
n n n
n n
+ + + | | (
+
|
(
\ .
d. 220

4. a. 272 b. 172 c.
2 2 2
256( 1)(2 1) 512( 1) 512
32
3
n n n
n n n
+ + +
+ + d.
2
3
202

8

Formulas


( )
1
1 1 1
1 1
1
2 2 2 2 2
1
2
3 3 3 3 3
1
1)
2)
3)
( 1)
4) 1 2 3
2
( 1)(2 1)
5) 1 2 3
6
( 1)
6) 1 2 3
2
n
k
n n n
n n n n
k k k
n n
n n
k k
n
k
n
k
n
k
c cn
a b a b
ca c a
n n
n k
n n n
n k
n n
n k
=
= = =
= =
=
=
=
=
=
=
+
+ + + + = =
+ +
+ + + + = =
+ | |
+ + + + = =
|
\ .

You might also like