Polynomial interpolation makes Simpson's rule exact for every polynomial of polynomial degree at most two. To understand the extra polynomial degree, centre the coordinate at the midpoint: , with endpoints . For any cubic polynomial , let be its interpolating quadratic polynomial. The polynomial vanishes at all three quadrature nodes, so
where is the coefficient of in . As a function of , this is an odd function, whose integral over the symmetric interval is zero. Hence integrating also integrates exactly. This is the symmetry mechanism in the nodal-polynomial criterion for quadrature exactness.
In the worked example, the polynomial difference factors as
Its definite integrals on and are respectively and . Their cancellation concerns signed integrals, rather than pointwise accuracy of polynomial interpolation.
The degree of precision of a quadrature rule stops at three: on the same interval, the monomial gives , whereas . Their difference, exact integral minus approximation, is .
Write the remaining quadratic polynomial as . Comparing coefficients in with the given cubic polynomial gives and , hence . The coefficient of is then , as required. Thus
Let . Its values at useful points are
Since a polynomial is a continuous function, the intermediate value theorem gives one polynomial root in each of the disjoint intervals , and . A nonzero cubic polynomial has at most three distinct polynomial roots. Hence it has
These three distinct polynomial roots already exhaust its degree of a polynomial, so each has multiplicity of a root one.
Simpson's rule Created 2026-10-14 Updated 2026-10-18
Simpson's rule approximates a definite integral by integrating the quadratic polynomial obtained by polynomial interpolation at two endpoints and their midpoint. For an interval with , write and . The three quadrature nodes are , and the quadrature rule is
Thus its quadrature weights are . Their sum is , as required for exactness on constant functions. This is the three-node Newton-Cotes closed quadrature; its degree of precision of a quadrature rule is three, even though the interpolating polynomial has polynomial degree at most two.[ref]
For an original worked example, take the cubic polynomial on the interval . Here and , so the function evaluations give
Simpson's rule gives
An antiderivative supplies an independent exact definite integral:
The quadratic polynomial through the same quadrature nodes is . It differs from between the quadrature nodes, but its definite integral agrees exactly. The picture shows why: the signed polynomial interpolation error has two lobes with opposite integrals.
Figure 1.
An original cubic and its quadratic interpolant have the same integral because the two interpolation-error lobes have signed integrals plus and minus 81 over 64
. Details.
Three function evaluations therefore capture more information about an integral than about the whole function. When an antiderivative is unavailable, composite Simpson's rule repeats this inexpensive local construction over a partition of an interval. For a sufficiently smooth function, halving the node spacing reduces its truncation error by approximately a factor of sixteen.
Take the stipulated polynomial roots . Their first three elementary symmetric polynomials are
Their monic polynomial is therefore
The constant coefficient is , while the product of the three roots of a polynomial is : for a cubic polynomial, these have opposite signs. Expanding the factors directly verifies the same polynomial identity.
Figure 1.
The roots determine the signed coefficients of a cubic
. An original exact calculation: the graph shows the stipulated polynomial, and the ledger groups choices of one, two or three root positions into elementary symmetric polynomials. The alternating factors convert these values into monic polynomial coefficients. Details.
For the nonmonic polynomial , the same ratios give sum , pairwise-product sum , and product . It is times the monic polynomial above, so its roots of a polynomial are the same. Checking only the sum and product would leave the middle elementary symmetric polynomial unchecked; all three are needed to recover a monic polynomial of polynomial degree three.