# Setting up a Riemann Sum

I can't figure out exactly how to formulate a riemann sum.

For example, when given y=x+2; [0,1], and told to "find the area of the region under the curve y=f(x) over the interval [a,b]. To do this, divide [a,b] into n equal subintervals, caluculate the area of the cooresponding circumscribed polygon, and then let n go to infinity." I don't know what to do.

I get that the width of the strips formed is 1/n, and the height is the function y=x+2 evaluated at each x value where the strips are. But I can't seem to figure out how to set it all up. I need some basic steps that I can apply to problems like this one.

Â© BrainMass Inc. brainmass.com March 4, 2021, 5:55 pm ad1c9bdddfhttps://brainmass.com/math/calculus-and-analysis/18270

#### Solution Preview

We use the example y=f(x)=x+2 over the interval [0,1] to explain how to set up the Riemann Sum.

First, we divide the interval [0,1] into n equal subintervals. Each interval has length 1/n. Each interval has the form [i/n, (i+1)/n], where 0<=i<=n-1. For each interval, there is a strip. Second, we find the height of the strip. There are three kinds of choices which represent three ...

#### Solution Summary

The method of formulating a Riemann sum.