Web Analytics

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Riemann sum - Wikipedia, the free encyclopedia

Riemann sum

From Wikipedia, the free encyclopedia

In mathematics, a Riemann sum is a method for approximating the values of integrals. It may also be used to define the integration operation. The sums are named after Bernhard Riemann.

Contents

[edit] Definition

Consider a function f: DR, where D is a subset of the real numbers R, and let I = [a, b] be a closed interval contained in D. A finite set of points {x0, x1, x2, ... xn} such that a = x0 < x1 < x2 ... < xn = b creates a partition

P = {[x0, x1), [x1, x2), ... [xn-1, xn]}

of I.

If P is a partition with n elements of I, then the Riemann sum of f over I with the partition P is defined as

S = \sum_{i=1}^{n} f(y_i)(x_{i}-x_{i-1})

where xi-1yixi. The choice of yi in this interval is arbitrary. If yi = xi-1 for all i, then S is called a left Riemann sum. If yi = xi, then S is called a right Riemann sum. If yi = (xi+xi-1)/2, then S is called a middle Riemann sum. By averaging the left and right Riemann sum one obtains the so-called trapezoidal sum.

Suppose we have

S = \sum_{i=1}^{n} v_i(x_{i}-x_{i-1})

where vi is the supremum of f over [xi-1, xi]; then S is defined to be an upper Riemann sum. Similarly, if vi is the infimum of f over [xi−1, xi], then S is a lower Riemann sum.

Any Riemann sum on a given partition (that is, for any choice of yi between xi-1 and xi) is contained between the lower and the upper Riemann sums. A function is defined to be Riemann integrable if the lower and upper Riemann sums get ever closer as the partition gets finer and finer. This fact can also be used for numerical integration.

[edit] Methods

As stated above, there are four common methods to compute a Riemann sum: left, right, middle, and trapezoidal. We will elaborate on them in the simple case when the partition is made up of intervals of equal size. Thus, divide the interval [a, b] into n subintervals, each of length Q = (b − a)/n. The points in the partition will then be

a, a + Q, a + 2Q, ..., a + (n−2)Q, a + (n−1)Q, b.

[edit] Left Riemann sum

A left Riemann sum of x3 over [0,2] using 4 subdivisions.
Enlarge
A left Riemann sum of x3 over [0,2] using 4 subdivisions.

For the left Riemann sum, we will approximate the function by its value at the left-end point. This gives multiple rectangles with base Q and height f(a + iQ). Doing this for i = 0, 1, ..., n−1, and adding up the resulting areas gives us

Q\left[f(a) + f(a + Q) + f(a + 2Q)+\cdots+f(b - Q)\right].\,

The left-hand Riemann sum will be an overestimation if f is monotonically decreasing on this interval, and an underestimation if it is monotonically increasing.

[edit] Right Riemann sum

A Right Riemann sum of x3 over [0,2] using 4 subdivisions.
Enlarge
A Right Riemann sum of x3 over [0,2] using 4 subdivisions.

Here, for each interval we will approximate f by the value at the right endpoint. This gives multiple rectangles with base Q and height f(a + iQ). Doing this for i = 1, 2, n−1, n, and adding up the resulting areas gives us

Q\left[f(a + Q) + f(a + 2Q)+\cdots+f(b)\right].\,

The right-hand Riemann sum will be an overestimation if the function f is monotonically increasing, and an underestimation if it is monotonically decreasing.

[edit] Middle sum

A middle Riemann sum of x3 over [0,2] using 4 subdivisions.
Enlarge
A middle Riemann sum of x3 over [0,2] using 4 subdivisions.

In this case we will take as approximation for f in each interval its value at the midpoint. For the first interval we will thus have f(a + Q/2), for the next one f(a + 3Q/2), and so on until f(b-Q/2) is reached. Summing up the areas, we find

Q\left[f(a + Q/2) + f(a + 3Q/2)+\cdots+f(b-Q/2)\right].

The error of this formula will be

\left \vert \int_{a}^{b} f(x) - A_\mathrm{mid} \right \vert \le \frac{M_2(b-a)^3}{(24n^2)},

where M2 is the maximum value of the absolute value of f^{\prime\prime}(x) on the interval.

[edit] Trapezoidal rule

A trapezoidal Riemann sum of x3 over [0,2] using 4 subdivisions.
Enlarge
A trapezoidal Riemann sum of x3 over [0,2] using 4 subdivisions.

In this case, the values of the function f on an interval will be approximated by the average of the values at the left and right endpoints. In the same manner as above, a simple calculation using the area formula A = h(b1 + b2) / 2 for a trapezium with parallel sides b1, b2 and height h one calculates the Riemann sum to be

\frac{1}{2}Q\left[f(a) + 2f(a+Q) + 2f(a+2Q) + 2f(a+3Q)+\cdots+f(b)\right].

The error of this approximation for the integral is

\left \vert \int_{a}^{b} f(x) - A_\mathrm{trap} \right \vert \le \frac{M_2(b-a)^3}{(12n^2)},

where M2 is the maximum value of the absolute value of f^{\prime\prime}(x).

[edit] See also

[edit] External links

In other languages

Static Wikipedia (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2006 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia February 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu