<<

Positivity Conditions for Cubic, Quartic and Quintic

Liqun Qi,∗ Yisheng Song,† and Xinzhen Zhang,‡ August 17, 2021

Abstract We present a necessary and sufficient condition for a cubic to be positive for all positive reals. We identify the set where the cubic polynomial is nonnegative but not all positive for all positive reals, and explicitly give the points where the cubic polynomial attains zero. We then reformulate a necessary and sufficient condition for a quartic polynomial to be nonnegative for all posi- tive reals. From this, we derive a necessary and sufficient condition for a quartic polynomial to be nonnegative and positive for all reals. Our condition explic- itly exhibits the scope and role of some coefficients, and has strong geometrical meaning. In the interior of the nonnegativity region for all reals, there is an ap- pendix curve. The is zero at the appendix, and positive in the other part of the interior of the nonnegativity region. By using the Sturm sequences, we present a necessary and sufficient condition for a quintic polynomial to be positive and nonnegative for all positive reals. We show that for polynomials of a fixed even degree higher than or equal to four, if they have no real roots, then their take the same sign, which depends upon that degree only, except on an appendix set of dimension lower by two, where the discriminants attain zero. arXiv:2008.10922v10 [math.GM] 18 Sep 2020 Key words. Cubic polynomials, quartic polynomials, quintic polynomials, the Sturm theorem, discriminant, appendix.

AMS subject classifications. 15A69, 15A83 ∗Department of Applied Mathematics, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong, China; ([email protected]). †School of Mathematical Sciences, Chongqing Normal University, Chongqing 401331 China; ([email protected]). This author’s work was supported by NSFC (Grant No. 11571095, 11601134). ‡School of Mathematics, Tianjin University, Tianjin 300354 China; ([email protected]). This author’s work was supported by NSFC (Grant No. 11871369).

1 1 Introduction

In 1988, Schmidt and Heß[20] presented a necessary and sufficient condition for a cubic polynomial to be nonnegative for all positive reals. In 1994, Ulrich and Watson [23] presented a necessary and sufficient condition for a quartic polynomial to be nonnega- tive for all positive reals. On the other hand, necessary and sufficient conditions for a quartic polynomial to be positive for all reals have been studied by Gadem and Li [7], Ku [13], Jury and Mansour [10], Wang and Qi [24], and Gao [8].

In this paper, we first present a necessary and sufficient condition for a cubic polyno- mial to be positive for all positive reals. We identify the set where the cubic polynomial is nonnegative but not all positive for all positive reals, and explicitly give the points where the cubic polynomial attains zero.

We then reformulate the result of Ulrich and Watson [23]. Based upon this, we derive a necessary and sufficient condition for a quartic polynomial to be nonnegative and positive for all reals. Comparing with the existing results in the literature, our condition has three merits. First, it explicitly states a necessary condition. Second, it explicitly states a symmetric relation between two parameters. Third, its geometrical meaning is clear. We also present a theorem on the geometrical properties of the nonnegativity region and the positivity region. In the interior of the nonnegativity region for all reals, there is an appendix curve. The discriminant is zero at the appendix, and positive in the other part of the interior of the nonnegativity region.

By using the Sturm sequences, we present a necessary and sufficient condition for a quintic polynomial to be positive and nonnegative for all positive reals. This is the first for quintic polynomials. It also indicates that such conditions are possible for polynomials of even higher degrees.

Finally, we show that such an appendix exists for all even degree polynomials with their degrees higher than or equal to 4.

These results are useful in automatic control [7, 13, 10] and determining copositiv- ity and strict copositivity of symmetric tensors, and positive semidefiniteness of even order symmetric tensors [14, 15, 16, 21, 22]. These properties are further useful in optimization [18, 19], hypergraphs [2,3, 17] and physics [5,9, 11, 12].

Some preliminary knowledge on the Sturm theorem and quadratic polynomials are given in the next section. Then, four sections are about cubic polynomials, quartic polynomials, quintic polynomials and higher even degree polynomials, respectively.

All the polynomials studied in this paper are of real coefficients.

2 2 Preliminaries

2.1 The Sturm Theorem

Suppose that we have an mth degree polynomial g(t). What is the analytically ex- pressed necessary and sufficient condition such that g(t) > 0 for all t ≥ 0 (t > 0)? We use the Sturm theorem in classical [1, pp.52-57] to answer this question. 0 We may construct the Sturm sequence {g0, g1, ··· , gl}. Let g0 = g, g1 = g , and 0 gk = − rem(gk−1, gk) for k ≥ 1, where g is the derivative of g, rem(gk−1, gk) is the remainder of the division of gk−1 by gk. We have gl 6= 0 and gl+1 = 0. Then the length l + 1 of the Sturm sequence is not greater than m + 1. The number of variations of the

Sturm sequence S = {g0, g1, ··· , gl} at a real number ξ is the number of sign changes (ignore zero) of the real number sequence {g0(ξ), g1(ξ), ···}. Denote it as V (ξ). By the Sturm theorem, the number of real distinct roots of g(t) = 0, for t ≥ 0, is V (0)−V (∞). If V (0) − V (∞) = 0, then g has no positive roots, i.e., g(t) > 0 for all t ≥ 0. This answers the question. 0 Note that gl is the greatest common divisor (GCD) of g and g . If gl is not a constant term, then g has multiple roots. Any root of gl with multiple m is a m + 1 multiple root of g. In the following, we simply say that g is strictly copositive if g(t) > 0 for all t ≥ 0.

2.2 Quadratic Polynomials

The following result should be known several centuries ago, and is easy to be derived.

Theorem 2.1 Suppose that we have a quadratic polynomial

φ(t) = t2 + ut + v, where v 6= 0. Then φ(t) > 0 for all t ≥ 0 if and only if either (i) u ≥ 0 and v > 0; or (ii) u < 0 and 4v > u2. If u < 0 and 4v = u2, then φ(t) ≥ 0 for all t ≥ 0, and this is the only case that φ(t) ≥ 0 for all t ≥ 0, but not φ(t) > 0 for all t ≥ 0. Furthermore, φ(t) > 0 for all t if and only if 4v > u2. If 4v = u2, then φ(t) ≥ 0 for all t, and this is the only case that φ(t) ≥ 0 for all t, but not φ(t) > 0 for all t.

3 3 Cubic Polynomials

3.1 Nonnegaivity Conditions for Non-Degenerate Cubic Poly- nomials We call a cubic polynomial non-degenerate if its constant is nonzero. For a non- degenerate cubic polynomial, we may write it as

h(t) = t3 + pt2 + qt + r, (3.1) where r 6= 0. If r < 0, then it cannot be always nonnegative for all positive reals. Thus, we may assume that r > 0. By [20], we have the following theorem.

Theorem 3.1 Suppose that h(t) is defined by (3.1). Then h(t) ≥ 0 for all t ≥ 0 in and only in the following two cases: (A) p ≥ 0 and q ≥ 0; (B) (D) ∆(h) ≤ 0. Here,

∆(h) = p2q2 + 18pqr − 27r2 − 4p3r − 4q3 (3.2) is the discriminant of h(t).

3.2 Positivity Conditions for Non-Degenerate Cubic Polyno- mials Suppose that we have a cubic polynomial h(t) defined by (3.1), with r > 0. Then h(t) = φ(t)t + r,

2 p2 where φ(t) = t + pt + q. By Theorem 2.1, if either (I) p ≥ 0 and q ≥ 0, or (II) q ≥ 4 , then φ(t) ≥ 0 for all t ≥ 0. This implies that h(t) > 0 for all t ≥ 0, as r > 0. We now study the case which is not included in (I) and (II). p2 Then q < 4 . We now construct the Sturm sequence for h(t). Let

3 2 h0(t) = h(t) = t + pt + qt + r,

0 2 h1(t) = h (t) = 3t + 2pt + q. Then t p 2q h (t) − h (t) = t2 + t + r, 0 3 1 3 3 t p 2q 2p2  pq h (t) − h (t) − h (t) = − t + r − . 0 3 1 9 1 3 9 9

4 We have

h2(t) = q2t + r2, where 2p2 2q pq q = − , r = − r. (3.3) 2 9 3 2 9 p2 Since q < 4 , we have q2 > 0. Then   2 r2 3r2 2pr2 ∆(h) h3(t) ≡ r3 = −h1 − = − 2 + − q = 2 , q2 q2 q2 9q2 where

2 2 2 3 3 2 2 ∆(h) ≡ p q + 18pqr − 27r − 4p r − 4q = −81r2 + 54pq2r2 − 27qq2.

The expression of ∆(h) can be found in [6]. 0 Suppose that ∆(h) = 0. Then h2(t) is the GCD of g and g ,

h(t) = (t − α)2(t + β), where r α = − 2 . q2

We have q2 > 0. We now show that r2 < 0. Assume that r2 ≥ 0. This means that pq ≥ 9r. Since we have already exclude the case that p ≥ 0 and q ≥ 0, this means p < 0, q < 0 and pq ≤ 9r. These further implies that ∆(h) < 0, contradicting the assumption that ∆(h) = 0. We have α2β = r > 0. Thus, β > 0 and α 6= 0. Therefore, h(t) ≥ 0 for all t ≥ 0. Furthermore, in this case, we always have t = α > 0 such that h(t) = 0. Suppose now ∆(h) 6= 0. We have

S = {h0, h1, h2, h3},

S(∞) = {1, 1, q2, ∆(h)},

S(0) = {1, q, r2, ∆(h)}. Assume that ∆(h) > 0. Then V (∞) = 0. Thus, h(t) > 0 for all t ≥ 0 if and only if V (0) = 0, i.e., q ≥ 0 and r2 ≥ 0. However, this implies that p > 0 and q > 0, which has already been covered by Case (I). Assume that ∆(h) < 0. Then V (∞) = 1. Thus, h(t) > 0 for all t ≥ 0 if and only if either (i) r2 ≤ 0, or (ii) q ≥ 0 and r2 ≥ 0. However, Case (ii) has already been covered by Case (I) as discussed above. Thus, only Case (i) needs to be considered.

As discussed above, the case that r2 > 0, i.e., pq > 9r, is covered by the condition (I)

5 p ≥ 0 and q ≥ 0, and (III) ∆(h) < 0. Thus, the condition that r2 ≤ 0 is not necessary here. Thus, we have one more case such that h(t) > 0 for all t ≥ 0: (III) ∆(h) < 0. p2 Finally, Case (II) q ≥ 4 is coved by the union of Cases (I) and (III). Thus, we have the following theorem.

Theorem 3.2 Suppose that h(t) is defined by (3.1). Then h(t) > 0 for all t ≥ 0 in and only in the following two cases: (A) p ≥ 0 and q ≥ 0; (B) ∆(h) < 0. Here, ∆(h) is the discriminant, defined by (3.2). If ∆(h) = 0 and either p < 0 or q < 0, then h(t) ≥ 0 for all t ≥ 0, but there is

9r − pq α = > 0 2p2 − 6q such that h(α) = 0. In all the other cases, there is a t > 0 such that h(t) < 0.

4 Quartic Polynomials

4.1 Nonnegativity Conditions Suppose that we have a quartic polynomial

f(t) = t4 + αt3 + βt2 + γt + 1. (4.4)

By [23], its discriminant has the form:

∆(f) = 4[β2 − 3αγ + 12]3 − [72β + 9αβγ − 2β3 − 27α2 − 27γ2]2. (4.5)

By [23], we have the following theorem.

Theorem 4.1 Suppose that f is defined by (4.4). Let

4(β + 2) Λ = (α − γ)2 − 16(α + β + γ + 2), Λ = (α − γ)2 − √ (α + γ + 4pβ − 2). 1 2 β − 2

Then f(t) ≥ 0 for all t > 0 if and only if either (1) β < −2, ∆(f) ≤ 0 and α + γ > 0; or (2) −2 ≤ β ≤ 6 and either (i) ∆(f) ≤ 0 and α + γ > 0, or (ii) ∆(f) ≥ 0 and

Λ1 ≤ 0; or (3) β > 6 and either (i) ∆(f) ≤ 0 and α + γ > 0, or (ii) α > 0 and γ > 0; or (iii)

∆(f) ≥ 0 and Λ2 ≤ 0.

6 We may combine (1), (2i) and (3i) as (A) ∆(f) ≤ 0 and α + γ > 0. On the other hand, as

f(t) = (t4 + βt2 + 1) + αt3 + γt, if α ≥ 0, γ ≥ 0 and β ≥ −2, then f(t) ≥ 0 for all t ≥ 0. Thus, we have (B) α ≥ 0, γ ≥ 0 and β ≥ −2. Then (B) covers (3ii).

We may replace the constraints Λ1 ≤ 0 and Λ2 ≤ 0, by some constraints which are linear with respect to α and γ.

For the condition Λ1 ≤ 0, from the discussion in Sections 2 and 3 of [23], we may replace it by |α − γ| ≤ r, where r is the value of |α − γ| at the two intersection points of α + γ = 0 and the curve Γ in [23]. These are two points where α(t) + γ(t) = 0, for β √ α(t) and γ(t) given by (7a) and (7b) of [23]. Solving this, we find that r = 4 β + 2. √ Thus, we may use |α − γ| ≤ 4 β + 2 to replace Λ ≤ 0. Note that we may rewrite the √ 1 constraint |α − γ| ≤ 4 β + 2 such that α and γ are linear there. √ For the condition Λ ≤ 0, by Figure 1 of [23], we may replace it by |α−γ| ≤ 4 β + 2 √ 2 and α + γ ≥ −4 β − 2. We have the following theorem.

Theorem 4.2 Suppose that g(z) = az4 + bz3 + cz2 + dz + e be a quartic polynomial with real coefficients and a > 0 and e > 0. Let

−3 −1 −1 −1 −1 −3 α = ba 4 e 4 , β = ca 2 e 2 , γ = da 4 e 4 , f is defined by (4.4), and ∆(f) is defined by (4.5). Then f(t) ≥ 0 for all t > 0 if and only if either (A) ∆(f) ≤ 0 and α + γ > 0; or (B) α ≥ 0, γ ≥ 0 and β ≥ −2; or √ (C) ∆(f) ≥ 0, |α − γ| ≤ 4 β + 2 and either (i) −2 ≤ β ≤ 6, or (ii) β > 6 and √ α + γ ≥ −4 β − 2.

Proof We may convert the general quartic polynomial g(z) to f(t), defined by (4.4), as in [23]. We have already discussed to convert Conditions (1), (2) and (3) of Theorem 4.1 to Conditions (A), (B) and (C).  A merit of the format of Theorem 4.2 is that it is somewhat convenient to derive nonnegativity conditions for all t from conditions (A), (B) and (C).

7 4.2 Nonnegativity and Positivity Conditions for All Reals

We now consider the conditions that f(t) ≥ 0 (f(t) > 0) for all t. This is equivalent to the condition that f(t) ≥ 0 (f(t) > 0) and g(t) ≥ 0 (g(t) > 0) for all t, where g(t) is defined by g(t) = t4 − αt3 + βt2 − γt + 1.

Note that ∆(f) = ∆(g). By Theorem 4.2, we have the following theorem.

Theorem 4.3 Suppose that g(z) = az4 + bz3 + cz2 + dz + e is a quartic polynomial with real coefficients and a > 0 and e > 0. Let

−3 −1 −1 −1 −1 −3 α = ba 4 e 4 , β = ca 2 e 2 , γ = da 4 e 4 , f be defined by (4.4), and ∆(f) be defined by (4.5). Then f(t) ≥ 0 for all t if and √ only if ∆(f) ≥ 0, |α − γ| ≤ 4 β + 2 and either (i) −2 ≤ β ≤ 6, or (ii) β > 6 and √ |α + γ| ≤ 4 β − 2. Furthermore, f(t) > 0 for all t if and only if either (A) ∆(f) = 0, α = γ, α2 + 8 = 4β < 24; or √ (B) ∆(f) > 0, |α − γ| ≤ 4 β + 2 and either (i) −2 ≤ β ≤ 6, or (ii) β > 6 and √ |α + γ| ≤ 4 β − 2.

Proof Let f¯(t) = f(−t). Then

f¯(t) = t4 − αt3 + βt2 − γt + 1.

Then f(t) ≥ 0 for all t if and only if f(t) ≥ 0 and f¯(t) ≥ 0 for all t ≥ 0. From Theorem 4.2, we have conditions that f(t) ≥ 0 and f¯(t) ≥ 0 for all t ≥ 0. Combining these conditions, i.e., taking the intersection of the conditions that f(t) ≥ 0 for all t ≥ 0, and the conditions that f¯(t) ≥ 0 for all t ≥ 0, we have the conditions for the first part of this theorem. We now prove the second part of this theorem. If ∆(f) > 0, it is in the interior of the nonnegativity region, we have f(t) > 0 for all t. We have condition (B). Now assume that ∆(f) = 0. Then f(t) has a multiple root. To make f(t) > 0 for all t, this multiple toot has to be complex. Thus, f(t) = (t2 + ut + 1)2 with u2 < 4. Comparing the coefficients of

f(t) = (t2 + ut + 1)2 = t4 + αt3 + βt2 + γt + 1,

2 We have α = γ = 2u and u + 2 = β. Then, we have condition (A). 

8 Geometrically, for fixed β, the nonnegativity region of (α, γ) for g(t) is the convex hull of the central convex compact part of the positive sign region in Figure 5b and 5c of [23], while the positivity region is the interior of the nonnegativity region. In Figures 5b of [23], for 2 ≤ β < 6, there are two points missing. These two points (α, β, γ) are defined by α = γ and α2 + 8 = 4β. At these two points, ∆(f) = 0. These two points are missing in Figure 5b of [23], but do not affect the final results of [23]. Note that β + 2 ≥ 0 is a necessary condition such that f(t) ≥ 0 for all t. This explicitly stated in Theorem 4.3. Actually, if f(t) ≥ 0 for all t, then

f(1) + f(−1) β + 2 = ≥ 0. 2

The following theorem presents the geometrical features of the nonnegativity region and the positivity region.

Theorem 4.4 Suppose that f(t) is defined by (4.4). Let

S = {(α, β, γ): f(t) > 0 for all t} and S¯ = {(α, β, γ): f(t) ≥ 0 for all t}.

Then S¯ is a closed convex cone with a recession direction (0, 1, 0) and an apex (0, −2, 0). It is symmetric with respect to α and γ, i.e., if (α, β, γ) ∈ S¯, then (γ, β, α), (−α, β, −γ) ∈ S¯. For any (α, β, γ) in the interior of S¯, if 2 ≤ β < 6, α = β and α2 + 8 = 4β, we have ∆(f) = 0. Otherwise, we have ∆(f) > 0. For any (α, β, γ) at the boundary of S¯, we have ∆(f) = 0. The set S is the interior of S¯.

Proof Consider S¯. Suppose that f(t) and g(t) are two quartic polynomials with the 1 form of (4.4), f(t) ≥ 0 and g(t) ≥ 0 for all t. Then 2 (f(t) + g(t)) is still a quartic polynomial with the form of (4.4), and is nonnegative for all t. This shows that S¯ is convex. Similarly, we may show that it is closed. Let f(t) be defined by (4.4), and δ > 0. Let g(t) = t4 + αt3 + (β + δ)t2 + γt + 1.

Then g(t) = f(t) + δt2 ≥ f(t) ≥ 0 for all t. This shows that (0, 1, 0) is a recession direction of S¯ and S¯ is a cone. From Theorem 4.3, the point (α, β, γ) = (0, −2, 0) is the unique point of S¯ with the smallest value of β. Hence, it is an apex of S¯. The ¯ other properties of S and S can be derived from Theorem 4.3 accordingly. 

9 In Figure 1, the α = γ plane is exhibited. The set S¯ is the area above β = 2|α| − 2 α2 for |α| ≤ 4, and the area above the parabola β = 4 + 2 for |α| ≥ 4. The discriminant α2 ∆(f) vanishes at the line segments β = 2|α|−2 for |α| ≤ 4 and the parabola β = 4 +2 α2 ¯ for all α. The truncated parabola β = 4 + 2 for |α| < 4 is in the interior of S. In Figure 2, the α = −γ plane is exhibited. The set S¯ is the area above the parabola α2 ¯ β = 4 − 2. We may see that (α, β, γ) = (0, −2, 0) is the apex of the cone S.

α2 The truncated parabola β = 4 + 2 for |α| < 4 in Figure 1 is a special part of the surface ∆(f) = 0. The other part of the surface ∆(f) = 0 is of dimension 2, but α2 the truncated parabola β = 4 + 2 for |α| < 4 is of dimension 1. Thus, we call it the appendix of the surface ∆(f) = 0. Such an appendix exists for polynomials with their degrees higher than or equal to 4.

10 This problem has been studied by Gadem and Li [7], Ku [13], Jury and Mansour [10], Wang and Qi [24], and Gao [8]. We may compare Theorem 4.3 with the result of [24], which is a correction of the result of [13]. The following is the result of [24]. The polynomial considered in [24] has the following form:

4 3 2 f(t) = a0t + 4a1t + 6a2t + 4a3t + a4.

Thus, α β γ a = a = 1, a = , a = , a = . 0 4 1 4 2 6 3 4 Let γ αβ α3 8γ − 4αβ + α3 G = a2a − 3a a a + 2a3 = − + = . 0 3 0 1 2 1 4 8 32 32 β α2 8β − 3α2 H = a a − a2 = − = . 0 2 1 6 16 48 αγ β2 12 − 3αγ + β2 I = a a − 4a a + 3a2 = 1 − + = . 0 4 1 3 2 4 12 12 β αβγ α2 + γ2 β3 72β + 9αβγ − 27α2 − 27γ2 − 2β3 J = a a a +2a a a −a2a −a a2−a3 = + − − = . 0 2 4 1 2 3 1 4 0 3 2 6 48 16 216 432 12 − 3αγ + β2 3 (72β + 9αβγ − 27α2 − 27γ2 − 2β3)2 ∆(f) ∆ = I3 −27J 3 = − = . 12 3 × 362 4 × 123 Hence, ∆ in [24] has the same sign as ∆(f) and plays the same role as ∆(f). The result of [24] can be formulated with the language of this paper as follows.

11 Theorem 4.5 Let f(t) be defined by (4.4). Then f(t) > 0 for all t if and only if either (1) ∆(f) = 0, G = 0, 12H2 − I = 0 and H > 0; or (2) ∆(f) > 0 and either (i) H ≥ 0, or (ii) H < 0 and 12H2 − I < 0.

We have 8β − 3α2 2 12 − 3αγ + β2 64β2 − 48α2β + 9α4 − 192 + 48αγ − 16β2 12H2−I = 12 − = 48 12 192 16β2 − 16α2β + 3α4 − 64 + 16αγ = . 64 Corollary 4.6 Let f(t) be defined by (4.4). Then f(t) ≥ 0 for all t if and only if ∆(f) ≥ 0 and either (i) H ≥ 0, or (ii) H < 0 and 12H2 − I ≤ 0.

The conclusions of Theorem 4.3 should be the same with the conditions of Theorem 4.5 and Corollary 4.6. However, Theorem 4.3 has three merits. First, it explicitly stated that a necessary condition is that β ≥ −2. Second, it treats α and γ in a symmetric way. Third, its geometrical meaning is clear, as shown by Theorem 4.4. The set indicated by Theorem 4.3 (A) and Theorem 4.5 (1) is the appendix of the surface ∆(f) = 0. It is actually in the interior of the nonnegativity region.

5 Quintic Polynoimals

5.1 Quintic Polynoimals with Multiple Roots Suppose that we have a quintic polynomial

g(t) = t5 + at4 + bt3 + ct2 + dt + e, (5.6) where e > 0. As we discussed in Section 2, by construct the Sturm sequence of g, we may find the GCD of g and g0 if g has a multiple root. (A). Suppose that the GCD of g and g0 is a linear polynomial. We may assume that it is φ(t) = t − α. Then g has a double root α. Since e > 0, α 6= 0. We may write that g(t) = h(t)(t − α)2, (5.7) where h(t) = t3 + pt2 + qt + r. Then e p = a + 2α, q = b + 2αp + α2, r = . (5.8) α2 Since e > 0, r > 0, i.e., h has the form (3.1). By Theorem 3.2, we have the following proposition.

12 Proposition 5.1 Suppose that g(t) is defined by (5.6), g and g0 has a GCD φ(t) = t − α. Then g has the form (5.7), where h(t) has the form (3.1), with p, q and r, given by (5.8). Then g(t) ≥ 0 for all t ≥ 0, if and only if h(t) ≥ 0 for all t ≥ 0. If furthermore α < 0, then g(t) > 0 for all t ≥ 0, if and only if h(t) > 0 for all t ≥ 0.

(B). Suppose that the GCD of g and g0 is a quadratic polynomial. We may assume that it is φ(t) = t2 + ut + v. There are three subcases. (B1). u2 6= 4v. In this subcase, φ(t) has two distinct roots α and β. Then g has a double root α and a double root β. Since e > 0, α 6= 0 and β 6= 0. We have

g(t) = φ(t)2(t − γ) = (t − α)2(t − β)2(t − γ), (5.9) where γ is the fifth root of g. Since e > 0, γ < 0. Then we have the following conclusion.

Proposition 5.2 Suppose that g(t) is defined by (5.6), g and g0 has a GCD φ(t) = t2 + ut + v. If u2 6= 4v, then g(t) ≥ 0 for all t ≥ 0. If furthermore φ(t) > 0 for all t ≥ 0, then g(t) > 0 for all t ≥ 0.

We may use Theorem 2.1 to determine if φ(t) > 0 for all t > 0. 2 u (B2). u = 4v. Then φ has a double root α = − 2 , and α is a triple root of g. Since e > 0, α 6= 0. We have  u3 g(t) = t + ψ(t), (5.10) 2 where ψ(t) = t2 +ut ˆ +v. ˆ (5.11) Then 8e 3u vˆ = , uˆ = a − . (5.12) u3 2 We have the following conclusion.

Proposition 5.3 Suppose that g(t) is defined by (5.6), g and g0 has a GCD φ(t) = t2 + ut + v. Suppose that u2 = 4v. Then u 6= 0. Let ψ(t) be calculated by (5.11) and (5.12). Then g(t) ≥ 0 for all t ≥ 0 if and only if u > 0 and ψ(t) ≥ 0 for all t ≥ 0, and g(t) > 0 for all t ≥ 0 if and only if u > 0 and ψ(t) > 0 for all t ≥ 0.

We may use Theorem 2.1 to determine the situation of ψ(t). (C). Suppose that the GCD of g and g0 is a cubic polynomial. We may assume that it is h(t) = t3 + pt2 + qt + r = (t − α)2(t + β). There are two subcases. p2 p3 p (C1) q = 3 and r = 27 . This implies α = −β = − 3 , and  p4 g(t) = t + (t − γ). 3

13 Since e > 0, γ < 0, p 6= 0. Thus, g(t) ≥ 0 for all t ≥ 0. If furthermore p > 0, then g(t) > 0 for all t ≥ 0. (C2) Otherwise, α 6= −β, α 6= 0 and β 6= 0. We have α from (??) and (3.3). Then r β = . α2 We have g(t) = (t − α)3(t + β)2. Then −α3β2 = e. Since e > 0, α < 0. Thus, we always have g(t) ≥ 0 for all t ≥ 0. If furthermore r > 0, then g(t) > 0 for all t ≥ 0. We have the following proposition.

Proposition 5.4 Suppose that g(t) is defined by (5.6), g and g0 has a GCD h(t) = t3 + pt2 + qt + r. Then g(t) ≥ 0 for t ≥ 0. We have g(t) > 0 for all t ≥ 0 if and only p2 p3 p2 p3 if either (i) q = 3 , r = 27 and p > 0; or (ii) r > 0 and either q 6= 3 or r 6= 27 .

The case that the GCD of g and g0 is a quartic polynomial will be analyzed in the next section. In that case, g(t) > 0 for all t ≥ 0.

5.2 General Quintic Polynomials For constructing the Sturm sequence of a quintic polynomial g(t), we keep to use a, b, c, d and e to denote the coefficients of the polynomials gi. We have

5 4 3 2 g0(t) = g(t) = t + at + bt + ct + dt + e, and 0 4 3 2 g1(t) = g (t) = 5t + 4at + 3bt + 2ct + d.

For i ≥ 2, we use bi, ci, di and ei to denote the coefficients of gi(t), with bi for the 3 2 coefficient of t , ci for t , di for t and ei for the constant term. If there are different coefficients used, we use an additional index to distinguish them. For example, in the following, e3 was used in Case (2), and in Case (3), we use e3,1 to denote a new coefficient. We use g3 to denote different polynomials in different parts of this section, while e3 and e3,1 are uniquely used in this section, as g3 will not appear in the theorems in the next sections, but e3 and e3,1 play a role in establishing those theorems. However, e3 and e3,1 are fractional functions of the coefficients a, b, c, d and e. This is not convenient. Then, we use the bar symbol to denote some polynomial functions e¯3 to replace them. For example, we write e3 = 4 , wheree ¯3 is a polynomial function 25d2 of the coefficients a, b, c, d and e, and we usee ¯3 instead of e3 in our theorems. Totally, eleven such fractional functions are replaced.

14 In the following, S(0) and S(∞) are the Sturm sequence at 0 and ∞. Since only signs are important, we may replace their entries by other numbers as long as the signs are not changed. Note that when there are no multiple roots, either g(t) has no positive root, or has at least two positive roots. This means that either V (0)−V (∞) = 0 or V (0)−V (∞) ≥ 2. We now construct the Sturm sequence for g. We have t a 2b 3c 4d g(t) − g (t) = t4 + t3 + t2 + t + e, 5 1 5 5 5 5 t a 2b 4a2  3c 3ab 4d 2ac  ad g(t)− g (t)− g (t) = − t3 + − t2 + − t+ e − , 5 1 25 1 5 25 5 25 5 25 25

4a2 − 10b 3ab − 15c 2ac − 20d ad − 25e g (t) = t3 + t2 + t + 2 25 25 25 25 3 2 = b2t + c2t + d2t + e2.

There are four possibilities.

(1) b2 = c2 = d2 = 0. We further divide this case to two subcases. 2a2 ab 2a3 ac a4 ad (1A) e2 = 0. This implies that b = 5 , c = 5 = 25 , d = 10 = 125 and e = 25 = a5 3125 . Thus,  a5 g(t) = t + . 5 Since e > 0, we have a > 0. Then, g is strictly copositive in this subcase. 2a2 ab ac (1B) e2 6= 0. Then S = {g0, g1, g2}, and b = 5 , c = 5 and d = 10 , and g2(t) = e2. We have ac a2b a4 d = = = ≥ 0. 10 50 125

Then V (∞) = 0 if e2 > 0. Otherwise V (∞) = 1. On the other hand, V (0) = 1 if e2 < 0, V (0) = 0 if e2 > 0. Thus, V (0) − V (∞) ≡ 0, and g is strictly copositive in this subcase. Thus, g is strictly copositive in Case (1). 2a2 ab 2a3 (2) b2 = c2 = 0 and d2 6= 0. Then b = 5 , c = 5 = 25 ,

g2(t) = d2t + e2,

6a2 4a3 g (t) = 5t4 + 4at3 + t2 + t + d, 1 5 25   e2 rem{g1, g2} = g1 − , d2   e2 e¯3 g3(t) ≡ e3 = −g1 − = 4 , d2 25d2

15 where 4 3 2 2 2 3 3 4 e¯3 = −125e2 + 100ae2d2 − 30a e2d2 + 4a e2d2 − dd2. We need to divide this case to two subcases. e2 (2A) e3 = 0, i.e.,e ¯3 = 0. In this subcase, α = − is a double root of g. We may d2 apply Proposition 5.1 and Theorem 3.2 to determine the situation of g(t).

(2B) e3 6= 0, i.e.,e ¯3 6= 0. Then

S = {g0, g1, g2, g3},

S(∞) = {+∞, +∞, d2, e3} ,

S(0) = {e, d, e2, e3}.

Clearly, we may replace e3 bye ¯3 here. Then V (0) = V (∞) if and only if (i) V (0) = V (∞) = 0; or (ii) V (0) = V (∞) = 1; or (iii) V (∞) = 2. As we discussed early, V (0) − V (∞) ≥ 2. Hence, in (iii), we have V (0) = 2 too as V (0) cannot be 4 in this subcase.

Thus, in this subcase, g is strictly copositive if and only if either (i)e ¯3 > 0, d2 ≥ 0, d ≥ 0, e2 ≥ 0; or (ii)e ¯3 < 0, and d ≥ 0 if e2 > 0; or (iii)e ¯3 > 0, d2 < 0. 2a2 (3) b2 = 0 and c2 6= 0. Then b = 5 ,

3ab − 15c 6a3 − 75c c = = , 2 25 125

2 g2(t) = c2t + d2t + e2, 6a2 g (t) = 5t4 + 4at3 + t2 + 2ct + d. 1 5 2    2  5t 5d2 3 6a 5e2 2 g1(t) − g2(t) = 4a − t + − t + 2ct + d, c2 c2 5 c2

2   5t 5d2 t g1(t) − g2(t) − 4a − g2(t) c2 c2 c2 6a2 5e   5d  d    5d  e  = − 2 − 4a − 2 2 t2 + 2c − 4a − 2 2 t + d 5 c2 c2 c2 c2 c2  2 2    6a 5e2 + 4ad2 5d2 2 4ae2 5d2e2 = − + 2 t + 2c − + 2 t + d 5 c2 c2 c2 c2 2 2 2 2 6a c2 − 5(5e2 + 4ad2)c2 + 25d2 2 2cc2 − 4ae2c2 + 5d2e2 = 2 t + 2 t + d 5c2 c2

16 2   2 2 2 5t 5d2 t 6a c2 − 5(5e2 + 4ad2)c2 + 25d2 g1(t) − g2(t) − 4a − g2(t) − 3 g2(t) c2 c2 c2 5c2  2 2 2 3  2cc2 − 4ae2c2 + 5d2e2 6a c2d2 − 5(5e2 + 4ad2)c2d2 + 25d2 = 2 − 3 t c2 5c2 2 2 2 6a c2e2 − 5(5e2 + 4ad2)c2e2 + 25d2e2 + d − 3 5c2 3 2 2 2 3 10cc2 − 20ae2c2 + 25c2d2e2 − 6a c2d2 + 5(5e2 + 4ad2)c2d2 − 25d2 = 3 t 5c2 3 2 2 2 5c2d − 6a c2e2 + 5(5e2 + 4ad2)c2e2 − 25d2e2 + 3 . 5c2 Then

g3(t) = d3t + e3,1, where ¯ d3 e¯3,1 d3 = 4 , e3,1 = 4 , 5c2 5c2 ¯ 4 3 2 2 3 2 3 d3 = −10cc2 + 20ae2c2 − 25c2d2e2 + 6a c2d2 − 5(5e2 + 4ad2)c2d2 + 25c2d2, 4 2 3 2 2 e¯3,1 = −5c2d + 6a c2e2 − 5(5e2 + 4ad2)c2e2 + 25c2d2e2. There are three subcases: ¯ 0 (3A) d3 = e3,1 = 0, i.e., d3 =e ¯3,1 = 0. Then g2 is the GCD of g and g . Let u = d2 and v = e2 . We may use Propositions 5.2, 5.3 and Theorem 3.2 to determine c2 c2 the situation of g(t). ¯ (3B) d3 = 0 and e3,1 6= 0, i.e., d3 = 0 ande ¯3,1 6= 0. Then g3(t) = e3,1, S = {g0, g1, g2, g3}, S(∞) = {+∞, +∞, c2, e3,1} ,

S(0) = {e, d, e2, e3,1}.

We may replace e3,1 bye ¯3,1 here. Then V (0) = V (∞) if and only if (i) V (0) = V (∞) = 0; or (ii) V (0) = V (∞) = 1; or (iii) V (∞) = 2, which implies V (0) = 2 by the early discussion.

We may replace e3,1 bye ¯3,1 here. Thus, in this case, g is strictly copositive if and only if either (i)e ¯3,1 > 0, c2 ≥ 0, d ≥ 0, e2 ≥ 0; or (ii)e ¯3,1 < 0, and d ≥ 0 if e2 > 0; or (iii)e ¯3,1 > 0, c2 < 0. ¯ (3C) d3 6= 0, i.e., d3 6= 0. Then   c2 c2 d2d3 − c2e3,1 g2(t) − tg3(t) = d2 − e3,1 t + e2 = t + e2. d3 d3 d3

c2 d2d3 − c2e3,1 d2d3 − c2e3,1 g2(t) − tg3(t) − 2 g3(t) = e2 − 2 e3,1, d3 d3 d3

17 d2d3 − c2e3,1 g4(t) = e4 = 2 e3,1 − e2 d3 2 2 d2d3e3,1 − c2e3,1 − e2d3 = 2 d3 e¯ = 4 , ¯2 d3 where ¯ 2 ¯2 e¯4 = d2d3e¯3,1 − c2e¯3,1 − e¯2d3. There are two further subcases. 0 e¯3,1 (3Ca) e4 = 0, i.e.,e ¯4 = 0. Then g3(t) is the GCD of g and g , and α = − is d¯3 a double root of g. We may use Proposition 5.1 and Theorem 3.2 to determine the situation of g(t).

(3Cb) e4 6= 0, i.e.,e ¯4 6= 0. We have

S = {g0, g1, g2, g3, g4},

S(∞) = {+∞, +∞, c2, d3, e4} ,

S(0) = {e, d, e2, e3,1, e4}. ¯ We may replace d3, e3,1 and e4 by d3,e ¯3,1 ande ¯4 here. Then V (0) = V (∞) if and only if (i) V (0) = V (∞) = 0; or (ii) V (0) = V (∞) = 1; or (iii) V (0) = V (∞) = 2; or (iv) V (∞) = 3, which implies V (0) = 3 by the early note.

Thus, in this case, g is strictly copositive if and only if either (i)e ¯4 > 0, c2 ≥ 0, ¯ d3 ≥ 0, d ≥ 0, e2 ≥ 0,e ¯3,1 ≥ 0; or (ii)e ¯4 < 0, c2 ≥ 0 if d3 > 0, d ≥ 0 if max{e2, e¯3,1} > 0, ¯ e2 ≥ 0 ife ¯3,1 > 0; or (iii)e ¯4 > 0, min{c2, d3} < 0, min{d, e2, e¯3,1} < 0, d ≥ 0 if e2 > 0; ¯ or (iv)e ¯4 < 0, d3 > 0, c2 < 0.

(4) b2 6= 0. Then 3 2 g2(t) = b2t + c2t + d2t + e2.       5 5c2 3 5d2 2 5e2 g1(t) − g2(t) = 4a − t + 3b − t + 2c − t + d, b2 b2 b2 b2

  5 1 5c2 g1(t) − g2(t) − 4a − g(t) b2 b2 b2  5d  c  5c   5e  d  5c  e  5c  = 3b − 2 − 2 4a − 2 t2 + 2c − 2 − 2 4a − 2 t + d − 2 4a − 2 b2 b2 b2 b2 b2 b2 b2 b2 2 2 3bb2 − (5d2 + 4ac2)b2 + 5c2e2 2 2cb2 − (5e2 + 4ad2)b2 + 5c2d2 db2 − 4ae2b2 + 5c2e2 = 2 t + 2 t + 2 . b2 b2 b2

18 Then 2 g3(t) = c3t + d3,1t + e3,2, where ¯ c¯3 d3,1 e¯3,2 c3 = 2 , d3,1 = 2 , e3,2 = 2 , b2 b2 b2

c¯3 = −3bb2 + (5d2 + 4ac2)b2 − 5c2e2, ¯ 2 d3,1 = −2cb2 + (5e2 + 4ad2)b2 − 5c2d2, 2 e¯3,2 = −db2 + 4ae2b2 − 5c2e2. We have four subcases. ¯ (4A) c3 = d3,1 = e3,2 = 0, i.e.,c ¯3 = d3,1 =e ¯3,2 = 0. This implies that g2 is the GCD of g and g0. Let p = c2 , q = d2 and r = e2 . Then Proposition 5.4 determines the b2 b2 b2 situation of g(t). ¯ (4B) c3 = d3,1 = 0 and e3,2 6= 0, i.e.,c ¯3 = d3,1 = 0 ande ¯3,2 6= 0. Then

g3(t) = e3,2,

S = {g0, g1, g2, g3},

S(∞) = {+∞, +∞, b2, e3,2} ,

S(0) = {e, d, e2, e3,2}.

We may replace e3,2 bye ¯3,2 here. Then, g is strictly copositive if and only if either (i) e¯3,2 > 0, b2 ≥ 0, d ≥ 0, e2 ≥ 0; or (ii)e ¯3,2 < 0, d ≥ 0 if e2 > 0; or (iii)e ¯3,2 > 0, b2 < 0. (4C) c3 = 0 and d3,1 6= 0. Then

g3(t) = d3,1t + e3,2,  e  e¯ g (t) ≡ e = −g − 3,2 = 4,1 , 4 4,1 2 ¯4 d3,1 d3,1 where ¯ 3 ¯2 2 ¯3 ¯4 e¯4,1 = b2d3,1e¯3,2 − c2d3,1e¯3,2 + d2d3,1e¯3,2 − e2d3,1. Again, there are two further subcases. 0 (4Ca) e4,1 = 0, i.e.,e ¯4,1 = 0. Then g3(t) is the GCD of g and g , and g has a double nonzero root e¯3,2 α = − ¯ . d3,1 We may use Proposition 5.1 and Theorem 3.2 to determine the situation of g(t).

(4Cb) e4,1 6= 0, i.e.,e ¯4,1 6= 0. We have

S = {g0, g1, g2, g3, g4},

19 S(∞) = {+∞, +∞, b2, d3,1, e4,1} ,

S(0) = {e, d, e2, e3,2, e4,1}. Then V (0) = V (∞) if and only if (i) V (0) = V (∞) = 0; or (ii) V (0) = V (∞) = 1; or (iii) V (0) = V (∞) = 2; or (iv) V (∞) = 3, which implies that V (0) = 3 by the early note. ¯ We may replace d3,1, e3,2 and e4,1 by d3,1,e ¯3,2 ande ¯4,1 Thus, in this subcase, g is ¯ strictly copositive if and only if either (i)e ¯4,1 > 0, b2 ≥ 0, d3,1 ≥ 0, d ≥ 0, e2 ≥ 0, ¯ e¯3,2 ≥ 0; or (ii)e ¯4,1 < 0, b2 ≥ 0 if d3,1 > 0, d ≥ 0 if max{e2, e¯3,2} > 0, e2 ≥ 0 ife ¯3,2 > 0; ¯ or (iii)e ¯4,1 > 0, min{b2, d3,1} < 0, min{d, e2, e¯3,2} < 0, d ≥ 0 if e2 > 0; or (iv)e ¯4,1 < 0, ¯ d3,1 > 0, b2 < 0. (4D) c3 6= 0, i.e.,c ¯3 6= 0. Then

2 g3(t) = c3t + d3,1t + e3,2,

3 2 g2(t) = b2t + c2t + d2t + e2,     b2 b2d3,1 2 b2e3,2 g2(t) − tg3(t) = c2 − t + d2 − t + e2, c3 c3 c3

  b2 1 b2d3,1 g2(t) − tg3(t) − c2 − g3(t) c3 c3 c3       b2e3,2 d3,1 b2d3,1 e3,2 b2d3,1 = d2 − − c2 − t + e2 − c2 − c3 c3 c3 c3 c3  2  b2e3,2 c2d3,1 b2d3,1 c2e3,2 b2d3,1e3,2 = d2 − − + 2 t + e2 − + 2 . c3 c3 c3 c3 c3 Then

g4(t) = d4t + e4,2, where ¯ d4 e¯4,2 d4 = 2 , e4,2 = 2 , c¯3 c¯3 ¯ 2 ¯ ¯2 d4 = −c¯3d2 + b2c¯3e¯3,2 + c2c¯3d3,1 − b2d3,1, 2 ¯ e¯4,2 = −c¯3e2 + c2c¯3e¯3,2 − b2d3,1e¯3,2. There are three further subcases. ¯ 0 (4Da) d4 = e4,2 = 0, i.e., d4 =e ¯4,2 = 0. Then g3 is the GCD of g and g . Let ¯ u = d3,1 and v = e¯3,2 . We may use Propositions 5.2, 5.3 and Theorem 3.2 to determine c¯3 c¯3 the situation of g(t). ¯ (4Db) d4 = 0 and e4,2 6= 0, i.e., d4 = 0 ande ¯4,2 6= 0. Then g4(t) = e4,2,

S = {g0, g1, g2, g3, g4},

20 S(∞) = {+∞, +∞, b2, c3, e4,2},

S(0) = {e, d, e2, e3,2, e4,2}. Then V (0) = V (∞) if and only if (i) V (0) = V (∞) = 0; or (ii) V (0) = V (∞) = 1; or (iii) V (0) = V (∞) = 2; or (iv) V (∞) = 3, which implies V (0) = 3 by the early note.

We may replace c3, e3,2 and e4,2 here byc ¯3,e ¯3,2 ande ¯4,2. Thus, in this case, g is strictly copositive if and only if either (i)e ¯4,2 > 0, b2 ≥ 0,c ¯3 ≥ 0, d ≥ 0, e2 ≥ 0, e¯3,2 ≥ 0; or (ii)e ¯4,2 < 0, b2 ≥ 0 ifc ¯3 > 0, d ≥ 0 if max{e2, e¯3,2} > 0, e2 ≥ 0 ife ¯3,2 > 0; or (iii)e ¯4,2 > 0, min{b2, c¯3} < 0, min{d, e2, e¯3,2} < 0, d ≥ 0 if e2 > 0; or (iv)e ¯4,2 < 0, c¯3 > 0, b2 < 0. ¯ (4Dc) d4 6= 0, i.e., d4 6= 0. Then 2 g3(t) = c3t + d3,1t + e3,2,

g4(t) = d4t + e4,2,  e  e¯ g (t) ≡ e = −g − 4,2 = 5 , 5 5 3 2 ¯2 d4 b2d4 where 2 ¯ ¯ ¯2 e¯5 = −c¯3e¯4,2 + d3,1e¯4,2d4 − e¯3,2d4. There are two further subcases. 0 (4Dc1) e5 = 0, i.e.,e ¯5 = 0. Then g4(t) is the GCD of g and g , and g has a double nonzero root e¯4,2 α = − ¯ . d4 We may use Proposition 5.5 and Theorem 3.2 to determine the situation of g(t).

(4Dc2) e5 6= 0, i.e.,e ¯5 6= 0. We have

S = {g0, g1, g2, g3, g4, g5},

S(∞) = {+∞, +∞, b2, c3, d4, e5} ,

S(0) = {e, d, e2, e3,2, e4,2, e5}. Then V (0) = V (∞) if and only if (i) V (0) = V (∞) = 0; or (ii) V (0) = V (∞) = 1; or (iii) V (0) = V (∞) = 2; or (iv) V (0) = V (∞) = 3, or (v) V (∞) = 4, which implies that V (0) = 4 by the early note. ¯ We may replace c3, d4, e3,2, e4,2 and e5 here byc ¯3, d4, e¯3,2, e¯4,2 ande ¯5. Thus, in this ¯ case, g is strictly copositive if and only if either (i)e ¯5 > 0, b2 ≥ 0,c ¯3 ≥ 0, d4 ≥ 0, ¯ e¯4,2 ≥ 0, d ≥ 0, e2 ≥ 0,e ¯3,2 ≥ 0; or (ii)e ¯5 < 0, b2 ≥ 0 if max{c¯3, d4} > 0,c ¯3 ≥ 0 if ¯ d4 > 0, d ≥ 0 if max{e2, e¯3,2, e¯4,2} > 0, e2 ≥ 0 if max{e¯3,2, e¯4,2} > 0,e ¯3,2 ≥ 0 ife ¯4,2 > 0; ¯ or (iii)e ¯5 > 0, min{b2, c¯3, d4} < 0, b2 ≥ 0 ifc ¯3 > 0, min{d, e2, e¯3,2, e¯4,2} < 0, d ≥ 0 if ¯ max{e2, e3,2} > 0, e2 ≥ 0 if e3,2 > 0; or (iv) e5 < 0, min{b2, c¯3} < 0, max{c¯3, d4} > 0, ¯ min{d, e2, e¯3,2} < 0, max{e2, e¯3,2, e¯4,2} > 0, d ≥ 0 if e2 > 0; or (v)e ¯5 > 0, d4 < 0, c¯3 > 0, b2 < 0.

21 5.3 Positivity Conditions for Quintic Polynomials Summarizing the coefficients, we have

4a2 − 10b 3ab − 15c 2ac − 20d ad − 25e b = , c = , d = , e = , (5.13) 2 25 2 25 2 25 2 25

4 3 2 2 2 3 3 4 e¯3 = −125e2 + 100ae2d2 − 30a e2d2 + 4a e2d2 − dd2, (5.14) ¯ 4 3 2 2 3 2 3 d3 = −10cc2 + 20ae2c2 − 25c2d2e2 + 6a c2d2 − 5(5e2 + 4ad2)c2d2 + 25c2d2, (5.15) 4 2 3 2 2 e¯3,1 = −5c2d + 6a c2e2 − 5(5e2 + 4ad2)c2e2 + 25c2d2e2, (5.16) ¯ 2 ¯2 e¯4 = d2d3e¯3,1 − c2e¯3,1 − e¯2d3, (5.17)

c¯3 = −3bb2 + (5d2 + 4ac2)b2 − 5c2e2, (5.18) ¯ 2 d3,1 = −2cb2 + (5e2 + 4ad2)b2 − 5c2d2, (5.19) 2 e¯3,2 = −db2 + 4ae2b2 − 5c2e2, (5.20) ¯ 3 ¯2 2 ¯3 ¯4 e¯4,1 = b2d3,1e¯3,2 − c2d3,1e¯3,2 + d2d3,1e¯3,2 − e2d3,1, (5.21) ¯ 2 ¯ ¯2 d4 = −c¯3d2 + b2c¯3e¯3,2 + c2c¯3d3,1 − b2d3,1, (5.22) 2 ¯ e¯4,2 = −c¯3e2 + c2c¯3e¯3,2 − b2d3,1e¯3,2, (5.23) 2 ¯ ¯ ¯2 e¯5 = −c¯3e¯4,2 + d3,1e¯4,2d4 − e¯3,2d4. (5.24) We now can state our theorem.

Theorem 5.5 Let g(t) be defined by (5.6), with e > 0. Let the additional coefficients be defined by (5.13-5.24). Then we have 11 cases.

(1) b2 = c2 = d2 = 0. In this case, g(t) > 0 for all t ≥ 0.

(2) b2 = c2 = 0, d2 6= 0 and e¯3 6= 0. In this case, g(t) > 0 for all t ≥ 0 if and only if either (i) e¯3 > 0, d2 > 0, d ≥ 0, e2 ≥ 0; or (ii) e¯3 < 0, and d ≥ 0 if e2 > 0; or (iii) e¯3 > 0, d2 < 0. ¯ (3) b2 = 0, c2 6= 0, d3 = 0 and e¯3,1 6= 0. In this case, g(t) > 0 for all t ≥ 0 if and only if either (i) e¯3,1 > 0, c2 ≥ 0, d ≥ 0, e2 ≥ 0; or (ii) e¯3,1 < 0, and d ≥ 0 if e2 > 0; or (iii) e¯3,1 > 0, c2 < 0. ¯ (4) b2 = 0, c2 6= 0, d3 6= 0 and e¯4 6= 0. In this case, g(t) > 0 for all t ≥ 0 if and ¯ only if either (i) e¯4 > 0, c2 ≥ 0, d3 ≥ 0, d ≥ 0, e2 ≥ 0, e¯3,1 ≥ 0; or (ii) e¯4 < 0, c2 ≥ 0 if ¯ ¯ d3 > 0, d ≥ 0 if max{e2, e¯3,1} > 0, e2 ≥ 0 if e¯3,1 > 0; or (iii) e¯4 > 0, min{c2, d3} < 0, ¯ min{d, e2, e¯3,1} < 0, d ≥ 0 if e2 > 0; or (iv) e¯4 < 0, d3 > 0, c2 < 0. ¯ (5) b2 6= 0, c¯3 = d3,1 = 0, and e¯3,2 6= 0. In this case, g(t) > 0 for all t ≥ 0 if and only if either (i) e¯3,2 > 0, b2 ≥ 0, d ≥ 0, e2 ≥ 0; or (ii) e¯3,2 < 0, d ≥ 0 if e2 > 0; or (iii) e¯3,2 > 0, b2 < 0.

22 ¯ (6) b2 6= 0, c¯3 = 0, d3,1 6= 0 and e¯4,1 6= 0. In this case, g(t) > 0 for all t ≥ 0 if and ¯ only if either (i) e¯4,1 > 0, b2 ≥ 0, d3,1 ≥ 0, d ≥ 0, e2 ≥ 0, e3,2 ≥ 0; or (ii) e¯4,1 < 0, ¯ b2 ≥ 0 if d3,1 > 0, d ≥ 0 if max{e2, e¯3,2} > 0, e2 ≥ 0 if e¯3,2 > 0; or (iii) e¯4,1 > 0, ¯ ¯ min{b2, d3,1} < 0, min{d, e2, e¯3,2} < 0, d ≥ 0 if e2 > 0; or (iv) e¯4,1 < 0, d3,1 > 0, b2 < 0. ¯ (7) b2 6= 0, c¯3 6= 0 and d4 = 0. In this case, g(t) > 0 for all t ≥ 0 if and only if either (i) e¯4,2 > 0, b2 ≥ 0, c¯3 ≥ 0, d ≥ 0, e2 ≥ 0, e¯3,2 ≥ 0; or (ii) e¯4,2 < 0, b2 ≥ 0 if c¯3 > 0, d ≥ 0 if max{e2, e¯3,2} > 0, e2 ≥ 0 if e¯3,2 > 0; or (iii) e¯4,2 > 0, min{b2, c¯3} < 0, min{d, e2, e¯3,2} < 0, d ≥ 0 if e2 > 0; or (iv) e¯4,2 < 0, c¯3 > 0, b2 < 0. ¯ (8) b2 6= 0, c¯3 6= 0, d4 6= 0 and e¯5 6= 0. In this case, g(t) > 0 for all t ≥ 0 if and ¯ only if either (i) e¯5 > 0, b2 ≥ 0, c¯3 ≥ 0, d4 ≥ 0, e¯4,2 ≥ 0, d ≥ 0, e2 ≥ 0, e¯3,2 ≥ 0; or ¯ ¯ (ii) e¯5 < 0, b2 ≥ 0 if max{c¯3, d4} > 0, c¯3 ≥ 0 if d4 > 0, d ≥ 0 if max{e2, e¯3,2, e¯4,2} > 0, ¯ e2 ≥ 0 if max{e¯3,2, e¯4,2} > 0, e¯3,2 ≥ 0 if e¯4,2 > 0; or (iii) e¯5 > 0, min{b2, c¯3, d4} < 0, b2 ≥ 0 if c¯3 > 0, min{d, e2, e¯3,2, e¯4,2} < 0, d ≥ 0 if max{e2, e¯3,2} > 0, e2 ≥ 0 if ¯ e¯3,2 > 0; or (iv) e¯5 < 0, min{b2, c¯3} < 0, max{c¯3, d4} > 0, min{d, e2, e¯3,2} < 0, ¯ max{e2, e¯3,2, e¯4,2} > 0, d ≥ 0 if e2 > 0; or (v) e¯5 > 0, d4 < 0, c¯3 > 0, b2 < 0. In these eight cases, g(t) > 0 for all t ≥ 0 if and only if g(t) ≥ 0 for all t ≥ 0.

e2 (9) (i) b2 = c2 = 0, d2 6= 0 and e¯3 = 0. Let α = − . d2 ¯ e¯3,1 (ii) b2 = 0, c2 6= 0, d3 6= 0 and e¯4 = 0. Let α = − . d¯3 ¯ e¯3,2 (iii) b2 6= 0, c¯3 = 0, d3,1 6= 0 and e¯4,1 = 0. Let α = − . d¯3,1 ¯ e¯4,2 (iv) b2 6= 0, c¯3 6= 0, d4 6= 0 and e¯5 = 0. Let α = − . d¯4 Then we may apply Proposition 5.1 and Theorem 3.2 to determine the situation of g(t).

¯ d2 e2 (10) (i) b2 = 0, c2 6= 0 and d3 =e ¯3,1 = 0. Let u = and v = . c2 c2 ¯ ¯ d3,1 e¯3,2 (ii) b2 6= 0, c¯3 6= 0 and d4 =e ¯4,2 = 0. Let u = and v = . c¯3 c¯3 Then we may use Propositions 5.2, 5.3 and Theorem 3.2 to determine the situation of g(t).

¯ c2 d2 e2 (11) b2 6= 0 and c¯3 = d3,1 =e ¯3,2 = 0. Let p = , q = and r = . Then b2 b2 b2 Proposition 5.4 determines the situation of g(t).

Proof The 11 cases are summarized from the discussion in the last subsection. Cases (1-8) are corresponding to Cases (1), (2B), (3B), (3Cb), (4B), (4Cb), (4Db) and (4Dc2) of the last subsection, respectively. Case (9) is corresponding Cases (2A), (3Ca), (4Ca) and (4Dc1) of the last subsection. Case (10) is corresponding Cases (3A) and (4Da) of the last subsection. Case (11) is corresponding to Case (4A) of the last subsection. 

23 6 Higher Even Degree Polynomials and Appendices

We consider non-degenerate even degree polynomials with their degrees higher than or equal to 4. Suppose that m X m−i g(t) = ait , i=1 where m ≥ 4 is even, a0 = am = 1, a1, ··· , am−1 are real numbers. Denote

m−1 S = {(a1, ··· , am−1) ∈ < : g(t) > 0 for all t},

¯ m−1 S = {(a1, ··· , am−1) ∈ < : g(t) ≥ 0 for all t} and

m−1 2 2 2 A = {(a1, ··· , am−1) ∈ < : g(t) = (t + ut + v) φ(t), u < 4v, φ(t) ≥ 0 for all t}.

We call A the appendix of S¯. We have the following theorem.

Theorem 6.1 In the above setting, S¯ is a closed convex set, S is its interior, and A ⊂ S. The dimension of S¯ and S is m − 1, while the dimension of A is m − 3. The discriminant ∆(g) is equal to zero on A and the boundary of S¯, and has the same sign at the other part of S¯.

Proof Suppose that m m X m−i X m−i g(t) = ait , gˆ(t) = aˆit , i=1 i=1

1 g(t), gˆ(t) ≥ 0 for all t, a0 = am =a ˆ0 =a ˆm = 1. Then 2 (g(t) +g ˆ(t)) ≥ 0 for all t. This shows that S¯ is convex. Taking limiting points, we see that S¯ is closed. Similarly, S is also convex. Consider min{g(t)}. By the continuity property, we see that S is an open ¯ ¯ set, and S is the closure of S. Then S is the interior of S. For any (a1, ··· , am−1) ∈ A, g(t) > 0 for all t. Thus, A ⊂ S. We also see that there is an  > 0 such that

(a1, ··· , am−1) ∈ S for |ai| ≤ , i = 1, ··· , m − 1. This shows that the dimension of S¯ and S is m − 1. Consider the number of independent parameters of g(t) in A, we conclude that the dimension of A is m−3. For g(t) in A, g(t) has multiple roots. Thus ∆(g) = 0. On a boundary point of S¯, as it neighbors some parts not in S¯, we also have ∆(g) = 0. On the other part of S¯, as it is in the interior of S¯, and g(t) has no multiple roots there, we have ∆(g) 6= 0. As A is of dimension m − 3, the other parts is connected. Thus, ∆(g) has the same sign there. 

24 This theorem shows that, in the above setting, for all g(t) without real roots, ∆(g) takes the same sign, which depends upon m only, except at an appendix set of dimension lower by two, where ∆(g) = 0. Note that such an appendix also exists for odd degree polynomials with their degrees higher than 4. In Subsection 5.1, for the subcase (B1), if u2 < 4v, then there exists also an appendix similarly. However, as the property that g(t) ≥ 0 for all t only works for even degree polynomials, only for even degree polynomials, the properties of the appendix are distinguished.

Acknowledgment We are thankful to Chen Ouyang and Jinjie Liu for drawing Figures 1 and 2.

References

[1] S. Basu, R. Pollack and R. Marie-Fran¸cois, Algorithm in Real Algebraic Geometry, 2nd ed., Springer, Berlin, 2006.

[2] H. Chen, Z. Huang and L. Qi, “Copositivity detection of tensors: Theory and algorithm”, J. Optim. Theory Appl. 174 (2017) 746-761.

[3] H. Chen, Z. Huang and L. Qi, “Copositive tensor detection and its application in physics and hypergraphs”, Comput. Optim. Appl. 69 (2018) 133-158.

[4] H. Chen and Y. Wang, “Higher order copositive tensors and its application”, J. Appl. Anal. Comput. 8 (2018) 1863-1885.

[5] F.S. Faro and I.P. Ivanov, “Boundedness from below in the U(1) × U(1) three- Higgs-doublet model”, Phys. Rev. D 100 (2019) 035038.

[6] I.M. Gelfand, M.M. Kapranov and A.V. Zelevinsky, Discriminants, and Multidimensional Determinants, Birkh¨auser,Boston, 1994.

[7] R.N. Gadem and C.C. Li, “On positive definiteness of quartic forms of two vari- ables”, IEEE Trans. Automat. Control AC-9 (1964) 187-188.

[8] Y. Gao, “A necessary and sufficient condition for the positive definite problem of a binary quartic form”, arXiv:2009.01033, 2020.

[9] I.P. Ivanov, M. K¨opke and M. M¨uhlleitner,“Boundedness from below in the U(1)× U(1) three-Higgs-doublet model”, Phys. Rev. D 100 (2018) 035038.

25 [10] E.I. Jury and M. Mansour, “Positivity and nonnegativity of a quartic and related problems”, IEEE Trans. Automat. Control 26 (1981) 444-451.

[11] K. Kannike, “Vacuum stability of a general scalar potential of a few fields”, Eur. Phys. J. C 76 (2016) 324.

[12] K. Kannike, “Erratum to: Vacuum stability of a general scalar potential of a few fields”, Eur. Phys. J. C 78 (2018) 355.

[13] W.H. Ku, “Explicit criterion for the positive definiteness of a general quartic form”, IEEE Tram. Automat. Control AC-10 (1965) 372-373.

[14] L. Li, X. Zhang, Z. Huang and L. Qi, “Test of copositive tensors”, J. Indust. Manag. Optim. 15 (2019) 881-891.

[15] J. Liu and Y. Song, “Analytical expressions of copositivity for 3rd-order symmetric tensors and applications”, arXiv:1911.10284, (2019).

[16] J. Nie, Z. Yang, and X. Zhang, “A complete semi-definite algorithm for detecting copositive matrices and tensors”, SIAM J. Optim. 28 (2018) 2902-2921.

[17] L. Qi, “Symmetric nonnegative tensors and copositive tensors”, Linear Algebra Appl. 439 (2013) 228-238.

[18] L. Qi, H. Chen and Y. Chen, Tensor Eigenvalues and Their Applications, Springer, New York, 2018.

[19] L. Qi and Z. Luo, Tensor Analysis: Spectral Theory and Special Tensors, SIAM, Philadelphia, 2017.

[20] J.W. Schmidt and W. Heß, “Positivity of cubic polynomials on intervals and pos- itive spline interpolation”, BIT Numer. Math. 28 (1988) 340-352.

[21] Y. Song and L. Qi, “Necessary and sufficient conditions of copositive tensors”, Linear Multilinear Algebra 63 (2015) 120-131.

[22] Y. Song and L. Qi, “Analytical expressions of copositivity for fourth-order sym- metric tensors”, Anal. Appl. DOI:10.1142/S0219530520500049 (2020).

[23] G. Ulrich and L.T. Watson, “Positivity conditions for quartic polynomials”, SIAM J. Sci. Comput. 15 (1994) 528-544.

[24] F. Wang and L. Qi, “Comments on ‘Explicit criterion for the positive definiteness of a general quartic form”’, IEEE Tram. Automat. Control 50 (2005) 416-418.

26