Algorithm Search⌘K

Proofs: Kovacic's algorithm

These are the human proofs of Kovacic's algorithm, at full length.

Kovacic's algorithm returns a Liouvillian solution exactly when one exists full

This proof shows: correctness, termination.

Let KK be a field of characteristic 00 with algebraic closure K‾\overline{K}, and let r=s/t∈K(x)r = s/t \in K(x) with s,ts, t coprime. Write L=∂2−rL = \partial^2 - r with ∂=d/dx\partial = d/dx, and work in a Picard-Vessiot extension EE of K‾(x)\overline{K}(x) for LL. A solution y≠0y \ne 0 of Ly=0L y = 0 is Liouvillian if it lies in a tower of extensions of K‾(x)\overline{K}(x) obtained by adjoining integrals, exponentials of integrals and algebraic elements.

Lemma 1 (Riccati). For y≠0y \ne 0 in EE put w=y′/yw = y'/y. Then y′′=ryy'' = r y if and only if w′+w2=rw' + w^2 = r. Conversely, if ww solves w′+w2=rw' + w^2 = r in a differential extension, then y=e∫wy = e^{\int w}, an element with y′=wyy' = w y, solves Ly=0L y = 0.

Proof. y′=wyy' = w y gives y′′=(w′+w2)yy'' = (w' + w^2) y, and y≠0y \ne 0. □\square

Lemma 2 (Kovacic's theorem). The differential Galois group GG of LL is an algebraic subgroup of SL2(K‾)\mathrm{SL}_2(\overline{K}), since the Wronskian of two solutions has derivative 00. Up to conjugation, exactly one of these holds: (1) GG is triangular; (2) GG is contained in the group of matrices diag(c,c−1)\mathrm{diag}(c, c^{-1}) and (0c−c−10)\left(\begin{smallmatrix} 0 & c \\ -c^{-1} & 0 \end{smallmatrix}\right), and case 1 fails; (3) GG is finite and not in case 1 or 2, so its image in PSL2\mathrm{PSL}_2 is the tetrahedral, octahedral or icosahedral group; (4) G=SL2G = \mathrm{SL}_2. In case 1 there is a solution with w∈K‾(x)w \in \overline{K}(x), in case 2 one with ww of degree 22 over K‾(x)\overline{K}(x), in case 3 all solutions are algebraic and some ww has degree 44, 66 or 1212 for the three groups, and in case 4 there is no Liouvillian solution. This is the theorem of Kovacic (1986), from the classification of the algebraic subgroups of SL2\mathrm{SL}_2, see also van der Put and Singer, Chapter 4. We use it as a cited result.

Lemma 3 (necessary conditions). Kovacic (1986) shows from the Laurent series of ww that case 1 is possible only if every pole of rr has order 11 or even order and the order oo at infinity is even or above 22, case 2 only if some pole has order 22 or odd order at least 33, and case 3 only if all poles have order at most 22 and o≥2o \ge 2. For case 1 this follows from Step 1 below. Skipping a case whose condition fails therefore loses nothing.

Step 1 (local behaviour in case 1). Let w∈K‾(x)w \in \overline{K}(x) solve w′+w2=rw' + w^2 = r, and let cc be a point. Expand w=∑j≥j0uj(x−c)jw = \sum_{j \ge j_0} u_j (x - c)^j with uj0≠0u_{j_0} \ne 0.

  • If j0≤−2j_0 \le -2, then w2w^2 has a pole of order −2j0≥4-2j_0 \ge 4 while w′w' has order −j0+1<−2j0-j_0 + 1 < -2j_0, so rr has a pole of even order 2v=−2j02v = -2j_0 at cc, and the terms of ww of orders −v,…,−2-v, \ldots, -2 satisfy (⋅)2≡r(\cdot)^2 \equiv r up to order −v−2-v - 2. So the polar part of order at least 22 of ww is ±[r]c\pm [\sqrt r]_c. Comparing the coefficients of (x−c)−v−1(x - c)^{-v-1} gives 2a α−va=b2 a\, \alpha - v a = b, where aa is the leading coefficient of [r]c[\sqrt r]_c with the chosen sign, α=u−1\alpha = u_{-1} and bb is the coefficient of (x−c)−v−1(x - c)^{-v-1} in r−[r]c2r - [\sqrt r]_c^2. So α=12(±b/a+v)\alpha = \frac12(\pm b/a + v), the two values αc±\alpha_c^{\pm}.
  • If j0=−1j_0 = -1, comparing the (x−c)−2(x - c)^{-2} coefficients gives −α+α2=b-\alpha + \alpha^2 = b for bb the coefficient of (x−c)−2(x - c)^{-2} in rr. If rr has a pole of order 22, α∈{12±121+4b}\alpha \in \{\frac12 \pm \frac12\sqrt{1 + 4b}\}. If rr has a pole of order 11 or no pole at cc, then b=0b = 0 and α=1\alpha = 1, since α≠0\alpha \ne 0.
  • If j0≥0j_0 \ge 0, ww is regular at cc.

So rr has no pole of odd order ≥3\ge 3, and at a pole of order 11 the residue is 11. At infinity the same comparison in the variable 1/x1/x gives, for o=−2v≤0o = -2v \le 0, a polynomial part ±[r]∞\pm [\sqrt r]_\infty and coefficient α∞=12(±b/a−v)\alpha_\infty = \frac12(\pm b/a - v) of 1/x1/x in ww; for o≥2o \ge 2 a coefficient α∞∈{12±121+4b}\alpha_\infty \in \{\frac12 \pm \frac12 \sqrt{1 + 4b}\} with bb the coefficient of x−2x^{-2} in rr, and for o>2o > 2 this is {0,1}\{0, 1\}; odd o<2o < 2 is impossible.

Step 2 (case 1 is complete). Let w∈K‾(x)w \in \overline{K}(x) solve the Riccati equation. By Step 1, the partial fraction decomposition of ww is

w=∑c(εc[r]c+αcx−c)+ε∞[r]∞+∑j=1d1x−zj,w = \sum_c \left(\varepsilon_c [\sqrt r]_c + \frac{\alpha_c}{x - c}\right) + \varepsilon_\infty [\sqrt r]_\infty + \sum_{j=1}^{d} \frac{1}{x - z_j},

where cc runs over the poles of rr, the signs ε\varepsilon and residues α\alpha are local choices of line L4, and the zjz_j are the points where ww has a simple pole with residue 11 but rr is regular. Let ω\omega be the first two sums, the family's rational function of line L6, and P=∏j(x−zj)P = \prod_j (x - z_j), a monic polynomial of degree dd, so that w=ω+P′/Pw = \omega + P'/P. The coefficient of 1/x1/x in the expansion of ww at infinity is the sum of all residues, ∑cαc+d\sum_c \alpha_c + d, and by Step 1 it is α∞\alpha_\infty, since [r]c[\sqrt r]_c has no residue and [r]∞[\sqrt r]_\infty is a polynomial. So d=α∞−∑cαcd = \alpha_\infty - \sum_c \alpha_c is a nonnegative integer, and the family passes line L5. Finally, y=Pe∫ωy = P e^{\int \omega} has logarithmic derivative ww, and

y′′−ry=e∫ω(P′′+2ωP′+(ω′+ω2−r)P),y'' - r y = e^{\int \omega} \left(P'' + 2\omega P' + (\omega' + \omega^2 - r) P\right),

so PP solves the auxiliary equation of line L7, and the linear system of that line has a nonzero solution. The search of lines L5 to L7 tries every family, so it finds this one or an earlier successful one.

Step 3 (soundness). In case 1, if line L7 finds P≠0P \ne 0, the identity of Step 2 shows that y=Pe∫ωy = P e^{\int \omega} solves Ly=0L y = 0, and yy is Liouvillian since ω\omega and PP are rational. The returned F=w−(ω+P′/P)F = w - (\omega + P'/P) has the logarithmic derivative as its root. In case 2, let PP solve the third-order auxiliary equation, φ=θ+P′/P\varphi = \theta + P'/P, and let ww be a root of F=w2−φw+(12φ′+12φ2−r)F = w^2 - \varphi w + \left(\frac12 \varphi' + \frac12 \varphi^2 - r\right). Kovacic (1986), in the treatment of case 2, shows that the auxiliary equation is exactly the condition that the two roots w±w_\pm of FF satisfy the Riccati equation, with w++w−=φw_+ + w_- = \varphi: writing w±=φ/2±Δw_\pm = \varphi/2 \pm \sqrt{\Delta} with Δ=φ2/4−12φ′−12φ2+r\Delta = \varphi^2/4 - \frac12\varphi' - \frac12 \varphi^2 + r, the Riccati equation for w±w_\pm splits into its rational and irrational parts, the irrational part holds identically, and the rational part is a differential equation for φ\varphi that becomes the auxiliary equation for PP after substituting φ=θ+P′/P\varphi = \theta + P'/P. In case 3, Kovacic (1986), in the treatment of case 3, shows that the recursion for PiP_i with P−1=0P_{-1} = 0 is the condition that the roots of the returned FF satisfy the Riccati equation. In each case the roots of FF are algebraic over K‾(x)\overline{K}(x), and Lemma 1 turns them into Liouvillian solutions. Independently of these derivations, a root ww of a squarefree FF satisfies the Riccati equation exactly when FF divides Fx+Fw(r−w2)F_x + F_w (r - w^2) in K‾(x)[w]\overline{K}(x)[w], since implicit differentiation gives w′=−Fx(w)/Fw(w)w' = -F_x(w)/F_w(w), and the implementation checks this divisibility on every output.

Step 4 (cases 2 and 3 are complete). If case 1 fails and a Liouvillian solution exists, Lemma 2 places GG in case 2 or 3. Kovacic (1986) shows, by the same local comparison as in Step 1 applied to the symmetric functions of the conjugates of ww, that at each point the leading data of θ\theta lie in the finite lists ece_c and e∞e_\infty of line L4, that d=n12(e∞−∑ec)d = \frac{n}{12}(e_\infty - \sum e_c) is the degree of a monic polynomial PP collecting the remaining poles, and that PP solves the auxiliary equation. So the family is tried at line L5 and line L7 finds a solution. In case 3, the degree nn is 44, 66 or 1212 by Lemma 2, and all three are tried.

Conclusion. If the algorithm returns at line L8, Step 3 gives a Liouvillian solution. If a Liouvillian solution exists, Lemma 2 puts GG in case 1, 2 or 3, Lemma 3 shows that its condition holds at line L2, and Steps 2 and 4 show that some family succeeds. So the return at line L9 happens exactly when no Liouvillian solution exists.

Termination. There are at most three cases and three values of nn. Each point has finitely many local choices, at most 22 in case 1, 33 in case 2 and n+1n + 1 in case 3, and there are finitely many points, so there are finitely many families. For each family, line L7 solves a linear system of finite size, d+1d + 1 unknowns and finitely many equations from comparing coefficients, by Gaussian elimination. The Laurent expansions of line L4 need only finitely many terms. So the algorithm stops. ■\blacksquare

Back to Kovacic's algorithm