# What is midpoint Riemann sum?

##### 1 Answer

I will assume that you know the general idea for a Riemann sum.

It is probably simplest to show an example:

For the interval:

we find

Now the endpoints of the subintervals are:

The first four are left endpoint and the last four are right endpoints of subintervals.

The left Riemann sum uses the left endpoints to find the height of the rectangle. (And the right sum . . . )

The midpoint sum uses the midpoints of the subintervals:

The midpoint of an interval is the average (mean) of the endpoints:

Now, whatever the function