A Direct Algorithm Maple Package of One-Dimensional Optimal System for Group Invariant Solutions
Zhang Lin1, Han Zhong1, Chen Yong1, 2, †
Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai 200062, China
Department of Physics, Zhejiang Normal University, Jinhua 321004, China

 

† Corresponding author. E-mail: ychen@sei.ecnu.edu.cn

Abstract
Abstract

To construct the one-dimensional optimal system of finite dimensional Lie algebra automatically, we develop a new Maple package One Optimal System. Meanwhile, we propose a new method to calculate the adjoint transformation matrix and find all the invariants of Lie algebra in spite of Killing form checking possible constraints of each classification. Besides, a new conception called invariance set is raised. Moreover, this Maple package is proved to be more efficiency and precise than before by applying it to some classic examples.

1 Introduction

Symmetry group theory has a priority to gain much concern in finding exact solutions of differential equations.[15] The theory is commonly applied to construct explicit solutions for integrable and non-integrable nonlinear equations. Based on the theory, an original nonlinear system of any given subgroup can be reduced to a system with fewer independent variables. The reduction of the variables is established on group invariant solutions. Since infinite subgroups always exist, which means the impossibility of finding all the group invariant solutions[69] to the given system, the classification[1020] of symmetry subgroup is essentially important in solving the problem. Then to find those complete but inequivalent group-invariant solutions is expected. From now on, many systematic and effective method has formulated, and the concept of “optimal system” for group-invariant solutions is proposed to solve the problem.

People always find an optimal system of subalgebras instead of finding subgroups, which are equivalent. Ovsiannikov[21] initially uses the adjoint representation[22] of a Lie group on Lie algebra to classify group-invariant solutions and the method is developed by Olver, Winternitz, Zassenhaus, and Patera[2324] afterwards. In particular, Olver[22] gave an ingenious method, which is more simple to calculate. For the one-dimensional optimal system, he successfully applied the method in the Korteweg-de Vries (KdV) equation and the heat equation. Later on, many new methods have appeared and the mechanization has been realized[2531] through computer. The mechanized realization simplifies complicated manual computation efficiently. So to many important partial differential equations, this has always been paid substantial concentration.

The objective of this paper is to give a new Maple package for constructing the one-dimensional optimal system,[32] which can be more precise and common used. Here we propose a new symbolic computation algorithm and develop a Maple package named One Optimal System. For a given Lie algebra, it can find different cases of classification and the corresponding one-dimensional optimal system automatically. Compared to existing software packages, the improvement of the new software package is that it gets more precise result, which is equal to Olver’s result. What is more, it can be more common used in many important partial differential equations. So we have made a meaningful improvement in constructing the one-dimensional optimal system of finite dimensional Lie algebra.

This paper is arranged as follows. In sec. 2, we present some necessary definitions and formulas refereed in the paper. Section 3 includes an illustration of essential algorithm details and description of some vital functions and variables. In sec. 4, we verify the validity and efficiency of the software package by applying it to some well-known partial differential equations. In sec. 5, we generalize the advantages and innovations of our work and propose future work expectation.

2 Conceptions and Formulas
2.1 Optimal System

Suppose G is a Lie group. We define H as an optimal system of s-parameter subgroups, which are inequivalent to each other. It is a system of differential equations in p independent variables based on a family of group-invariant solutions. For any elements not in H can be transformed to the ones included in H. In general, the subgroups in the optimal system can represent the whole elements from the infinite subgroups of a given equation. Commonly, we use symmetry subalgebra to form an optimal system instead of subgroups.

2.2 Adjoint Representation

Let be an n-dimensional Lie algebra and be n generators in the vector fields of . The adjoint representation is defined as

and if we suppose , we can apply the adjoint representation of v1 to v as follows

with , . Furthermore, we can transform formula (2) into the following matrix form:

In the same manner, the corresponding matrix A2, can be received by applying the adjoint action of to v. Then we can construct the adjoint transformation matrix A in the following form

The product of do not have to be multiplied in an exact order in spite of receiving different A. On the other hand, formula (2) means to apply the product of adjoint action to v. So we have

Thus, generator can be transformed to through the adjoint transformation matrix A. That is to say is equivalent to under the adjoint action.

2.3 Invariant

Suppose a real function ϕ. For all and all , it satisfies

Then ϕ can be called an invariant. For any invariant, two vectors v and are equivalent under the adjoint action. As Olver[21] said, it is very important to find the invariant that decides how far we can simplify a Lie algebra. We expect to find all the invariants of the given symmetry algebra in spite of Killing form.

2.4 Classification Rules

We classify all the generators by assigning different values to the invariants. The rules of classification are as follows:

(i) Check every invariant’s degree. If we find the degree of an invariant is even, we can make it either 1 or 0. On the other hand, if the degree is odd, we can make it 1, −1 or 0.

(ii) For every invariant, it must be assigned either 1 or −1 (if degree is odd) firstly. And in each case, we must and just make only one invariant (marked as a flag invariant) either 1 or −1. Then the remaining invariants are assigned c at the same time. After that, we can make the flag invariant 0 with any other invariant assigned either 1 or −1. And the remaining invariants are assigned c at the same time.

(iii) Once an invariant is assigned 0, it cannot be assigned c any more. When all the invariants have been assigned either 1 or −1. The last case must be all the invariants are assigned 0.

2.5 Invariance Set

Suppose a nonzero vector , which is an ordinary generator of Lie algebra . , n arbitrary coefficients of v. We assume that all of are not 0 with the rest of coefficients of v are 0. Then v can be transformed to an equivalent generator with none of are 0. The transformation is based on formula (5). If v satisfies above transformation, is an invariance set. We should notice that not all the Lie algebra have an invariance set. The existence of invariance set is not relative to the generator v you choose, but depends on the adjoint transformation matrix A.

3 Algorithms

We developed an automated software package One Optimal System on Maple versions 16 and above. The package is initialized by the command with One Optimal System. The software package is consisted of Lie_Bracket, commutator, lie_bracket, commutator_table, lie_bracket_cal, Linear Co, e_index, e0,eps, data_data, fun_set, n_deta, deta_pd, ep_solve, judge_s, special_e, aaa_solve, get_rid, get_solution, beauty_m, check_30, exper_30, check_fun, trans_ornot, excep_vv, deno_ax, beauty_c, and One Optimal functions. The main function is One Optimal:= proc(vs., consts). We will illustrate the whole software flow and introduce algorithm of fundamental steps with some important functions and parameters description.

3.1 Overview of One Optimal System

Given the m-dimensional Lie algebra . Firstly, we can get the commutator table by formula (7) for every pairs of generators:

Assume and . By applying the adjoint representation of w to v, we have

where is gained from the commutator table.

According to the definition of invariants (6), we get

Take the derivative of Eq. (9) with respect to ε and set ε = 0

By extracting the coefficients of bi, , we obtain linear differential equations about . Solve the equations, the invariant ϕ is obtained. According to the commutator table, we can get the adjoint transformation matrix by using formula (1). Then we classified different cases through the classification rules. For each case, we must choose a representative generator and check the chosen generator in case of an incomplete representation. What is more, we should also check the existence of invariance set for more representative generators. Finally, we get all the representative generators to compose the one-dimensional optimal system.

3.2 Generation of Adjoint Transformation Matrix

We can get the adjoint representation table by using formula (2), then the adjoint transformation matrix A is obtained by calculating Eqs. (3) and (4). However, it remains a problem to do in this way. In formula (1), the degree of adjoint representation is infinite. So we will have difficulty in constructing an infinite series expansion through symbolic computation. In this situation, constructing a finite estimated series expansion is commonly to be done, but it definitely makes the result imprecise.

Here we proposed a new algorithm to solve the problem. Without calculating formula (2) directly, we extract every element of the commutator table to construct Ai. Take A1 for example, it mainly depends on line 1 of the commutator table (line i is for Ai). Suppose a vector in line 1 and a matrix A11. Then in A11, we can get , where , . After making exponential calculation of A11, we will obtain A1. In software package, function e_index:= proc (ct0::Matrix) realizes this process.

Here is an example for KdV equation. Table 1 is the commutator table and Eq. (11) presents Ai, .

Table 1

The commutator table of KdV equation.

.

Compared with the old method, the new method is more sufficient and it is much easier for us to realize the calculating process through symbolic computation. Above all, the result is more accuracy than before.

Functions implementing this part as well as some important parameters are in Table 2.

Table 2

Functions and parameters of the One Optimal System.

.
3.3 Classification of One Optimal System

After we get all the invariants, we can classify each case of one-dimensional optimal system according to classification rules (details in Table 3).

(i) We assume invariant1 and invariant2 are origin invariants and initialize a current invariant set to put them in. For every cases, we assign exact value to the invariants in the current invariants set according to classification rules.

(ii) When there is no invariant assigned c, we substitute the case constraints into the differential equation to find if new invariants (assuming invariant3 and invariant4 represents new invariants in each case) exists. If all the invariants in the current set are not assigned 0, we should make all new invariants c. On the other hand, if all the invariants in the current set are assigned 0, we can add the new invariants into the current invariants set and assign exact value to them according to classification rules.

(iii) What we should notice is the new invariants are not constant if they are not added to the current set. The new invariants’ expression depend on the differential equation, which are substituted different case constraints.

(iv) The last column of Table 3 are used to check the degree of invariants.

Table 3

Different cases of classification for an optimal system.

.

Functions implementing this part as well as some important parameters are described in Table 4.

Table 4

Functions and parameters of the One Optimal System.

.
3.4 Find the Representative Generator

(i) Find a representative generator

For each case, we must choose a representative generator and it is better to be as simple as possible. For this intention, we solve case constraint firstly. Then we assume each ai showing in the numerator of the solution to be 0, except the one showing up in the denominator as well. And the one in the denominator should be assigned either 1 or −1, determined by another constraint (expressions like ) in the solution. This method can make sure of choosing more simple representative generators.

(ii) Check the representative generator

By solving Eq. (5), we can determine if the chosen representative generator is appropriate for this case. If there is a solution exists, we should also judge if there are some constraints as follows in the solution.

(a) Exists expressions like

(b) Exists denominator ai.

If so, this will make the chosen representative generator not complete. That means it can not represent the whole generators of this case. Then we should find another representative generator to complement the chosen one.

For the first situation, we give two examples in the following Table 5.

Table 5

Two examples of the first situation.

.

(i) If the same constraint also exists in the case constraints, we do not need to find another generator as the constraints exist originally in this case.

(ii) Solution1 is for the case constraint and solution2 is for Eq. (5), generator1 is the origin generator and generator2 is the one to make complement.

Fig. 1 Software flow diagram of the One Optimal System.

For this situation, it is related to the invariance set and we have a check method in Fig. 2. (Remark: , .

Fig. 2 Software flow diagram of situation 2.

If we get the invariance set, we can classify two cases as follows:

(i) Make all the variants 0 in the invariance set.

(ii) Make not all the variants 0 in the invariance set.

Then we can get two new representative generators. Through the two steps above, we can find the representative generator in every cases, but there is still a special situation we should also take a consideration. Take KdV equation for example. When we find the representative generators under the case constraints , we can list v1, v2, v3 as candidate representative generators corresponding to , , respectively. From the adjoint matrix of KdV, we can see from the adjoint transformation matrix (14) when the generator satisfies , the second and third column of the matrix are 0 constantly by computing Eq. (5). So for this situation, we should check all of the candidate representative generators to see whether they are equal or not. Finally, we should list all the unequal ones to complement,

Functions implementing this part as well as some important parameters are described as in Table 6.

Table 6

Functions and parameters of the One Optimal System.

.
4 Examples

According to the previous software package One Optimal,[33] which generates one-dimensional optimal system of finite dimensional Lie Algebra, the result has to adjust the coefficients containing ε, which is uncertainty to give a complete classification. This uncertainty makes problems that some of the representative generators of the one-dimensional optimal system are absent or belong to the same case. The new software package One Optimal System can overcome this problem by giving a direct classification, whose answer is equal to Olver’a result. In this chapter, we apply it to many important equations to check its effectiveness and correctness.

4.1 KdV (Korteweg-de Vries) Equation

which is generated by the vector fields

—Inputs:

with (One Optimal System):

alias :

kdv:=[diff , diff , t*diff +diff , x*diff +3*t*diff -2*u*diff :

One Optimal (kdv, {});

—Outputs:

The commutator table is as Table 7

Table 7

The commutator table of KdV equation.

.

The origin invariants are: .

The cases discussed: , .

The Optimal System is: .

According to Olver,[22] the one-dimensional optimal system of KdV Equation is

The result ( represents the same vector in Table 7 is just the same as our answer.

4.2 Heat Equation

which is generated by the vector fields

—Inputs:

with (One Optimal System):

alias

heat:=[diff , diff , diff , diff diff , diff diff , diff diff diff :

One Optimal (heat, .

—Outputs:

The commutator table is as Table 8

Table 8

The commutator table of heat equation.

.

The origin invariants are: . The cases discussed: , , , , .

The Optimal System is: .

According to Olver,[22] the one-dimensional optimal system of Heat Equation is

We can see (a) (c1) (c2) (d) is different from our answer. However, we can get these equivalent relationship as follows through the adjoint representative matrix A action in formula (5) (manual prove see Eq. (19))

Thus, we get the equivalent answer of Heat Equation to Olver.

4.3 NS (Navier-Stokes) Equation

which is generated by the vector fields (we only choose four of its generators)

—Inputs:

with (One Optimal System):

alias :

, diff diff :

One Optimal (ns,{}).

—Outputs:

The commutator table is as Table 9

Table 9

The commutator table of NS equation.

.

The origin invariants are: .

The cases discussed: , , , . The Optimal System is: .

4.4 ZK (Zakharove-Kuznetsov) Equation

which is generated by the vector fields

—Inputs:

With (One Optimal System):

Alias :

, , , , diff , diff +diff , diff + diff + diff diff diff :

One Optimal (zk, ).

—Outputs:

The commutator table is as Table 10.

Table 10

The commutator table of ZK equation.

.

The origin invariants are:

The cases discussed: , , , .

The Optimal System is: .

5 Conclusions

Group invariant solutions have been used to describe general solutions to PDE systems. They can be illustrated by the invariance of PDE symmetry group. We need to find group invariant solutions due to the existence of infinite different symmetry groups. To classify invariant solutions in Lie algebra, we propose a new Maple package called One Optimal System. This has a significant meaning in the mathematics mechanization and machine learning. The mechanized realization efficiently make complicated manual computation much more simple. Especially, to many important partial differential equations, many researchers have paid substantial concentration to the theme. Compared with the previous software package,[33] this new software package is obviously more efficient than the previous one, which costs less time in operation. And we can get a perfect result that is precisely consistent with Olver’s result. And the algorithm of the new software package is more direct and programming than the previous one without many manual settings. Furthermore, the algorithm structure can be used to r-parameter optimal systems for further developing, which is difficult for the previous one. In this article, firstly, we use a new algorithm to calculate the adjoint transformation matrix, which effectively makes the mechanized realization much easier. Secondly, we find all the origin invariants (new ones are found in the process of classification) of a Lie algebra in spite of Killing form, then the classification rules of assigning different values to invariants regularly ensure the completeness of one optimal system. Last but not least, we check constraints of the chosen representative generator in simplest form to avoid overlooking some special situations. Simultaneously, we propose an important conception of invariance set. The software package can be applied to not only single partial differential equations, but also to ODEs and systems of differential equations. The original (1+1)-dimensional system of differential equations can be reduced to inequivalent ODEs, as a result of the one-dimensional optimal system of the symmetry Lie algebra with corresponding group invariant solutions recovered.

We realize calculation process of the one-dimensional optimal system by developing One Optimal System software package, which is demonstrated effective, precise and systemic. This is proved to simplify the manual computation significantly and has made a contribution to mathematics mechanization. To achieve more pervasive mechanized application of this method, we will devote to developing new software package of r-parameter optimal systems in the future.

Reference
[1] Lie S. Arch. Math. 6 1881 328
[2] Lin J. Wang H. Optics Commun. 298 2013 185
[3] Guo A. L. Lin J. Commun. Theor. Phys. 57 2012 523
[4] Liu Y. K. Li B. Chin. J. Phys. 54 2016 718
[5] Cheng W. G. Li B. Chen Y. Commun. Nonl. Sci. Numer. Simu. 29 2015 198
[6] Hu X. R. Chen Y. Appl. Math. Comput. 215 2009 1141
[7] Dong Z. Z. Huang F. Chen Y. Z. Naturforsch. 66a 2011 75
[8] Hu X. R. Dong Z. Z. Huang F. Chen Y. Z. Naturforsch. 65a 2010 1
[9] Dong Z. Z. Chen Y. Kong D. X. Wang Z. G. Chin. Ann. Math. 33 2010 309
[10] Ibragimov N. H. CRC Handbook of Lie Group Analysis of Differential Equations Boca Raton CRC Press 1994
[11] Hu X. R. Chen Y. Qian L. J. Commun. Theor. Phys. 55 2011 737
[12] Dong Z. Z. Chen Y. Commun. Theor. Phys. 54 2010 389
[13] Galas F. Richter E. W. Physica D 50 1991 297
[14] Gagnon L. Winternitz P. J. Phys. A 22 1989 469
[15] Gagnon L. Grammaticos B. Ramani A. Winternitz P. J. Phys. A 22 1989 499
[16] Gagnon L. Winternitz P. J. Phys. A 21 1988 1493
[17] Chou K. S. Li G. X. Qu C. Z. J. Math. Anal. Appl. 261 2001 2 741
[18] Hu X. R. Chen Y. Commun. Theor. Phys. 52 2009 997
[19] Coggeshall S. V. Meyer-Ter-Vehn J. J. Math. Phys. 33 2009 3585
[20] Fuchs J. C. J. Math. Phys. 32 1991 1703
[21] Ovsiannikov L. V. Group Analysis of Differential Equations New York Academic 1982
[22] Olver P. J. Applications of Lie Groups to Differential Equations New York Springer 1993
[23] Patera J. Sharp R. T. Winternitz P. Zassenhaus H. J. Math. Phys. 17 1976 986
[24] Weisner L. Canad. J. Math. Phys. 11 1959 141
[25] Head A. K. Program BIGLIE for Lie Analysis of Differential Equations on IBM Type PCs Users Manual 2000
[26] Carminati J. Vu K. J. Symbolic Comput. 29 2000 95
[27] Head A. K. Program LIE for Lie Analysis of Differential Equations on IBM Type PCs User’s Manual 2000
[28] Baumann Symmetry Analysis of Differential Equations with Mathematica New York Springer 2000
[29] Cheb-Terrab E. S. von Bulow K. Comp. Phys. Comm. 90 1995 116
[30] Vu K. T. Butcher J. Carminati J. Comp. Phys. Comm. 176 2007 682
[31] Schwarz F. SIAM Rev. 30 1988 450
[32] Hu X. R. Li Y. Q. Chen Y. J. Math. Phys. 56 2015 053504
[33] Miao Q. Hu X. R. Chen Y. Commun. Theor. Phys. 61 2014 160