math.RA — Rings and Algebras
Positive rational quadrature for polynomials
If a polynomial is nonnegative on an open interval, why is the difference of its antiderivative at the two endpoints nonnegative? Over , this follows from basic measure theory. We prove this constructively over any totally ordered field, and even over a partially ordered commutative -algebra in which are positive. The proof uses a finite quadrature rule: For each degree bound , we express the integral of a polynomial of degree as a positive weighted sum of values at rational fractions in the interval. We also ask whether nonnegativity inside the interval implies nonnegativity at its endpoints. We prove this over every totally ordered field and, more generally, over any partially ordered field in which every square is nonnegative. We give a counterexample over a totally ordered -algebra.