Numerical Integration with Simpson's Rule

    Instead of rectangles and trapezoids Simpson's rule uses parabolic arcs. The formula obtained for Simpson's rule requires using uniform width subintervals and an even number of them.

    Consider numerical integration with the simpson rule _gr_1.gif] on numerical integration with the simpson rule _gr_2.gif] and say we want to find the area. We could use rectangles as in a Riemann sum; however many graphs have curvature as so maybe using strips with parabolic arc will yield better estimates with less work.

That is instead if rectangles or trapezoids:

numerical integration with the simpson rule _gr_3.gif]

let's use "strips" with parabolic arcs

numerical integration with the simpson rule _gr_4.gif]

If numerical integration with the simpson rule _gr_5.gif] is a partition of numerical integration with the simpson rule _gr_6.gif] with numerical integration with the simpson rule _gr_7.gif] and numerical integration with the simpson rule _gr_8.gif] and if we pass a parabolic arc through the points, three at a time say, the points with numerical integration with the simpson rule _gr_9.gif]-coordinates numerical integration with the simpson rule _gr_10.gif] then those with numerical integration with the simpson rule _gr_11.gif] and so on. It can be shown that the area of the region under the parabolic curve numerical integration with the simpson rule _gr_12.gif] on the interval numerical integration with the simpson rule _gr_13.gif] has area given by

numerical integration with the simpson rule _gr_14.gif]

where numerical integration with the simpson rule _gr_15.gif] Thus, to estimate numerical integration with the simpson rule _gr_16.gif] we can add up the strips as follows:

Definition (Simpson's Rule) The Simpson rule estimates the definite integral of numerical integration with the simpson rule _gr_17.gif] over numerical integration with the simpson rule _gr_18.gif] using the formula,  

numerical integration with the simpson rule _gr_19.gif]

where numerical integration with the simpson rule _gr_20.gif] numerical integration with the simpson rule _gr_21.gif] and numerical integration with the simpson rule _gr_22.gif] is an even integer.

Example (Simpson's Rule) Consider numerical integration with the simpson rule _gr_23.gif] on numerical integration with the simpson rule _gr_24.gif] and let   numerical integration with the simpson rule _gr_25.gif] be a partition of the interval numerical integration with the simpson rule _gr_26.gif] (so numerical integration with the simpson rule _gr_27.gif]).  

numerical integration with the simpson rule _gr_28.gif]

numerical integration with the simpson rule _gr_29.gif]

which is a much better estimation than using rectangles with the same partition.

Definition (Error in the Simpson Rule) If numerical integration with the simpson rule _gr_30.gif]has a continuous fourth derivative on numerical integration with the simpson rule _gr_31.gif] then the error numerical integration with the simpson rule _gr_32.gif] (n even) in approximating   numerical integration with the simpson rule _gr_33.gif] by the Simpson rule satisfies:

numerical integration with the simpson rule _gr_34.gif]

where numerical integration with the simpson rule _gr_35.gif] is the maximum value of numerical integration with the simpson rule _gr_36.gif] on numerical integration with the simpson rule _gr_37.gif]

Definition (Error in the Simpson Rule) Consider numerical integration with the simpson rule _gr_38.gif] on numerical integration with the simpson rule _gr_39.gif] and let   numerical integration with the simpson rule _gr_40.gif] be a partition of the interval numerical integration with the simpson rule _gr_41.gif] . Find the error in the approximation

numerical integration with the simpson rule _gr_42.gif]

    Solution. We compute numerical integration with the simpson rule _gr_43.gif],  
    
numerical integration with the simpson rule _gr_44.gif]

numerical integration with the simpson rule _gr_45.gif]

and

numerical integration with the simpson rule _gr_46.gif].

We plot the fourth derivative obtaining:
    
numerical integration with the simpson rule _gr_47.gif]

and so there is a maxmium at numerical integration with the simpson rule _gr_48.gif] We obtain numerical integration with the simpson rule _gr_49.gif] Therefore, the error is less than numerical integration with the simpson rule _gr_50.gif] numerical integration with the simpson rule _gr_51.gif]


numerical integration with the simpson rule _gr_59.gif]

numerical integration with the simpson rule _gr_69.gif]
Cite this as:
Numerical Integration With The Simpson 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-simpson-rule.html
 
    
Library of Math
Online Math Organized by Subject Into Topics
math search
Library of Math AddThis Feed Button
The Library of Math - Online Math Organized by Subject Into Topics.
© 2005 - 2008 www.LibraryOfMath.com All rights reserved.
about us | feedback | privacy policy | terms of use | mision statement | help

Page copy protected against web site content infringement by Copyscape Valid CSS! Valid HTML 4.01 Transitional Subscribe to the Library of Math Feed