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 treasures of Cathay were never found.
    In this America, this wilderness
    Where the axe echoes with a lonely sound,
    The generations labor to possess
    And grave by grave we civilize the ground.
    —Louis Simpson (b. 1923)

    The terrifying message of gay liberation is that men are capable of loving their brothers. It should be sweet news to every woman in the world, for, if the capacity of men to love whom they have been taught to treat as competitors and enemies can transcend their education, the world can begin to heal.
    —Jane Rule (b. 1931)