2 procedures for finding integrating factors
of some ODEs of any order
Yu.N. Kosovtsov
Lviv Radio Engineering Research Institute, Ukraine
Email: kosovtsov@escort.lviv.net
Copyright, 2004
The method for obtaining rational integrating factors of some rational ODEs of any order based on examination of structures of denominator and numerator of the ODEs' right-hand-side is presented. The method embodied in relatively fast procedure koif_1 can determine the explicit expression of an integrating factor under the following restriction: the denominator of integrating factor is the product of co-factors each has at least one missing independent variable. The procedure koif_2 demonstrates potential of the method without the above-mentioned restriction. The experimentations with the procedures implemented in Maple confirm consistence and efficiency of proposed method.
1. The method
Introduction If for the first order ODEs there are many different solving methods implemented in CAS, only a few approaches are known for high order non-linear ordinary differential equations, most of them suffer from a very high complexity and in practice often rather useless. One of the promising approaches is the integrating factor method (see, e.g.,[1]). With an increase of equation order the number of independent variables and, correspondingly, dimension of PDE system for integrating factor increase and direct solving of this system even in a sense of particular solution comes problematical. A remarkable method based on the knowledge of the general structure of the integrating factor was developed by Prelle and Singer [2] and Singer [3] for rational first order ODEs. There are extensions of this semi-decision procedure in some directions [4]-[9] including approaches to solve ODEs with some transcendental or algebraic terms (heuristically) [10]-[12] and for second order ODEs [13]. There are other approaches for finding integrating factors. In [14] the authors demonstrate that for cases, when integrating factor of second order ODE depends only from two of its arguments, it is possible on the base of forms of the ODEs families to find integrating factor sometimes even without solving any differential equations. This method is implemented in Maple ODETools. The same authors implemented in Maple ODETools another method, applicable for ODEs of any order, when integrating factor is polynomial in the (n-1)th derivative of dependent variable. Unfortunately, there are not available details of this method. In this contribution we propose the method, based on examination of structures of denominator and numerator of the ODEs' right-hand-side, which can determine the explicit expression of an integrating factor if its denominator is the product of co-factors each has at least one missing independent variable and consider the ways to extend the method beyond this restriction. The method proposed here resembles the Prelle-Singer approach in some features. It starts from the same integrating factor structure of the form , where are some functions (Darboux polynomials), are constants. But instead of finding candidates to the set of by the very expensive method of undetermined parameters (coefficients of unknown Darboux polynomials), in proposed method it is used a substitution procedure, which admits the extraction of (for some restricted ODEs) by blocks without embedding any undetermined parameters and notorious degree bounds on this stage. The undetermined parameters arise only on final stage for obtaining constants . It results in the more compact, efficient and fast procedure for finding integrating factors which is proved to be workable for sufficiently high order ODEs. 2 The base of the method
For nth order ODE in solved form
(1)
where ,
by standard definition [see,e.g.,1] is an integrating factor if is a total derivative of some function , that is
. (2)
Let
(3)
then (2) becomes
(4)
where .
So we conclude that the integrating factor of ODE (1) is , where the function satisfy the linear first-order PDE (4). Let us suppose that ODE (1) has a rational integrating factor in the following form
(5)
where and are polynomials, are constants. So as it follows from the well-known theory of integration of rational functions there exists the corresponding solution of PDE (4) whith the following structure
(6)
where , , , are polynomials, and , are positive constants, , are any constants.
If now express
(7)
and (3) in in terms of , , , , we obtain that (the matter is not so simple in general as it can be happened that numerator and denominator of (8) may have common factors due to corresponding interferences of items and a cancellation can occur so as a result the numerator of will differ from denominator of on some co-factor which is not controlled in present approach) (8)
and integrating factor is in the case when all (9)
or if exist some ( )
(10)
We can conclude here, that in the case under consideration, for obtaining it is sufficient to find all , , and (plus and for cases when ( )). For given ODE we know only as a whole. The main problem here is: how can we obtain parameters of from known rational ? Let us impose additional restriction on components in the structure of (6): (R). Each of all components , , (plus for cases when ( )) do not depend at least on one of the arguments . If given ODE leads to PDE (4) with a solution in form (6) which parameters satisfy aforesaid condition (R), then the procedure of finding of an integrating factor is reduced to two stages. On the first one we successively find all components of the denominator of , and then, on the second stage, we can find theirs powers. Note here that if one of the parameters of the denominator of (9) or (10) is a function in only then this parameter is one of the co-factors of the numerator of . And if one of such parameters does not depend on then it is obvious from (8) that this parameter is one of co-factors of the denominator of . Let us suppose here for a moment, that we know a priori one of the parameters { , , } , for example, = . If now substitute one of the roots of equation , for example, (11)
to the numerator of then all items of the numerator get annul except one of them , and after simplification and factorization we have
( ) (12)
On imposed restriction (R) there may be such , , which do not depend on , and correspondingly the substitution (11) do not affect on them and such parameters are developed as co-factors in (12). In fact on this stage we have to consider almost all non-constant co-factors (except co-factors which do not depend on or which depend only on as they are developed directly in the denominator and numerator of as candidates to components to the denominator of (9) or (10). If substitute further (11) to the denominator of we obtain by the same way another set of candidates to components to the denominator of . It is seen that on this stage proper components to the denominator of must appear in both sets of candidates. Analogously, if substitute further (13) to the numerator and denominator of we can obtain another set of candidates to components to the denominator of which do not depend on and so on. Unfortunately among co-factors of types (12) there are nonproper candidates (phantoms) and it is very desirable to remove them as early as possible. As it is easily seen from (8) Proposition: If polynomial is one of the set { , , } then under substitution of
(14)
where is any of variables involved in . So we can by using this proposition effectively select (remove nonproper) candidates. For each new candidate we can repeat substitution and selection procedures until no new candidates appears. To find full set of parameters of the denominator of (9) in aforesaid condition it is sufficient to make substitutions. As we select real candidates and the set of real candidates are finite then this procedure always terminates. It is obvious that described procedure of finding candidates to components would be very fast. So the problem of finding an integrating factor of type (9) or (10) with condition (R) is reduced to the problem of obtaining at least one of the parameters from the set { , , , } (which is not a function only on ). As we have stated above if one of the parameters of the denominator of (9) or (10) does not depend on then it appears as co-factor of the denominator of . So in second case we can start roots substitution procedure to the numerator of . Are there ways to find at least one of the parameters when self-developing parameters of above mentioned type are absent? Let use a new angle on the problem . Let . The is an integrating factor for the following ODEs family with
(15)
where , is an arbitrary function. We can see here that not all co-factors of denominator which do not depend on are related to the ( ). Note now, that if and are polynomials in , then all integrands are rational in and as it follows from the well-known theory of rational functions integration the denominator of is if and is if . So if we annul by any way (that is, one co-factor of the ) in (15), then components of integrals with in denominators annul too and we have to receive
( ) (16)
where is some rational function. That is on condition (R) we can find as co-factor of under substitution, for example, the component of which does not depend on . Successive substitution of all possible roots of ( ) to the numerator of supplies us a set of initial candidates to components of the denominator of . This procedure is workable only when denominator of is different from unity (see comment before eq.(8)). The similar procedure suits for rational for obtaining candidates when we substitute roots of numerator to the denominator of . It can be proved analogously to considered case. If we solve for (solvable) equation , where and are polynomials in all variables, we can receive that , where has the similar integral structure as in numerator of in (15). So we can conclude the same. As it follows from (8) and from procedure of finding of parameters in some cases we could automatically obtain some of the exponents and . But generally speaking in described procedure of roots substitutions we do not able to find all needed exponents. And what is more we really do not know a priori whether the given candidate is a part of particular structure. That is on the first stage we are able only to form a hypothesis on the structure of the integrating factor of the type
(17)
where are all found and remained after selections candidates to components of the denominator of , include co-factors of the denominator of which do not depend on and co-factors of numerator of which depend only on , are unknown constants which we need to obtain on the following stage. We can find unknown on the base of PDE system for integrating factor. As this PDE system have to be satisfied by under any , then substitution (17) to the PDE system will lead to relatively simple system of algebraic equations for . If the solution of this algebraic system exists, then this is automatically the test that in form (17) with obtained values of is an integrating factor of given ODE.
The method described above is implemented in demonstration procedure koif_1. Although in principle the method can find an integrating factor for any of above mentioned type of ODEs, in practice the procedure koif_1 heavily relies on some basic Maple procedures such as factor, simplify and so on and in some cases fails. As a result sometimes it is observed different outputs in different Maple versions for the same ODE. 3 Short remarks on extension of the method
It is very essential that in the process of obtaining the integrating factor we treat only algebraic (non differential) objects. In fact in previous section we obtain the set of projections of candidates for structure and then the restriction (R) guarantees that real candidate coincide with some of its projection.
So to extend the method beyond restriction (R) and remain in algebraic framework we have to recover the candidates from available set of its projections. The main problem here is ambiguities in dealing with multivariate polynomials.
There are some different strategies to overcome obstacles on this way. In demonstration procedure koif_2 we use the simplified version of such process to show that the extended method can be fruitful.
4 Conclusion
The aim here has been to present the simple and relatively fast method for finding an integrating factor of some rational high order ODEs without solving any differential equations. The experimentations with procedures implemented in Maple confirmed consistence and efficiency of proposed method for sufficiently high order ODEs. We can conclude that our procedures are workable for rational ODEs (and for koif_1 surprisingly for many transcendental ODEs) (even with symbolic constant parameters) of orders from n=1 to n=4-5. The first stage - finding candidates and hypothesis on structure of integrating factor is very fast. The relatively resource consuming is the second stage - finding the unknown parameters of the structure of integrating factor. Sufficiently often our procedures produce more than one integrating factor (for example, the output may contain set of s or with arbitrary parameters ) and sometimes they are lead to independent first integrals.
This method allows Maple to extend their solving abilities to solve high order ODEs missed by their own in-house solvers.
References [1] P.J. Olver, Applications of Lie Groups to Differential Equations, Springer-Verlag, New York, (1993). [2] M. Prelle, and M. Singer, Elementary first integral of differential equations. Trans. Amer. Math. Soc., 279(1), 215-229 (1983). [3] M. Singer, Liouvillian first integrals of differential equations. Trans. Amer. Math. Soc., 333(2), 673-688 (1992). [4] Y.K. Man and M.A.H. MacCallum, A rational approach to the Prelle-Singer algorithm J. Symb. Comp. 24, 31-43 (1997). [5] Y.K. Man, First integrals of autonomous systems of differential equations and Prelle-Singer procedure. J.Phys.A: Math.Gen., 27, L329-L332 (1994). [6] L.G.S. Duarte, S.E.S. Duarte and L.A.C.P. da Mota, Analyzing the Structure of the Integrating Factor for First Order Differential Equations with Liouvillian Functions in the Solutions. J. Phys. A: Math. Gen. 35, 1001-1006 (2002). [7] L.G.S. Duarte, S.E.S. Duarte and L.A.C.P. da Mota, A Method to tackle first-order ordinary differential equations with Liouvillian functions in the solution. J. Phys. A: Math. Gen.}, 35, issue 17, 3899-3910 (2002). [8] Yu.N. Kosovtsov, The structure of general solutions and integrability conditions for rational first-order ODEs. arXiv:math-ph/0207032v1 24 Jul 2002. [9] Yu.N. Kosovtsov, The rational generalized integrating factors for first-order ODEs. arXiv:math-ph/0211069v1 29 Nov 2002. [10] R. Shtokhamer, N. Glinos, B.F. Caviness, Computing elementary first integrals of differential equations. In Computers and Mathematic Conference Manuscript. Stanford (1986). [11] Y.K. Man, Computing closed form solutions of first order ODEs using the Prelle-Singer procedure. J. Symbolic Computation, 16, 423-443 (1993). [12] L.G.S. Duarte, S.E.S. Duarte, L.A.C.P. da Mota and J.E. Skea, An Extension of the Prelle-Singer Method and a MAPLE implementation. Computer Physics Communications, 144(1), 46-62, (2002). [13] L.G.S. Duarte, L.A. da Mota and J.E.F. Skea, Solving second order equations by extending the PS method. arXiv:math-ph/0001004v1 3 Jan 2000. [14] E.S. Cheb-Terrab and A.D. Roche, Integrating factors for second order ODEs, J.Symb. Comp. 27, No. 5, pp. 501-519, (1999).
2. Procedures description
koif_1 and koif_2 -look for an integrating factor for rational ODEs of any order
Calling Sequences
koif_1(ode,y(x),con);
koif_2(ode,y(x),con);
Parameters
ode - ordinary differential equation (any order).
NOTE: In present implementation of koif_2 ode must be rational.
y(x) - ODE's dependent variable. The first argument of y(x) must be ODE`s independent variable.
con - (optional) if there stands str the procedure is ended after calculation of hypothesis of integrating
factor structure only.
Output
- computed integrating factor(s) of given ODE . The output may contain set of integrating factors or integrating factor with arbitrary parameters
with option str - hypothesis of integrating factor structure .
3. Procedures
koif_1
koif_2
Execute p.3 before runing examples!
Examples
2nd order ODE (koif_1)
3rd order ODE (koif_1)
2nd order ODE with trigonometric functions (koif_1)
2nd order ODE with an arbitrary function (koif_1)
2nd order ODE (koif_2)
3rd order ODE (koif_2)
4th order ODE (koif_2)
Disclaimer: While every effort has been made to validate the solutions in this worksheet, Waterloo Maple Inc. and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.