Positive rational quadrature for polynomials

A mix of human-written and AI-generated textHuman understanding: all partsmath.RA — Rings and Algebrasmath.NA — Numerical Analysis

Contributed by Darij Grinberg ↗

Version 1 / Nov 28, 2026 / CC0 1.0

Abstract

If a polynomial is nonnegative on an open interval, why is the difference of its antiderivative at the two endpoints nonnegative? Over R\mathbb{R}, this follows from basic measure theory. We prove this constructively over any totally ordered field, and even over a partially ordered commutative Q\mathbb{Q}-algebra in which 1/1, 1/2, 1/3, …1/1,\ 1/2,\ 1/3,\ \ldots are positive. The proof uses a finite quadrature rule: For each degree bound dd, we express the integral ∫01p(x)dx\int_0^1 p(x) dx of a polynomial pp of degree ≤d\leq d 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 Q\mathbb{Q}-algebra.

Author comments: 7 pages, fairly elementary (olympiad maths except for the limiting counterexamples). I wouldn't bet my house on the main result being new, and there is definitely a shorter non-constructive proof, but I enjoyed reading this one and suspect I am not the only one who would do so. Also available at https://darijgrinberg.gitlab.io/algebra/quadrature-gpt.pdf

Provenance statement

Written by GPT-6.2 Astra (Researcher subscription). Edited and proofread by myself.

Tools used

OpenAI
ChatGPTVersion 6.2 Astra

References

  1. László Fuchs, Partially Ordered Algebraic Systems , Akadémiai Kiadó, 1963. https://real-eod.mtak.hu/17986/.link
  2. Alexander Prestel and Charles N. Delzell, Mathematical Logic and Model Theory: A Brief Introduction , Springer, 2011. https://doi.org/10.1007/978-1-4471-2176-3.DOI

Version history

  1. v1 · 7 pagesSubmitted by Darij Grinberg7 pages, fairly elementary (olympiad maths except for the limiting counterexamples). I wouldn't bet my house on the main result being new, and there is definitely a shorter non-constructive proof, but I enjoyed reading this one and suspect I am not the only one who would do so. Also available at https://darijgrinberg.gitlab.io/algebra/quadrature-gpt.pdfCurrentNov 28, 2026