Cubic exactness of Simpson's rule 2026-10-18
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, sowhere 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 asIts 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 .
Cubic polynomial 2026-10-18
A cubic polynomial in one variable has polynomial degree three. Over a splitting field, its factorization of polynomials contains three polynomial factors of polynomial degree one when multiplicity of a root is counted.
Move the constant term to the left and factor the cubic polynomial:Setting each factor to zero gives all three polynomial roots:
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 areSince 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 hasThese 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 isThus 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]
3.5 Quadrature, subsection (ii) Simpson’s Rule. NIST Digital Library of Mathematical Functions; §3.5(ii), equation 3.5.6: elementary Simpson rule and its fourth-derivative remainder
For an original worked example, take the cubic polynomial on the interval . Here and , so the function evaluations giveSimpson's rule givesAn 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.
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.
Vieta formulas for a cubic 2026-10-18
Take the stipulated polynomial roots . Their first three elementary symmetric polynomials areTheir monic polynomial is thereforeThe 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.
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.

