Simpson's Rule
By Marcos Charalambides on Saturday,
November 16, 2002 - 11:17 am:
What is Simpson's Rule and how can we derive it?
Thanks
By Colin Prue on Saturday, November 16,
2002 - 02:25 pm:
simpson's rule is almost the trapezium rule, except that it is
based on the area under parabolas instead of trapezia
For a parabola on the interval
:
where if
,
,
this can be proven, if necessary, by inspection of the general
case.
Therefore, if we divide a curve into AN EVEN number of
sub-intervals of equal length, its area can be approximated (with
more accuracy in most cases than the trapezum rule), with the sum
of the areas under parabolas extending across PAIRS of
subintervals using the following rule.
But as every
where
is even occurs twice, this can be reduced to the
following:
where
is the value of
at the partition point
for the approximation to work:
is even, and
By Marcos Charalambides on Saturday,
November 16, 2002 - 03:05 pm:
Thanks a lot...
Yeah, it seems to be a lot more accurate than the trapezium rule
(in the cases I've tried)
By Kerwin Hui on Saturday, November 16,
2002 - 11:16 pm:
In case you are wondering, Marcos, there is also a variant
of this known as the Simpson's 3/8-rule, which is based on cubics rather than
quadratics. It basically says
is exact on cubics
.
Both of the (Newton-)Simpson's rule and the Simpson's 3/8-rule are accurate up
to cubics, and there is something called Gregory's formula that is a
generalisation of these results. The fact that the (Newton-)Simpson's rule is
exact for cubic is perhaps slightly surprising, but it is a consequence of
.
Kerwin