- A Riemann sum is an approximation of the area under a curve using a number of rectangles.
The area under a curve is used to measure how one quantity may change with respect to another quantity. For example, when a velocity curve is evaluated in terms of a change in time, the result will be a change in position for an interval of time (that is how an object changing position relates to time). Therefore, over that change of time, the change in position is evaluated and the displacement can be calculated. This value is represented by the area beneath the position curve.
Although the area under a curve is often measured using integration, there are various approximations that may be used to estimate this value. The Riemann sum, for example, fits one or more rectangles beneath a curve, and takes the total area of those rectangles as the estimated area beneath the curve. The order of the Riemann sum is the number of rectangles beneath the curve. Therefore, a single rectangle is a first order approximation while twelve rectangles, is a twelfth order approximation.
If more than a single rectangle is used, it is often most desirable to have the rectangles be the same width so only their lengths vary. This makes for quicker calculations, especially when the order is large, however, as noted in the more mathematical description, this is not always the most accurate method to approximate the area under a curve. If the curve peaks or its slope (the rate at which it increases or decreases in height), is not constant, unequal widths may allow for greater accuracy.
In this case, the widths a and b are equal, but the lengths of the two rectangles are different.
The rectangle's length is matched to the height of the curve at one of three points:
If the curve is below the x-axis, any of the rectangles concerning this portion are subtracted from the total area.
In this example, the total area is the area of the last four rectangles subtracted from the first two rectangles.
Overestimation and underestimation are two important concepts to address when approximating the area under a curve. Overestimation is when the rectangles approximate the area to be bigger than the actual area and underestimation is when the rectangles approximate the area to be less than the area beneath the curve. Overestimation occurs with a left Riemann sum and a curve that has a negative slope or with a right Riemann sum and a curve that has a positive slope. Underestimation occurs with a left Riemann sum and a curve that has a positive slope or a right Riemann sum and a curve that has a negative slope.
To avoid too much under or over estimation, it is sometimes best to use the the middle Riemann sum.
Note that Riemann sums are only an approximation or estimation, and the more rectangles that are used, the more accurate the estimation. This is because more of the points in the curve are accounted for. As one can see in the main image, the rectangles begin to shape more and more like the curve as more of them are added. Therefore, an infinite number of rectangles, meaning the width of each rectangle is infinitesimally small, is ideal; and this is what represents an integral.
A More Mathematical Explanation
A Riemann sum is a way to approximate the value of an an integral. This approximation is performed by [...]
A Riemann sum is a way to approximate the value of an an integral. This approximation is performed by fitting rectangles beneath the curve and adding their respective areas(length X width) together.
Typically, these summations will have rectangles of equal width with varying heights where the height of the rectangle meets the curve of concern at either the left endpoint of its base, the right endpoint of its base, or the midpoint of its base.
Therefore, if there are five rectangles, each with the same width, , and lengths, , , , , and . Then the sum of the areas of these five rectangles is:
Which can be simplified to:
There is a general form of this summation in which each of the lengths are added together and multiplied by their equivalent width. The equation is:
Where is equal to the value of the function at the given value , or the length of the rectangle, and is the number of desired rectangles.
The calculation of this sum varies depending on whether it is a left, right, or middle sum. For the next three examples, assume that the interval in which the area is to be approximated starts at point .
For a left sum:
The equation starts at because this is the very first of the left endpoints of all the bases of the rectangles and ends at since this is the last of the left endpoints. In this sum and the following two, multiples of are added to to increment in the appropriate intervals. This is only true if all the widths of the rectangles are the same. If the widths were not all the same, then one would have to individually add each previous width to get to the next necessary end point.
For a right sum:
This equation starts at because this is the first right endpoint while is the last.
For a middle sum:
This equation starts in between the left and right endpoints of the first base, which is why is divided by two. And this continues throughout since each midpoint is evaluated for the height of the curve.
Although having a constant is easier for calculations, it is often more accurate to have unequal intervals, This increases accuracy for many functions that do not have constant slopes. For example:
As the slope increases, a smaller width in the rectangle allows for less overestimation in this specific approximation.
Where the slope increases, a smaller interval is better for approximating to avoid large amounts of over or under estimation.
Overestimation occurs with left Riemann sums with negative slopes because the rectangle’s height is measured to be higher than most of the part of the curve it is representing. While for a right Riemann sum, this would cause underestimation since it is mostly shorter than the rest of the represented portion of the curve. For curves with increasing slopes, the left Riemann sum would therefore compose rectangles of shorter height and the right Riemann sum would compose rectangles of greater height.
- There are currently no teaching materials for this page. Add teaching materials.
http://www.math.hmc.edu/calculus/tutorials/riemann_sums/ http://awapcalculus11.wikispaces.com/file/view/4.3+Riemann+Sums+and+Definite+Integrals+(11).pdf http://www-rohan.sdsu.edu/~jmahaffy/courses/f00/math122/lectures/riemann_sums/riemanns.html http://en.wikipedia.org/wiki/Riemann_sum
Leave a message on the discussion page by clicking the 'discussion' tab at the top of this image page.