3.1 Case one algorithm

3.1.1 Step 1
3.1.2 Step 2
3.1.3 Step 3
3.1.4 Case one algorithm diagram

3.1.1 Step 1

This description is based on KOVACIC 1985 paper and not based on the Saunders paper.

We are given y=ry. It is assumed that the necessary conditions for case 1 have been met as given in the table above and r=st where gcd(s,t)=1 (in Maple this is done using the normal() command). The first step is to find the poles of r and the order of each pole. If there are no poles, then let the set of poles Γ will be empty.

If a pole x=c is of order 1 which means there is a factor 1(xc) in the partial fractions decomposition of r, then let [r]c=0αc+=1αc=1

If the pole c is of order 2, which means there is a factor 1(xc)2 in the partial fractions decomposition of r, then let [r]c=0αc+=12+121+4bαc=12121+4b

Where b is the coefficient of 1(xc)2 in the partial fraction decomposition of r. For example, if r=3(x2)2, then x=2 is a pole of order 2 and b=3. The coefficients are found using undetermined coefficients method. (Examples below show how).

If the pole is of order 4 or 6 or 8 and so on, then it is a little bit more complicated. We write 2v=order. For example, if the pole was order 4, then v=2 and if the pole was order 6, then v=3 and so on. Notice that for case 1, which we are discussing here, if pole is of order larger than 2, then only poles of order 4,6,8, are allowed. This is from the necessary condition. In this case, we add all terms involving 1(xc)i for 2iv in the Laurent series expansion of r (not r) as follows(1)[r]c=i=2vai(xc)i=a2(xc)2+a3(xc)3++av(xc)v

For an example if the pole was of order 6, then v=3. Therefore we need to add all terms in the Laurent series expansion of r from v=3 down to 2. As follows[r]c=i=23ai(xc)i=a2(xc)2+a3(xc)3

Lets look at an example of the above before going to the next step. Assume r=4x68x5+12x4+4x3+7x220x+44x4 There is only one pole at x=0 of order 4. Hence v=2. We need to find the Laurent series of r expanding around the specific pole c of order 2v. In Maple this is done using series(r,x=c). (2)r1x2521x94418x44332x2+ Hence [r]c=i=22ai(xc)i=a2(xc)2(3)=a2(x0)2

Comparing the above to Eq. 2 shows that the coefficient is a2 is (written now as just a to make it match the paper and use it in the following equation later on) a=1 So the term a is the coefficient of av(xc)v in the Laurent series expansion of r around x=c. In implementation of the algorithm the method of undetermined coefficients is used instead of actually finding Laurent series for r at x=c.

Now that we found [r]c for poles >2, we need to find its αc+,αc also. In this case αc+=12(ba+v) and αc=12(ba+v). Where a is the one we just found above. But what is b here? b is the coefficient of the term 1(xc)v+1 in r minus the coefficient of 1(xc)v+1 in [r]c which we found above in (2). For an example, using the above r its Laurent series expansion around x=0 isrx22x+3+1x+7x25x3+1x4 Then since a=1 from earlier and since v=2 here (since pole of order 4) then we look above for the coefficient of the term 1(x0)v+1=1(x0)3 in r itself. We see this is 5. Now we need to subtract from this value the coefficient of 1(x0)v+1=1(x0)3 from [r]c series from Eq (3). But since [r]c=1(x0)2 then there is no term 1(x0)3. Which means b=50=5

Therefore for this exampleαc+=12(ba+v)=12(51+2)=32αc=12(ba+v)=12(51+2)=72

We are now done with finding everything we need related to poles. The above needs to be done for each pole c in r.

We see that for each pole, we need to calculate 3 items. They are [r]c,αc+,αc.

Now we switch attention to the O() order. This is much easier. This is the order of r=st at infinity which is found from deg(t)deg(s). There are also three cases to consider.

If O()>2 then we write [r]=0α+=0α=1

If O()=2 then [r]=0. Now we calculate b for this case. This is given by the leading coefficient of s divided by the leading coefficient of t when gcd(s,t)=1. In this case [r]=0α+=12+121+4bα=12121+4b

Where here b is the coefficient of 1x2 in the Laurent series expansion of r at . But we do not need to find Laurent series expansion of r at to find b here. It can be found using b=lcoeff(s)lcoeff(t) where r=st and gcd(s,t)=1. And lcoeff is the leading coefficient. For example, if r=1+5x2x2 then b=12. If we took the Laurent series of r at which in Maple can be done using the command series(r,x=) then we will get 52x+121x2 which also give b=12.

And finally, if O() 0, then O() has to be negative and even number (conditions for case 1). Let the order of r at be 2v0. Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at .[r]=axv+z1xv1++zn And b is the coefficient of xv1 in r minus the coefficient of xv1 in ([r])2. Then α+=12(bav)α=12(bav)

This completes step 1 of the algorithm. We have found [r]c for each pole and associated αc+,αc and also found [r] and its associated α+,α. So, what will we do with these? In step 2 these are used to find all possible values of what is called d. For each non negative d, we will find a candidate ω. And use this candidate ω to find P(x) by solving P+2ωP+(ω+ω2r)P=0 (linear algebra problem). If we are able to find a P(x) for any one candidate ω then we stop and we have found the solution y=p(x)eωdx to the y=ry. Examples below will show how all this works.

3.1.2 Step 2

Recall that from step 1 we have found [r]c and its associated αc+,αc (this is done for each pole of r) and we have found [r] and its associated α+,α. From these we now found a possible d values and trying each d0. The value of d is found using the following for each combination of s(c) where s(c) is + or d=α±cαc± We keep only the non negative values of d. It is important to note that we have to find an integer positive value for d to continue. If no such value is found from the above, then we stop here as this means no Liouvillian solution exist using case 1. Then we go to case two or case three if it is available.

If we do find d0, then we now find corresponding candidate ωd usingωd=c((±)[r]c+αc±xc)+(±)[r]

3.1.3 Step 3

In this step we first attempt to find a polynomial p(x) of degree d, for ω found in step 2. This is done by solving p+2ωp+(ω+ω2r)p=0 For example, if d=2, then we let p(x)=x2+ax+b and if ω happened to be say 1x232x+x1, then by substituting these in the above, we can solve for a,b (if a solution exist). Then the solution to y=ry is y=p(x)eωdx. If the degree d=1 then we guess p(x)=x+a and try to solve for a. If the degree d=0, then we let p(x)=1, a constant. In the special case of p(x)=1, there is no coefficients ai to solve for. So we would just need to verify that ω+ω2r=0 In this case.

This completes the full algorithm for case 1. We will now go over many examples for case 1, showing how to implement this algorithm for each example.

The hardest part of the kovacic algorithm is just finding all the [r]c,αc±,[r],α±. Once these are found, the rest of the algorithm is much more direct.

3.1.4 Case one algorithm diagram

The following diagram summarized the above for case one.