3.2 worked examples for case one

3.2.1 Example 1
3.2.2 Example 2
3.2.3 Example 3
3.2.4 Example 4
3.2.5 Example 5
3.2.6 Example 6
3.2.7 Example 7
3.2.8 Example 8
3.2.9 Example 9
3.2.10 Example 10
3.2.11 Example 11
3.2.12 Example 12
3.2.13 Example 13
3.2.14 Example 14
3.2.15 Example 15

3.2.1 Example 1

Let y=4x68x5+12x4+4x3+7x220x+44x4y Therefore r=st=4x68x5+12x4+4x3+7x220x+44x4(1)=x22x+3+1x+7x25x3+1x4

Step 1 In this we find all [r]c and associated αc± for each pole. There is only one pole at x=0 of order 4. Hence 2v=4. And v=2. This is step (C3) now in the paper (1).

We need now to find Laurent series of r expanded around x=c=0. This is given by (using series command on the computer) (2)1x2521x94418x44332x2+ We need to add all terms in the Laurent series expansion of r from v=2 down to 2. Hence (3)[r]c=1(x0)2 Is only term from 2. Comparing the above to a(x0)2 shows that (4)a=1 Hence(5)[r]c=1x2αc+=12(ba+v)(6)αc=12(ba+v)

Where v=2 and a=1. We still need to find b. But b is the coefficient of the term 1(x0)v+1 in r minus the coefficient of 1(x0)v+1 in [r]c which we just found above. Looking at r from Eq (1) we see that the term 1(x0)v+1=1(x0)3 has coefficient 5. And looking at Eq (3) we see that there is no term 1(x0)3 in it. Hence b=50(7)=5

Now we found a,b, then (5,6) becomes (since v=2)(8)αc+=12(5+2)=32(9)αc=12(5+2)=72

We are done with all the poles.

Now we consider O() which is deg(t)deg(s)=46=2. Since this is even order and negative then 2v=2 or v=1 We need the Laurent series of r around . Using the computer this is [r]=x1+1x+321x2+158x3+ Now we only want the terms xi where 0iv. This implies the above is reduced to [r]=x1 The a is the coefficient of xv=x which isa=1 Now we need to find α± associated with [r]. For this we need to first find b. Recall from above that b is the coefficient of xv1 or x0 in r minus the coefficient of xv1=x0 in ([r])2. Since v=1 then we want the coefficient of x0 in r and subtract from it the coefficient of x0 in ([r])2. But([r])2=(x1)2=x2+12x

Hence the coefficient of x0 in ([r])2 is 1.  To find the coefficient of x0 in r long division is doner=st=4x68x5+12x4+4x3+7x220x+44x4=Q+R4x2

Where Q is the quotient and R is the remainder. This givesr=(x22x+3)+4x3+7x220x+44x2 For the case of v0 then the coefficient is read from Q above. Which is 3. Henceb=31=2

For the other case of v=0 then the coefficient of x1 in r is found using lcoeff(R)lcoeff(t) which will give 1 in this case. (More examples below).

Now that we found a,b, then from the above section describing the algorithm, we see in this case thatα+=12(bav)=12(211)=12α=12(bav)=12(211)=32

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at zero, and we have one O(), each with ± signs, then we set up this table to make it easier to work with. This implementsd=α±i=11αci± Therefore we obtain 4 possible d values.

pole c αc value O() value d d value
x=0 αc+=32 α+=12 α+(αc+)=12(32) 2
x=0 αc+=32 α=32 α(αc+)=32(32) 0
x=0 αc=72 α+=12 α+(αc)=12(72) 3
x=0 αc=72 α=32 α(αc)=32(72) 5

We see from the above that we took each pole in this problem (there is only one pole here at x=0) and its associated αc± with each α± and generated all possible d values from all the combinations. Hence we obtain 4 possible d values in this case. If we had 2 poles, then we would have 8 possible d values. Hence the maximum possible d values we can get is 2p+1 where p is number of poles. Now we remove all negative d values. Hence the trial d values remaining is d={0,2} Now for each d value, we generate ω usingω=(cs(c)[r]c+αcxc)+s()[r] To apply the above, we update the table above, now using only d=0,d=2 values, but also add columns for [r]c,[r] to make the computation easier. Here is the new table

pole c αc value s(c) [r]c O() value s() [r] d value
ω value
(cs(c)[r]c+αcxc)+s()[r]
x=0 αc+=32 + 1x2 α=32 x1 0 (+(1x2)+32x0)+()(x1)=1x232xx+1
x=0 αc+=32 + 1x2 α+=12 + x1 2 (+(1x2)+32x0)+(+)(x1)=x32x+1x21

The above are the two candidate ω values. For each ω we need to find polynomial P by solving (8)P+2ωP+(ω+ω2r)P=0 If we are able to find P, then we stop and the ode y=ry is solved. If we try all candidate ω and can not find P then this case is not successful and we go to the next case.

step 3 Now for each candidate ω we solve the above Eq (8). Starting with ω=1x232xx+1 associated with d=0 in the table, then (8) becomes

P+2(1x232xx+1)P+((32x22x31)+(1x232xx+1)2(4x68x5+12x4+4x3+7x220x+44x4))P=0P+(2x232x2x+2)P+(4x26x)P=0

Since this the case for d=0, then P has zero degree, Hence P is constant. Therefore the above simplifies to(4x26x)P=0 Which means4x26x=0 Which is not possible for all x. Hence d=0 do not generate valid P polynomial. We now try the case of d=2. Since d=2, it means the polynomial d is of degree two. Let P=x2+ax+b Substituting this in (8) using ω=x32x+1x21. This gives

P+2(x32x+1x21)P+((32x22x3+1)+(x32x+1x21)2(4x68x5+12x4+4x3+7x220x+44x4))P=0P+2(x32x+1x21)P+(4x4)P=0

Using P=x2+ax+b the above becomes2+2(x32x+1x21)(2x+a)+(4x4)(x2+ax+b)=02a4b3ax+2ax2+4bx2ax+4x4=0(2a4b4)+1x(34a+4b+4)+1x2(2a)2ax=0

Therefore2a4b4=034a+4b+4=02a=02a=0

hence a=0 from last equation. Using first or second equation gives b=1. Therefore a solution is found. Hence p(x)=x21 Therefore the solution to y=ry isy=p(x)eωdx=(x21)ex32x+1x21 dx=(x21)e1x32lnx+x22x=(x21)x32e1x+x22x

The second solution can be found by reduction of order.  

3.2.2 Example 2

Let y=(2x21)y Therefore r=st(1)=2x2x2

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=0 of order 2. In this case, from the description of the algorithm earlier, we write[r]c=0αc+=12+121+4bαc=12121+4b

Where b is the coefficient of 1(x0)2 in the partial fraction decomposition of r which is 2x21. Hence b=2. Therefore[r]c=0αc+=12+121+8=12+32=2αc=12121+8=1232=1

We are done with all the poles. Now we consider O() which is deg(t)deg(s)=22=0. This falls in the case 2v0. Hence v=0 We need the Laurent series of r around . Using the computer this is iix212x4i+. Hence we need the coefficient of x0 in this series (0 because that is value of v).[r]=ix0 Recall that [r] is the sum of terms of xj for 0jv or for j=0 since v=0. Looking at the series above, we see that a=i Which is the coefficient of the term x0. Now we need to find α± associated with [r]. For this we need to first find b which is the coefficient of xv1=1x in r minus the coefficient of xv1=1x in ([r])2. But([r])2=i2=1 Hence the coefficient of x1 in ([r])2 is 0. To find the coefficient of x1 in r long division is doner=st=2x2x2=Q+Rx2

Where Q is the quotient and R is the remainder. This givesr=1+2x2 For the other case of v=0 then the coefficient of x1 is found by looking up the coefficient in R of x to the degree of of t then subtracting one and dividing result by lcoeff(t). But degree of t is 2. Therefore we want the coefficient of x21 or x in R which is zero. Hence b=00=0.

Now that we found a,b, then from the above section describing the algorithm, we see in this case thatα+=12(bav)=12(00)=0α=12(bav)=12(00)=0

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at zero, and we have one O(), each with ± signs, then we set up this table to make it easier to work with. This implementsd=α±i=11αci± Therefore we obtain 4 possible d values.

pole c αc value O() value d d value
x=0 αc+=2 α+=0 α+(αc+)=0(2) 2
x=0 αc+=2 α=0 α(αc+)=0(2) 2
x=0 αc=1 α+=0 α+(αc)=0(1) 1
x=0 αc=1 α=0 α(αc)=0(1) 1

We see from the above that we took each pole in this problem (there is only one pole here at x=0) and its associated αc± with each α± and generated all possible d values from all the combinations. Hence we obtain 4 possible d values in this case. If we had 2 poles, then we would have 8 possible d values. Hence the maximum possible d values we can get is 2p+1 where p is number of poles. Now we remove all negative d values. Hence the trial d values remaining is d={1} There is one d value to try. We can pick any one of the two values of d generated since there are both d=1. Both will give same solution. We generate ω usingω=(cs(c)[r]c+αcxc)+s()[r] To apply the above, we update the table above, now using only the first d=1 value in the above table. (selecting the second d=1 row, will not change the final solution). but we also add columns for [r]c,[r] to make the computation easier. Here is the new table

pole c αc value s(c) [r]c O() value s() [r] d value
ω value
(cs(c)[r]c+αcxc)+s()[r]
x=0 αc=1 0 α+=0 + i 1 ((0)+1x0)+(+)(i)=1x+i

The above gives one candidate ω value to try. For this ω we need to find polynomial P by solving (8)P+2ωP+(ω+ω2r)P=0 If we are able to find P, then we stop and the ode y=ry is solved. If we try all candidate ω and can not find P then this case is not successful and we go to the next case.

step 3 Now for each candidate ω we solve the above Eq (8). Starting with ω=1x+i associated with first d=1 in the table, then (8) becomesP+2(1x+i)P+((1x+i)+(1x+i)2(2x21))P=0P+2(1x+i)P+(2ix)P=0

This needs to be solved for P. Since degree of p(x) is d=1. Let p=x+a. The above becomes2(1x+i)+(2ix)(x+a)=02x+2i2i2iax=02x2iax=0

Which meansa=i Hence we found the polynomial p(x)=x+i Therefore the solution to y=ry isy=peωdx=(x+i)e1x+i dx=(x+i)1xeix=x+ix(cosx+isinx)

The second solution can be found by reduction of order. The full general solution to y=(2x21)y isy(x)=c1x(xcosxsinx)+c2x(cosx+xsinx)

3.2.3 Example 3

Let y=(x2+3)y Therefore r=st(1)=x2+31

Step 1 In this step we find all [r]c and associated αc± for each pole. There are no poles. In this case αc±=0 (paper was not explicit in saying this, but from example 3 in paper this can be inferred). Hence the value of d is decided by α± only in this case.

Now we consider O() which is deg(t)deg(s)=02=2. This falls in the case 2v0. Hence 2v=2 or v=1 We need the Laurent series of r around . Using the computer this is x+32x98x3+ Hence we need the coefficient of x1 in this series (1 because that is value of v). Recall that [r] is the sum of terms of xj for 0jv or for j=0,1 since v=1. Looking at the series above, we see that a=1 Which is the coefficient of the term x. There is no term x0. Hence [r]=x Now we need to find α± associated with [r]. For this we need to first find b. Recall from above that b is the coefficient of xv1 or x0 in r minus the coefficient of xv1=x0 in ([r])2.  But ([r])2=x2. Hence the coefficient of x0 is zero. To find the coefficient of x0 in r long division is doner=st=x2+31=Q+R1

Where Q is the quotient and R is the remainder. This givesr=x2+3+01 For the case of v0 then the coefficient is read from Q above. Which is 3. Henceb=30=3

Now that we found a,b, then from the above section describing the algorithm, we see in this case thatα+=12(bav)=12(31)=1α=12(bav)=12(31)=2

This completes step 1 of the solution. We have found [r]c and its associated αc± (these are zero, in this example, since there are no poles) and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 We set up this table to make it easier to work with. This implementsd=α±i=10αci± Therefore we obtain 2 possible d values.

pole c αc values (all zero) O() value d d value
x= N/A αc=0 α+=1 α+=1 1
x= N/A αc=0 α=2 α=2 2

Picking the positive d integers, this givesd={1} There is one d value to try. We can pick any one of the two values of d generated since there are both d=1. Both will give same solution. We generate ω usingω=(cs(c)[r]c+αcxc)+s()[r] To apply the above, we update the table above, now using only the first d=1 value in the above table. (selecting the first d=1 row). but we also add columns for [r]c,[r] to make the computation easier. Here is the new table

pole c αc value s(c) [r]c O() value s() [r] d value
ω value
(cs(c)[r]c+αcxc)+s()[r]
x=0 αc=0 + 0 α+=1 + x 1 (+(0)+0)+(+)(x)=x

The above gives one candidate ω value to try. For this ω we need to find polynomial P by solving (8)P+2ωP+(ω+ω2r)P=0 If we are able to find P, then we stop and the ode y=ry is solved. If we try all candidate ω and can not find P then this case is not successful and we go to the next case.

step 3 Now for each candidate ω (there is only one in this example) we solve the above Eq (8). Starting with ω=x associated with first d=1 in the table, then (8) becomesP+2(x)P+((x)+(x)2(x2+3))P=0P+2xP+(1+x2x23)P=0P+2xP2P=0

This needs to be solved for P. Since degree of p(x) is d=1. Let p=x+a. The above becomes2x2(x+a)=02x2x2a=02a=0

Which meansa=0 Hence we found the polynomial p(x)=x Therefore the solution to y=ry isy=peωdx=xex dx=xex22

The second solution can be found by reduction of order. The full general solution to y=(x2+3)y isy(x)=c1xex22+c2(xex22πerf(x)+ex22)

3.2.4 Example 4

Let y=2x2y Therefore r=st(1)=2x2

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=0 of order 2. In this case, from the description of the algorithm earlier, we write[r]c=0αc+=12+121+4bαc=12121+4b

Where b is the coefficient of 1(x0)2 in the partial fraction decomposition of r which is 2x2. Hence b=2. Therefore[r]c=0αc+=12+121+8=12+32=2αc=12121+8=1232=1

We are done with all the poles. Now we consider O() which is deg(t)deg(s)=20=2. Since O()=2 then from the algorithm above [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=2x2 , hence b=21=2. Therefore[r]=0α+=12+121+4b=12+121+8=2α=12121+4b=12121+8=1

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at zero, and we have one O(), each with ± signs, then we set up this table to make it easier to work with. This implementsd=α±i=11αci± Therefore we obtain 4 possible d values.

pole c αc value O() value d d value
x=0 αc+=2 α+=2 α+(αc+)=2(2) 0
x=0 αc+=2 α=1 α(αc+)=1(2) 3
x=0 αc=1 α+=2 α+(αc)=2(1) 3
x=0 αc=1 α=1 α(αc)=1(1) 0

Hence the trial d values which are not negative are d={0,3} For d=0, since it shows in two rows, we take the first row. Now we generate ω for each d usingω=(cs(c)[r]c+αcxc)+s()[r] To apply the above, we update the table above, but we also add columns for [r]c,[r] to make the computation easier. Here is the new table

pole c αc value s(c) [r]c O() value s() [r] d value
ω value
(cs(c)[r]c+αcxc)+s()[r]
x=0 αc+=2 + 0 α+=2 + 0 0 (+(0)+2x0)+(+)(0)=2x
x=0 αc=1 0 α+=2 + 0 3 ((0)+1x0)+(+)(0)=1x

The above gives two candidate ω={2x,1x} value to try. For this ω we need to find polynomial P by solving (8)P+2ωP+(ω+ω2r)P=0 If we are able to find P, then we stop and the ode y=ry is solved. If we try all candidate ω and can not find P then this case is not successful and we go to the next case.

step 3 Now for each candidate ω we solve the above Eq (8). Starting with ω=2x associated with first d=0 in the table, then (8) becomesP+2(2x)P+((2x)+(2x)2(2x2))P=0P+4xP+(2x2+4x22x2)P=0P+4xP=0

This needs to be solved for P. Since degree of p(x) is d=0. Let p=a. The above becomes0=0 No unique solution. Hence d=0 did not work. Now we try the second ω=1x associated with d=3. Substituting in 8 givesP+2(1x)P+((1x)+(1x)2(2x2))P=0P+2xP+(1x2+1x22x2)P=0P2xP=0

Since d=3, let p(x)=x3+ax2+bx+c Then P2xP=0 becomes(6x+2a)2x(3x2+2ax+b)=02a2bx=0

Hence a=0,b=0 is solution. c is arbitrary. Taking c=0 thenp(x)=x3 Therefore the solution to y=ry isy=p(x)eωdx=x3e1x dx=x3elnx=x2

The second solution can be found by reduction of order. The full general solution to y=2x2y isy(x)=c11x+c2x2

3.2.5 Example 5

Let y=32x227x+27144x4288x3+144x2y Therefore r=st(1)=32x227x+27144x4288x3+144x2(2)=316x3161(x1)+3161x2+291(x1)2

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=0 of order 2 and one pole at x=1 of order 2. For the pole at x=0 since order is 2 then[r]c=0=0αc=0+=12+121+4bαc=0=12121+4b

Where b is the coefficient of 1(x0)2 in the partial fraction decomposition of r given in Eq (2) which is 316. Hence b=316. Therefore[r]c=0=0αc=0+=12+121+4(316)=147+12αc=0=12121+4(316)=12147

And for the pole at x=1 which is order 2, [r]c=1=0αc=1+=12+121+4bαc=1=12121+4b

Where b is the coefficient of 1(x1)2 in the partial fraction decomposition of r given in Eq (2) which is 29. Hence b=29. Therefore the above becomes[r]c=1=0αc=1+=12+121+4(29)=1617+12αc=1=12121+4(29)=121617

We are done with all the poles. Now we consider O() which is deg(t)deg(s)=42=2. Since O()=2 then from the algorithm above [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=32x227x+27144x4288x3+144x2 from Eq (1) , hence b=32144=29. Therefore[r]=0α+=12+121+4b=12+121+4(29)=1617+12α=12121+4b=12121+4(29)=121617

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at x=c1=0 and pole at x=c2=1, and we have one O(), each with ± signs. The following now implements d=α±i=12αci± By trying all possible combinations. There are 8 possible d values. This givesd1=α+(αc1++αc2+)=(1617+12)(147+12)(1617+12)=14712d2=α+(αc1++αc2)=(1617+12)(147+12)(121617)=131714712d3=α+(αc1+αc2+)=(1617+12)(12147)(1617+12)=14712d4=α+(αc1+αc2)=(1617+12)(12147)(121617)=147+131712d5=α(αc1++αc2+)=(121617)(147+12)(1617+12)=147131712d6=α(αc1++αc2)=(121617)(147+12)(121617)=14712d7=α(αc1+αc2+)=(121617)(12147)(1617+12)=147131712d8=α(αc1+αc2)=(121617)(12147)(121617)=14712

None of the d found are integer. Hence case 1 did not work we need to try case 2 and if that also fail, try case 3. We will find all three cases fail on this ode..

3.2.6 Example 6

Let y=y Therefore r=st=1 The necessary conditions for case 1 are met since zero order pole and O()=0.

Step 1 In this we find all [r]c and associated αc± for each pole. There are no poles. In this case [r]c=0 and αc±=0. Since O()=0, we are in case 2v0. Hence v=0. Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at .[r]=1 Hence a=1.  And b is the coefficient of xv1=x1 in r minus the coefficient of xv1=x1 in ([r])2. Hence b=0. Then α+=12(bav)=0α=12(bav)=0

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at zero and pole at x=1, and we have one O(), each with ± signs, then we set up this table to make it easier to work with. This implementsd=α±i=10αci± Therefore we obtain 2 possible d values.

pole c αc value O() value d d value
x=NA αc=0 α+=0 α+=0 0
x=NA αc=0 α=0 α+=0 0

Hence the trial d values which are not negative integers are d={0} For d=0, since it shows in two rows, we take the first row. Now we generate ω for each d usingω=(cs(c)[r]c+αcxc)+s()[r] To apply the above, we update the table above, but we also add columns for [r]c,[r] to make the computation easier. Here is the new table

pole c αc value s(c) [r]c O() value s() [r] d value
ω value
(cs(c)[r]c+αcxc)+s()[r]
x=NA αc=0 + 0 α+=0 + 0 0 (+(0)+0)+(+)(1)=1

The above gives candidate ω=1 value to try. For this ω we need to find polynomial P by solving (8)P+2ωP+(ω+ω2r)P=0 If we are able to find P, then we stop and the ode y=ry is solved.

step 3 Now for each candidate ω we solve the above Eq (8). Starting with ω=1 associated with d=0 in the table. Let p(x)=1 since degree is zero, then (8) becomesP+2(1)P+((1)+(1)2(1))P=0(0+11)=00=0

Hence p(x)=1 is valid solution. Therefore the solution to y=y isy=p(x)eωdx=e1 dx=ex

The second solution can be found by reduction of order. The full general solution to y=y isy(x)=c1ex+c2ex

3.2.7 Example 7

Let (x22x)y+(2x2)y+(2x2)y=0 Normalizing so that coefficient of y is one givesy+(2x2)(x22x)y+(2x2)(x22x)y=0(1)y+ay(x)+by=0

Hence a=(2x2)(x22x)b=(2x2)(x22x)

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14((2x2)(x22x))2+12ddx((2x2)(x22x))(2x2)(x22x)(4)=(x48x3+24x224x+12)4x2(x2)2

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=(x48x3+24x224x+12)4x2(x2)2z Therefore r=st=(x48x3+24x224x+12)4x2(x2)2

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=0 of order 2 and one pole at x=2 of order 2. For the pole at x=0 since order is 2 then[r]c=0=0αc=0+=12+121+4bαc=0=12121+4b

Where b is the coefficient of 1(x0)2 in the partial fraction decomposition of r which is (6)x48x3+24x224x+124x2(x2)2=14341x141(x2)+341(x2)2+341x2 Hence b=34. Therefore[r]c=0=0αc=0+=12+121+4(34)=32αc=0=12121+4(34)=12

And for the pole at x=2 which is order 2, [r]c=2=0αc=2+=12+121+4bαc=2=12121+4b

Where b is the coefficient of 1(x2)2 in the partial fraction decomposition of r given in Eq (6). Hence b=34. Therefore the above becomes[r]c=2=0αc=2+=12+121+4(34)=32αc=2=12121+4(34)=12

We are done with all the poles. Now we consider O() which is deg(t)deg(s)=44=0. Since O()=0, we are in case 2v0. Hence v=0. Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=121x+2x3+11x4+ We want only terms for 0iv but v=0 Therefore only the constant term. Hence(8)[r]=12 Which means a=12 As it is the the term that matches [r]=axv+. Hence ([r])2=14 and the coefficient of 1x is zero. To find the coefficient of 1x in r long division is doner=st=x48x3+24x224x+124x416x3+16x2=Q+R4x416x3+16x2

Where Q is the quotient and R is the remainder. This givesr=14+4x3+20x224x+124x416x3+16x2 Since v=0 then the coefficient of x1 in r is found using lcoeff(R)lcoeff(t). This gives 1 as seen from above. Hence b=10=1. Thereforeα+=12(bav)=12(1120)=1α=12(bav)=12(1120)=1

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at x=c1=0 and pole at x=c2=1, and we have one O(), each with ± signs. The following now implements d=α±i=12αci± By trying all possible combinations. There are 8 possible d values. This givesd1=1(αc1++αc2+)=1(32+32)=2d2=1(αc1++αc2)=1(3212)=0d3=1(αc1+αc2+)=1(12+32)=0d4=1(αc1+αc2)=1(1212)=2d5=1(αc1++αc2+)=1(32+32)=4d6=1(αc1++αc2)=1(3212)=2d7=1(αc1+αc2+)=1(12+32)=2d8=1(αc1+αc2)=1(1212)=0

Need to complete the solution next.

3.2.8 Example 8

Let (x2+1)y+2xy2y=0 Normalizing so that coefficient of y is one givesy+2x(x2+1)y2(x2+1)y=0(1)y+ay(x)+by=0

Hence a=2x(x2+1)b=2(x2+1)

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(2x(x2+1))2+12ddx(2x(x2+1))(2(x2+1))(4)=2x2+3(x2+1)2

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=2x2+3(x2+1)2z Therefore r=st=2x2+3(x2+1)2(5A)=2x2+3x4+2x2+1

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=i of order 2 and one pole at x=i of order 2. For the pole at x=i since order is 2 then[r]c1=0αc1+=12+121+4bαc1=12121+4b

Where b is the coefficient of 1(x+i)2 in the partial fraction decomposition of r which is (in Maple this can be found using fullparfrac. (6)2x2+3(x2+1)2=141(xi)2141(x+i)25i41(xi)+5i41x+i Hence b=14. Therefore[r]c=0=0αc1+=12+121+4(14)=12αc1=12121+4(14)=12

And for the pole at x=+i which is order 2, [r]c2=0αc2+=12+121+4bαc2=12121+4b

Where b is the coefficient of 1(xi)2 in the partial fraction decomposition of r given in Eq (6). Hence b=14. Therefore the above becomes[r]c=2=0αc=2+=12+121+4(14)=12αc=2=12121+4(14)=12

We are done with all the poles. Now we consider O() which is deg(t)deg(s)=42=2. Since O()=2, then [r]=0. Now b is the coefficient of 1x2 in r minus coefficient of 1x2 in [r]2 which is zero. the coefficient of 1x2 in r is found from lcoeff(s)lcoeff(t) which from Eq (5A) above is 21=2. Hence b=20=2.α+=12+121+4b=12+121+8=2α=12121+4b=12121+8=1

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Since we have a pole at x=i and pole at x=+i each of order 2, and we have one O(), each with ± signs. The following now implements d=α±i=12αci± By trying all possible combinations. There are 8 possible d values. This givesd1=2(αc1++αc2+)=2(12+12)=1d2=2(αc1++αc2)=2(12+12)=1d3=2(αc1+αc2+)=2(12+12)=1d4=2(αc1+αc2)=2(12+12)=1d5=1(αc1++αc2+)=1(12+12)=2d6=1(αc1++αc2)=1(12+12)=2d7=1(αc1+αc2+)=1(12+12)=2d8=1(αc1+αc2)=1(12+12)=2

Need to complete the solution next.

3.2.9 Example 9

Let (1x)y+xyy=0 Normalizing so that coefficient of y is one givesy+x(1x)y1(1x)y=0(1)y+ay(x)+by=0

Hence a=x(1x)b=1(1x)

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a+12ab=14(x(1x))2+12ddx(x(1x))(1(1x))(4)=x24x+64(x1)2

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=x24x+64(x1)2z Therefore r=st=x24x+64(x1)2(5A)=x24x+64x28x+4

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=1 of order 2. Hence[r]c1=0αc1+=12+121+4bαc1=12121+4b

Where b is the coefficient of 1(x1)2 in the partial fraction decomposition of r which is (in Maple this can be found using fullparfrac). (6)x24x+64(x1)2=14+34(x1)2121x1 Hence b=34. Therefore[r]c1=0αc1+=12+121+4(34)=32αc1=12121+4(34)=12

We are done with all the poles. Now we consider O() which is deg(t)deg(s)=22=0. Since O()=0, we are in case 2v0. Hence v=0 Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=1212x+1x3+114x4+ We want only terms for 0iv but v=0. Therefore only the constant term. Hence(8)[r]=12 Which means a=12 As it is the term that matches [r]=axv+.   Now we need to find b. This will be the coefficient of xv1=1x in r([r])2. But ([r])2=14. So coefficient of 1x is zero in ([r])2.  To find the coefficient of 1x in r long division is doner=st=x24x+64x28x+4=Q+R4x28x+4

Where Q is the quotient and R is the remainder. This givesr=14+2x+54x28x+4 Hence the coefficient of 1x is lcoeff(R)lcoeff(t)=24=12. Therefore b=120=12. Henceα+=12(bav)=12(12120)=12α=12(bav)=12(12120)=12

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=11αci± By trying all possible combinations. There are 4 possible d values. This givesd1=α+(αc1+)=1232=2d2=α+(αc1)=12(12)=0d3=α(αc1+)=1232=1d4=α(αc1)=12(12)=1

Using entry d=1 entry above now we find ω usingω=(cs(c)[r]c+αcs(c)xc)+s()[r] Henceω=(0+αc1xc1)+()12=12x112=121x112

If this ω fails to find p(x), then we will try the entry d=0. Which will giveω=121x1+12 Will finish the solution later.

3.2.10 Example 10

Let (1)yx2y3xy=0y+ay(x)+by=0

Hence a=x2b=3x

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(x2)2+12ddx(x2)(3x)(4)=14x4+2x

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=(14x4+2x)z Therefore r=st=14x4+2x

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There are no poles. Hence set Γ of poles is empty. Now we consider O() which is deg(t)deg(s)=04=4. We are in case 2v0. Hence 2v=4 or v=2 Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=x22+2x4x4+16x7 We want only terms for 0iv but v=2. Therefore need to sum terms x0,x1,x2. From the above we see that[r]=x22+0x1+0x0=x22

Which means a=12 As that is the term which matches [r]=ax2+.   Now we need to find b. This will be the coefficient of xv1=x in r minus coefficient of x in([r])2. But ([r])2=x44 Hence the coefficient is zero here. Now we find coefficient of x in r. But r= 14x4+2x hence the coefficient of x is 2. Thereforeb=20=2

Henceα+=12(bav)=12(2122)=1α=12(bav)=12(2122)=3

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=10αci± By trying all possible combinations. There are 4 possible d values. This givesd1=α+=1d2=α=3

Using d=1 entry above now we find ω usingω=(cs(c)[r]c+αcs(c)xc)+s()[r] Hence, since there are no poles, only last term above survives givingω=s()[r]=(+)x22=x22 Will finish the solution next.

3.2.11 Example 11

Let (1)y25xy+2y=0y+ay(x)+by=0

Hence a=25xb=2

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(25x)2+12ddx(25x)(2)(4)=x25525

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=(x25525)z Therefore r=st=x25525

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There are no poles. Hence set Γ of poles is empty. Now we consider O() which is deg(t)deg(s)=02=2. We are in case 2v0. Hence 2v=2 or v=1 Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=x51121x We want only terms for 0iv but v=1. Therefore need to sum terms x0,x1. From the above we see that[r]=x5 Which means a=15 As it is the the term that matches [r]=ax.   Now we need to find b. This will be the coefficient of xv1=x0 in r minus the coefficient of x0 in ([r])2. But ([r])2=(x5)2=x225

Hence the coefficient of x0 is zero. Now we find coefficient of x0 in r. Since r=x2255525 then coefficient of x0 is 5525=115. Hence b=1150=115. Thereforeα+=12(bav)=12(115151)=6α=12(bav)=12(115151)=5

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=10αci± By trying all possible combinations. There are 2 possible d values since no poles. d1=α+=6d2=α=5

Using d=5 entry above now we find ω usingω=(cs(c)[r]c+αcs(c)xc)+s()[r] Hence, since there are no poles, only last term above survives givingω=s()[r]=()x5=x5 Will finish the solution next.

3.2.12 Example 12

Let (1)y+x21xy+x2y=0y+ay(x)+by=0

Hence a=x21xb=x2

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(x21x)2+12ddx(x21x)x2(4)=3(x41)4x2

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=3(x41)4x2z Therefore r=st=3(x41)4x2

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=0 of order 2. Hence

[r]c1=0αc1+=12+121+4bαc1=12121+4b

Where b is the coefficient of 1(x0)2 in the partial fraction decomposition of r which is (in Maple this can be found using fullparfrac). (6)3(x41)4x2=34x2+341x2 Hence b=34. Therefore[r]c1=0αc1+=12+121+4(34)=32αc1=12121+4(34)=12

Now we consider O() which is deg(t)deg(s)=24=2. We are in case 2v0. Hence 2v=2 or v=1 Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=i32xi341x3+ We want only terms for 0iv but v=1. Therefore need to sum terms x0,x1. From the above we see that[r]=i32x Which means a=i32 As it is the the term that matches [r]=ax.   Now we need to find b. This will be the coefficient of xv1=x0 in r minus the coefficient of x0 in ([r])2. But ([r])2=(i32x)2=34x2

Hence the coefficient is zero here. Now we find coefficient of x0 in r. Since r=34x2+341x2 then coefficient of x0 is zero also. Hence b=00=0. Thereforeα+=12(bav)=12(01)=12α=12(bav)=12(01)=12

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=10αci± By trying all possible combinations. There are 4 possible d values. This givesd1=α+(αc1+)=1232=1d2=α+(αc1)=12(12)=0d3=α(αc1+)=1232=2d4=α(αc1)=12(12)=0

Using first d=0 entry above now we find ω usingω=(cs(c)[r]c+αcs(c)xc)+s()[r] Henceω=(1)(0)+12x0+(+)(i32x)=12x+i32x Notice that if have taken the last d=0 entry, we will getω=(1)(0)+12x0+()(i32x)=12xi32x In practice, we will try the second one if the first fails. Will finish the solution next.

3.2.13 Example 13

Let (1)(1x)y+xyy=0y+ay(x)+by=0

Hence a=x1xb=11x

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(x1x)2+12ddx(x1x)(11x)(4)=x24x+64(x1)2

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=x24x+64(x1)2z Therefore r=st=x24x+64(x1)2

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There is one pole at x=1 of order 2. Hence

[r]c1=0αc1+=12+121+4bαc1=12121+4b

Where b is the coefficient of 1(x1)2 in the partial fraction decomposition of r which is (6)x24x+64(x1)2=14+34(x1)2121x1 Hence b=34. Therefore[r]c1=0αc1+=12+121+4(34)=32αc1=12121+4(34)=12

Now we consider O() which is deg(t)deg(s)=22=0. We are in case 2v0. Hence 2v=0 or v=0 Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=1212x+1x3+ But we want only terms for 0iv but v=0. Therefore need to sum terms x0. Which is the constant term(8)[r]=12 Which means a=12 Now we need to find b. Which is given by the coefficient of 1x in r minus coefficient of 1x in ([r])2. But ([r])2=14 Hence the coefficient is zero here.  To find the coefficient of 1x in r long division is done (here paper is not clear at all what it means by coefficient of xv1 in r as that depends on the form of r and how it is represented). This method of using long division to find the coefficient works to obtain the correct result. But it is still not clear what the paper actually means by this.r=st=x24x+64x28x+4=Q+R4x28x+4

Where Q is the quotient and R is the remainder. This givesr=14+2x+54x28x+4 For the case of v=0 then the coefficient of x1 is  lcoeff(R)lcoeff(t)=24=12. Notice that if we just expanded r it will give x24(x1)2x(x1)2+32(x1)2 and we see there is no coefficient of 1x in this representation. So we would have obtain wrong value of b if we just used what the paper said. Now b=120=12. Therefore α+=12(bav)=12(12120)=12α=12(bav)=12(12120)=12

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=11αci± By trying all possible combinations. There are 4 possible d values. This givesd1=α+(αc1+)=12(32)=1d2=α+(αc1)=12(12)=1d3=α(αc1+)=12(32)=2d4=α(αc1)=12(12)=0

Using first d=1 entry from above we find ω usingω=(cs(c)[r]c+αcs(c)xc)+s()[r] Henceω=((1)(0)+12x1)+(+)(12)=12(x1)+12 And if use the last entry d=0 thenω(=(1)(0)+12x1)+()(12x)=12(x1)12 In practice, we will try the second one if the first fails. Will finish the solution next.

3.2.14 Example 14

Let (1)3y+xy4y=0y+ay(x)+by=0

Hence a=x3b=43

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(x3)2+12ddx(x3)(43)(4)=x236+32

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=x2+5436z Therefore r=st=x2+5436

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There are no poles. Hence Γ is empty.

Now we consider O() which is deg(t)deg(s)=02=2. We are in case 2v0. Hence 2v=2 or v=1 Then now [r] is the sum of all terms xi for 0iv in the Laurent series expansion of r at which is (7)[r]=x6+921x+ But we want only terms for 0iv but v=1. Therefore need to sum terms x0,x1. Therefore(8)[r]=x6 Which means a=16 Now we need to find b. Which is given by the coefficient of xv1=x0 or the constant term in r minus coefficient of x0 in ([r])2. But ([r])2=x236. Hence the coefficient of x0 is zero here. Now we find coefficient of x0 in r. Since r=x236+5436 then the coefficient of x0 is 5436=32. Hence b=320=32. Thereforeα+=12(bav)=12(32161)=4α=12(bav)=12(32161)=5

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=10αci± By trying all possible combinations. There are 2 possible d values (since no poles). This givesd1=α+=4d2=α=5

Using d=4 entry from above we find ω usingω=(cs(c)[r]c+αcs(c)xc)+s()[r] Henceω=(0)+(+)(x6)=x6

3.2.15 Example 15

Let (1)(4x2)y+xy+2y=0y+ay(x)+by=0

Hence a=x(4x2)b=2(4x2)

It is first transformed to the following ode by eliminating the first derivative (2)z=rz Using what is known as the Liouville transformation given by(3)y=ze12adx Where it can be found that r in (2) is given by r=14a2+12ab=14(x(4x2))2+12ddx(x(4x2))(2(4x2))(4)=11x2244(x24)2

Hence the DE we will solve using Kovacic algorithm is Eq (2) which is (5)z=11x2244(x24)2z Therefore r=st(5A)=11x2244(x24)2=11x2244x432x2+64

The necessary conditions for case 1 are met.

Step 1 In this we find all [r]c and associated αc± for each pole. There are two poles at ±2 each of order 2. For pole at x=2=c1

[r]c1=0αc1+=12+121+4bαc1=12121+4b

Where b is the coefficient of 1(x2)2 in the partial fraction decomposition of r which is (6)11x2244(x24)2=5161(x+2)2+5161(x2)217321(x+2)+17321(x2) Hence b=516. Therefore[r]c1=0αc1+=12+121+4(516)=54αc1=12121+4(516)=14

And for pole at x=2=c2[r]c2=0αc2+=12+121+4(516)=54αc2=12121+4(516)=14

Now we consider O() which is deg(t)deg(s)=42=2. Therefore v=1. In this case (7)[r]=0 And α±=12±121+4b The coefficient of xv1=x0 is zero in [r]2. To find coefficient of x0 in r=11x2244(x24)2 and since v=0 then using b=lcoeff(s)lcoeff(t) gives 114. Hence b=1140=114. Thereforeα+=12+121+4(114)=12+3α=12121+4(114)=123

This completes step 1 of the solution. We have found [r]c and its associated αc± and found [r] and its associated α±. Now we go to step 2 which is to find the ds.

step 2 Now d is found usingd=α±i=10αci± By trying all possible combinations. There are 8 possible d values. These ared1=α+(αc1++αc2+)=12+3(54+54)=32d2=α+(αc1++αc2)=12+3(5414)=312d3=α+(αc1+αc2+)=12+3(14+54)=312d4=α+(αc1+αc2)=12+3(1414)=3+1d5=α(αc1++αc2+)=123(54+54)=32d6=α(αc1++αc2)=123(5414)=312d7=α(αc1+αc2+)=123(14+54)=312d8=α(αc1+αc2)=123(1414)=13

There are no d0 integers. This means case 1 does not apply. We need to try case 2 now.