Phase portraits of random planar homogeneous vector fields
Abstract
We study the phase portraits with positive probability of random planar homogeneous vector fields of degree n. In particular, for n=1,2,3, we give a complete solution of the problem and, moreover, either we give the exact value of each probability or we estimate it by using the Monte Carlo method. It is remarkable that all but two of these phase portraits are characterized by their index at the origin and by their number of invariant straight lines through it.
Full text
Phase portraits of random planar homogeneous vector fields∗ Anna Cima(1), Armengol Gasull(1) and V´ıctor Ma˜nosa(2) (1) Departament de Matem`atiques, Facultat de Ci`encies, Universitat Aut`onoma de Barcelona, 08193 Bellaterra, Barcelona, Spain [email protected], [email protected] (2) Departament de Matem`atiques, Universitat Polit`ecnica de Catalunya Colom 11, 08222 Terrassa, Spain [email protected] November 27, 2019 Abstract We study the phase portraits with positive probability of random planar homogeneous vector fields of degree n. In particular, for n= 1,2,3,we give a complete solution of the problem and, moreover, either we give the exact value of each probability or we estimate it by using the Monte Carlo method. It is remarkable that all but two of these phase portraits are characterized by their index at the origin and by their number of invariant straight lines through it. Mathematics Subject Classification 2010: 37H10, 34F05. Keywords: Ordinary differential equations with random coefficients; planar homogeneous vector fields; index; phase portraits. 1 Introduction and main results The systems of ordinary differential equations, or equivalently vector fields, are ubiquitous tools in the mathematical modeling of physical phenomenon. When studying parametric ∗The authors are supported by Ministry of Economy, Industry and Competitiveness–State Research Agency of the Spanish Government through grants MTM2016-77278-P (MINECO/AEI/FEDER, UE, first and second authors) and DPI2016-77407-P (MINECO/AEI/FEDER, UE, third author). The first and second authors are also supported by the grant 2017-SGR-1617 from AGAUR, Generalitat de Catalunya. The third author acknowledges the group’s research recognition 2017-SGR-388 from AGAUR, Generalitat de Catalunya. 1 arXiv:1911.11441v1 [math.DS] 26 Nov 2019
families of such vector fields typically one tries to know the different types of phase portraits that can appear in the family and what is their characterization: that is, to obtain their bifurcation diagram. A second level of study could be to establish the measure of each possible phase portrait among the different phase portraits in the family or any other dynamic characteristic such as the existence of attractors, invariant straight lines, or limit cycles. This is the aim of some recent works: [4, 7, 18] and [26]. The study of the probability of appearance of the different phase portraits may be of practical interest, especially since sometimes we are dealing with families of vector fields with parameters that vary randomly to model real-life situations. This is done in order to include the uncertainties in the model or to treat the natural variability in the parameters, see [6, 15, 23] for example. Historically, the interest in this approach can be also traced back to A.N. Kolmogorov, from whom there is an interesting anecdote that we have encountered in [16]. According to V.I. Arnold [2], it seems that Kolmogorov proposed to his students of the Moscow State University a problem that should give a statistical measure of the quadratic vector fields having limit cycles. He gave them several hundreds of such vector fields with randomly chosen coefficients. Each student was asked to find the number of limit cycles of his/her vector field. Surprisingly, the experiment gave that none of the vector fields had any limit cycle, although, since hyperbolic limit cycles form open sets in the space of coefficients, the probability to get them for a random choice of the coefficients is positive. In this paper we study the probabilities of the different phase portraits appearing in homogeneous planar vector fields. Their phase portraits in the Poincar´e disk ([12]) are well understood and they can be described in terms of the number of real zeroes of some associated polynomials, their relative position and several algebraic inequalities involving these zeroes and the parameters of the vector fields, see [1, 9, 11]. We will focus on the quadratic and cubic cases and for completeness we also will tackle the linear case. In fact, the results for n= 1 are well-known ([18, 26]) and, for instance, they are proposed as an exercise in the S. Strogatz book [25, Exer. 5.2.14, p. 143]. We include a simple and self-contained proof for this case. Our characterization of the different phase portraits, for n∈ {1,2,3},will be mainly based on the computation of the index at the origin, i, and on the study of the number of invariant lines through it, l. As we will see, these two numbers provide a complete algebraic characterization, by means of inequalities, of all the different classes of phase portraits with positive probability when nis 1 or 2,and almost a complete one for n= 3. In the cases that we have not been able to compute analytically the probabilities, we give their estimations by using the Monte Carlo method ([5, 21]) and the algebraic classification 2
tools developed in this paper. We will say that Fn(x, y) = Pn(x, y)∂ ∂x +Qn(x, y)∂ ∂y = X i+j=n Ai,jxiyj ∂ ∂x + X i+j=n Bi,jxiyj ∂ ∂y (1) is a random planar homogeneous polynomial vector field of degree nif all the variables Ai,j and Bi,j are independent normal random variables with zero mean and standard deviation one. For short, we will write Ai,j ∼N(0,1) and Bi,j ∼N(0,1).The hypothesis that all the coefficients are N(0,1) is commonly used, see for instance [4, 7, 18, 26] and it is quite natural and well motivated. In Section 3 we briefly recall this motivation. In general we will denote by P(W) the probability that a phase portrait of type W occurs, modulus time orientation. Next results collect our main achievements. Theorem 1. Consider linear random vector fields F1of the form (1). Their phase portraits (modulus time orientation) with positive probability are the three ones shown in Figure 1. They are completely determined by the couple (i, l) =(index, number of invariant lines). Moreover, P(L1) = 1 2, P(L2) = √2 2−1 2≃0.20711 and P(L3) = 1 −√2 2≃0.29289. Finally, the probability of the origin to be a global attractor is 1/4and the one of being a global repeller is also 1/4. Type L1 i=−1, l= 2 Type L2 i= 1, l= 2 Type L3 i= 1, l= 0 Figure 1: Phase portraits of planar linear vector fields with positive probability, modulus time orientation. 3
To state our results for n= 2,3 we need to introduce next two values Λ2=1 πZ∞ −∞ √2t8+ 8 t6+ 13 t4+ 8 t2+ 2 (t2+ 1) (t4+t2+ 1) dt≃1.64343,(2) Λ3=1 πZ∞ −∞ √2t8+ 4 t6+ 12 t4+ 4 t2+ 2 (t2+ 1) (t4+ 1) dt≃1.81225,(3) which, as we will see in item (c) of Theorem 10, correspond to the expected number of invariant straight lines for vector field (1) through the origin, for n= 2 and n= 3,respectively. These values are obtained by using the powerful tools introduced in the nice paper of Edelman and Kostlan [13]. Theorem 2. Consider quadratic random vector fields F2of the form (1). Their phase portraits with positive probability are the five ones shown in Figure 2. They are completely determined by the couple (i, l) =(index, number of invariant lines). Moreover, their corresponding probabilities, in addition to P5 j=1 P(Qj)=1,satisfy P(Q1) + P(Q2) + P(Q3) = Λ2−1 2≃0.32172, P(Q1) = P(Q3) + P(Q5), and they are estimated in Table 1. (a) Type Q1 i=−2, l= 3 (b) Type Q2 i= 0, l= 3 (c) Type Q3 i= 2, l= 3 (d) Type Q4 i= 0, l= 1 (e) Type Q5 i= 2, l= 1 Figure 2: Phase portraits of planar quadratic homogeneous vector fields with positive probability. 4
Estimated probabilities P(Q1) 0.11588 P(Q2) 0.18583 P(Q3) 0.01999 P(Q4) 0.58242 P(Q5) 0.09588 Observed frequency i(f) = −2 0.11588 i(f) = 0 0.76825 i(f) = 2 0.11587 Table 1: Estimations of the probabilities P(Qj), j= 1,2,...,5. To estimate the values P(Qj) we have used the Monte Carlo method, by generating 108 random quadratic homogeneous vector fields, that is, 108vectors in R6whose entries are pseudorandom numbers simulating 6 independent random variables with N(0,1) distribution. This algorithm consists on repeated random sampling and gives estimations of the desired probabilities due to the laws of large numbers and of iterated logarithm, see [5, 21]. In almost all cases, the corresponding phase portrait for the generated sample is obtained by checking the sign of algebraic inequalities among the obtained values of these 6 independent random variables. These signs allow to know the index of the origin and number of invariant straight lines through it. It turns out that using nsamples it gives the searched value with an absolute error of order O((log log n)/n)1/2,which practically behaves as O(n−1/2).Since in our simulations we take n= 108,the approaches found for the desired probabilities will have an absolute error of order 10−4.The results are given in Table 1. In the right-hand side of that table the observed frequencies are also collected in terms of the index of the critical point. Notice that the estimated probabilities of the phase portraits Q1, Q2, Q3, Q4and Q5are in good agreement with the relations given in Theorem 2. Observe that precisely P(Q1)+P(Q2)+P(Q3) is the probability of having three invariant straight lines and P(Q4)+P(Q5) = 3−Λ2 2≈0.67828 is the probability of having one invariant straight line. These results are also in good agreement with the ones of [4]. In that paper the authors give estimations of the probabilities of the different phase portraits of structurally stable quadratic vector fields, not necessarily homogeneous. It is easy to see that structurally stable vector fields are vector fields with full probability. Their phase portraits near infinity are related with the ones of homogeneous quadratic vector fields. In particular, the number of critical points at the equator of the Poincar´e disk is twice the number of invariant straight lines of the corresponding homogeneous quadratic vector field. Attending to the behavior at infinity they consider ten different families, the first five having a couple of diametrically opposed singularities at infinite and the other ones having three couple of singularities. 5
Adding the observed frequencies for the first five families in Table 2 in [4], also obtained by Monte Carlo simulation, we get 0.2542 + 0.2542 + 0.0740 + 0.0775 + 0.0184 = 0.6783.This value is a good approximation of the probability of having one invariant line given above. For n= 3,the results are similar to the quadratic case. Theorem 3. Consider cubic random vector fields F3of the form (1). Their phase portraits (modulus time orientation) with positive probability are the nine ones shown in Figure 3. Except for the phase portraits C3and C4, they are determined by the couple (i, l) =(index, number of invariant lines). Moreover, their corresponding probabilities, in addition to P9 j=1 P(Cj) = 1,satisfy 4 5 X j=1 P(Cj)+2 8 X j=6 P(Cj) = Λ3, P(C1) = P(C5) + P(C8), P(C2) + P(C6) = P(C3) + P(C4) + P(C7) + P(C9), and they are estimated in Table 2. Again, the estimated probabilities given in Table 2 are in good agreement with the relations given in Theorem 3. Remark 4. Notice that when nis even, all phase portraits of homogeneous vector fields are conjugated with the ones obtained reversing the orientation of all trajectories. This is so, because the associated differential equations are invariant with the change (x, y, t)→ (−x, −y, −t).This is no more true when nis odd. For instance, if we consider phase portraits L2or L3in Figure 1, or C2or C5in Figure 2, and we reverse the arrows, the new phase portraits are not conjugated, but topologically equivalent. Estimated probabilities P(C1) 0.00909 P(C2) 0.04193 P(C3) 0.00615 P(C4) 0.02394 P(C5) 0.00065 P(C6) 0.44897 P(C7) 0.28521 P(C8) 0.00845 P(C9) 0.17561 Observed frequencies i(f) = −3 0.00909 i(f) = −1 0.49090 i(f) = 1 0.49091 i(f) = 3 0.00910 0is a global attractor 0.24238 0is a global repeller 0.24238 Table 2: Estimations of the probabilities P(Cj), j= 1,2,...,9. 6
Type C1 i=−3, l= 4 Type C2 i=−1, l= 4 Type C3 i= 1, l= 4 Type C4 i= 1, l= 4 Type C5 i= 3, l= 4 Type C6 i=−1, l= 2 Type C7 i= 1, l= 2 Type C8 i= 3, l= 2 Type C9 i= 1, l= 0 Figure 3: Phase portraits of planar cubic homogeneous vector fields with positive probability, modulus time orientation. Because the distribution of the coefficients of random planar homogeneous vector fields of degree nis absolutely continuous and with a positive density, the phase portraits that have positive probability coincide with the ones that are structurally stable, in the world of polynomial homogeneous vector fields od degree n, see for instance [17] for the precise definitions. Fixed n, the number of topologically equivalent different classes of phase portraits Snof such systems is given in Table 1 of that paper. The first ten values are reproduced in Table 3. Observe that the value S2coincides with the number of different phase portraits 7
given in Theorem 2. On the other hand, the values S1and S3are bigger than the corresponding ones of Theorems 1 and 3, respectively. This is so, because by Remark 4, when n is even the phase portraits are invariant with respect the change (x, y, t)→(−x, −y, −t) and when nis odd this is no more true. In fact, changing the direction of all the arrows, when n= 1,only one of the three obtained vector fields is topologically equivalent to itself and so, the three phase portraits of Theorem 1 split into 1+2×2 = 5 = S1phase portraits. Similarly, for n= 3,only four of the phase portraits of Theorem 3 remain invariant and as a consequence we obtain 4 + 2 ×5 = 14 = S3phase portraits. Finally, notice also that by the invariance of the distribution of the coefficients of vector field (1), the probability of a phase portrait and the one of the phase portrait obtained by changing the arrows direction coincide. For instance, in the linear case, as a corollary of Theorem 1, the probabilities of attracting node is (√2−1)/4 and the one of repelling node is the same. n1 2 3 4 5 6 7 8 9 10 Sn5 5 14 13 34 31 85 77 221 203 Table 3: Number of phase portraits with positive probability Snfor vector field (1). We organize the paper as follows. In Section 2 we recall the main results of qualitative theory that allow to study the phase portraits of homogeneous vector fields together with the usual methods to know the multiplicity, the index iand the number of invariant straight of planar vector fields, l. Section 3 collects all the probabilistic preliminaries and results that we will use. In particular we discuss the reason that justifies our definition of random planar homogeneous vector field (1), as well as a tool to study the expected number of real zeroes of random polynomials ([13]). Sections 4, 5 and 6 are devoted to prove Theorems 1, 2 and 3, respectively. Finally in the Appendix we study the number and location of the real roots of polynomials of degree 3 and 4. As we will see these results will be needed to study the couple iand l, that recall give the index of the origin and the number of invariant lines of the vector field. 2 Algebraic tools for the classification of the phase portraits Consider planar polynomial vector fields of type f(x, y) = pn(x, y)∂ ∂x +qn(x, y)∂ ∂y ,(4) where pn(x, y) and qn(x, y) are real homogeneous polynomials of degree n. Their phase portraits on the Poincar´e disk can be obtained following the procedure detailed in [1]. For 8
the cases n= 2,3 they are given in [1, 11] and [9] respectively. For n= 1,they correspond to the well-known linear homogeneous vector fields. Since our objective is to compute the probability of the different available phase portraits we need to characterize them in terms of algebraic equalities and inequalities. As we will see, except in two cases that will be explained in Section 6, the characterization of their phase portraits occurring with positive probability can be done by using only two objects: the index iof the vector field associated to (4) at the origin and the number of invariant straight lines l, through this point. We dedicate next two subsections first to recall how to know the number of invariant straight lines through the origin and secondly to explain how to compute the index of an isolated critical point. Because there are no essential differences, most results in this second section deal with m-dimensional vector fields. 2.1 Invariant straight lines It is straightforward to see that the line αx +βy = 0 is invariant by the flow of the homogeneous system (4) if and only if αx +βy is a factor of x qn(x, y)−y pn(x, y).Due to the homogeneity we see that the slopes of these invariant straight lines, different from x= 0, are the values of κ∈Rthat satisfy tn(κ) := qn(1, κ)−κ pn(1, κ) = 0.(5) Hence, if tn(κ)6≡ 0 and pn(0, y)6≡ 0 the number of invariant straight lines l≤n+ 1 is exactly the number of real zeros of tn(κ).If tn(κ)≡0 or pn(0, y)≡0,the number of invariant straight lines is either infinity or l+ 1. Finally, we remark that the number of real roots of a general polynomial of a fixed degree can be characterized in terms of algebraic inequalities among its coefficients. This fact can be proved for instance by using Sturm sequences. See the Appendix for the explicit results for polynomials of degree 3 and 4. 2.2 Index at isolated singular points To simplify the notation, we will do the following abuse of notation: we will write f= (f1...,fm) to denote an analytic map of Rmbut also a finite map germ, or even the vector field f=Pm j=1 fj∂/∂xj. In all the cases, the meaning will be explicitly stated or clearly deducible from the context. In this section we will assume that f(0) = 0,since we will always work with the singular point at the origin. In general, if f: (Rm,0) →(Rm,0) is a continuous map and 0 is isolated in f−1(0), then the index of fat 0, ind(f),is defined as the degree of the map f/||f|| :S→S1, where Sis the boundary of a ball of radius ,B, such that f−1(0) TB={0}.If fis 9
where t∈−π 2,π 2, s ∈(0,2π) and r > 0.Since the determinant of the Jacobian of the change is √2 sin(t)r2, we have l3=1 4π3/2Ze KZ+∞ 0 √2 sin(t)r2e−1/2r2drdtds where e K={(s, t) : cos(t)2−2 sin(t)2sin(s) cos(s)<0}.Recall that Z∞ 0 √2r2e−1/2r2dr=√π. To calculate the remainder part of the integral, Re Ksin(t)dtds, we consider the curve cos2(t)− 2 sin2(t) sin(s) cos(s)=0,that is, t=±arctan 1 √sin(2s), which is depicted in Figure 4. s t Figure 4: Graphic of the curve cos2(t)−2 sin2(t) sin(s) cos(s) = 0. The set e Kis shadowed. It is easy to see that the shadowed area in Figure 4 corresponds to e K. Using the symmetries of this curve, and calling g1(s) := arctan 1 √sin(2s), we get that Ze K sin(t) dtds= 4 Zπ/2 0Zπ/2 g1(s) sin(t) dtds. Doing the change u= 2s, we get Zπ/2 0Zπ/2 g1(s) sin(t) dtds=π 2(2 −√2). Hence l3=√π 4π3/2Ze K sin(t) dtds=1 4π 4π 2(2 −√2) = 1 −√2 2 and the computation of all probabilities follows. 16
Finally, notice that if a vector field has the phase portrait L2(or L3) and we perform a time reversion t→ −tthen we get the same picture with reversed time arrows, and hence the two phase portraits are not conjugated, but topologically equivalent. In fact, the pictures of L2and L3in Figure 1 correspond to global attractors. For the phase portrait L1a time reversal gives a conjugated one. Due to the symmetry of the random variables that give the coefficients of the random homogeneous vector field (1) we know that fand −fhave the same distribution. Hence the probability to get an attractive node (resp. focus) coincides with the probability to get a repulsive node (resp. focus), see also item (b) of Theorem 10. Therefore, P(0is and attractor) = P(0is an attractive node) + P(0in an attractive focus) =1 2P(0is a node) + 1 2P(0is a focus) = 1 2l2+1 2l3=1 2(l2+l3) = 1 4. Alternative proof of Theorem 1. Set lj=P(Lj), j = 1,2,3.Following the same steps that in the previous proof Theorem 1, we obtain that l1=1 2and l2+l3=1 2.The only difference in this proof is how to find l2and l3.By item (c) of Theorem 10, 2l1+l2+ 0 ·l3= 2`1(2) + 0 ·`1(0) = Λ1=√2. By joining the three equalities we obtain that l3= 1 −√2/2 and the result follows. 5 Random homogeneous quadratic vector fields Since we are interested in knowing the phase portraits (1) with positive probability, we can assume that the components of our vector fields have not common factors (see Section 2.2). Hence the multiplicity at 0is n2. For the quadratic case (n= 2), it is 4. To prove Theorem 2 we need to algebraically characterize the indices at the origin and also the number of invariant straight lines though it for quadratic homogenous vector fields f2(x, y)=(ax2+bxy +cy2)∂ ∂x + (dx2+exy +fy2)∂ ∂y ,(10) with the origin being an isolated singularity. This is so because, as we will see, the phase portrait of the quadratic homogeneous vector fields with positive measure in the event space (which is given by the parameter space Ω = R6) is characterized by these two numbers. 17
5.1 Index at the origin By Corollary 7 the index at the origin of (10) is −2,0 or 2.The next result, explicitly characterizes ind(f2) for generic vector fields, in terms of algebraic inequalities (hence open sets in the parameter space R6). Set λ:= −ae −bd af −cd, µ := −bf −ce af −cd, j := 4(af −cd)(1 −λµ). We introduce an additional genericity condition for vector field (10). We will say that the vector field f2is well-posed if af −cd 6= 0, λ ·µ6= 0, λµ −16= 0 and λ+µ6= 0. Observe that well-posed random homogeneous quadratic vector fields (10) have full probability. Theorem 12. Let f2as in (10) be a well-posed vector field, and let =±1be such that j > 0.Then the following holds: (a) ind(f2)=0if and only if λµ −1<0. (b) ind(f2)=2if and only if λµ −1>0and (λ+µ)>0. (c) ind(f2) = −2if and only if λµ −1>0and (λ+µ)<0. Proof. We will start proving that Q(f2) = C∞ 0(R2)/(f2) = h1,¯x, ¯y, ¯x¯yi. Notice that the dimension of this space is 4 as expected because we already knew that the multiplicity of f2at 0is 4. Indeed, observe that since the components of f2are zero in Q(f2),and using that f2is well-posed, we get that a(d¯x2+e¯x¯y+f¯y2)−d(a¯x2+b¯x¯y+c¯y2)=(ae −bd)¯x¯y+ (af −cd)¯y2= 0, hence ¯y2=λ¯x¯y. Similarly ¯x2=µ¯x¯y. It implies that ¯x2¯y= (µ¯x¯y)¯y=µ¯x¯y2=µ¯x(λ¯x¯y) = µλ¯x2¯y. Since µλ 6= 1 we get that ¯x2¯y= 0 in Q(f2).It easily implies that all the monomials of degree k≥3 are zero in the quotient ring. Furthermore, some computations give that j= 2(bf −ce)λ+ 4(af −cd) + 2(ae −bd)µ= 4(af −cd)(1 −λµ). Hence, the residual class of the Jacobian of f2is ¯ J=j¯x¯y. 18
Let ϕ:Q(f2)→Rbe the functional sending ¯x¯yto =±1 with j > 0, and sending the other basis elements to 0.Then the matrix of <, >ϕwith respect this basis is: 0 0 0 0µ 0 0 λ 0 0 0 0 . The characteristic polynomial is given by P(z) = (z2−1) z2−(λ+µ)z +λµ −1.Let z1, z2be the two roots of z2−(λ+µ)z +λµ−1 = 0.Since z1z2=λµ−1, z1+z2= (λ+µ) and the signature of a quadratic form is the difference between positive eigenvalues and the negative ones, the result follows. 5.2 Number of invariant straight lines trough the origin Concerning the number of invariant straight lines passing through the origin of (10), as we have proved in Section 2.1, generically it suffices to look at equation (5), which writes t2(κ) = −cκ3+ (f−b)κ2+ (e−a)κ+d= 0,with c6= 0.Again, generically a cubic equation has either three different real roots or one simple real root. These two possibilities are distinguished by the discriminant of t2, ∆t2which is given by ∆t2=1 c4h−27 c2d2−18 cd (b−f) (a−e)+4d(b−f)3+ (b−f)2(a−e)2−4c(a−e)3i. The result is that t2has three different real roots if and only ∆t2>0 and t2has just one simple real root if and only ∆t2<0.These two cases give a full probability event for the random vector field (1) with n= 2. 5.3 Proof of Theorem 2 and Table 1 Proof of Theorem 2. The phase portarits of quadratic homogeneous vector fields are wellknow, see [1, 11]. It is not difficult to see that the only one with positive probability are the five ones given in Figure 2. This is so, because all the other ones are characterized by some equality among the coefficients and the vector field, and so, they have probability 0 of appearance. Set qj=P(Qj), j= 1,2,...,5.By looking at these phase portraits and using the notation of Theorem 10 we have that u2(−2) = q1, u2(0) = q2+q4, u2(2) = q3+q5, `2(1) = q4+q5, `2(3) = q1+q2+q3. By Theorem 10 we know that u2(2) = u2(−2),and `2(1) + 3`2(3) = Λ2.Hence q1=q3+q5 and q4+q5+ 3(q1+q2+q3)=Λ2.Using that P5 j=1 qj= 1,these two equalities give the two ones in the statement of the theorem. 19
Taking into account the three relations among the qjgiven in Theorem 2, only two more relations among these five probabilities have to be found in order obtain their exact values. For instance one of these new relations could be u2(0) = q2+q4.By using item (a) of Theorem 12 and the probability density function given in (8) we obtain u2(0) = ZK e−a2+b2+c2+d2+e2+f2 2dadbdcdddedf, where K={(a, b, c, d, e, f)∈R6: (ae −bd)(bf −ce)<(af −cd)2}.We have not been able to calculate the above integral analytically. It could be approximated by several numerical methods. In fact, one of the most used is Monte Carlo method to evaluate multiple integrals. For this reason we have decided to compute directly the values P(Qj) by direct Monte Carlo simulation instead of approaching u2(0). The results of Theorem 12 and the ones of Section 5.2 that give algebraic inequalities among the coefficients to know the index at the origin, and the number of invariant straight lines through it, respectively, allow to determine the phase portrait of any well-posed homogeneous quadratic vector field with an isolated singularity. Notice that these vector fields have full probability. We use these results to know which phase portrait corresponds to each sample generated by Monte Carlo method. The obtained approximations of the vales qjare given in Table 1. 6 Random homogeneous cubic vector fields This section mimics the previous one but with more involved computations. There is only one essential difference, as we will see, for first time there appear two phase portraits that are neither conjugated nor equivalent but share index and number of invariant straight lines. Consider a cubic homogeneous vector field f3(x, y)=(ax3+bx2y+cxy2+dy3)∂ ∂x + (ex3+fx2y+gxy2+hy3)∂ ∂y .(11) Arguing as in Section 5 we can assume that it has the origin as an isolated singularity and hence it has multiplicity 9. We start studying the index of (11). By Corollary 7 we already know that the only indices of the origin for (11) are −3,−1,1,3.Set: r:= −bf −df ah −de, s := −ch −dg ah −de, p := −af −be ah −de, q := −ag −ec ah −de, h1: = r(r+sq) + s(1 −ps) 1−ps , h2:= r+sq 1−ps, h3:= pr +q 1−ps, h4:= p(1 −ps) + q(pr +q) 1−ps , j:= (3af −3be)h1+ (6ag −6ce)h2+ (9ah + 3bg −3cf −9de) + (6bh −6df)h3+ (3ch −3dg)h4. 20
We also will need: α:= −(1 + h1+h4), β:= h1h4−h2 2−h2 3+h1+h4−1, γ:= (h1h2 3+h2 2h4−h1h4−2h2h3+ 1), where for j6= 0, ∈ {−1,1}is such that j > 0,and C2:= αβ −9γ, D3:= −27γ2+ 18αβγ −4α3γ+α2β2−4β3. We introduce a genericity condition for this cubic case. We say that f3is well-posed if ah−ed 6= 0 and ps 6= 1; r·s·p·q6= 0 and h1·h2·h3·h4·j6= 0; α·β·γ6= 0 and C2·D36= 0. As in the quadratic case, well-posed random cubic vector fields have full probability. Theorem 13. Let f3as in (10) be a well-posed cubic vector field. Then the following holds: (a) ind(f3) = −3if and only if D3>0, C2>0, β > 0, γ > 0. (b) ind(f3) = −1if and only if either D3<0, γ > 0or D3>0, γ < 0, C2>0or D3>0, γ < 0, C2<0, β < 0. (c) ind(f3)=1if and only if either D3<0, γ < 0or D3>0, γ > 0, C2<0or D3>0, γ > 0, C2>0, β < 0. (d) ind(f3)=3if and only if D3>0, C2<0, β > 0, γ < 0. Proof. Since the components of f3are zero in Q(f3),we get that ¯x3=r¯x2¯y+s¯x¯y2and ¯y3=p¯x2¯y+q¯x¯y2and simple computations give ¯x4=h1¯x2¯y2,¯x3¯y=h2¯x2¯y2,¯x¯y3=h3¯x2¯y2,¯y4=h4¯x2¯y2. From the above equalities and taking into account that f3is well-posed we get that all the monomials of degree greater than four are zero in Q(f3).Hence, Q(f3) = 1,¯x , ¯y , ¯x2,¯x¯y , ¯y2,¯x2¯y , ¯x¯y2,¯x2¯y2, with a basis of nine elements, as expected. Since the Jacobian of f3is (3af −3be)x4+ (6ag −6ce)yx3+ (9ah + 3bg −3cf −9de)y2x2 + (6bh −6df)y3x+ (3ch −3dg)y4 21
its residual class is j¯x2¯y2,with j6= 0. Let ϕ:Q(f3)→Rbe the functional sending ¯x2¯y2to =±1 with j > 0 and sending the other basis elements to 0.Then the matrix of <, >ϕwith respect this basis is: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 h20 0 0 0 0 0 0 h30 0 0 0 h1 h20 0 0 0 0 0 h2 h30 0 0 0 0 0 h3 h40 0 0 0 h20 0 0 0 0 0 0 h30 0 0 0 0 0 00000000 . The characteristic polynomial is given by P(z) = −(+z)·(−z)·(z2−(h2+h3)z+h2h3−1) ·(z2+(h2+h3)z+h2h3−1) ·S(z) where S(z) = z3+α z2+β z +γ, and α, β, γ are defined above. In order to compute the signature of this matrix it is not difficult to see that the only relevant part of the characteristic polynomial is S. The conditions on the coefficients of a cubic polynomial equation to give the number of positive and negative zeros are established in Lemma 14 in the Appendix. Applying it we get the result. Concerning the number of invariant straight lines passing through the origin for vector field (11), generically we have to look at equation: t3(κ) = −dκ4+(−c+h)κ3+(−b+g)κ2+ (−a+f)κ+e, with d6= 0.Again, under more generic assumptions, t3has either four different real roots, or two simple real roots, or no real root. These three possibilities can be distinguished by the sign of three algebraic expressions depending on its coefficients, given in Lemma 15. Once more, these inequalities imply that the set of parameters for which the vector field has a given number of invariant straight lines is measurable. They are also useful to decide which phase portrait happens when we apply the Monte Carlo method to estimate the desired probabilities. Proof of Theorem 3. The phase portraits of cubic homogeneous vector fields are given in [1, 9]. It can be seen that the only ones with positive probability, modulus time orientation, 22
are the 9 phase portraits given in Figure 3. Set cj=P(Cj), j = 1,2,...,9.By looking at these phase portraits and with the notation introduced in Theorem 10 it holds that u3(−3) = c1, u3(−1) = c2+c6, u3(1) = c3+c4+c7+c9, u3(3) = c5+c8, `3(0) = c9, `3(2) = 8 X j=6 cj, `3(4) = 5 X j=1 cj. By Theorem 10 we know that u3(3) = u3(−3), u3(1) = u3(−1) and 2`3(2) + 4`3(4) = Λ3. Joining all these equalities, the ones stated in the theorem follow. Finally, notice that, contrary to what happen in the quadratic case, the index at the origin and the number of invariant straight lines are not enough to distinguish between different phase portraits. The phase portraits C3and C4have both index equal to 1 and have 4 invariant straight lines. If we look at the equator of the Poincar´e sphere we see that in the phase portrait C4 the infinite singular points are successively node-saddle-node-saddle. It can be seen (see [1]) that if t3(κj) = 0, then sj:= −t0 3(κj)p3(1, κj)<0 (resp. sj>0) is the condition to get a saddle (resp. a node) at the singular point at infinity determined by the direction y=κjx. Hence, in the case with index 1 and 4 invariant straight lines, in order to distinguish between the phase portraits C3and C4it is necessary to consider the four roots of the polynomial equation t3(κ) = 0, κ1< κ2< κ3< κ4, and compute the four signs sj. If we find that s1s2<0 and s2s3<0, then we have the phase portrait C4. Otherwise we have phase portrait C3.We note that this type of conditions on the coefficients give measurable sets. Hence in this case to get the values of Table 2 we use again the Monte Carlo method generating 108random cubic homogeneous vector fields with the desired distribution. For each sample we compute its index at the origin by using Theorem 13 and we apply Lemma 15 to know its number of invariant straight lines. These two values are enough to know the corresponding phase portrait in seven of the nine cases. To distinguish between the phase portraits C3and C4, in the case (i, l) = (1,4),we compute the values introduced in the previous paragraph. Appendix In this appendix we give conditions on the coefficients of polynomial equations of degree 3 or 4 to know its number real zeros zeros and for degree 3 also their signs. Lemma 14. Set p(x) = x3+ax2+bx +c, c2=ab −9c, d2=a2−3band d3=−27c2+ 18abc −4a3c+a2b2−4b3.Assume that a·b·c·c2·d2·d36= 0.Then the following holds: 23
(i) phas a unique real root of multiplicity one, if and only if d3<0.This root is negative (resp. positive) if c > 0(resp. c < 0). (ii) phas three negative real roots if and only if d3>0, c2>0, b > 0, c > 0. (iii) phas two negative roots and one positive one if and only if either, d3>0, c < 0, c2>0 or d3>0, c < 0, c2<0, b < 0. (iv) phas one negative root and two positive roots if and only if either, d3>0, c > 0, c2<0 or d3>0, c > 0, c2>0, b < 0. (v) phas three positive roots if and only if d3>0, c2<0, b > 0, c < 0. Proof. The proof is based in Sturm’s method which asserts that if p0=p, p1...,pnis a Sturm’s sequence of pin [a, b] with p(a)·p(b)6= 0,then the number of real zeros of pin (a, b) is V(a)−V(b) where V(x) is the number of changes of sign in the ordered sequence p0(x), p1(x), . . . , pn(x),where the zeroes are disregarded. For any polynomial without multiple roots such a sequence always exists, see [24]. For p, without multiple roots and d26= 0,one Sturm sequence is p0=p, p1=p0and p2(x) = 1 9(2d2x+c2), p3(x) = 9 4d2 2 d3. The quantity d3is the classical discriminant of pand it is known that d3<0 if and only if phas a real root and two complex ones whereas d3>0 if and only if phas three real roots (see [9] for instance). We are going to consider the following two tables depending on the sign of d3where b, c, d2, c2stands for their respective signs. −∞ 0∞ p0−c+ p1+b+ p2−d2c2d2 p3− − − −∞ 0∞ p0−c+ p1+b+ p2−d2c2d2 p3+ + + d3<0d3>0 We separate the proof in two cases, depending on the sign of d3. Case 1. Assume that d3<0.We observe that V(−∞) = 2 and V(+∞)=1.Then •The polynomial phas a negative real root if and only if V(0) = 1.It is easy to see that it happens when c > 0 and one of the three following conditions hold: c2>0, b > 0; c2<0, b > 0; c2<0, b < 0. 24
We observe that d3<0, c2>0, b < 0, c > 0 is not compatible because then V(0) −V(+∞) = 3 but V(−∞)−V(+∞)=1.Summarizing, phas a negative real root and two more complex ones if and only if d3<0, c > 0. •The polynomial phas a positive real root if and only if V(0) = 2.It is easy to see that it happens when c < 0 and one of the three following conditions hold: c2>0, b > 0; c2>0, b < 0; c2<0, b > 0. As before conditions d3<0, c2<0, b < 0, c < 0 are incompatible and then phas a positive real root and two more complex ones if and only if d3<0, c < 0 as announced. Case 2. Assume that d3>0 and consider the above right-hand side table of signs. We see that in that case d2must be positive. Otherwise V(−∞)=1, V (∞) = 2 which is not possible (we can also argue that since d3>0 implies that phas three real roots, its derivative has two real roots and hence its discriminant which is equal to 4 d2has to be positive). It is straightforward to see that items (ii),(iii),(iv),(v) are equivalent to V(0) = 0, V (0) = 1, V (0) = 2, V (0) = 3 respectively and that these number of changes of sign are satisfied exactly when the conditions on b, c, c2are the ones stated in the lemma. Lemma 15. Let p(x) = x4+ax3+bx2+cx +d. Assume that c·d·c2·c3·d2·d3·d46= 0. Then the following holds: (a) phas two simple real and two complex roots if and only if d4<0. (b) phas four different real roots if and only if d4>0, d2>0and d3>0. (c) phas no real root if and only if d4>0and either, d2<0or d3<0. Proof. A Sturm sequence of p, is p0=p, p1=p0, p2(x) = 1 16 d2x2+ 2(ab −2c)x+c2, p3(x) = 16(2d3x+c3) d2 2 , p4(x) = d2 2d4 64d2 3 . where d2= 3 a2−8b, c2=ac −16d, d3=−3a3c+a2b2−6a2d+ 14 abc −4b3+ 16 bd −18 c2, c3=−9a3d+a2bc + 32 abd + 3 ac2−4b2c−48 cd, d4=−27 a4d2+ 18 a3bcd −4a3c3−4a2b3d+a2b2c2+ 144 a2bd2−6a2c2d−80 ab2cd+ +18 abc3+ 16 b4d−4b3c2−192 acd2−128 b2d2+ 144 bc2d−27 c4+ 256 d3. 25