Algorithms for Weighted Sums of Squares Decomposition of Non-negative Univariate Polynomials

06/13/2017
by   Victor Magron, et al.
0

It is well-known that every non-negative univariate real polynomial can be written as the sum of two polynomial squares with real coefficients. When one allows a weighted sum of finitely many squares instead of a sum of two squares, then one can choose all coefficients in the representation to lie in the field generated by the coefficients of the polynomial. In this article, we describe, analyze and compare both from the theoretical and practical points of view, two algorithms computing such a weighted sums of squares decomposition for univariate polynomials with rational coefficients. The first algorithm, due to the third author relies on real root isolation, quadratic approximations of positive polynomials and square-free decomposition but its complexity was not analyzed. We provide bit complexity estimates, both on runtime and output size of this algorithm. They are exponential in the degree of the input univariate polynomial and linear in the maximum bitsize of its complexity. This analysis is obtained using quantifier elimination and root isolation bounds. The second algorithm, due to Chevillard, Harrison, Joldes and Lauter, relies on complex root isolation and square-free decomposition and has been introduced for certifying positiveness of polynomials in the context of computer arithmetics. Again, its complexity was not analyzed. We provide bit complexity estimates, both on runtime and output size of this algorithm, which are polynomial in the degree of the input polynomial and linear in the maximum bitsize of its complexity. This analysis is obtained using Vieta's formula and root isolation bounds. Finally, we report on our implementations of both algorithms. While the second algorithm is, as expected from the complexity result, more efficient on most of examples, we exhibit families of non-negative polynomials for which the first algorithm is better.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/14/2022

Exact SOHS decompositions of trigonometric univariate polynomials with Gaussian coefficients

Certifying the positivity of trigonometric polynomials is of first impor...
research
06/07/2023

On Isolating Roots in a Multiple Field Extension

We address univariate root isolation when the polynomial's coefficients ...
research
02/13/2022

Beyond Worst-Case Analysis for Root Isolation Algorithms

Isolating the real roots of univariate polynomials is a fundamental prob...
research
05/23/2022

Low-Rank Univariate Sum of Squares Has No Spurious Local Minima

We study the problem of decomposing a polynomial p into a sum of r squar...
research
02/04/2023

Pourchet's theorem in action: decomposing univariate nonnegative polynomials as sums of five squares

Pourchet proved in 1971 that every nonnegative univariate polynomial wit...
research
01/01/2023

Parametric "Non-nested" Discriminants for Multiplicities of Univariate Polynomials

We consider the problem of complex root classification, i.e., finding th...
research
07/19/2016

Reconstruction Algorithms for Sums of Affine Powers

In this paper we study sums of powers of affine functions in (mostly) on...

Please sign up or login with your details

Forgot password? Click here to reset