# Symbolic Implementation of Preliminary Group Classiffication for Ordinary Differential Equations

Authors: K. S. Govinder
Journal: Journal of Applied Mathematics
 (2013)

---

## Abstract

We apply the method of preliminary group classification to ordinary differential equations of the formy(n)=E(x,y,y',…,y(n-1),fi(x)),i=0,…,m. We show how this method can be implemented via the popular symmetry analysis package PROGRAM LIE provided that the package is supplemented with a small file. We then apply this method to an extension of the generalised Emden-Fowler equation given by y′′ = ∑i=25fixyi.


---

## Body

## 1. Introduction

Lie symmetry analysis [1–4] is a useful tool in the analysis of differential equations. It often provides routes to solutions where none (or few) exist in addition to usually providing a basis for other ad hoc approaches. A major disadvantage of the Lie approach was that it was quite cumbersome—one had to wade through a system of linear partial differential equations in order to find the symmetries (see [5] for an example of the complexity of the equations) before actually being able to use the symmetries themselves. Fortunately, there are a number of packages available today [6, 7] which remove this obstacle. We have used SYM [8] and PROGRAM LIE [9] to good effect. We mention PROGRAM LIE in particular as it provides results when many other (newer) packages fail.In the event that the equation being analysed includes arbitrary functions, the analysis usually has to be completed manually. One ends up with a differential equation for the arbitrary function, and one has to analyse this equation to determine the possible forms of the function which will lead to additional symmetries. However, this approach is largely dependent on the perspicacity and persistence of the practitioner; it is easy to omit relevant cases [10]. Fortunately, the method of preliminary group classification [11, 12] can be used to good effect in such situations. However, again, this method must largely be completed manually. While this is a partial classification, it has the advantage of involving algebraic manipulations and not the solution of differential equations. Here, we discuss the method and show how, in the case of ordinary differential equations where the arbitrary function depends only on the independent variable, one can implement the method computationally. We apply the method to an important equation in mathematical physics.


## 2. Preliminary Group Classification

In order to find the point symmetries of thenth order ordinary differential equation
(1)y(n)=E(x,y,y′,…,y(n-1),fi(x)),i=0,…,m,
where the fi are arbitrary functions of x, we search for an operator of the form
(2)U=ξ(x,y)∂∂x+η(x,y)∂∂y
that leaves (1) invariant; that is, we require
(3)U[n](1)|(1)=0.
In (3), U[n] is the nth prolongation of U given by [13]
(4)U[n]=U+∑i=1n‍{η(i)-∑j=1i‍(ij)y(i+1-j)ξ(j)}∂∂y(i),
where the superscripts refer to total differentiation with respect to x; that is,
(5)η′=Dxη,Dx=∂∂x+y′∂∂y+⋯,
and so on. Note also that (3) must take the equation into account (which is the reason for the subscript (1)).The result of (1) is a partial differential equation in ξ and η (and the fi(x)). Separating by coefficients of functions of y(n-1) (and then lower derivatives) results in an overdetermined system of linear partial differential equations. This system is then reduced to equations for the fi(x). Equation (1) will admit symmetries contingent on the solution of the equations for the fi(x).In the case of the preliminary group classification, on the other hand, we look for operators of the form(6)X=ξ(x,y)∂∂x+η(x,y)∂∂y+ωi(x,y,fi)∂∂fi,
where we have used the Einstein summation convention over repeated indices. Note that while ξ and η are functions in (x,y) space, the ωi are functions in (x,y,fi) space—the fi are now treated as differentiable variables. This operator generates an equivalence transformation of (1) if and only if [11]
(7)X~(y(n)-E(x,y,y′,…,y(n-1),fi))|y(n)=E(x,y,y′,…,y(n-1),fi)=0,(8)X~(fyi)=0.
Note that we have supplemented (1) with
(9)fyi=0
as the fi only depend on x.Now, we defineX~ as the appropriate prolongation of X defined via (4) but with the following modification:
(10)X~=X[n]|ωi=0+ωi(x,y,fi)∂∂fi+ωi′∂∂fyi,
where
(11)ωi′=D~yωi-fxiD~yξ,(12)D~y=∂∂y+fyi∂∂fi=∂∂y.
Regardless of the form of (1), condition (8) requires
(13)ωi′=0.
For this to hold for arbitrary fi, we must have (from (11))
(14)∂ωi∂y=ξy=0,
and so, in general, we have
(15)ξ=ξ(x)η=η(x,y)ωi=ωi(x,fi).
In other words, when we look for equivalence transformations of (1), we seek operators of the form
(16)U=ξ(x)∂∂x+η(x,y)∂∂y+ωi(x,fi)∂∂fi,
and then require
(17)U[n](1)|(1)=0,
where U[n] is given by (4) (in fact, the arguments of ωi will always be the fi and the functional dependent of the fi). Note that (17) is the standard condition that most computer packages invoked to find symmetries of differential equations. However, by ensuring that our coefficient functions are of the form (15), we are actually finding equivalence transformations.


## 3. Implementation inPROGRAM LIE

The full details of usingPROGRAM LIE can be found in [9] as well as the files lie.doc, morelie.doc, and readme.lie included with the distribution, so we will not go into the details here. We merely show how to implement the requirement (15) using the Emden-Fowler equation
(18)y′′=f(x)y2.
This equation (and variations thereof) has attracted enormous interest over the years. It arises in a number of applications, not the least being in the study of shear-free spherically symmetric spacetimes in general relativity [12, 14–23] (see [24] for a survey up to 1975 which, even then, had numerous references). Variations of (18) can be found in the study of stellar structure [25], thermodynamics [26], and other fields [27].The file usually created to analyse this equation for point symmetries is given by Algorithm1.Algorithm 1:
E
CHO:TRUE   $
NIND#:1   $
NDEP#:1   $
DE#:DV#:
{} $
DE#[
1
]:
U(1,1,1)  −  F(X1)  U(1)∧2   $
DV#[
1
]: U(1,1,1)   $
ECHO:FALSE   $
RDS()  $However, in the method of preliminary group classification, the arbitrary functionf(x) is treated as a variable. Thus, instead of one dependent variable, we will have two. As a result, the input file is modified to read as Algorithm 2.Algorithm 2:
E
CHO:TRUE   $
NIND#:1   $
NDEP#:2   $
DE#:DV#:
{
}   $
DE
#[
1
]
: U(1,1,1)  −  U(2)  U(1)∧2   $
DV
#[
1
]
: U(1,1,1)   $
ECHO:FALSE   $
RDS()   $A normal run ofPROGRAM LIE for (18) will require entering the command RDS(EF1,DAT); at the ? prompt (where we have assumed that the input file has been named EF1.DAT). Thereafter, one enters DOLIE();. Now, we examine the equations using the command A#; (which is usually not necessary in the standard analysis). This outputs the equations to be analysed to the screen. In this case, the output is Algorithm 3.Algorithm 3:
?  A#;
@:{DIF (F# (3, U1, X1), U1, 2),
DIF (F# (1, U1, X1), U1, 2) - 2*DIF (F# (3, U1, X1), U1, X1),
−3*U1∧2*U2*DIF (F# (3, U1, X1), U1)+  2*DIF (F# (1, U1, X1), U1, X1)−  DIF
(F# (3, U1, X1), X1, 2),
−2*U1*U2*F# (1, U1, X1) + U1∧2*U2*DIF (F# (1, U1, X1), U1)  −  2*U1∧2*U2*DIF
(F# (3, U1, X1), X1)
−  U1∧2*F# (2, U1, U2, X1) + DIF (F# (1, U1, X1), X1, 2),
UUU#1 == F# (1, U1, X1),
UUU#2 == F# (2, U1, U2, X1),
XXX#1 == F# (3, U1, X1)}The final three lines of output indicate the coefficient functions with the correspondenceξ →F#(3,U1,X1)+,η→F#(1,U1,X1) and ω→F#(2,U1,U2,X1). In order to implement the requirement (15), we need to enter, in turn, the following three commands at the ? prompt (see Algorithm 4).Algorithm 4:
E
VSA#(F#(1,U1,U2,X1),F#(1000,U1,X1));
EVSA#(F#(2,U1,U2,X1),F#(2000,U2,X1));
EVSA#(F#(3,U1,X1),F#(3000,X1));Continuing the programme viaDOSOLV();, DOCHECK();, and then DOVEC(); will produce the required equivalence transformations.Instead of entering these steps in manually, all one needs to do, after reading in the file name viaRDS(EF1,DAT); is to enter the command RDS(PGC,FIX); where pgc.fix is given in Algorithm 5.Algorithm 5:
S
CUT#:FALSE;
DOLIE();
A#;
A#:EVSUB(A#,F#(1,U1,U2,X1),F#(1000,U1,X1));
A#:EVSUB(A#,F#(2,U1,U2,X1),F#(2000,U2,X1));
A#:EVSUB(A#,F#(3,U1,U2,X1),F#(3000,X1));
DOSOLV()$
DOVEC();
% The End %
ECHO:FALSE$
RDS()$


## 4. Application to an Extended Emden-Fowler-Type Equation

A simple extension of (18), namely,
(19)y′′=∑i=25‍fi(x)yi
was analysed by Leach and Maharaj [28]. In the case of fi(x)=0, i=3⋯5, it reduces to (18). If we now relax the requirement to fi(x)≠0, the equation is central in the study of charged shear-free spherically symmetric spacetimes [15–17, 29–31]. Leach and Maharaj [28] analyse this general equation (19) and interpret it as a time-dependent anharmonic oscillator. We observe that the only case of (19) being linearisable via a point transformation is when it is linear, that is, when fi(x)=0, i=2⋯5.While a variety of methods have been used in the analysis of restricted forms of (19), the most successful method is that of Lie's theory of extended groups. In most cases, (except for [12] where the case of (18) was analysed), the method has been applied directly [19, 20]; that is, (19) (or subcases thereof) was assumed to possess a Lie point symmetry of the form (2). Here we apply the systematic method of preliminary group classification utilising pgc.fix in PROGRAM LIE. As we have more than one unknown function, we need to modify pgc.fix to allow for additional functions. All we need do is repeat the line A#:EVSUB(A#,F#(2,U1,U2,X1),F#(2000,U2,X1)); until we have covered all the functions (in our case we have four functions) and then increment the line A#:EVSUB(A#,F#(3,U1,U2,X1),F#(3000,X1)); appropriately.We find the following four equivalence transformations for (19):
(20)X1=x2∂∂x+xy∂∂y-(i+3)xfi∂∂fi,X2=-x∂∂x-y2∂∂y+i+32fi∂∂fi,X3=-∂∂x,X4=y∂∂y-(i-1)fi∂∂fi,
with Lie algebra LX given by Lie bracket relationships
(21)[X1,X2]=X1[X2,X3]=X3[X3,X1]=2X2.
This corresponds to A3,8⊕A1 in [32].As we are interested in functional forms forfi (all of which depend only on x), we need to consider projections of (20) onto the (x,fi) space; that is, we utilise the Lie algebra LG comprised of the operators
(22)G1=x2∂∂x-(i+3)xfi∂∂fi,G2=-x∂∂x+i+32fi∂∂fi,G3=-∂∂x,G4=-(i-1)fi∂∂fi.The main ideas of the method of preliminary group classification reside in the following facts [11]: (i) if fi=Fi(x) is invariant with respect to an element of LG, then (19) is invariant with respect to the corresponding element of LX, and (ii) all equations of the form
(23)y′′=∑i=25‍f~i(x),
which admit similar Lie algebras which are subalgebras of LG, must be equivalent with respect to the equivalence transformation obtained via LX. (While we have stated these conditions with regard to the specific equation (19) and Lie algebras LX and LG, they are applicable in a more general setting.) We use these facts to determine those forms of fi for which (19) admits symmetries.The subalgebras of low-dimensional Lie algebras have already been determined by Patera and Winternitz [32] (though there are some concerns over the accuracy of that work [10]). For A3,8⊕A1, the one-dimensional subalgebras are given by
(24)〈G1〉;〈G4〉;〈G2+αG4〉;〈G1+G3+βG4〉;〈G1+εG4〉,
where α≥0, β is arbitrary, and ε=±1. The forms of fi which allow for a symmetry (after projection onto the (x,y) space) of the form given above are given by calculating the invariants of each equivalence transformation. The results are given in Table 1. We also give the results for the i=2 case given the enormous interest in this particular form of the equation.Table 1
Invariant forms offi admitted by the equivalence transformations of (19) with λi arbitrary constants.
Operator
Invariant  form  offi
f
2
G
1
λ
i
x
-
(
i
+
3
)
λ
2
x
-
5
G
4
Null
G
2
+
α
G
4
λ
i
x
(
α
-
(
1
/
2
)
)
i
-
(
α
+
(
3
/
2
)
)
λ
2
x
α
-
(
5
/
2
)
G
1
+
G
3
+
β
G
4
λ
i
(
x
-
1
)
(
-
(
1
+
β
)
i
+
β
-
3
)
/
2
(
x
+
1
)
(
(
β
-
1
)
i
-
β
-
3
)
/
2
λ
2
(
x
-
1
)
-
(
β
+
5
)
/
2
(
x
+
1
)
(
β
-
5
)
/
2
G
1
+
ε
G
4
λ
i
x
-
(
i
+
3
)
exp
(
ε
(
i
-
1
)
/
x
)
λ
2
x
-
5
exp
(
ε
/
x
)Remark 1.
In Table1, we have all the cases for which (19) admits a single symmetry. What this means is that all other cases of (19) which admit a single symmetry can be transformed to one of the cases listed here. Importantly, the one case listed in [28] but missing from this table is that of fi=λiexp((i-1)x). However, this case is simply obtained by the combination G3+G4. It is a simple matter to transform this form of fi to the result in the final row of Table 1. However, we note that the result contained in that row has not previously been found.In [28], Leach and Maharaj provide a detailed Lie analysis of (19) including forms for fi which admit one or two symmetries. Here, we have been able to reproduce their results through a simple calculation and utilising a computer package. Interestingly, the forms of fi which admit two symmetries are easy to find, again without resorting to the laborious calculations in [28]. Indeed, all one needs to do is look at the two-dimensional subalgebras of A3,8⊕A1 [32] as follows:
(25)〈G1,G4〉;〈G2,G4〉;〈G1+G3,G4〉;〈G2+αG4,G1〉,
where α is arbitrary. Since G4 does not affect the invariant form of the fi, any invariant form generated by G1 and G2 would be unaffected by the operation of G4. Thus, the fi in the first row of Table 1 and the third row (with α=0) will have X4 as a second symmetry. This takes care of the first two cases in (25). In fact, this applies to the third case as well if we take β=0 in the fourth row of Table 1. Finally, we have the fourth case of (25). Here, we take the result of the third row in Table 1 and operate on it with G1. The result forces α=-(i+3)/(2(i-1)), and the invariant form of fi reduces to that in the first row. These results correspond to the three cases in [28] which admit two symmetries (up to scalings and translations). We are thus able to provide all the results of [28] in a straightforward, algorithmic manner.


## 5. Discussion

We have been able to provide a simple means of automating the search for (restricted) equivalence transformations for ordinary differential equations which have arbitrary functions of the independent variable. This was achieved by supplementingPROGRAM LIE [9] with some simple substitution commands based on results from the theory. We were able to apply this approach to an important equation in mathematical physics. All known results were regenerated in a straightforward, uncomplicated fashion.This approach will also work for partial differential equations. Again, the only class of equations for which the search for equivalence transformations can be automated is that which contains arbitrary functions of the independent variable. A similar fix topgc.fix will work in those cases.



---

*Source: 976271-2013-09-18.xml*