Numerical Integration with the Midpoint Rule
The midpoint rule uses a Riemann sum where the subinterval representatives are the midpoints of the subintervals. For some functions it may be easy to choose a partition that more closely approximates the definite integral using midpoints.
Definition (Midpoint Rule) Let
be a continuous function on
and let
be a partition of the interval
Then the Riemann sum formed by using midpoints as the subinterval representatives
is
![]()
where
Example (Midpoint Rule) Consider
on
and let
be a partition of the interval
(so
). Then the Riemann sum formed by using midpoints as the subinterval representatives
is
![]()
![numerical integration with the midpoint rule _gr_15.gif]](pages/numerical-integration-with-the-midpoint-rule/Images/numerical-integration-with-the-midpoint-rule_gr_15.gif)
Consider that as
increases then so does the estimation of the area. Note that a somewhat accurate estimation is
However, because a fairly large number of rectangles are needed for a good approximation there are other common techniques which do not use rectangles.
![]()
![numerical integration with the midpoint rule _gr_20.gif]](pages/numerical-integration-with-the-midpoint-rule/Images/numerical-integration-with-the-midpoint-rule_gr_20.gif)
Cite this as:Numerical Integration With The Midpoint Rule
Published by Library of Math -- Online math organized by subject into topics.
Written by Smith, David A.
http://www.libraryofmath.com/numerical-integration-with-the-midpoint-rule.html


