372
75
0
0
Mathematics
Applied Mathematics
A new method to find first integrals of ordinary differential equations (ODEs) is presented. The approach is based on the complete integrability of the Pfaffian system associated with the ODE, and it does not require the use of symmetries or integrating factors. Examples of second-, third-, and fourth-order ODEs are provided to illustrate the method, including cases where classical approaches fail. This work extends the range of tools available for the analysis and solution of ODEs.
Corresponding author: Antonio J. Pan-Collantes, antonio.pan@uca.es
First integrals are a key concept in the study of ordinary differential equations (ODEs), which represent conserved quantities when the ODE models a physical system. The knowledge of first integrals is an important feature that not only enables the reduction of the order of the ODE, but also facilitates the determination of the general solution, or the validation of numerical methods.
Over the years, numerous techniques have been developed to determine first integrals of ODEs. The most common approaches are based on Lie symmetries. They are extremely successful, but the determination of symmetries can be infeasible for certain classes of ODEs. This limitation has led to the enrichment of the approach through the introduction of more general classes of vector fields, such as dynamical symmetries, nonlocal symmetries, C∞-symmetries, etc.[1][2][3][4][5][6][7][8][9][10].
A different point of view to find first integrals is based on the utilization of symbolic computation techniques to determine integrating factors in ODEs. The corresponding integrating factor determining equations, a system of partial differential equations (PDEs), must be solved, and then the first integral can be computed, effectively reducing the order of the ODE. Due to the difficulty of solving these determining equations, various techniques have been developed to aid in the search for integrating factors[5][11][12][13][14][15][16][17].
While both approaches have significantly advanced the study of first integrals, they come with inherent difficulties, which motivate the research of alternative strategies for finding first integrals. In this paper we present a novel approach, that does not require the use of either symmetries or integrating factors. It is based on the complete integrability of the Pfaffian system associated with the ODE, defined on the corresponding jet bundle, which is the natural framework for the geometric study of ODEs[18][19].
To provide motivation, consider a first-order ODE of the form
u1=ϕ(x,u),where u1=dudx denotes the derivative of the dependent variable u with respect to the independent variable x, and ϕ is a smooth function defined on an open set U⊆R2. Equation (1) is usually written in differential form as
θϕ:=−ϕdx+du≡0.We have, by dimensionality, that dθϕ∧θϕ=0, and therefore, by Frobenius theorem there exists, locally, a smooth function F=F(x,u) such that dF=μθϕ, with μ a non-vanishing smooth function. The function F can be found by solving the PDE:
dF∧θϕ=0.Once a particular solution is found, the general solution to (1) could be expressed in implicit form as
F(x,u)=C,where C is an arbitrary constant.
In this work, we will generalize this idea up to arbitrary order. After introducing the notation and basic definitions in Section 2, we will present the main result in Section 3. In Section 4 we will particularize the method for the case of second-order ODEs. And in Section 5 we will apply the techniques to third- and fourth-order ODEs.
Consider an mth-order ODE
um=ϕ(x,u,…,um−1),m≥2,where (x,u) represent the independent and dependent variables, respectively, and ui denotes the ith-order derivative of u with respect to x, for 1≤i≤m. We consider (x,u,u1,…,um−1) as the standard coordinates of the corresponding (m−1)th-order jet bundle, denoted by Jm−1(R,R)[18] for details); and ϕ is a smooth function defined on an open subset U⊆Jm−1(R,R).
Throughout the text, when we say that a fact holds locally, we mean that it is valid in some open subset of U. For simplicity, we will continue to use the same notation U to denote such open subsets. Also, we will implicitly use the notation u0 to denote u, for the sake of uniformity.
Recall that an important feature of the jet bundle is the contact ideal, which encodes the geometrical structure of this space. The contact ideal is generated by the contact forms, which are 1-forms that vanish on any section of the jet bundle that corresponds to the prolongation of a smooth function u=f(x). The contact forms in the jet bundle JN(R,R), N≥1, are given by:
θ0=u1dx−du,θ1=u2dx−du1,⋮θN−1=uNdx−duN−1.Suppose that there exist, locally, two functions H=H(x,u,…,um−1) and δ=δ(x,u,…,um−1) such that δ is non-vanishing and they satisfy
DxH=δ(um−ϕ(x,u,…,um−1)),where Dx denotes the total derivative operator[1][2]
Dx=∂x+m−1∑i=0ui+1∂ui.The function H is called a first integral of equation (2), and δ an integrating factor.
The knowledge of a first integral allows us to reduce the order of the ODE (2), since equation (2) is, locally, equivalent to the family of (m−1)th-order ODEs
H(x,u,…,um−1)=C,C∈R.On the other hand, it is well known[19] that the ODE (2) is encoded by its associated Pfaffian system, i.e., by the differential ideal Iϕ of the algebra Ω∗(U) generated by the contact forms
θ0,θ1,…,θm−2,together with the 1-form
θϕ:=−ϕdx+dum−1.This Pfaffian system Iϕ is in correspondence with the involutive rank-1 distribution generated by the vector field associated to equation (2):
Aϕ=∂x+u1∂u+⋯+um−1∂um−2+ϕ∂um−1.Therefore, Iϕ is completely integrable, in the sense that Frobenius theorem applies, i.e., there exist, locally, m−1 smooth functions F1,…,Fm−1 such that Iϕ is generated by the 1-forms dF1,…,dFm−1[19].
Finally, recall that in the case of a single 1-form ω, which corresponds to a corank-1 distribution, Frobenius theorem establishes that the requirement
dω∧ω=0is equivalent to the (local) existence of a smooth function F such that dF=μω for a certain non-vanishing function μ. The 1-form ω is said to be Frobenius integrable.
Consider an mth-order ODE as in (2). Unlike in the first-order case, the 1-form θϕ defined in (4) is not, in general, Frobenius integrable. Nevertheless, since the Pfaffian system Iϕ is completely integrable there must exist, locally, a function F=F(x,u,…,um−1) such that dF∈Iϕ, that is,
dF=μθϕ+m−2∑i=0αiθi,for certain smooth functions μ,α0,…,αm−2 defined on U.
If necessary, we shrink the open set U so that the function μ is non-vanishing. We then define
ω(γ0,…,γm−2):=θϕ+m−2∑i=0γiθi,where γi:=αiμ. With this definition, we have
dF=μω(γ0,…,γm−2),which implies that ω(γ0,…,γm−2) is Frobenius integrable. Thus, it must satisfy
dω(γ0,…,γm−2)∧ω(γ0,…,γm−2)=0,which is a first-order PDE system for the functions γi, 0≤i≤m−2.
On the other hand, observe that the smooth function F must satisfy the PDE system
dF∧ω(γ0,…,γm−2)=0.Now, we are in a position to state and prove the main result of this paper:
Theorem 3.1. Consider an mth-order ODE given by (2). A first integral F can be determined by first obtaining a particular solution to the PDE system (6) for the functions γi, and subsequently solving the PDE system (7) for F.
Proof. Suppose that the PDE system (6) admits the particular solution
γi=γi(x,u,…,um−1), for 0≤i≤m−2.Then, we use γi to define the 1-form ω(γ0,…,γm−2) according to equation (5), which is therefore Frobenius integrable.
Consider now a smooth function F=F(x,u,…,um−1) satisfying the PDE system (7). Then, there exists, locally, a certain non-vanishing function μ such that
dF=μω(γ0,…,γm−2).Expanding both sides of this expression, we have
Fxdx+Fudu+⋯+Fum−1dum−1=μ(θϕ+m−2∑i=0γiθi)=μ(−ϕdx+dum−1+m−2∑i=0γi(−ui+1dx+dui)),and by comparing the coefficients of the 1-forms dx,du,du1,…,dum−1, we obtain
Fx=−μϕ−m−2∑i=0μγiui+1,Fui=μγi, for 0≤i≤m−2,Fum−1=μ.So, finally, to check that F is a first integral for the ODE (2) we apply the total differential operator to F, and substitute the expressions (8):
Dx(F)=Fx+m−1∑i=0ui+1Fui=−μϕ−m−2∑i=0μγiui+1+m−2∑i=0μγiui+1+μum=μ(um−ϕ).◻
Remark 3.1. The PDE system (7) is a homogeneous linear system of first-order PDEs for the function F. In contrast, the PDE system (6) is a system of first-order PDEs for the functions γi, which is not generally linear. Moreover, for an mth-order ODE, the PDE system (6) consists of (m+13) equations with m−1 unknown functions γ0,…,γm−2. As a result, solving this system is typically challenging. A practical strategy to address this complexity is to assume some standard ansatz for the functions γi, such as a dependence on fewer variables or linearity in some variable. As we will see in the examples, this kind of assumption not only reduces the complexity of the involved PDEs, but also allows us to write some equations as polynomials, in such a way that they can be split into simpler equations.
Remark 3.2. In certain cases, multiple particular solutions to the PDE system(6) can be identified. Each of these solutions may lead to the construction of distinct, independent first integrals, so increasing the number of conserved quantities or even providing the general solution of the ODE. For an illustration, see Example 4.1.
In this section, we will explore the application of our results to the particular case of second-order ODEs. Given the ODE
u2=ϕ(x,u,u1),we define the 1-form given by (5)
ω(γ0):=−ϕdx+du1+γ0θ0=(−ϕ+γ0u1)dx−γ0du+du1,where γ0=γ0(x,u,u1) is a smooth function to be determined.
In this case, condition (6), dω(γ0)∧ω(γ0)=0, reduces to the single PDE for γ0:
γ0x+γ0uu1+γ0u1ϕ+γ20−ϕu−γ0ϕu1=0.Once a particular solution γ0=γ0(x,u,u1) is found, a first integral F=F(x,u,u1) can be obtained by solving the PDE system (7):
γ0Fu1+Fu=0,γ0Fx+(γ0u1−ϕ)Fu=0,Fx+(ϕ−γ0u1)Fu1=0.Remark 4.1. Our approach relates to the framework of the S-function method, as introduced in[20][21]. The S-function methodology provides a powerful tool to find first integrals, particularly for rational 2ODEs, by exploiting the relationship between the structure of the equation and associated one-forms. In relation to this work, it can be checked that the function S plays the role of the function −γ0.
Remark 4.2. On the other hand, the method presented here relates also to the theory of canonical λ-symmetries for second-order ODEs. In fact, equation (11) is the determining equation for a canonical λ-symmetry of the ODE (9), as established in equation (5) in[22].
The following illustrative example showcases how to use the results above to find first integrals of a second-order ODE.
Example 4.1. Consider the second-order ODE given by:
u2=(3xu1+u)(xu1−u)2x2u.To solve the determining equation (11) for γ0 we assume the ansatz γ0=g(x,u)u1+h(x,u), in such a way that (11) simplifies to the polynomial:
D2u21+D1u1u+D0=0,where
D0:=−2x2u2h2−2x2u2hx+u3g−2xu2h−u2,D1:=−4x2u2gh−2x2u2hu−2x2u2gx+6x2uh,D2:=−2x2u2g2−2x2u2gu+3x2ug−3x2.Setting the coefficients D0=D1=D2=0 we obtain a system of three PDEs for the functions g and h. With the aid of a computer algebra system, we find the particular solution
g=1u,h=0,and thus we take γ0=u1u.
By substituting this expression into (12) and clearing the denominators, we obtain the following system of equations:
u1Fu1+uFu=0,u(x2u21−2xuu1−u2)Fu−2x2uu1Fx=0,(x2u21−2xuu1−u2)Fu1+2x2uFx=0.The reader can verify that a particular solution is given by
F(x,u,u1)=ln(x)+2arctanh(xu1u),which is therefore a first integral of the ODE (13).
Notably, another particular solution to (14) can be checked to be
g=32u,h=−12x,and, consequently, the choice γ0=3xu1−u2xu allows us to find another first integral of (13), provided the corresponding PDE system is solved:
2x2Fx−(xu1+u)Fu1=0,2xuFu+(3xu1−u)Fu1=0,(xu−3x2u1)Fx−(xuu1+u2)Fu=0.A particular solution for (17) is given by
(x,u,u1)=xu1−u√xu3,which is, therefore, another first integral of (13).
The first integrals given by (16) and (18) describe the general solutions of the ODE (13) in implicit form.
In the following example, we use our approach to find a first integral and a 1-parameter family of solutions to a second-order ODE that does not admit Lie point symmetries.
Example 4.2. Consider the following second-order ODE
u2=1+xu1−2xuu1.The reader can check that it does not admit Lie point symmetries, so standard procedures cannot be applied.
To find a first integral we first tackle the PDE (11), which is, in this case,
u21γ0x+u31γ0u+(u21+xu31−2xuu1)γ0u1+u21γ20−(2xu+xu21)γ0+2xu1=0.By using the natural ansatz γ0=γ0(x,u1) this equation can be regarded as a polynomial in the u variable:
D1u+D0=0,where
D1=2xu1γ0u1+2xγ0,D0=−u21γ0x−(u21+xu31)γ0u1−u21γ20+xu21γ0−2xu1.The particular solution γ0=1u1 for the system given by D0=D1=0 is easy to find. Now, we write system (12):
Fu1+u1Fu=0,x(u21−2u)Fu−Fx=0,x(u21−2u)Fu1+u1Fx=0.The general solution to equation (21a) is
F(x,u,u1)=g(x,u21−2u),where g=g(x,y) is an arbitrary smooth function. From equations (21b) and (21c) it follows that g must satisfy
2xygy+gx=0.This equation admits the particular solution g(x,y)=ye−x2, therefore a particular solution to the system (21) is
F(x,u,u1)=(u21−2u)e−x2,which is a first integral of the ODE (19).
Remarkably, even if for the reduced ODE
(u21−2u)e−x2=C,C∈R,no straightforward analytical method yields a general solution, in the particular case C=0 the solutions are given by the family
u(x)=12(x+K)2,K∈R,which in turn is a 1-parameter family of solutions for the ODE (19). Thus, our method has facilitated a partial integration of an ODE for which classical approaches appear to be ineffective.
In the case of an autonomous second-order ODE
u2=ϕ(u,u1),the smooth function γ0=ϕu1 is always a particular solution to equation (11), as can easily be checked. By substituting in (12) the PDE system for the first integral F=F(x,u,u1) reduces to:
ϕFu1+u1Fu=0,Fx=0.Observe that the solutions are of the form F=F(u,u1), so the reduced equation
F(u,u1)=C,C∈R,is also autonomous. If u1 can be explicitly isolated in (25) as a function of u (and possibly C), the equation can be solved by quadrature, leading to a 2-parameter family of solutions for equation (23).
Example 4.3. Consider the autonomous second-order ODE given by
u2=u21−u2u1−2u1u2+u,which only have the trivial Lie point symmetry ∂x. In this case the PDE system (24),
Fx=0,u21−u2u1−2u1u2+uFu1+u1Fu=0,admits the particular solution
F(u,u1)=u2+uu1+u1−2u.Therefore, equation (26) can be reduced to the first-order family of ODEs:
u2+uu1+u1−2u=C,with C∈R.
This family of ODEs can be solved by quadrature, leading to the general solution of (26), which is implicitly expressed as:
x+12ln(Cu−u2+2)+C+2√C2+8arctanh(C−2u√C2+8)=K,where C,K∈R.
In this section we will show examples of how our approach can be successfully applied to third- and fourth-order ODEs. The general procedure is the same as for second-order ODEs, but the complexity of the PDE systems increases with the order of the ODE.
Example 5.1. Consider the third-order ODE
u3=u+xu1−xu1u22−uu222u2.According to Theorem 3.1, we need to solve the PDE system (6),
dω(γ0,γ1)∧ω(γ0,γ1)=0,for the functions γ0,γ1. By using the ansatz γ0=γ0(x,u2),γ1=γ1(x,u2), the resulting PDE system becomes:
(γ1x+γ0+x(u22−1)2u2)γ0−(γ0x+(u22−1)2u2)γ1=0,−γ1u2γ0+γ0u2γ1=0,−γ0x−(u22−1)2u2+γ0u2(γ1u2+γ0u1+xu1u22+uu22−xu1−u2u2)−(γ1u2u2+γ1+γ0u2u1+xu1+u−xu1u22+uu22−xu1−u2u22) γ0=0,−γ1x−γ0−x(u22−1)2u2+γ1u2(γ1u2+γ0u1+xu1u22+uu22−xu1−u2u2)−(γ1u2u2+γ1+γ0u2u1+xu1+u−xu1u22+uu22−xu1−u2u22)γ1=0.A particular solution can be found by using a computer algebra system, and it is given by
γ0=x(1−u22)2u2,γ1=0.With these values for γ0 and γ1, the PDE system (7) for the first integral F=F(x,u,u1,u2) becomes
xFx−uFu=0,−xu22Fu2+xFu2+2u2Fu=0,−uu22Fu2+2u2Fx+uFu2=0,Fu1=0,and a particular solution can be checked to be
F=exu(u22−1).The reduced ODE
exu(u22−1)=C,C∈R,does not appear to admit an explicit closed-form solution in the general case. However, the particular choice C=0 leads to a notable simplification, yielding the 2-parameter family of solutions for (28):
u(x)=±12x2+K1x+K2,K1,K2∈R.Observe that the ODE (28) does not possess Lie point symmetries, as the reader may check. Nevertheless, we successfully derived a first integral (31), enabling partial integration of the ODE, without relying on Lie point symmetries or integrating factors.
Example 5.2. Consider the fourth-order ODE
u4=ex+u(xu1−u1u3+x−u3+2)−2u3x−3u3+2ex+u.In this case, we have
θϕ=−ex+u(xu1−u1u3+x−u3+2)−2u3x−3u3+2ex+udx+du3,and then the 1-form
ω(γ0,γ1,γ2)=θϕ+γ0θ0+γ1θ1+γ2θ2,must satisfy condition (6):
dω(γ0,γ1,γ2)∧ω(γ0,γ1,γ2)=0.This system of 10 PDEs for γ0,γ1 and γ2 is too involved to be included in the text. However, by using the ansatz
γ0=γ0(x,u,u3),γ1=γ1(x,u,u3),γ2=γ2(x,u,u3),we obtain the particular solution
γ0=ex+u(x−u3)2ex+u+x−3u3,γ1=0,γ2=0,using a computer algebra system.
Upon substituting these expressions into the PDE system (7), we obtain the following system of equations for the first integral F:
ex+u(x−u3)Fu3+(2ex+u+x−3u3)Fu=0,(ex+u(x−u3+2)−2u3)Fu+ex+u(u3−x)Fx=0,(ex+u(u3−x−2)+2u3)Fu3+(2ex+u+x−3u3)Fx=0,Fu1=0,Fu2=0.The reader can verify that a particular solution is given by
F=(u3−ex+u)(u3−x)2.Again, we want to point out that our approach has allowed us to find the first integral (35) for the ODE (32) without making use of Lie point symmetries (which are not available for this equation) or integrating factors. Moreover, even if the reduced ODE
(u3−ex+u)(u3−x)2=C,C∈R,is not easily solved for arbitrary C∈R, the particular case C=0 provides the 3-parameter family of solutions for (32):
u(x)=124x4+K12x2+K2x+K3,where K1,K2,K3∈R.
In this work, we have presented an approach to find first integrals of mth-order ODEs that does not require the computation of integrating factors or the knowledge of Lie point symmetries. Our approach, which is based on the complete integrability of the Pfaffian system associated to the ODE, requires the solution of PDE systems, usually through the assumption of ansätze for the unknown functions and the use of computer algebra systems. The effectiveness of the method has been illustrated with examples of second-, third-, and fourth-order ODEs, showing that it can be applied to a wide range of ODEs, including those that do not admit Lie point symmetries.
We consider that it would be interesting the implementation of our method in computer algebra systems. Such an implementation could be combined with a systematic exploration of different ansätze, for example, by progressively selecting an increasing number of variables for the functions γi to depend on. This combination could enhance existing algorithms, increasing the likelihood of finding first integrals of ODEs. In this way, our approach offers a complementary tool to the methods currently available, potentially extending the range of solvable problems.