VICTORIA POWERS AND THORSTEN W ORMANN Suppose there exists a real, symmetric, psd matrix B such that f = x B x T and rank t. Since B is real symmetric

Similar documents
2 EBERHARD BECKER ET AL. has a real root. Thus our problem can be reduced to the problem of deciding whether or not a polynomial in one more variable

On the computation of Hermite-Humbert constants for real quadratic number fields

On Algebraic and Semialgebraic Groups and Semigroups

EXTENDING THE ARCHIMEDEAN POSITIVSTELLENSATZ TO THE NON-COMPACT CASE M. Marshall Abstract. A generalization of Schmudgen's Positivstellensatz is given

(1.) For any subset P S we denote by L(P ) the abelian group of integral relations between elements of P, i.e. L(P ) := ker Z P! span Z P S S : For ea

Calculus and linear algebra for biomedical engineering Week 3: Matrices, linear systems of equations, and the Gauss algorithm

On Joint Eigenvalues of Commuting Matrices. R. Bhatia L. Elsner y. September 28, Abstract

Mathematics and Computer Science

ON SUM OF SQUARES DECOMPOSITION FOR A BIQUADRATIC MATRIX FUNCTION

Structural Grobner Basis. Bernd Sturmfels and Markus Wiegelmann TR May Department of Mathematics, UC Berkeley.

[3] (b) Find a reduced row-echelon matrix row-equivalent to ,1 2 2

Representations of Positive Polynomials: Theory, Practice, and

Group Theory. 1. Show that Φ maps a conjugacy class of G into a conjugacy class of G.

On the power of real Turing machines. over binary inputs. Felipe Cucker. Universitat Pompeu Fabra. Balmes 132, Barcelona SPAIN

Effectivity Issues and Results for Hilbert 17 th Problem

ERIC LARSON AND LARRY ROLEN

Algorithms for quadratic forms

RANKS OF QUANTUM STATES WITH PRESCRIBED REDUCED STATES

growth rates of perturbed time-varying linear systems, [14]. For this setup it is also necessary to study discrete-time systems with a transition map

Linear Algebra. Session 12

Problem Set 9 Due: In class Tuesday, Nov. 27 Late papers will be accepted until 12:00 on Thursday (at the beginning of class).

Chapter 1: Systems of Linear Equations and Matrices

Math Camp Notes: Linear Algebra II

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Semidefinite Programming

On Bounding the Betti Numbers and Computing the Euler. Characteristic of Semi-algebraic Sets. Saugata Basu. Abstract

A TOUR OF LINEAR ALGEBRA FOR JDEP 384H

MIT Algebraic techniques and semidefinite optimization February 16, Lecture 4

Solvability of Word Equations Modulo Finite Special And. Conuent String-Rewriting Systems Is Undecidable In General.

Linear Algebra, 4th day, Thursday 7/1/04 REU Info:

A finite basis theorem for product varieties of groups

1182 L. B. Beasley, S. Z. Song, ands. G. Lee matrix all of whose entries are 1 and =fe ij j1 i m 1 j ng denote the set of cells. The zero-term rank [5

Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices

A degree bound for codimension two lattice ideals

Linear Algebra: Characteristic Value Problem

Solving Equations. Solving Equations - decimal coefficients and constants. 2) Solve for x: 3(3x 6) = 3(x -2) 1) Solve for x: 5 x 2 28 x

The Equality of OLS and GLS Estimators in the

1 Linear Algebra Problems

Infinite products and paracontracting matrices

SPECTRA - a Maple library for solving linear matrix inequalities in exact arithmetic

. Here the flats of H(2d 1, q 2 ) consist of all nonzero totally isotropic

CSL361 Problem set 4: Basic linear algebra

Chapter 3 Transformations

On the classication of algebras

Projektpartner. Sonderforschungsbereich 386, Paper 163 (1999) Online unter:

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Convexity of the Joint Numerical Range

Summer Project. August 10, 2001

Betti Number Bounds, Applications and Algorithms

PROOF OF TWO MATRIX THEOREMS VIA TRIANGULAR FACTORIZATIONS ROY MATHIAS

THE REAL POSITIVE DEFINITE COMPLETION PROBLEM. WAYNE BARRETT**, CHARLES R. JOHNSONy and PABLO TARAZAGAz

It is well-known (cf. [2,4,5,9]) that the generating function P w() summed over all tableaux of shape = where the parts in row i are at most a i and a

4.1 Eigenvalues, Eigenvectors, and The Characteristic Polynomial

Review of Basic Concepts in Linear Algebra

A Characterization of Distance-Regular Graphs with Diameter Three

COMPLETE REDUCIBILITY AND SEPARABLE FIELD EXTENSIONS

Bounds on the Pythagoras number of the sum of square magnitudes of Laurent polynomials

LINEAR MAPS PRESERVING NUMERICAL RADIUS OF TENSOR PRODUCTS OF MATRICES

ON THE HÖLDER CONTINUITY OF MATRIX FUNCTIONS FOR NORMAL MATRICES

290 J.M. Carnicer, J.M. Pe~na basis (u 1 ; : : : ; u n ) consisting of minimally supported elements, yet also has a basis (v 1 ; : : : ; v n ) which f

The maximum size of a partial spread in H(4n + 1,q 2 ) is q 2n+1 + 1

An Explicit SOS Decomposition of A Fourth Order Four Dimensional Hankel Tensor with A Symmetric Generating Vector

Smooth morphisms. Peter Bruin 21 February 2007

Exact algorithms for linear matrix inequalities

ELEMENTARY LINEAR ALGEBRA WITH APPLICATIONS. 1. Linear Equations and Matrices

A theorem on summable families in normed groups. Dedicated to the professors of mathematics. L. Berg, W. Engel, G. Pazderski, and H.- W. Stolle.

Computational methods in the study of symplectic quotients

Improved Lower Bound on Testing Membership. to a Polyhedron by Algebraic Decision Trees. obtained lower bound to a concrete class of polyhedra

1. The Polar Decomposition

Minimum Ellipsoid Bounds for Solutions of Polynomial Systems via Sum of Squares

1.1 Introduction to Linear Systems and Row Reduction

Chapter 3: Vector Spaces x1: Basic concepts Basic idea: a vector space V is a collection of things you can add together, and multiply by scalars (= nu

GRÖBNER BASES AND POLYNOMIAL EQUATIONS. 1. Introduction and preliminaries on Gróbner bases

Absolutely indecomposable symmetric matrices

ON THE COMPLETE PIVOTING CONJECTURE FOR A HADAMARD MATRIX OF ORDER 12 ALAN EDELMAN 1. Department of Mathematics. and Lawrence Berkeley Laboratory

460 HOLGER DETTE AND WILLIAM J STUDDEN order to examine how a given design behaves in the model g` with respect to the D-optimality criterion one uses

2 Garrett: `A Good Spectral Theorem' 1. von Neumann algebras, density theorem The commutant of a subring S of a ring R is S 0 = fr 2 R : rs = sr; 8s 2

Disjointness conditions in free products of. distributive lattices: An application of Ramsay's theorem. Harry Lakser< 1)

Semi-strongly asymptotically non-expansive mappings and their applications on xed point theory

Chapter 3. Vector spaces

2 JAKOBSEN, JENSEN, JNDRUP AND ZHANG Let U q be a quantum group dened by a Cartan matrix of type A r together with the usual quantized Serre relations

The following can also be obtained from this WWW address: the papers [8, 9], more examples, comments on the implementation and a short description of

Linear Algebra Practice Problems

What is the meaning of the graph energy after all?

QUASI-UNIFORMLY POSITIVE OPERATORS IN KREIN SPACE. Denitizable operators in Krein spaces have spectral properties similar to those

Complexity of the Havas, Majewski, Matthews LLL. Mathematisch Instituut, Universiteit Utrecht. P.O. Box

Lecture 5: Ideals of Points

Numerical Ranges and Dilations. Dedicated to Professor Yik-Hoi Au-Yeung on the occasion of his retirement

October 7, :8 WSPC/WS-IJWMIP paper. Polynomial functions are renable

3 (Maths) Linear Algebra

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations:

response surface work. These alternative polynomials are contrasted with those of Schee, and ideas of

Linear Algebra (Review) Volker Tresp 2017

2 THE COMPLEXITY OF TORSION-FREENESS On the other hand, the nite presentation of a group G also does not allow us to determine almost any conceivable

LOWER BOUNDS FOR POLYNOMIALS USING GEOMETRIC PROGRAMMING

Two Results About The Matrix Exponential

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

THE SET OF ZEROES OF AN "ALMOST POLYNOMIAL" FUNCTION

16 Chapter 3. Separation Properties, Principal Pivot Transforms, Classes... for all j 2 J is said to be a subcomplementary vector of variables for (3.

G METHOD IN ACTION: FROM EXACT SAMPLING TO APPROXIMATE ONE

Transcription:

AN ALGORITHM FOR SUMS OF SQUARES OF REAL POLYNOMIALS Victoria Powers and Thorsten Wormann Introduction We present an algorithm to determine if a real polynomial is a sum of squares (of polynomials), and to nd an explicit representation if it is a sum of squares. This algorithm uses the fact that a sum of squares representation of a real polynomial corresponds to a real, symmetric, positive semi-denite matrix whose entries satisfy certain linear equations. Sums of squares and Gram matrices We x n and use the following notation in R := R[x 1 ; : : : ; x n ]: For = ( 1 ; : : : ; n ) N n 0, let x denote x 1 1 : : : x n n. For m N 0, set m := f( 1 ; : : : ; n ) P N n 0 j 1 + + n mg. Then f R of degree m can be written f = m a x. We say f is sos if f is a sum of squares of elements in R. Suppose f is sos, say f is a sum of t squares in R, then f must have even degree, say m. Thus f = P t i=1 h i, where each h i has degree m. Suppose j m j = k, then we order the elements of m in some way: m = f 1 ; : : : ; k g. Set x := (x 1 ; : : : ; x k ) and let A be P the k t matrix with ith column the coecients of h i. Then the equation f = h i can be written f = x (AA T ) x T : The symmetric k k matrix B := AA T is sometimes called a Gram matrix of f (associated to the h i 's). Note that B is psd (= \positive semi-denite"), i.e., y B y T 0 for all y = (y 1 ; : : : ; y k ) R k. The following theorem, in a dierent form, can be found in [CLR]. However we include the theorem and its proof for the convenience of the reader. Theorem 1. Suppose f R is of degree m and x is as above. Then f is a sum of squares in R i there exists a real, symmetric, psd matrix B such that f = x B x T : Given such a matrix B of rank t, then we can can construct polynomials h 1 ; : : : ; h t such that f = P h i and B is a Gram matrix of f associated to the h i's. P Proof. If f = h i is sos, then as above we take A A T, where A is the matrix whose columns are the coecients of the h i 's. Typeset by AMS-TEX 1

VICTORIA POWERS AND THORSTEN W ORMANN Suppose there exists a real, symmetric, psd matrix B such that f = x B x T and rank t. Since B is real symmetric of rank t, there exists a real matrix V and a real diagonal matrix D = diag(d 1 ; : : : ; d t ; 0; : : : ; 0) such that V D V T and d i = 0 for all i. Since B is psd we have d i > 0 for all i. Then () f = x V D V T x T : Suppose V = (v i;j ), then for i = 1; : : : ; t, set h i := p d i P k j=1 v j;ix i R. It follows from () that f = h 1 + + h t. Thus to nd a representation of f as a sum of squares, we need only nd a matrix B which satises the theorem. Further, if we can show that no such B exists, then we know that f is not a sum of squares in R. Note that if f = P a x and (b i;j ) is a kk symmetric matrix then by \term inspection", f = xb x T i for all m, () X i + j = b i;j = a : The algorithm Given f R of degree m. 1. Let (b i;j ) be a symmetric matrix with variable entries. Solve the linear system that arises from f = x B x T, i.e., solve the linear system dened by equations of the form () above, with one equation for each m. Note that each variable b i;j appears in only one equation, hence the solution is found by setting all but one variable in each row equal to a parameter and solving for the remaining variable. Then the solution is given by B 0 + 1 B 1 + + l B l, where each B i is a real symmetric kk matrix and 1 ; : : : ; l are the parameters. In this case l = k(k + 1)=? j m j. Remark. In general, the size of the matrix B grows rapidly as the number? of n+m variables and the degree of the polynomial increases, since k = j m j = n. However for a particular polynomial we can sometimes decrease the size of the Gram matrix by eliminating unnecessary elements of m. For example, suppose m, =, and cannot be written in any other way as a sum of elements in m. Then if the coecient of in f is 0, we know x cannot occur in any h i, cf. [CL, x] and [CLR,.].. We want to nd values for the r 's that make B 0 + 1 B 1 + + l B l psd. As is well known, B is psd i all eigenvalues are non-negative. Let F (y) = y k + b k?1 y k?1 + + b 0 be the characteristic polynomial of B. Note that each b i R[ 1 ; : : : ; l ]. By Descarte's rule of signs, which is exact for a polynomial with only real roots, F (y) has only non-negative roots i (?1) (i+k) b i 0 for all i = 0; : : : ; k? 1. Hence we consider the semi-algebraic set S := f( 1 ; : : : ; l ) R l j (?1) (i+k) b i ( 1 ; : : : ; l ) 0g:

AN ALGORITHM FOR SUMS OF SQUARES OF REAL POLYNOMIALS Then f is sos i S is nonempty, and a point in S corresponds to a matrix satisfying the conditions of Theorem 1. Remark. There are several dierent algorithms for determining whether or not a semi-algebraic set is empty, for example using quantier elimination. Unfortunately, none of these algorithms are practical apart from \small" examples. For more on this topic, see e.g. [BCR], [C], [GV], [R].. Given a matrix (b i;j ) which satises the conditions of Theorem 1, then we use the procedure in the proof of the theorem to nd a representation of f as a sum of squares. Example 1. Let f = x y + x + y + 1, then f is visibly a sum of squares. We want to nd all possible representations of f as a sum of squares. Note that by the remark above, if f = P h i then the only monomials that can occur in the h i's are xy; x; y; 1. So set 1 = (1; 1), = (1; 0), = (0; 1), and = (0; 0). Then the linear system in step 1 of the algorithm is b 1;1 = 1; b 1; = 0; b 1; = 0; b 1; + b ; = 0 b ; = 1; b ; = 0 b ; = 1; b ; = 0 b ; = 1 Thus the general form of a Gram matrix for f is The characteristic polynomial of B is 1 0 0 0 1? 0 0? 1 0 y? y + (? )y + (? )y + (? + 1); thus B is psd i?1 1. Note that rank if = 1, otherwise rank. Hence f can be written as a sum of or squares. We have V D V T, where D = diag(1; 1; 1? ; 1? ) and V = 1 0 0 0 0 1 0 0 0? 1 05. This yields f = (xy + ) + (x? y) + ( p 1? y) + ( p 1? ) : Note that = 0 yields the original representation of f as a sum of squares.

VICTORIA POWERS AND THORSTEN W ORMANN Example. Let f(x; y; z) = x + x y + x z + z. A Gram matrix for f would be of the form 1 0 0 0 0 0? 0 In this case, S f?8? + 0;?8? 0g = ;. Hence f is not sos. Example. Let f(x; y; z) = x + x y z + y + y z + y z + z. In this case the only exponents that can occur in the h i 's are f(; 0; 0), (0; ; 0), (0; ; 1), (0; 1; ), (0; 0; )g. We get 1 0 0 0 0 1 0 r s 0? r?s t 0 r?s 1? t 0 0 s t 0 as the general form of a Gram matrix. The corresponding semi-algebraic set is S = f?r?t+9 0;?r +rt?1r? s?t?1t+5 0; r?r +rs +rt?0r+s t?10s +t?t?t+19 0; 10r +r t?10r?rs t+rs +rt?r+s +s t?10s +t?t?t? 0; 8r +r t +8r +?rs t+rs +1rt?8r+s?s t?s +t?t +1t?8 0g. If we set s = t = 0, we see (?1; 0; 0) S, and setting s = 0 and r =? we see (?; 0;?=) S. In particular, S is nonempty and so f is a sum of squares. Using (?1; 0; 0), 1 0 0 0 0 1 0?1 0 0 0 0 0?1 0 1 0 0 0 0 0 Note that rank, so this gives f as a sum of squares. In this case we get Using (?; 0;?=), 5 f = (x + y z) + (y? yz ) + (z ) : 1 0 0 0 0 1 0? 0 0 0?= 0? 0 0 0 0?= 0 Note rank. Proceeding as before we get f = (x + y z) + (y? yz ) + ( p y z? p =z ) + ( p =8z ) : Remark. Let (K; ) be any ordered eld with real closure R, and suppose f K[x 1 ; : : : ; x n ]. Then we can easily extend the algorithm to decide whether or not f is a sum of squares in R[x 1 ; : : : ; x n ].

AN ALGORITHM FOR SUMS OF SQUARES OF REAL POLYNOMIALS 5 Acknowledgements This paper was written while the rst author was a visitor at Dortmund University. She gratefully thanks the Deutscher Akademischer Austauschdienst for funding for this visit, as well as Professor E. Becker and his assistants for their warm hospitality during her stay. References [BCR] J. Bochnak, M. Coste and M.-F. Roy, Geometrie Algebrique Reelle, Ergebnisse der Mathematik und ihrer Grenzgebiete (. Folge), vol. 1, Springer Verlag, Berlin Heidelberg New York, 198. [C] J. Canny, Improved algorithms for sign determination and existential quantier elimination, The Computer Journal (199), 09{18. [CL] M.D. Choi and T.Y. Lam, An old question of Hilbert, Proceedings of a Conference on Quadratic Forms (G. Orzech, editor), Queen's Papers on Pure and Applied Mathematics, vol., 19, pp. 85{05. [CLR] M.D. Choi, T.Y. Lam, and B. Reznick, Sums of squares of real polynomials, Symp. in Pure Math., vol. 58, Amer. Math. Soc., Providence, R.I., 1995, pp. 10{1. [GV] D. Grigor'ev and N. Vorobjov, Solving systems of polynomial inequalities in subexponential time, J. Symb. Comp. 5 (1988), {. [R] J. Renegar, Recent progress on the complexity of the decision problem for the reals, Discrete and Computational Geometry: Papers from the DIMACS Special Year, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, vol., American Math. Soc., Providence, RI, 1991, pp. 8{08. Department of Mathematics and Computer Science, Emory University, Atlanta, GA 0, USA Fakultat fur Mathematik, Universitat Dortmund, Lehrstuhl VI, Dortmund 1, Germany