RECTANGLE METHOD
(Redirected from Rectangle rule)
In integral calculus, the 'rectangle method' uses an approximation to a definite integral, made by finding the area of a series of rectangles. In numerical computation, this has generally been superseded by more sophisticated methods of numerical integration.
Either the left or right corners, or top middle of the boxes lie on the graph of a function, with the bases run along the ''x''-axis. The approximation is taken by adding up the areas (base multiplied by height, a function value) of the ''n'' rectangles that fill the space between two desired ''x''-values.
:
The necessity of arises when ''a'' is not zero, and as such the position of the first rectangle is not at but rather at . As ''n'' gets larger, the approximation gets more accurate. In fact, the limit of the approximation as ''n'' approaches infinity is exactly equal to the definite integral.
:
This is true regardless of which ''i' is used. Although the midpoint approximation tends to be more accurate for finite ''n'', the limit of all three approximations as ''n'' approaches infinity is the same, thus any of them can be used to calculate a definite integral.
The approximation error in the midpoint rule decays as the cube of the width of the box:
:
for some .
★ Midpoint method for solving ordinary differential equations
★ Trapezium rule
★ Simpson's rule
In integral calculus, the 'rectangle method' uses an approximation to a definite integral, made by finding the area of a series of rectangles. In numerical computation, this has generally been superseded by more sophisticated methods of numerical integration.
Either the left or right corners, or top middle of the boxes lie on the graph of a function, with the bases run along the ''x''-axis. The approximation is taken by adding up the areas (base multiplied by height, a function value) of the ''n'' rectangles that fill the space between two desired ''x''-values.
:
The necessity of arises when ''a'' is not zero, and as such the position of the first rectangle is not at but rather at . As ''n'' gets larger, the approximation gets more accurate. In fact, the limit of the approximation as ''n'' approaches infinity is exactly equal to the definite integral.
:
This is true regardless of which ''i' is used. Although the midpoint approximation tends to be more accurate for finite ''n'', the limit of all three approximations as ''n'' approaches infinity is the same, thus any of them can be used to calculate a definite integral.
| Contents |
| Error |
| See also |
Error
The approximation error in the midpoint rule decays as the cube of the width of the box:
:
for some .
See also
★ Midpoint method for solving ordinary differential equations
★ Trapezium rule
★ Simpson's rule
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español