Simpson's Rule

Simpson’s rule is a numerical method of integration achieved by calculating the area under the curve. The rule states that 1/3h(sum of end ordinates + 4 × sum of odd ordinates + 2 × sum of remaining even ordinates).

Overview

Thomas Simpson was born August 20, 1710, and died May 14, 1761. Simpson’s rule developed from work done by himself, in collaboration with Roger Cotes and Sir Isaac Newton. It is believed, however, that this rule was established about 100 years earlier by Johannes Kepler.

It is always possible to fit a quadratic curve to three points. See Figure 1. Here points D, E and F define a curve with area delimited by +/– h.

98418339-97579.jpg

Use y = ax2 + bx + c (the formula for a quadratic) and use simultaneous equations to find expressions for a, b and c. Put each point’s coordinates into this quadratic expression in turn.

98418339-97580.jpg

98418339-97581.jpg

98418339-97582.jpg

Replace c by YE(from (2)) into equation (1)

98418339-97583.jpg

Replace c by YE in (3)

98418339-97584.jpg

Add (4) and (5): YD + YF = 2ah2 + 2YE and so a = (YD - 2YE + YF) / 2h2

98418339-97585.jpg

The shaded area under the curve is given by the integral of ax2 + bx + c between h and –h.

98418339-97586.jpg

Substituting the expressions for a and c (see above) the shaded area is

98418339-97587.jpg

This expression for the area simplifies to 1/3h(YD + 4YE + YF).

The shaded shape could be translated any distance along the x-direction without the area changing. The formula applies for any pair of strips, each of width h, with the given y-ordinates. By convention, the y-ordinates are identified by numbers, so the formula becomes 1/3h(y0 + 4y1 + y2).

In Figure 2 a given area (shaded in grey) has been divided into three pairs of strips. The formula derived above is applied separately to each pair (so a separate quadratic is fitted to each of the three sections.

98418339-97588.jpg

It is apparent that the total area here is

98418339-97589.jpg ,

which simplifies to

98418339-97590.jpg

There are alternative methods to finding the area, such as using trapeziums or rectangles. Simpson’s rule, however, is found to be extrememly accurate. Note that an even number of strips of equal width are to be used.

Bibliography

LaTorre, D. R. Calculus Concepts : An Informal Approach to the Mathematics of Change. Boston: Cengage, 2012.

Larson, Ron, and Bruce H. Edwards. Calculus. Boston: Cengage, 2014.

Ross, Kenneth A. Elementary Analysis: The Theory of Calculus. New York: Springer, 2013.

Sauer, Timothy. Numerical Analysis. 2nd ed. Harlow, UK: Pearson, 2014.

Stewart, James. Calculus: Early Transcendentals. Belmont, CA: Cengage, 2012.

Sullivan, Michael. Precalculus: Enhanced with Graphing Utilities. Upper Saddle River, NJ: Pearson, 2013.