First Order Conditions for Semidefinite Representations of Convex Sets Defined by Rational or Singular Polynomials

Similar documents
Semidefinite Representation of Convex Sets

Semidefinite representation of convex sets and convex hulls

Semi-definite representibility. For fun and profit

LMI MODELLING 4. CONVEX LMI MODELLING. Didier HENRION. LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ. Universidad de Valladolid, SP March 2009

Unbounded Convex Semialgebraic Sets as Spectrahedral Shadows

An Exact Jacobian SDP Relaxation for Polynomial Optimization

COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS. Didier HENRION henrion

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

Representations of Positive Polynomials: Theory, Practice, and

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

ALGEBRAIC DEGREE OF POLYNOMIAL OPTIMIZATION. 1. Introduction. f 0 (x)

What can be expressed via Conic Quadratic and Semidefinite Programming?

Convex Optimization. (EE227A: UC Berkeley) Lecture 28. Suvrit Sra. (Algebra + Optimization) 02 May, 2013

LECTURE 5, FRIDAY

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC

Minimizing Cubic and Homogeneous Polynomials over Integers in the Plane

Hilbert s 17th Problem to Semidefinite Programming & Convex Algebraic Geometry

Convex algebraic geometry, optimization and applications

A new look at nonnegativity on closed sets

Optimization over Polynomials with Sums of Squares and Moment Matrices

Chapter 2: Preliminaries and elements of convex analysis

4. Algebra and Duality

Non-Convex Optimization via Real Algebraic Geometry

Chapter 2 Convex Analysis

Lecture Note 5: Semidefinite Programming for Stability Analysis

15. Conic optimization

Global Minimization of Rational Functions and the Nearest GCDs

On Polynomial Optimization over Non-compact Semi-algebraic Sets

Example: feasibility. Interpretation as formal proof. Example: linear inequalities and Farkas lemma

Local properties of plane algebraic curves

A Brief Review on Convex Optimization

8. Limit Laws. lim(f g)(x) = lim f(x) lim g(x), (x) = lim x a f(x) g lim x a g(x)

1 Strict local optimality in unconstrained optimization

Semidefinite Programming

5 Quiver Representations

d A 0 + m t k A k 0 whenever λ min (B k (x)) t k λ max (B k (x)) for k = 1, 2,..., m x n B n (k).

CSCI : Optimization and Control of Networks. Review on Convex Optimization

Introduction to Arithmetic Geometry Fall 2013 Lecture #23 11/26/2013

LECTURE 7, WEDNESDAY

arxiv: v1 [math.oc] 9 Sep 2015

UNDERGROUND LECTURE NOTES 1: Optimality Conditions for Constrained Optimization Problems

Lecture 6 - Convex Sets

Centre for Mathematics and Its Applications The Australian National University Canberra, ACT 0200 Australia. 1. Introduction

Convex Functions and Optimization

Appendix PRELIMINARIES 1. THEOREMS OF ALTERNATIVES FOR SYSTEMS OF LINEAR CONSTRAINTS

LOWER BOUNDS FOR A POLYNOMIAL IN TERMS OF ITS COEFFICIENTS

1 Directional Derivatives and Differentiability

2 Sequences, Continuity, and Limits

Implications of the Constant Rank Constraint Qualification

Math 341: Convex Geometry. Xi Chen

12. Hilbert Polynomials and Bézout s Theorem

NOTES ON HYPERBOLICITY CONES

Convex Optimization Theory. Chapter 5 Exercises and Solutions: Extended Version

Topological properties

Convex Optimization and Modeling

Convex Optimization M2

A positive definite polynomial Hessian that does not factor

Tangent spaces, normals and extrema

8. Prime Factorization and Primary Decompositions

Complexity of Deciding Convexity in Polynomial Optimization

arxiv:math/ v3 [math.oc] 5 Oct 2007

Chapter 2: Unconstrained Extrema

Projective Varieties. Chapter Projective Space and Algebraic Sets

The moment-lp and moment-sos approaches

Mathematics 530. Practice Problems. n + 1 }

A strongly polynomial algorithm for linear systems having a binary solution

Math 40510, Algebraic Geometry

Lecture 5. The Dual Cone and Dual Problem

THE NUMBER OF POLYNOMIAL SOLUTIONS OF POLYNOMIAL RICCATI EQUATIONS

Symmetric Matrices and Eigendecomposition

2016 EF Exam Texas A&M High School Students Contest Solutions October 22, 2016

A LOCALIZATION PROPERTY AT THE BOUNDARY FOR MONGE-AMPERE EQUATION

Assignment 1: From the Definition of Convexity to Helley Theorem

Exact SDP Relaxations for Classes of Nonlinear Semidefinite Programming Problems

2. Intersection Multiplicities

Interior Point Methods: Second-Order Cone Programming and Semidefinite Programming

4. Convex optimization problems

FILTERED RINGS AND MODULES. GRADINGS AND COMPLETIONS.

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema

be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism

ALGEBRAIC GEOMETRY HOMEWORK 3

Convergence rates of moment-sum-of-squares hierarchies for volume approximation of semialgebraic sets

9. Birational Maps and Blowing Up

Convex hull of two quadratic or a conic quadratic and a quadratic inequality

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27

RIEMANN SURFACES. max(0, deg x f)x.

Semidefinite programming relaxations for semialgebraic problems

Integral Jensen inequality

Largest dual ellipsoids inscribed in dual cones

3.5 Quadratic Approximation and Convexity/Concavity

P-adic Functions - Part 1

The Algebraic Degree of Semidefinite Programming

Lecture 1: January 12

Describing convex semialgebraic sets by linear matrix inequalities. Markus Schweighofer. Universität Konstanz

Solving Global Optimization Problems with Sparse Polynomials and Unbounded Semialgebraic Feasible Sets

Chap. 3. Controlled Systems, Controllability

Advanced SDPs Lecture 6: March 16, 2017

Chapter 13. Convex and Concave. Josef Leydold Mathematical Methods WS 2018/19 13 Convex and Concave 1 / 44

CHAPTER 4: HIGHER ORDER DERIVATIVES. Likewise, we may define the higher order derivatives. f(x, y, z) = xy 2 + e zx. y = 2xy.

An explicit construction of distinguished representations of polynomials nonnegative over finite sets

Transcription:

Mathematical Programming manuscript No. (will be inserted by the editor) First Order Conditions for Semidefinite Representations of Convex Sets Defined by Rational or Singular Polynomials Jiawang Nie Received: June 28, 2008 / Revised: July 01, 2009 Abstract A set is called semidefinite representable or semidefinite programming (SDP) representable if it equals the projection of a higher dimensional set which is defined by some Linear Matrix Inequality (LMI). This paper discusses the semidefinite representability conditions for convex sets of the form S D (f) = x D : f(x) 0. Here, D = x R n : g 1 (x) 0,, g m(x) 0 is a convex domain defined by some nice concave polynomials g i (x) (they satisfy certain concavity certificates), and f(x) is a polynomial or rational function. When f(x) is concave over D, we prove that S D (f) has some explicit semidefinite representations under certain conditions called preordering concavity or q-module concavity, which are based on the Positivstellensatz certificates for the first order concavity criteria: f(u) + f(u) T (x u) f(x) 0, x, u D. When f(x) is a polynomial or rational function having singularities on the boundary of S D (f), a perspective transformation is introduced to find some explicit semidefinite representations for S D (f) under certain conditions. In the particular case n = 2, if the Laurent expansion of f(x) around one singular point has only two consecutive homogeneous parts, we show that S D (f) always admits an explicitly constructible semidefinite representation. Keywords convexity, linear matrix inequality, perspective transformation, polynomial, rational function, singularity, semidefinite programming, sum of squares Mathematics Subject Classification (2000) 90C22 90C25 The research was partially supported by NSF grants DMS-0757212, DMS-0844775 and Hellman Foundation Fellowship. Jiawang Nie Department of Mathematics, University of California at San Diego, 9500 Gilman Drive, La Jolla, CA 92093, USA. E-mail: njw@math.ucsd.edu

2 1 Introduction Semidefinite programming (SDP) [1, 12, 13, 22] is an important convex optimization problem. It has wide applications in combinatorial optimization, control theory and nonconvex polynomial optimization as well as many other areas. There are efficient numerical algorithms and standard packages for solving semidefinite programming. Hence, a fundamental problem in optimization theory is what sets can be represented by semidefinite programming. This paper discusses this problem. A set S is said to be Linear Matrix Inequality (LMI) representable if S = x R n : A 0 + A 1 x 1 + + A nx n 0 for some symmetric matrices A i. Here the notation X 0( 0) means X is positive semidefinite (definite). The above is then called an LMI representation for S. If S is representable as the projection of n N Ŝ = (x, u) R(n+N) : A 0 + A i x i + B j u j 0 R(n+N), j=1 that is, S = x R n : u R n, (x, u) Ŝ, for some symmetric matrices A i and B j, then S is called semidefinite representable or semidefinite programming (SDP) representable. The lifted LMI above is then called a semidefinite representation, SDP representation or lifted LMI representation for S. Sometimes, we also say S = Ŝ if S equals the projection of the lift Ŝ. Nesterov and Nemirovski ([12]), Ben-Tal and Nemirovski ([1]), and Nemirovski ([13]) gave collections of examples of SDP representable sets. Thereby leading to the fundamental question which sets are SDP representable? Obviously, to be SDP representable, S must be convex and semialgebraic. Is this necessary condition also sufficient? What are the sufficient conditions for S to be SDP representable? Note that not every convex semialgebraic set is LMI representable (see Helton and Vinnikov [8]). Prior work When S is a convex set of the form x R n : g 1 (x) 0,, g m(x) 0 defined by polynomials g i (x), there is recent work on the SDP representability of S. Parrilo [15] gave a construction of lifted LMIs using moments and sum of squares techniques, and proved the construction gives an SDP representation in the two dimensional case when the boundary of S is a single rational planar curve of genus zero. Lasserre [11] showed the construction can give arbitrarily accurate approximations to compact S, and the construction gives a lifted LMI for S under some algebraic properties called S-BDR or PP-BDR, i.e., requiring almost all positive affine polynomials on S have certain SOS representations with uniformly bounded degrees. Helton and Nie [6] proved that the convex sets of the form x R n : g 1 (x) 0,, g m(x) 0 are SDP representable if every g i (x) is sos-concave ( 2 g i (x) = G i (x) T G i (x) for some possibly nonsquare matrix polynomial G i (x)), or every g i (x) is strictly quasi-concave on S, or a mixture of the both. Later, based on the work [6], Helton and Nie [7] proved a very general result that a compact convex semialgebraic set S is always SDP representable if the boundary of S is nonsingular and has positive curvature. This sufficient condition is not far away from being necessary: the boundary of a convex set has nonnegative curvature when it is nonsingular. So the only unaddressed cases for SDP representability are that the boundary of a convex set has zero curvature somewhere or has some singularities.

3 Contributions The results in [6,7,11] are more on the theoretical existence of SDP representations. The constructions given there might be too complicated to be useful for computational purposes. These results sometimes need to check conditions of Hessians of defining polynomials, which sometimes are difficult or inconvenient to verify in practice. However, in many applications, people often want explicit and simple semidefinite representations. Thus some simple SDP representations and conditions justifying them are favorable in practical applications. All these practical issues motivate this paper. Our contributions come in the following three aspects. First, there are some convex sets defined by polynomials that are not concave in the whole space R n but concave over a convex domain D R n. For instance, for convex set x R 2 : x 2 x 3 1 0, x 1 0, the defining polynomial x 2 x 3 1 is not concave when x 1 < 0, but is concave over the domain R + R. Moreover, this set allows an SDP representation, e.g., (x 1, x 2 ) : u, [ ] x1 u 0, u x 2 [ ] 1 x1 0. x 1 u For convex sets given in the form S D (f) = x D : f(x) 0, where f(x) is a polynomial concave over a convex domain D, we prove some sufficient conditions for semidefinite representability of S D (f) and give explicit SDP representations. This will be discussed in Section 2. Second, there are some convex sets defined by rational functions (also called rational polynomials) which are concave over a convex domain D of R n. If we redefine them by using polynomials, the concavity of rational functions might not be preserved. For instance, the unbounded convex set x R 2 + : 1 1 0 x 1 x 2 is defined by a rational function concave over R 2 + (R + is the set of nonnegative real numbers). This set can be equivalently defined by polynomials x R 2 : x 1 x 2 1 0, x 1 0, x 2 0. But x 1 x 2 1 is not concave anywhere. The prior results in [6,7] do not imply the SDP representability of this set. However, this set is SDP representable, e.g., it equals x R 2 : [ ] x1 1 1 x 2 0. For convex sets given in the form S D (f) = x D : f(x) 0, where f(x) is a rational function concave over a convex domain D, we prove some sufficient conditions for semidefinite representability of S D (f) and give explicit SDP representations. This will be discussed in Section 3. Third, there are some convex sets that are defined by polynomials or rational functions which are singular on the boundary. For instance, the set x R 2 : x 2 1 x 3 1 x 2 2 0, x 1 0

4 is convex, and the origin is on the boundary. The polynomial x 2 1 x3 1 x2 2 is singular at the origin, i.e., its gradient vanishes at the origin. The earlier results in [6,7] do not imply the SDP representability of this set. However, this set is the same as (x 1, x 2 ) R + R : x 1 x 2 1 x2 2 0, x 1 a convex set defined by a concave rational function over the domain R + R. By Schur s complement, we know it can be represented as x 1 x 2 x 1 (x 1, x 2 ) : x 2 x 1 0 0. x 1 0 1 It is an LMI representation without projections. The technique of Schur s complement works only for very special concave rational functions, and is usually difficult to be applied for general cases. For singular convex sets of the form S D (f) = x D : f(x) 0, where f(x) is a polynomial or rational function with singularities on the boundary, we give some sufficient conditions for semidefinite representability of S D (f) and give explicit SDP representations. In the particular case n = 2, we show that S D (f) always admits an explicitly constructible SDP representation when the Laurent expansion of f(x) around one singular point has only two consecutive homogeneous parts. This will be discussed in Section 4. In this paper, we always assume D = x R n : g 1 (x) 0,, g m(x) 0 is a convex domain defined by some nice concave polynomials g i (x). Here nice means that they satisfy certain concavity certificates. For instance, a very useful case is D is a polyhedron. We do not require D or S D (f) to be compact, as required by [6,7, 11]. When f(x) is concave over D, the sufficient conditions for SDP representability of S D (f) proven in this paper are based on some certificates for the first order concavity criteria: f(u) + f(u) T (x u) f(x) 0, x, u D. Some Positivstellensatz certificates like Putinar s Positivstellensatz [17] or Schmüdgen s Positivstellensatz [20] for the above can be applied to justify some explicitly constructible SDP representations for S D (f). Throughout this paper, R (resp. N) denotes the set of real numbers (resp. nonnegative integers). For α N n and x R n, denote α = α 1 + +α n and x α = x α1 1 xαn n. B(u, r) denotes the ball x R n : x u 2 r. A vector x 0 means all its entries are nonnegative. A polynomial p(x) is said to be a sum of squares or sos if there exist finitely many polynomials q i (x) such that p(x) = q i (x) 2. A matrix polynomial is a matrix whose every entry is a polynomial. A matrix polynomial H(x) is called a sum of squares or sos if there is a matrix polynomial G(x) such that H(x) = G(x) T G(x). 2 Convex sets defined by polynomials concave over domains In this section, consider the convex set S D (f) = x D : f(x) 0 defined by a polynomial f(x). Here D = x R n : g 1 (x) 0,, g m(x) 0 is a convex domain. When f(x) is concave on D, it must hold that R f (x, u) := f(u) + f(u) T (x u) f(x) 0 x, u D.

5 The difference R f (x,u) is the first order Lagrange remainder. 2.1. q-module convexity and preordering convexity Now we introduce some types of definitions about convexity/concavity. Define g 0 (x) = 1. We say f(x) is q-module convex over D if it holds the identity m m R f (x, u) = g i (x) g j (u)σ ij (x, u) for some sos polynomials σ ij (x,u). Then define f(x) to be q-module concave over D if f(x) is q-module convex over D. We say f(x) is preordering convex over D if it holds the identity R f (x,u) = g ν1 1 (x) gνm m (x) g µ1 1 (u) gµm m (u)σ ν,µ(x, u) ν 0,1 m µ 0,1 m for some sos polynomials σ ν,µ(x, u). Similarly, f(x) is called preordering concave over D if f(x) is preordering convex over D. The q-module convexity is based on Putinar s Positivstellensatz [17], while the preordering convexity is based on Schmüdgen s Positivstellensatz [20]. Obviously, the q-module convexity implies preordering convexity, which then implies the convexity, but the converse might not be true. We remark that the defining polynomials g i (x) are not unique for the domain D. When we say f(x) is q-module or preordering convex/concave over D, we usually assume certain set of defining polynomials g i (x) which should be clear from the context. In the special case D = R n, the definitions of q-module convexity and preordering convexity coincide and they are called first order sos convexity. The first order sos concavity is defined in a similar way. Recall that a polynomial f(x) is sos-convex if its Hessian 2 f(x) is sos (see [6]). An interesting fact is if f(x) is sos-convex then it must also be first order sos convex. This is due to the fact that ( 1 ) t f(x) f(u) f(u) T (x u) = (x u) T 2 f(u + s(x u))ds dt (x u). 0 0 If f(x) is sos-convex, then 2 f(x) = F(x) T F(x) for some matrix polynomial F(x) and f(x) f(u) f(u) T (x u) ( 1 ) t = (x u) T F(u + s(x u)) T F(u + s(x u)) dsdt (x u) 0 0 must be an sos polynomial (see Lemma 7 of [6]). Interestingly, if f(x) is first order sos convex, f(x) must also be sos convex, that is, these two kinds of convexity are equivalent. This fact was pointed out to the author by Amir Ali Ahmadi and Pablo Parrilo. They kindly give the following proof. For all x,y R n and t 0 it holds 1 ( ) t 2 f(x + ty) f(x) t f(x) T y j=0 = y T 2 f(x)y + 1 t 2 o(t2 y 2 2)). If f(x) is first order sos convex, the left hand side in the above must be sos in (x, y). As t 0, it has a bounded degree and converges to y T 2 f(x)y, since 1 t 2 o(t 2 y 2 2 )) 0. So y T 2 f(x)y must also be sos in (x, y), which means f(x) is sos convex.

6 Example 2.1 The bivariate polynomial f(x) = x 3 1 + x2 1 x 2 + x 1 x 2 2 + x3 2 is convex over the nonnegative orthant R 2 +. It is also q-module convex with respect to R 2 +. This is due to the identity ( 1 R f (x,u) = 3 u 1 + 1 )( 6 x 1 4(x 1 u 1 ) 2 + 2(x 1 + x 2 u 1 u 2 ) 2) + ( 1 3 u 2 + 1 2)( 6 x 4(x 2 u 2 ) 2 + 2(x 1 + x 2 u 1 u 2 ) 2). 2.2. SDP representations Throughout this subsection, we assume the polynomials f(x) and g i (x) are either all q-module concave or all preordering concave over D. For any h(x) from the set f(x), g 1 (x),, g m(x), we thus have either m m R h (x, u) = g i (x) g j (u)σij(x,u) h for some sos polynomials σij h (x,u), or R h (x,u) = g1 ν1 (x) gνm m (x) g µ1 1 (u) gµm m (u)σν,µ(x, h u) ν 0,1 m µ 0,1 m for some sos polynomials σν,µ(x,u). h Let d i = 1 2 deg(g i), d ν = 1 2 deg x (gν1 1 gνm m ) and d (P) pre = d (P) qmod = max h f,g 1,,g m max h f,g 1,,g m j=0 max ν 0,1 m,µ 0,1 m max 0 i,j m 1 2 deg x (g iσ h ij ) 1 2 deg x(g ν1 1 gνm m σ h ν,µ) (2.1) where deg x ( ) denotes the degree of a polynomial in x. Then define d = d (P) qmod (resp. d = d (P) pre) when f(x) and all g i (x) are q-module (resp. preordering) concave over D. Define matrices G (i) α and G (ν) α such that g i (x)m d di (x)m d di (x) T = G (i) α x α α N n : α 2d G (ν) α x α. α N n : α 2d g1 ν1 (x) gνm m (x)m d dν (x)m d dν (x) T = (2.2) Here m k (x) is the vector of all monomials with degrees k. Let y be a vector multiindexed by integer vectors in N n. Then define N i (y) = G (i) α y α, i = 0,1,..., m, α N n : α 2d N ν(y) = G (ν) α y α, ν 0, 1 m. α N n : α 2d Suppose the polynomial f(x) is given in the form f(x) = f α x α, α N n : α 2d

7 then define vector f such that f T y = α N n : α 2d f α y α. Define two sets L D qmod(f) = y R α Nn, α 2d : y 0 = 1, f T y 0, N i (y) 0 0 i m (2.3) L D pre(f) = y R α Nn, α 2d : y 0 = 1, f T y 0, N ν(y) 0 ν 0, 1 m (2.4) via their LMI representations. Then S D (f) is contained in the image of both L D qmod (f) and L D pre(f) of the projection map: ρ(y) = (y 10...0, y 010...0,..., y 00...01 ), because for any x S D (f) we can choose y α = x α such that y L D qmod (f) and y LD pre(f). We say S D (f) equals L D qmod (f) (resp. LD pre(f)) if S D (f) equals the image of L D qmod (f) (resp. L D pre(f)) under this projection. Similarly, we say x L D qmod (f) (resp. x LD pre(f)) if there exists y L D qmod (f) (resp. y LD pre(f)) such that x = ρ(y). Lemma 2.2 Assume S D (f) has nonempty interior. Let x R n : a T x = b be a supporting hyperplane of S D (f) such that a T x b for all x S D (f) and a T u = b for some point u S D (f). (i) If f(x) and every g i (x) are q-module concave over D, then it holds a T x b λf(x) = m g i (x)σ i (x) for some λ 0 and sos polynomials σ i (x) with deg(g i σ i ) 2d (P) qmod. (ii) If f(x) and every g i (x) are preordering concave over D, then it holds a T x b λf(x) = g1 ν1 (x) gνm m (x)σ ν(x) ν 0,1 m for some λ 0 and sos polynomials σ ν(x) with deg(g1 ν1 gνm m σ ν) 2d (P) pre. Proof Since S D (f) has nonempty interior and the polynomials f(x),g 1 (x),, g m(x) are all concave, the first order optimality condition holds at u for the convex optimization problem (u is a minimizer) min x a T x subject to f(x) 0, g i (x) 0, i = 1,..., m. Hence there exist Lagrange multipliers λ 0, λ 1 0,..., λ m 0 such that a = λ f(u) + m λ i g i (u), λf(u) = λ 1 g 1 (u) = = λ mg m(u) = 0. Thus the Lagrange function a T x b λf(x) m λ ig i (x) has representation ( ) λ f(u) + f(u) T (x u) f(x) + m ) λ i (g i (u) + g i (u) T (x u) g i (x). Therefore, the claims (i) and (ii) can be implied immediately from the definition of q-module concavity or preordering concavity and plugging in the value of u.

8 Theorem 2.3 Assume D and S D (f) are both convex and have nonempty interior. (i) If f(x) and every g i (x) are q-module concave over D, then S D (f) = L D qmod (f). (ii) If f(x) and every g i (x) are preordering concave over D, then S D (f) = L D pre(f). Proof (i) Since S D (f) is contained in the projection of L D qmod (f), we only need to prove S D (f) L D qmod (f). For a contradiction, suppose there exists some ŷ LD qmod (f) such that ˆx = ρ(ŷ) / S D (f). By the convexity of S D (f), it holds S D (f) = x R n : a T x b. a T x=b is a supporting hyperplane If ˆx / S D (f), then there exists one hyperplane a T x = b of S D (f) such that a T ˆx < b. By Lemma 2.2, we have representation a T x b = λf(x) + m g i (x)σ i (x) (2.5) for some λ 0 and sos polynomials σ i (x) with deg(g i σ i ) 2d (P) qmod = 2d. Write σ i (x) = m d di (x) T W i m d di (x), i = 0,1,..., m for some symmetric matrices W i 0. Then the identity (2.5) becomes (noting (2.2)) m a T x b = λf(x) + (g i (x)m d di (x)m d di (x) T ) W i m = λf(x) + G (i) α x α W i. α N n : α 2d In the above identity, if we replace each x α by ŷ α, then get the contradiction a T ˆx b = λ f T ŷ + m N i (ŷ) W i 0. (ii) The proof is almost the same as for (i). The only difference is that a T x b = λf(x) + g1 ν1 (x) gνm m (x)σ ν(x) ν 0,1 m for some sos polynomials σ ν(x) with deg(g ν1 1 gνm m σ ν) 2d (P) pre = 2d. Write σ ν(x) = m d dν (x) T W νm d dν (x), W ν 0. Then a similar contradiction argument can be applied to prove the claim. 2.3. Some special cases Now we turn to some special cases about q-module or preordering convexity/concavity.

9 2.3.1 The q-module or preordering convexity certificate using Hessian The q-module or preordering convexity of f(x) over the domain D can be verified by solving some semidefinite programming problems. See [14, 10] about the sos polynomials and semidefinite programming. However, in some special cases like D = R n +, a certificate for semidefiniteness of the Hessian 2 f(x) can be applied to prove the q-module or preordering convexity of f(x). First, consider the case that g k (x) are concave over R n. By concavity, it holds g k (sx + (1 s)u) sg k (x) + (1 s)g k (u), s [0,1], x, u R n. Now we assume the following certificate for the above criteria σ (k) 0 g k (sx + (1 s)u) sg k (x) (1 s)g k (u) = (x,u, s) + sσ(k) 1 (x, u, s) + (1 s)σ(k) 2 (x,u, s) + s(1 s)σ(k) 3 (x, u, s) (2.6) where σ (k) 0 (x,u, s),σ(k) 1 (x,u, s),σ(k) 2 (x,u, s),σ(k) 3 (x,u, s) are sos polynomials in (x,u, s). Note (2.6) is always true when D is a polyhedron, i.e., every deg(g k ) = 1. Theorem 2.4 Suppose for every k the identity (2.6) holds. If 2 f(x) belongs to the quadratic module (resp. preordering) generated by g 1 (x),, g m(x), i.e., m 2 f(x) = g i (x)h i (x) resp. 2 f(x) = g1 ν1 (x) gνm m (x)h ν(x) ν 0,1 m for some sos matrices H i (x) (resp. H ν(x)), then f(x) is q-module convex (resp. preordering convex) over the domain D. Proof First, if 2 f(x) = m g i(x)h i (x) for some sos matrices H i (x), then f(x) f(u) f(u) T (x u) ( 1 ) t =(x u) T 2 f(u + s(x u)) dsdt (x u) 0 0 =(x u) T m 1 t g k (sx + (1 s)u)h i (sx + (1 s)u)dsdt (x u). k=1 0 0 I k By identity (2.6), we have 1 t I k = 0 0 ( ( ) σ (k) (x, u, s)h i (w)dsdt + g k (x)sh i (w)dsdt + g k (u)(1 s)h i (w) dsdt here σ (k) = σ (k) 0 + σ (k) 1 + (1 s)σ (k) 2 + s(1 s)σ (k) 3, w = sx + (1 s)u ) =H (k) 0 (x,u) + g k(x)h (k) 1 (x, u) + g k(u)h (k) 2 (x, u) for some sos matrices H (k) 0 (x, u), H(k) 1 (x, u), H(k) 2 (x, u) (see Lemma 7 in [6]). So f(x) is q-module convex over D.

10 Second, if 2 f(x) is in the preordering generated by g 1 (x),, g m(x), i.e., 2 f(x) = g ν1 1 (x) gνm m (x)h ν(x) ν 0,1 m for sos matrices H ν(x), we can similarly prove f(x) is preordering convex over D. Second, consider the special case that D = R n + and the polynomial f(x) is cubic. Theorem 2.5 Let R n + = x : x 1 0,, x n 0 be the domain. If f(x) is a cubic polynomial concave over R n +, then S R n + (f) = L Rn + qmod (f). Proof By Theorem 2.3, it suffices to prove f(x) is q-module concave over R n +. Since f(x) is cubic, we have 2 f(x) = A 0 + x 1 A 1 + + x na n for some symmetric matrices A i. When f(x) is concave over R n +, 2 f(x) 0 for all x 0. Hence all A i must be positive semidefinite. This means that 2 f(x) belongs to the quadratic module generated by x 1,, x n. By Theorem 2.4, f(x) is q-module concave over R n +. Example 2.6 The convex set S R 2 + (f) with f(x) = 1 (x 3 1 +x2 1 x 2 +x 1 x 2 2 +x3 2 ) equals L R2 + qmod (f): (x 1, x 2 ) : y ij, s.t. 1 y 30 + y 21 + y 12 + y 03 1 x 1 x 2 y 20 y 11 y 02 x 1 y 20 y 11 x 1 y 20 y 11 y 30 y 21 y 12 y 20 y 30 y 21 0 x 2 y 11 y 02 y 21 y 12 y 03 y y 20 y 30 y 21 y 40 y 31 y 22 0, 11 y 21 y 12. x 2 y 11 y 02 y 11 y 21 y 12 y 31 y 22 y 13 y 11 y 21 y 12 0 y 02 y 12 y 03 y 22 y 13 y 04 y 02 y 12 y 03 This is because f(x) is q-module concave over R 2 + (see Example 2.1). Third, consider the special case of univariate polynomials. When D = R, a univariate polynomial is convex if and only if it is sos-convex, which holds if and only if it is first order sos convex. When D = I is an interval, we will see that a univariate polynomial is convex over I if and only if it is q-module convex over I. Proposition 2.7 Let f(x) be a univariate polynomial and I be an interval like [a, b], (, b] or [a, ). Then f(x) is convex on I if and only if it is q-module convex on I. Proof First suppose I = [a, b] is finite. f(x) is convex over [a, b] if and only if f (x) 0 for all x [a, b], which is true if and only if f (x) = σ 0 (x) + (x a)σ 1 (x) + (b x)σ 2 (x) for some sos polynomials σ 0, σ 1, σ 2 with degrees at most 2 deg(f)/2 (see Powers and Reznick [16]). In other words, f(x) is convex over [a, b] if and only if its Hessian belongs to the quadratic module generated by polynomials x a,b x. Then the conclusion follows from Theorem 2.4. The proof is similar for the case (, b] or [a, ).

11 2.3.2 Epigraph of polynomial functions For a given convex domain D R n, f(x) is convex over D if and only if its epigraph epi(f) := (x, t) D R : f(x) t is convex. Note that epi(f) is defined by the inequality t f(x) 0. If we consider t f(x) as a polynomial in x with coefficients in t, then L D qmod (t f) and LD pre(t f) are both linear in (x, t). Therefore, if f(x) is q-module (resp. preordering) convex over D, L D qmod (t f) (resp. LD pre(t f)) presents an SDP representation for epi(f). By Proposition 2.7, when f(x) is a univariate polynomial convex over an interval I, we know its epigraph epi(f) is SDP representable and L I qmod (t f) is one SDP representation. 3 Convex sets defined by rational functions In this section, we discuss the SDP representation of convex set S D (f) when f(x) is a rational function while the domain D = x R n : g 1 (x) 0,, g m(x) 0 is still defined by polynomials g i. Let f(x) be a rational function of the form f(x) = 1 f den (x) α N n : α 2d f αx α. Here f den (x) is the denominator of f(x). We assume that f(x) is concave over the domain D. So f(x) can not have poles in the interior int(d) of D. Without loss of generality, assume f den (x) is positive over int(d). Note that f(x) is not defined on the boundary D where f den (x) vanishes. If this happens, we think of S D (f) as the closure of x int(d) : f(x) 0. 3.1. The q-module or preordering convexity of rational functions We now introduce some definitions about convexity/concavity for rational functions. Let p(x),q(x) be two given polynomials which are positive in int(d). We say f(x) is q-module convex over D with respect to (p, q) if the identity p(x)q(u) R f (x, u) = m m g i (x) g j (u)σ ij (x, u) (3.1) holds for some sos polynomials σ ij (x, u). Then define f(x) to be q-module concave over D with respect to (p, q) if f(x) is q-module convex over D with respect to (p, q). We say f(x) is preordering convex over D with respect to (p, q) if the identity p(x)q(u) R f (x, u) = g1 ν1 (x) gνm m (x) g µ1 1 (u) gµm m (u)σ ν,µ(x,u) ν 0,1 m µ 0,1 m (3.2) holds for some sos polynomials σ ν,µ(x, u). Similarly, f(x) is called preordering concave over D with respect to (p, q) if f(x) is preordering convex over D with respect to (p, q). We point out the definition of q-module or preordering convexity/concavity over j=0

12 D for rational functions assumes a certain set of defining polynomials g i (x) for D is clear in the context. In identities (3.1) or (3.2), there is no information on how to find polynomials p, q. However, since R f (x, u) has denominator f den (x)fden 2 (u), a possible choice for (p,q) is p(x) = f den (x), q(u) = f 2 den(u). (3.3) If the choice (p,q) in (3.3) makes the identity (3.1) (resp. (3.2)) hold, we say f(x) is q-module (resp. preordering) convex over D with respect to p(x), or just simply say f(x) is q-module (resp. preordering) convex over D if the denominator f den (x) is clear in the context. In the special case D = R n, the definitions of q-module and preordering convexity over D coincide and they are called first order sos convexity when (p,q) is given by (3.3), as consistent with the definition of first order sos convexity in Section 2. First order sos concavity is defined similarly. Example 3.1 (i) The rational function x2 2 x 1 is convex over R + R. It is also q-module convex over R + R with respect to x 1, which is due to the fact that x 2 2 x 1 u2 2 u 1 ( u2 2 u 2 (x 1 u 1 ) + 2u ) 2 (x 2 u 2 ) 1 u 1 = 1 x 1 u 2 (x 1 u 2 x 2 u 1 ) 2. 1 (ii) The rational function f(x) = x4 1 +x2 1 x2 2 +x4 2 x 2 1 +x2 2 is convex over R 2. This is because f(x) f(u) f(u) T (x u) = f2 1 + f 2 2 + 1 2 (f2 3 + f 2 4 + f 2 5 + f 2 6) + f 2 7 + f 2 8 + f 2 9 (x 2 1 + x2 2 )(u2 1 + u2 2 )2 where the polynomials f i are given as below f 1 = u 1 u 2 x 2 2 u 1u 2 x 2 1 + u 1u 2 2 x 2 + u 2 1 u 2x 1, f 6 = u 2 2 x2 2 + u3 2 x 2 u 2 1 x2 1 + u3 1 x 1, f 2 = u 1 u 2 x 2 2 + u 1u 2 x 2 1 + u 1u 2 2 x 2 u 2 1 u 2x 1, f 7 = 2u 1 u 2 x 1 x 2 + u 1 u 2 2 x 1 + u 2 1 u 2x 2, f 3 = u 2 2x 1 x 2 + u 3 2x 1 u 2 1x 1 x 2 + u 3 1x 2, f 8 = u 2 2x 2 1 u 2 1x 2 2, f 4 = u 2 2x 1 x 2 u 3 2x 1 u 2 1x 1 x 2 + u 3 1x 2, f 9 = u 1 u 2 2x 1 + u 2 1u 2 x 2. f 5 = u 2 2x 2 2 u 3 2x 2 u 2 1x 2 1 + u 3 1x 1, So the f(x) given above is first order sos convex. Obviously, the q-module convexity implies preordering convexity, which then implies the convexity, but the converse might not be true. For instance, x 1x 2 1 is convex over R 2 +, but it is neither q-module nor preordering convex over R 2 + with respect to the denominator x 1 x 2. Note that for f(x) = x 1 1x 2 it holds u 2 1u 2 2x 1 x 2 R f (x,u) = u 2 1u 2 2 + x 2 1x 2 u 2 + x 1 x 2 2u 1 3x 1 x 2 u 1 u 2. There are no sos polynomials σ ν,µ(x, u) such that u 2 1u 2 2x 1 x 2 R f (x, u) = x ν1 1 xν2 2 uµ1 1 uµ2 2 σν,µ(x, u). ν 0,1 2,µ 0,1 2 Otherwise, if they exist, we replace (x 1, x 2, u 1, u 2 ) by (x 2 1, x 2 2,1, 1) and then get the dehomogenized Motzkin s polynomial 1+x 4 1x 2 2+x 2 1x 4 2 3x 2 1x 2 2 is sos, which is impossible (see Reznick [18]).

13 Proposition 3.2 Let CQ p,q(d) (resp. CP p,q(d)) be the set of all q-module (resp. preordering) convex rational functions over D with respect to (p, q). Then they have the properties: (i) Both CQ p,q(d) and CP p,q(d) are convex cones. (ii) If f(x) CQ p,q(d) (resp. f(x) CP p,q(d)), then f(az + b) CQ p, q ( D) (resp. f(az + b) CP p, q ( D)), where D = z : Az + b D and p(z) = p(az + b), q(z) = q(az + b). That is, the q-module convexity and preordering convexity are preserved under linear transformations. Proof The item (i) can be verified explicitly, and item (ii) can be obtained by substituting Az + b for x and noting the chain rule of derivatives. 3.2. SDP representations Now we turn to the construction of SDP representations for S D (f). Recall that g 0 (x) 1. Throughout this subsection, we assumef(x) and g i (x) are either all q- module concave or all preordering concave over D with respect to (p,q). Thus for any h(x) from f(x), g 1 (x),, g m(x), we have either m m p(x)q(u)r h (x, u) = g i (x) g j (u)σij(x, h u) for some sos polynomials σij h (x,u), or p(x)q(u)r h (x,u) = g1 ν1 (x) gνm m (x) g µ1 1 (u) gµm m (u)σν,µ(x,u) h ν 0,1 m µ 0,1 m for some sos polynomials σ h ν,µ(x, u). Let j=0 d (R) pre = d (R) qmod = max h f,g 1,,g m max h f,g 1,,g m max 0 i,j m max ν 0,1 m,µ 0,1 m 1 2 deg x (g iσ h ij ), 1 2 deg x(g ν1 1 gνm m σ h ν,µ). (3.4) Then set d = d (R) qmod (resp. d = d(r) pre) when f(x) and g i (x) are all q-module (resp. preordering) concave over D with respect to (p, q). Define matrices P α (i), P α (ν), Q (i) α, Q (ν) α such that g i(x) p(x) m d d i (x)m d di (x) T = Q (i) α x α α N n : α + LE(p) 2d + P α (i) xβ p(x), 0 i m β N n :β<le(p) g ν 1 1 gνm m m p(x) d dν (x)m d dν (x) T = Q (ν) α x α. (3.5) α N n : α + LE(p) 2d + P α (ν) x β, ν 0, 1m p(x) β N n :β<le(p) Here the monomials are ordered in the lexicographical ordering (x 1 > x 2 > > x n) and LE(p) denotes the exponent of the leading monomial of p(x). Note the union x α : α N n x β, α + LE(p) 2d p(x) : β Nn, β < LE(p)

14 is a set of polynomials and rational functions that are linearly independent. Let y be a vector indexed by α N n such that α + LE(p) 2d, and z be a vector indexed by β N n such that β < LE(p). Then define Q i (y,z) = Q (i) α y α + P α (i) z β, 0 i m α N n : α + LE(p) 2d β N n :β<le(p) Q ν(y, z) = Q (ν) α y α + P α (ν) z β, ν 0, 1 m α N n : α + LE(p) 2d β N n :β<le(p) Suppose the rational function f(x) is given in the form f(x) = f α (1) x α + α N n : α + LE(p) 2d then define vectors f (1), f (2) such that (f (1) ) T y + (f (2) ) T z = α N n : α + LE(p) 2d β N n :β<le(p) f (1) α y α + f (2) β x β p(x), β N n :β<le(p) f (2) β z β.. (3.6) Define two SDP representable sets [ ] T [y R D qmod(f) = (y,z) : y f (1) ] 0 = 1, f (2) 0, Q z i (y, z) 0, 0 i m, (3.7) [ ] T [y R D pre(f) = (y,z) : y f (1) ] 0 = 1, f (2) 0, Q ν(y,z) 0, ν 0, 1 m z. (3.8) We say S D (f) equals R D qmod (f) (resp. RD pre(f)) if S D (f) equals the image of R D qmod (f) (resp. R D pre(f)) of the projection ρ(y,z) = (y 10...0, y 010...0,..., y 00...01 ). Similarly, we say x R D qmod (f) (resp. x RD pre(f)) if there exists (y,z) R D qmod (f) (resp. (y,z) R D pre(f)) such that x = ρ(y,z). Lemma 3.3 Assume D and S D (f) are both convex and have nonempty interior. Let x R n : a T x = b be a supporting hyperplane of S D (f) such that a T x b for all x S D (f) and a T u = b for some point u S D (f) such that q(u) > 0, and either f(u) > 0 or f den (u) > 0. (i) If f(x) and every g i (x) are q-module concave over D with respect to (p, q), then p(x) (a T x b λf(x)) = m g i (x)σ i (x) for some λ 0 and sos polynomials σ i (x) with deg(g i σ i ) 2d (R) qmod. (ii) If f(x) and every g i (x) are preordering concave over D with respect to (p, q), then p(x) (a T x b λf(x)) = g1 ν1 (x) gνm m (x)σ ν(x) ν 0,1 m for some λ 0 and sos polynomials σ i (x) with deg(g ν1 1 gνm m σ ν) 2d (R) pre.

15 Proof Since S D (f) has nonempty interior, the first order optimality condition holds at u for the convex optimization problem (u is one minimizer) min x a T x subject to f(x) 0, g i (x) 0, i = 1,..., m. If f(u) > 0, the constraint f(x) 0 is inactive. If f den (u) > 0, f(x) is differential at u. Hence, in either case, there exist Lagrange multipliers λ 0, λ 1 0,..., λ m 0 such that m a = λ f(u) + λ i g i (u), λf(u) = λ 1 g 1 (u) = = λ mg m(u) = 0. Hence, we get the identity a T x b λf(x) ( ) λ f(u) + f(u) T (x u) f(x) + m λ i g i (x) = m ) λ i (g i (u) + g i (u) T (x u) g i (x). Therefore, the claims (i) and (ii) can be implied immediately by the definition of q- module concavity or preordering concavity of f and g i, and plugging the value of u. Theorem 3.4 Assume D and S D (f) are both convex and have nonempty interior. Let (p, q) be given in (3.1) or (3.2). Suppose dim(z(f) Z(f den ) S D (f)) < n 1 and dim(z(q) S D (f)) < n 1. (i) If f(x) and every g i (x) are q-module concave over D with respect to (p,q), then S D (f) = R D qmod (f). (ii) If f(x) and every g i (x) are preordering concave over D with respect to (p, q), then S D (f) = R D pre(f). Proof (i) Since S D (f) is contained in the projection of R D qmod (f), we only need to prove S D (f) R D qmod (f). For a contradiction, suppose there exists some (ŷ, ẑ) RD qmod (f) such that ˆx = ρ(ŷ) / S D (f). By the convexity of S D (f), it holds S D (f) = x R n : a T x b. a T x=b is a supporting hyperplane If ˆx / S D (f), then there exists a supporting hyperplane a T x = b of S D (f) with tangent point u S D (f) such that a T ˆx < b. Since dim ( Z(f) Z(p) S D (f) ) < n 1 and dim(z(q) S D (f)) < n 1, by continuity, we can choose a T x = b such that either f(u) > 0 or p(u) > 0, and q(u) > 0. By Lemma 3.3, we have a T x b = λf(x) + m g i (x) p(x) σ i(x) (3.9) for some λ 0 and sos polynomials σ i (x) such that deg(g i σ i ) 2d (R) qmod. Note that d = d (R) qmod. Then write σ i(x) as σ i (x) = m d di (x) T W i m d di (x), i = 0,1,..., m

16 1 0.8 0.6 0.4 0.2 x 2 0 0.2 0.4 0.6 0.8 1 1 0.5 0 0.5 1 x 1 Fig. 1 The convex set defined by x 2 1 + x2 2 x4 1 + x2 1 x2 2 + x4 2. for some symmetric matrices W i 0. Then identity (3.9) becomes (noting (3.5)) m ( ) a T gi (x) x b = λf(x) + p(x) m d d i (x)m d di (x) T W i m = λf(x) + Q (i) α x α + P (i) x β α W i. p(x) α N n : α + LE(p) 2d β N n :β<le(p) In the above identity, if we replace each x α by ŷ α and xβ p(x) by ẑ β, then we get the contradiction ( ) a T ˆx b = λ (f (1) ) T ŷ + (f (2) ) T ẑ + m Q i (ŷ, ẑ) W i 0. (ii) The proof is almost the same as for (i). The only difference is that a T x γ = λf(x) + ν 0,1 m g ν1 1 gνm m σ ν(x) p(x) for some sos polynomials σ ν(x) such that deg(g i σ i ) 2d (R) pre. Note that d = d (R) pre. A similar contradiction argument like in (i) can be applied to prove the claim. Example 3.5 The convex set x R 2 : x 2 1 + x 2 2 x 4 1 + x 2 1x 2 2 + x 4 2 can be defined as S R 2(f) with rational function f(x) = 1 x4 1 +x2 1 x2 2 +x4 2 x 2 1 +x2 2. The set S R 2(f) is the shaded area bounded by a thick curve in Figure 1. We have already seen that f(x) is first order

17 sos concave. So S R 2(f) = R R2 qmod (f), and by construction (3.7) it equals (x 1, x 2 ) R R : y ij, z ij, s.t. 1 y 20 + z 04, 0 0 0 1 0 0 z 00 z 10 z 01 z 02 z 11 z 02 0 1 0 x 1 x 2 0 z 10 z 02 z 11 z 12 z 03 z 12 0 0 0 x 2 0 0 1 x 1 x 2 y 20 y 02 y 11 y 02 + z 01 z 11 z 02 z 03 z 12 z 03. z 02 z 12 z 03 z 04 z 13 z 04 0 0 x 2 0 y 11 y 02 0 z 11 z 03 z 12 z 13 z 04 z 13 0 0 0 y 02 0 0 z 02 z 12 z 03 z 04 z 13 z 04 The plot of the projection of the above coincides with the shaded area in Figure 1. 3.3. Some special cases 3.3.1 Epigraph of rational functions A function f(x) is convex over a convex domain D if and only if its epigraph epi(f) := (x, t) D R : f(x) t is convex. The LMI R D qmod (t f) and RD pre(t f) can be constructed by thinking of t f(x) as a polynomial in x with coefficients in t. So, if f(x) is q-module (resp. preordering) convex over D, R D qmod (t f) (resp. RD pre(t f)) is an SDP representation for epi(f). Consider the special case that f(x) = q(x) p(x) is a univariate rational function which is convex on an interval I = [a, b] and p(x) is positive in (a, b). Note I = x R : x a 0, b x 0 (x a 0 is not required if a =, and similarly for b x 0). Theorem 3.6 Let f(x) = q(x) be a univariate rational function and p(x) be a polynomial nonnegative on an interval I. If f(x) is convex on I, then epi(f) = R I qmod p(x) (f). Proof First assume I = [a, b] is finite. Since R [a,b] qmod (f) is linear in t, it suffices to show for any fixed t x [a, b] : y,z, s.t., x = y 1,(y, z, t) R [a,b] qmod (f) = x [a, b] : f(x) t. In the above the right hand side is contained in the left hand side. Now we prove the reverse containment. For a contradiction, suppose there exists a tuple (ŷ, ẑ, t) R [a,b] qmod (f) such that ŷ 1 does not belong to the convex set x [a, b] : f(x) t. Then there exists an affine function c 0 + c 1 x such that c 0 + c 1ˆx < 0, c 0 + c 1 x 0, x [a, b] : f(x) t. Since f(x) is convex over [a,b], by optimality condition, there exists λ 0 such that c 0 + c 1 x λ(t f(x)) = (c 0 + c 1 x λt)p(x) + λq(x) p(x) 0, x [a, b]. Then we can see that (c 0 +c 1 x λt)p(x)+λq(x) is a univariate polynomial nonnegative on [a, b]. So there exist sos polynomials s 0 (x),s 1 (x), s 2 (x) of degrees at most 2d,2d

18 2, 2d 2 respectively (assume deg(p)+1,deg(q) 2d and see Powers and Reznick [16]) such that and hence (c 0 + c 1 x λt)p(x) + λq(x) = s 0 (x) + (x a)s 1 (x) + (b a)s 2 (x) c 0 + c 1 x = λ(t f(x)) + s 0(x) + (x a)s 1 (x) + (b a)s 2 (x). p(x) Write s 0 (x),s 1 (x),s 2 (x) as s i (x) = m d di (x) T W i m d di (x), i = 0,1, 2, d 0 = 0, d 1 = d 2 = 1 for some symmetric W 0, W 1, W 2 0. Then it holds 2 ( gi (x) c 0 + c 1 x = λ(t f(x)) + p(x) m d d i (x)m d di (x) T 2 = λ(t f(x)) + Q (i) α x α + α N: α + LE(p) 2d β N:β<LE(p) ) W i (d 0 = 0, d 1 = d 2 = 1) P (i) α x β W i p(x) where g 0 (x) = 1, g 1 (x) = x a, g 2 (x) = b x and (3.5) is used. In the above identity, if we replace each x α by ŷ α and xβ p(x) by ẑ β, then we get the contradiction ( ) c 0 + c 1ˆx = λ t (f (1) ) T ŷ (f (2) ) T ẑ + 2 Q i (ŷ, ẑ) W i 0. Therefore epi(f) = R [a,b] qmod (f). When I is an infinite interval of the form [a, ) = x : x a 0, (,b] = x : b x 0 or (, ) = x : 1 0, a similar argument can be applied to prove epi(f) = R I qmod (f). 3.3.2 Convex sets defined by structured rational functions For the convenience of discussion, we define some basic convex sets (r s) K r,s = (w, v) R r + R + : w 1 w r v s (3.10) which are all SDP representable (see 3.3 in [1]). First, consider epigraphs of rational functions of the form P f(x) = (q i(x)) si p 1 (x) p r(x) (3.11) where q i (x), p j (x) are polynomials nonnegative over D and the integer s i r+1. Then P epi(f) = (x, t) D R : (q i (x)) si p 1 (x) p r(x)t.

19 The epigraph epi(f) can be equivalently presented as epi(f) = Note that P (x,t) D R : u i, w i, P u si i t, q w 1 w i (x) u i, w i p i (x),i = 1,..., P. r q i (x) u i (x, u i ) epi(q i ), w i p i (x) (x, w i ) epi( p i ), u si i w 1 w r t v 1,, v P 0, v 1 + +v P t,(w 1,, w r, v i, u i ) K r+1,si. Hence we obtain that epi(f) = (x,t) D R : u i, w i, v i, P v i t,(w 1,, w r, v i, u i ) K r+1,si, (x, u i ) epi(q i ),(x, w i ) epi( p i ), i = 1,..., P When q i (x) are q-module (resp. preordering) convex over D, we know epi(q i ) = L D qmod (u i q i ) (resp. epi(q i ) = L D pre(u i q i )), and similarly for p i (x). Thus, we get the theorem: Theorem 3.7 Suppose f(x) is given in the form (3.11) and all q i (x), p j (x) there are nonnegative over D. (i) If all q i (x), p j (x) are q-module convex over D, then ( P ) epi(f) = (x,t) : u P i, w i, v i, x L D qmod(u i q i ) L D qmod(p j w j ), j=1 P v i t,(w 1,, w r, v i, u i ) K r+1,si. (ii) If all q i (x), p j (x) are preordering convex over D, then ( P ) epi(f) = (x,t) : u P i, w i, v i, x L D pre(u i q i ) L D pre(p j w j ), j=1 P v i t,(w 1,, w r, v i, u i ) K r+1,si. Example 3.8 (i) Consider the epigraph (x 1, x 2, t) R + R R : t (1 + x2 2) 2 The rational function here is in the form (3.11). By Theorem 3.7, it equals (x 1, x 2, t) : u, [ ] t u 0, u x 1 x 1. [ ] u 1 x2 0. x 2 1.

20 (ii) Consider the epigraph (x,t) B(0,1) R : t ( i x2 i )n+1 (1 x 2 1 ) (1. x2 n) The rational function here is given in the form (3.11). By Theorem 3.7, it equals n [ ] 1 wi x (x, t) : u, v i, w i, s.t., v i t, i 0, x i 1 [ u x T ] 0, (u, w 1,..., w n, u) K n+1,n+1. x I n Second, consider epigraphs of rational functions of the form h(x) = L (f k (x)) b k (3.12) k=1 where f k (x) are rational functions given in form (3.11) and b k 1. Then the epigraph epi(h) = (x, t) D R : h(x) t can be presented as epi(h) = (x,t) : η k, τ k, L τ k t,(x, η k ) epi(f k ),(τ k, η k ) K 1,bk,1 k L. k=1 Once SDP representations for all epi(f k ) are available, an SDP representation for epi(h) can be obtained consequently from the above. Example 3.9 Consider the epigraph ( 1 + x 2 ) 2 (x 1, x 2, t) R + R + R : t 2. x 1 From the above discussion, we know it equals [ ] x t u 1 0 1 (x 1, x 2, t) : u, 0, 0 x u 1 1 x 2 0. 1 x 2 u Third, consider the convex sets given in the form J T = x D : a(x) h k (x) k=1 (3.13) where a(x) is a polynomial and every h k (x) is given in the form (3.12). Then T = x : t, θ 1,, θ J, t J k=1 θ k,(x, t) epi( a(x)), (x,θ k) epi(h k (x)). k = 1,..., J When a(x) is q-module or preordering concave over D, epi( a(x)) is representable by L D qmod (a(x) t) or LD pre(a(x) t). Once the SDP representations for epi( a(x)) and all epi(h k (x)) are available, an SDP representation for T can be obtained consequently.

21 Example 3.10 (i) Consider the convex set (x 1, x 2 ) R + R : 1 3x 22 (1 + x2 2) 2 It is given in the form (3.13) with D = R + R. From the discussion above, it equals [ ] [ ] 1 u x2 w 1 x2 (x 1, x 2 ) : u, w, 1 0, 0, (u, x x 2 3 x 2 1 1, w) K 2,2. [ ] u w Note that (u, x 1, w) K 2,2 is equivalent to 0. w x 1 (ii) Consider the convex set x 1 (x 1, x 2 ) R + R : 1 x 22 (1 + x2 2) 2 It is given in the form (3.13) with D = R + R. From the discussion above, it equals x 2 1.. [ ] x 1 + u 1 0 1 (x x2 1, x 2 ) : u, 0, 0 x x 2 1 u 1 x 2 0. 1 x 2 u 4 Convex sets with singularities Let S D (f) = x D : f(x) 0 be a convex set defined by a polynomial or rational function f(x). Here D = x R n : g 1 (x) 0,, g m(x) 0 is still a convex domain defined by polynomials. Suppose the origin belongs to the boundary S D (f) and is a singular point of the hypersurface Z(f) = x C n : f(x) = 0, i.e., f(0, 0) = 0, f(0, 0) = 0. We are interested in finding SDP representability conditions for S D (f). As we have seen in Introduction, one natural approach to getting an SDP representation for S D (f) is to find a nicer defining function (possibly a concave rational function). Let p(x) be a polynomial or rational function positive in int(d). Then we can see S D (f) is the closure of the set x int(d) : f(x) p(x) 0. If f(x) f(x) p(x) has nice properties, e.g., p(x) has special structures discussed in Section 3, or it is q-module or preordering concave over D, then an explicit SDP representation for S D (f) can be obtained. For instance, consider the convex set (x 1, x 2 ) R 2 + : x 3 1 + 3x 1 x 2 2 (x 2 1 + x 2 2) 2 0. The origin is a singular point on its boundary. If we choose p(x) = x 2 2, then it equals (x 1, x 2 ) R 2 + : 3x 1 2x 2 1 + x 2 2 + x3 1 x 2 + x4 1 2 x 2. 2

22 Then this set can be represented as (x 1, x 2 ) R 2 + : u 1, u 2, u 3, u 4, s.t., 3x 1 2u 1 + u 2 + u 3 + u 4, (u 1, x 1 ) K 1,2, (u 2, x 2 ) K 1,2,(u 3, x 2, x 2, x 1 ) K 3,3,(u 4, x 2, x 2, x 1 ) K 3,4. However, there is no general rule to find such a nice function p(x). In convex analysis, there is a technique called perspective transformation which might be very useful here. Generally, we can assume Define the perspective transformation p as S D (f) R + R n 1, int(s D (f)). p(x 1, x 2,, x n) = (1/x 1, x 2 /x 1,, x n/x 1 ). The image of S D (f) of the perspective transformation p is (1/x 1, x 2 /x 1,, x n/x 1 ) : x S D (f) R + R n 1, which is also convex (see 2.3 in [2]). Define new coordinates x 1 = 1 x 1, x 2 = x 2 x 1,..., x n = xn x 1. Denote x = ( x 2,, x n). Suppose f(x) has Laurent expansion around the origin f(x) = f b (x) f b+1 (x) f d (x) where every f k (x) is a homogeneous part of degree k. Let f( x) := f 0 ( x) f 1 ( x) x 1 f d b ( x) x d b 1 where f i ( x) := x b+i 1 f b+i ( x). Define a new domain D as D = x R n : g 1 ( x) 0,, g m( x) 0 where g i ( x) = gi(x). Note that D is convex if and only if D is convex (see 2.3 in x deg(g i ) 1 [2]). Therefore, under p, the set S D (f) can be equivalently defined as S D( f) = x D : f( x) 0. Proposition 4.1 If S D (f) is convex and the origin is a singular point on its boundary S D (f), then f 0 ( x) 0 for any x = ( x 1, x) S D( f). Proof Fix x = (x 1,, x n) S D (f) and x = ( x 1,, x n) S D( f) such that x = p(x 1, x 2,, x n). By the convexity of S D (f), the line segment tx : 0 t 1 belongs to S D (f). Thus its image p(tx 1, tx 2,, tx n) = ( 1 t x 1, x 2,, x n) belongs to S D( f) and f( 1 t x 1, x 2,, x n) 0. Let t 0, then we get f 0 ( x) 0.

23 4.1. The case of structured f k ( x) In this subsection, we assume f k ( x) have special structures. Then the methods in Subsection 3.3.2 can be applied to construct SDP representations for S D( f). Theorem 4.2 Suppose every f k ( x)(k = 1,, d b) is given in the form L k f k ( x) = (q k,i ( x)) r R k ( Q k,j ) k,i + (p k,j,l ( x)) s k k,j,l j=1 l=1 for some polynomials q k,i ( x), p k,j,l ( x) which are nonnegative over D and integers r k,i k+1, s k,j,l 2 (p k,j ( x) can be any affine polynomial when s k,j,l is even). Then S D( f) can be represented as k d b x : u, u L k (u k,i ) r k,i R k Q k,j (v k,i, v k,j,l, u x k + k,j,l ) s k,j,l, x k=1 1 j=1 1 l=1 ( x, u) epi( f 0 ), ( x, u k,i ) epi(q k,i ), ( x, v k,j,l ) epi(p k,j,l ). Furthermore, if f 0 ( x) and all q k,j ( x),p k,j,l ( x) are q-module or preordering convex over D, then S D( f) is SDP representable. Proof The first conclusion is obvious by introducing new variables u, u k,i, v k,j,l. Note d b ( L k (u k,i ) r k,i u x k k=1 1 R k + j=1 ( Q k,j l=1 (v k,j,l ) s k,j,l x 1 ) k ) is equivalent to u d b k=1 ( L k R k η k,i + ξ k ),( x 1,, x 1, η k,i, u k,i ) K k+1,rk,i, j=1 (ξ k, ζ k ) K 1,k, (ζ k, x 1, v k,j,l ) K 2,sk,j,l. When f 0 ( x) is q-module (resp. preordering) convex over D, ( x, u) epi( f 0 ) is representable by L D qmod (u f 0 ) (resp. L D pre (u f 0 )). Similar results hold for q k,j ( x),p k,j,l ( x). Once the SDP representations for epigraphs of f 0 ( x), q k,j ( x) and p k,j,l ( x) are all available, we can get an SDP representation for S D( f) consequently. Now we show some examples on how to apply Theorem 4.2. Example 4.3 (a) Consider convex set S = (x 1, x 2 ) R + R : x 2 1 x3 1 x2 2 0. Its boundary is a cubic curve and the origin is a singular node. This convex set is the shaded area bounded by a thick curve in Figure 2(a). The thin curves are other branches of this cubic curve. The perspective transformation p gives S = ( x 1, x 2 ) R + R : 1 x 2 2 1 x 0. 1

24 0.8 0.6 1 0.8 0.4 0.6 0.2 0.4 0.2 x 2 0 x 2 0 0.2 0.2 0.4 0.4 0.6 0.6 0.8 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 x 1 1 0.5 0 0.5 1 x 1 (a): x 2 1 x3 1 x2 2 0, x 1 0 (b): x 2 1 x4 1 x4 2 0, x 1 0 1 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 x 2 0 x 2 0 0.2 0.2 0.4 0.6 0.4 0.8 0.6 1 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1.2 x 1 0.8 1 0.5 0 0.5 1 x 1 (c): x 3 1 3x 1x 2 2 (x2 1 + x2 2 )2 0, x 1 0 (d): x 2 1 x2 2 (x2 1 + x2 2 )2 0, x 1 0 Fig. 2 Four singular convex sets discussed in Example 4.3. From the lifted LMI of S and S = p 1 ( S), we get S = [ ] x1 u x (x 1, x 2 ) : u, s.t., 2 0, x 2 x 1 1 [ ] u x1 x 1 x 1 0. The plot of the above coincides with the shaded area in Figure 2(a). (b) Consider convex set S = (x 1, x 2 ) R + R : x 2 1 x 4 2 x 4 2 0. The origin is a singular tacnode on the boundary. This convex set is the shaded area bounded by a thick curve in Figure 2(b). The thin curve is the other branch of the singular curve x 2 1 x4 2 x4 2 = 0. The perspective transformation p gives S = ( x 1, x 2 ) R + R : 1 1 + x4 2 x 2. 1 From the lifted LMI of S and S = p 1 ( S), we get S = [ ] x1 u (x 1, x 2 ) : u 1, u 2, s.t., 1 u 2 0, u 2 x 1 + u 1 [ ] u1 x 1 0, x 1 1 [ ] u2 x 2 0. x 2 1 The plot of the above coincides with the shaded area in Figure 2(b). (c) Consider convex set S = (x 1, x 2 ) R + R : x 3 1 3x 1 x 2 2 (x 2 1 + x 2 2) 2 0. The origin is a singular triple point on the boundary. This convex set is the shaded area

25 bounded by a thick curve in Figure 2(c). The thin curves are other branches of the singular curve x 3 1 3x 1 x 2 2 (x 2 1 + x 2 2) 2 = 0. The perspective transformation p gives S = ( x 1, x 2 ) R + R : 1 3 x 22 (1 + x2 2) 2 0. x 1 From the lifted LMI of S and S = p 1 ( S), we get [ ] x1 u x S = (x 1, x 2 ) : u, w, s.t., 2 1 0, x 2 3 x 1 [ ] u w 0, w 1 [ ] w x1 x 2 x 2 x 1 0. The plot of the above coincides with the shaded area in Figure 2(c). (d) Consider convex set S = (x 1, x 2 ) R + R : x 2 1 x 2 2 (x 2 1 + x 2 2) 2 0. The origin is a singular node on the boundary which is one branch of the lemniscate curve x 2 1 x 2 2 (x 2 1+x 2 2) 2 = 0. This convex set is the shaded area bounded a thick lemniscate curve in Figure 2(d). The thin curve is the other branch of the lemniscate curve. The perspective transformation p gives ( S = ( x 1, x 2 ) R + R : (1 x 2 1 + x 2 ) 2 2) 2. x 1 From the lifted LMI of S and S = p 1 ( S), we get [ ] u x S = (x x1 + u x 1 x 2 1, x 2 ) : u, s.t. 2 0, x x 2 x 1 u 1 1 0 0. x 2 0 1 The plot of the above coincides with the shaded area in Figure 2(d). 4.2. The case of two consecutive homogeneous parts In this subsection, we consider the special case that f(x) = f b (x) f b+1 (x) having two consecutive homogeneous parts. Then, after perspective transformation, we get S D( f) = x D : f 0 ( x) f 1 ( x) 0. x 1 By Proposition 4.1, for any x D, we have f 0 ( x) 0. Let D be the intersection of x : f 0 ( x) 0 and the projection of D R + R n 1 into R n 1, which is also convex. Then we get S D( f) = ( x, x 1 ) D R + : x 1 h( x), h( x) := f 1 ( x) f 0 ( x). Then S D( f) is the epigraph epi(h) of the rational function h( x) over the convex domain D. Note that h( x) is convex over D if and only if S D( f) is convex, which then holds if and only if S D (f) is convex. So, if h( x) is q-module or preordering convex over D, then R D qmod ( x 1 h) or R D pre( x 1 h) is an SDP representation for epi(h), and then one can be obtained for S D (h) after the inverse perspective transformation. A very interesting case is n = 2. Then D must be an interval I of the real line. Theorem 4.4 Let n = 2 and D = I be an interval as above. If S D (f) is convex, then S D( f) = R I qmod ( x 1 h), and hence S D (f) = p 1 (R I qmod ( x 1 h)).