# Simpson formula

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A special case of the Newton–Cotes quadrature formula, in which three nodes are specified: (1)

Let the interval be broken up into an even number of subintervals , , of length , and calculate the integral over the interval by the quadrature formula (1): Summation over from 0 to on both sides leads to the composite Simpson formula (2)  where , . The quadrature formula (2) is also called Simpson's formula (that is, the word composite is dropped). The algebraic degree of accuracy of (2), and of (1), is equal to 3.

If the integrand has a continuous derivative of the fourth order on , then the error of the quadrature formula (2) — the difference between the left-hand and right-hand members of the approximate equation (2) — can be written as where is some point in the interval .

Simpson's formula was named after Th. Simpson, who obtained it in 1743, although the formula was already known, for example to J. Gregory, in 1668.