Integration

Riemann Sums

A Riemann sum is a method for approximating the area under a curve (a less accurate integral). The two main types are rectangular and trapezoidal. Rectangular entails you dividing up and area into rectangles and then adding all the rectangles up to get an area. Trapezoidal is the same but instead of dividing the area along the curve into rectangles you make them into trapezoids.

In finding Riemann sums, follow these steps.

  1. Divide the distance x is covering by the number of intervals. This is your Δx, the width of the rectangle (rectangular), or height of the trapezoid (trapezoidal).
  2. If you are solving for rectangular, you will be told left, right or middle.
    1. If left rectangular, calculate the area of each rectangle using the left most y value (f(x) with the smallest x of the interval) as the height of the rectangle.
    2. If right rectangular, calculate the area of each rectangle using the right most y value (f(x) with the largest x of the interval) as the height of the rectangle.
    3. If middle rectangular, calculate the area of each rectangular using the middle y value (f(x) with the x that is the average of each end of the interval) as the height of the rectangle.
  3. If you are solving for trapezoidal use the y value at the left of interval as base 1 and the  y value at the right end of the interval as base 2 (picture).

For example:

3.1   Calculate a left rectangular Riemann sum of the function picture from 1 to 3 using 5 rectangles.

5 rectangles or five intervals so Δx = picture

x

y

Δx

Area (y Δx)

1

picture   

.4

.6

1.4

picture 

.4

.68

1.8

picture 

.4

.76

2.2

picture 

.4

.84

2.6

picture 

.4

.92

So the Riemann sum picture

3.2   Calculate a trapezoidal Riemann sum of the function f(x) = x³ from 0 to 3 using six trapezoids.

Six trapezoids or six intervals so Δx = picture

x

y-left (b1)

y-right (b2)

Δx

Areapicture    

0 – .5 

0

.125

.5

.03125

.5 – 1

.125

1

.5

.28125

1 – 1.5

1

3.375

.5

1.09375

1.5 – 2

3.375

8

.5

2.84375

2 – 2.5

8

15.625

.5

5.90625

2.5 – 3

15.625

27

.5

10.65625

So the Riemann sum

= picture

= 20.8125