Simpson's Rule - Composite Simpson's Rule

Composite Simpson's Rule

If the interval of integration is in some sense "small", then Simpson's rule will provide an adequate approximation to the exact integral. By small, what we really mean is that the function being integrated is relatively smooth over the interval . For such a function, a smooth quadratic interpolant like the one used in Simpson's rule will give good results.

However, it is often the case that the function we are trying to integrate is not smooth over the interval. Typically, this means that either the function is highly oscillatory, or it lacks derivatives at certain points. In these cases, Simpson's rule may give very poor results. One common way of handling this problem is by breaking up the interval into a number of small subintervals. Simpson's rule is then applied to each subinterval, with the results being summed to produce an approximation for the integral over the entire interval. This sort of approach is termed the composite Simpson's rule.

Suppose that the interval is split up in subintervals, with an even number. Then, the composite Simpson's rule is given by

\int_a^b f(x) \, dx\approx
\frac{h}{3}\bigg[f(x_0)+2\sum_{j=1}^{n/2-1}f(x_{2j})+
4\sum_{j=1}^{n/2}f(x_{2j-1})+f(x_n)
\bigg],

where for with ; in particular, and . The above formula can also be written as

\int_a^b f(x) \, dx\approx
\frac{h}{3}\bigg.

The error committed by the composite Simpson's rule is bounded (in absolute value) by

where is the "step length", given by

This formulation splits the interval in subintervals of equal length. In practice, it is often advantageous to use subintervals of different lengths, and concentrate the efforts on the places where the integrand is less well-behaved. This leads to the adaptive Simpson's method.

Read more about this topic:  Simpson's Rule

Famous quotes containing the words composite, simpson and/or rule:

    A positive learning climate in a school for young children is a composite of many things. It is an attitude that respects children. It is a place where children receive guidance and encouragement from the responsible adults around them. It is an environment where children can experiment and try out new ideas without fear of failure. It is an atmosphere that builds children’s self-confidence so they dare to take risks. It is an environment that nurtures a love of learning.
    Carol B. Hillman (20th century)

    The sun is shining.
    The shadows of the lovers have disappeared.
    They are all eyes; they have some demand on me—
    They want me to be more serious than I want to be.
    —Louis Simpson (b. 1923)

    I am a Christian according to my conscience in belief, ... in purpose and wish;Mnot of course by the orthodox standard. But I am content, and have a feeling of trust and safety.
    The Machiavellian mind and the merchant mind are at one in their simple faith in the power of segmental division to rule all—in the dichotomy of power and morals and of money and morals.
    Marshall McLuhan (1911–1980)