A modified Lyapunov method and its applications to ODE
Abstract
Producción Científica
Full text
Received: 17 February 2022 Revised: 17 July 2022 Accepted: 19 July 2022 DOI: 10.1002/mma.8598 RESEARCH ARTICLE A modified Lyapunov method and its applications to ODE Manuel Gadella1Luis Pedro Lara2,3 1Departamento de Física Teórica, Atómica y Optica and IMUVA, Facultad de Ciencias, Universidad de Valladolid, Paseo Belén 7, Valladolid, 47011, Spain 2Instituto de Física Rosario, CONICET-UNR, Bv. 27 de Febrero, Rosario, S2000EKF, Santa Fe, Argentina 3Departamento de Sistemas, Universidad del Centro Educativo Latinoamericano, Av. Pellegrini 1332, Rosario, S2000, Argentina Correspondence Manuel Gadella, Departamento de Física Teórica, Atómica y Optica and IMUVA, Facultad de Ciencias, Universidad de Valladolid, Paseo Belén 7, Valladolid 47011, Spain. Email: [email protected] Communicated by: P.M. Mariano Funding information Consejería de Educación, Junta de Castilla y León, Grant/Award Number: QCAYLE; Ministerio de Ciencia e Innovación, Grant/Award Number: European Union NextGenerationEU (PRTRC17.I1); Ministry of Science and Innovation of Spain, Grant/Award Number: PID2020-113406GB-I00 Here, we propose a method to obtain local analytic approximate solutions of ordinary differential equations with variable coefficients, or even some nonlinear equations, inspired in the Lyapunov method, where instead of polynomial approximations, we use truncated Fourier series with variable coefficients as approximate solutions. In the case of equations admitting periodic solutions, an averaging over the coefficients gives global solutions. We show that, under some restrictive condition, the method is equivalent to the Picard-Lindelöf method. After some numerical experiments showing the efficiency of the method, we apply it to equations of interest in physics, in which we show that our method possesses an excellent precision even with low iterations. MSC CLASSIFICATION 34A45, 65L99 1INTRODUCTION The motivation of the present article is a contribution to the methods for approximate solutions of ordinary differential equations (ODE) either nonlinear or linear with variable coefficients. These methods have been developed in order to solve different kinds of problems that arise in physics and that need of these kinds of ODE. Solutions for the vast majority of ODE, out of trivial cases studied in textbooks, are unknown, and even in the case that an equation has known solutions, there are either incomplete or of a complexity that makes them inappropriate for a first analysis of the problem given. For the almost ubiquitous second-order linear equations with variable coefficients, not always a solution a la Frobenius is possible, a trouble experienced sometimes by theoretical physicists. It is interesting to mention some methods to obtain approximate solutions to non-trivial ODE, although for obvious reasons, we may give only a very limited number of references on a field in which the number of publications is really enormous.1–9 Our point of departure is the search for analytic approximate solutions for given initial values, boundary conditions, or solving the Sturm-Liouville problem for second-order ODE of the form This is an open access article under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs License, which permits use and distribution in any medium, provided the original work is properly cited, the use is non-commercial and no modifications or adaptations are made. © 2022 The Authors. Mathematical Methods in the Applied Sciences published by John Wiley & Sons, Ltd. Math Meth Appl Sci. 2022;1–16. wileyonlinelibrary.com/journal/mma 1
2GADELLA AND LARA w(t)+p(t). w(t)+q(t)w(t)=0.(1) Here, we propose a modification of the Lyapunov method to obtain approximate solutions of equations of the type (1), which improves the standard Lyapunov method and which is also based on iterations. We introduce the method, compare it with the Picard-Lindelöf method, and show the advantages that it may have with respect to the others in terms of precision, CPU times, etc. The method is also applicable to nonlinear equations. We support our arguments with some numerical experiments. Applications to second-order differential equations of interest in physics have been discussed. These equations are either linear with variable coefficients or nonlinear. The modified Lyapunov method we are introducing in the present article has some important features in common with the standard Lyapunov method. Both are intended to find local approximate analytic solutions. Both are polynomial approximations. While in the standard Lyapunov method, they are given by powers, in our approach, they are truncated Fourier series with variable coefficients. This poses a clear advantage with respect to Standard Lyapunov, since after the numerical recipe of averaging over the coefficients, we obtain a global approximation valid for periodic solutions of equations that admit such solutions. As mentioned, the advantage of reducing computational times makes these techniques widely accessible using a software such as Mathematica. This paper has the following organization: In Section 2, we introduced our modified Lyapunov method and discuss convergence properties and the construction of approximate periodic solutions after non-periodic ones. In Section 3, we compare our method to the well-established Picard-Lindelöf method and provide of some simple numerical experiments to show the advantage of our method in terms of smaller CPU times. Section 4 is devoted to the applications of the method on differential equations of interest in physics. This presentation is continued in Section 5. We pay particular attention to the precision of the method. It closes with some concluding remarks. 2A MODIFIED LYAPUNOV METHOD Let us go back to Equation (1), where the functional coefficients p(t)and q(t)are defined on an interval [0,T],onwhere both are continuous and, in addition, p(t)admits a continuous first derivative. Let us perform the following change of variables to introduce a new indeterminate w(t)as w(t)=x(t)exp {−1 2∫t 0 p(s)ds}.(2) Clearly, w(t)satisfies Equation (1) if and only if x(t)satisfies x(t)+a(t)x(t)=0,(3) with a(t)=q(t)−1 4p2(t)−1 2 . p(t).(4) Note that the function a(t)is continuous on the interval [0,T]. The standard Lyapunov method solves Equation (3) by first considering the one parameter family x(t)=𝜆a(t)x(t), and, after a procedure similar to what follows, one singles out the value 𝜆=−1. Our modified Lyapunov method instead considers the following one parameter family of equations given by x(t)+𝜔2x(t)+𝜆b(t)x(t),with b(t)∶=a(t)−𝜔2.(5) Note that we recover the original (3) equation by choosing 𝜆=1. However, we shall yield, in principle, certain freedom in the choice of 𝜔. In fact, if the approximation replaces to a non-periodic solution, the choice is 𝜔=1, while if it is periodic and the period is given, then 𝜔is well determined. On the other hand, if the solution is periodic and the period is unknown, we should determine 𝜔through the periodicity condition. In the original Lyapunov method,2,3 one considers the one-parameter family x(t)=𝜆a(t)x(t)and, then, chooses 𝜆=−1. Here, we are using an extension of this method in (5).
GADELLA AND LARA 3 Let us consider the particular solution 𝜙𝜆(t)of (5) with the initial conditions given by 𝜙𝜆(0)and . 𝜙𝜆(0).Inordertoobtain such a solution, let us consider the following span into series: 𝜙𝜆(t)= ∞ ∑ k=0 xk(t)𝜆k.(6) Next, we replace (6) into (5) so as to obtain ∞ ∑ k=0 xk(t)𝜆k+𝜔2 ∞ ∑ k=0 xk(t)𝜆k+ ∞ ∑ k=0 b(t)xk(t)𝜆k+1=0.(7) Let us keep arbitrary the value of the parameter 𝜆, so that we may identify the coefficient of 𝜆kfor k=0,1,2,…on both sides of (7). The result is x0(t)+𝜔2x0(t)=0(8) for k=0and xk(t)+𝜔2xk(t)+b(t)xk−1(t)=0(9) for k=1,2,…. Next, let us impose initial conditions such as x0(0)=A,. x0(0)=B,xk(0)=0and. xk(0)=0,k=1,2,…,n.Weobtain x0(t)=Acos 𝜔t+B 𝜔sin 𝜔t.(10) Also, and after the stated initial condition and using the variation of parameters method, for any k=1,2,…,we have that xk(t)= 1 𝜔∫t 0 b(s)xk−1(s)sin 𝜔(s−t)ds.(11) Consequently, we have obtained a recurrence relation to obtain the form of the series (6). The series converges if it converges absolutely. Continuous functions on the compact interval [0,T]are bounded so is b(t). Let us call Kto an upper bound of |b(t)z0(t)|on [0,T]. Hence, for k=1,2,…,wehave |xk(t)|≤1 k!(K 𝜔t)k .(12) Then, after (6) and (12), we have ∞ ∑ k=0|xk(t)||𝜆|k≤K0+ ∞ ∑ k=1|𝜆|k k!(K 𝜔t)k≤H0+exp {|𝜆|Kt 𝜔}≤H0+exp {ΔK𝛽 𝜔},(13) where H0=K0−1andΔis an upper bound of the possible values of |𝜆|. Recall that t∈[0,T]. Thus, the series (6) converges absolutely and uniformly on the interval [0,T]. The choice 𝜆=1 gives the desired solution to Equation (3). A simple analysis of (11) shows that an approximation of the solution of (3): 𝜓(t)=𝜙1(t)= ∞ ∑ k=0 xk(t),(14) up to order n, has the following form 𝜓n(t)= m ∑ k=0 {pk(t)cos(k𝜔t)+qk(t)sin(k𝜔t)},(15) where pk(t)and qk(t)are polynomials and m>n. We should point out that the approximation given by (15) is local.
4GADELLA AND LARA We need to determine the value of nin order to control the error produced by the choice of the approximation (15) with respect to the exact solution. We define this error as en∶= ∫T 0 (𝜓n(t)+a(t)𝜓n(t))2dt.(16) Then,wesettleadesirablemaximalerror,𝛿>0, and choose nsuch that en<𝛿. Nevertheless, the approximation given by (15) is not periodic. We propose a global periodic approximation after (15) constructed as follows: Define pk∶= 1 P∫P 0 pk(t)dt,qk∶= 1 P∫P 0 qk(t)dt,(17) where Pis the period of the searched periodic solution Then, we propose as the approximate periodic solution as follows: 𝜓n(t)∶= m ∑ k=1 {pkcos(k𝜔t)+qksin(k𝜔t)}.(18) Another possibility is to use pk(0)and qk(0)instead of pkand qk, although this is just a conjecture that may be supported just by numerical precision. Henceforth, we shall call this procedure the modified Lyapunov method. 2.1 First order systems The above method may be extended to first order systems of the form . x(t)=𝑓(t,x,𝑦),. 𝑦(t)=g(t,x,𝑦),(19) where 𝑓and gare real and polynomials on the variables xand 𝑦and continuous with respect all the three variables. In this case, the system playing the role of Equation (5) has the following form: . x(t)=𝑦+𝜆(𝑓(t,x,𝑦)−𝑦),. 𝑦(t)=−𝜔2x+𝜆(g(t,x,𝑦)+𝜔2x).(20) By approximation of order n, we mean the choice xn(t)∶= n ∑ k=1 𝜆kuk(t),𝑦 n(t)∶= n ∑ k=0 𝜆kvk(t).(21) From here, we repeat the above procedure, we determine the value of 𝜔as did after (5), and then, we obtain the approximate periodic solutions. 3EQUIVALENCE BETWEEN THE MODIFIED LYUAPUNOV AND THE PICARD-LINDELÖF METHODS Along the present short section, we show that our proposed modified Lyapunov is equivalent to the Picard-Lindelöf method provided that we made a particular choice of the seed solution. The Picard-Lindelöf method finds approximate solutions of equations of the form z(t)+𝜔2z(t)=𝑓(t,z,. z),z(0)=A,. z(0)=B,(22)
GADELLA AND LARA 5 by iteration.10 In Ramos,10 it is shown that if 𝑓(t,z(t),. z(t)) is Lipschitz continuous on t∈[0,T], then a fixed point iterative approximation method to solve (22) uses the following relation, valid for all k=1,2,…: zk+1(t)+𝜔2zk+1(t)=𝑓(t,zk,. zk),zk(0)=A,. zk(0)=B,(23) so that (22) admits the following iterative approximate solutions: zk+1(t)=z0(t)− 1 𝜔∫t 0 𝑓(s,zk(s),. zk(s)) sin(𝜔(s−t))ds,(24) where zk(t)converges uniformly to the exact solution on a compact interval [0,T]. The important point here is that this method10 relies on the choice of the initial seed z0(t)and that this choice is somehow arbitrary.Afterniterations, zn(t)is the approximation to the order nof the solution of (23). Observe that (5) with 𝜆=1 is a particular case of (22) with 𝑓(t,z,. z)≡−b(t)z(t). Therefore, (24) becomes zk+1(t)=z0(t)+ 1 𝜔∫t 0 b(s)zk(s)sin(𝜔(s−t))ds.(25) ItwasproveninRamos 10 that whenever b(t)be continuous on the integration interval [0,T], the sequence of approximate solutions {zn(t)} converges uniformly to the exact solution on [0,T]. In order to determine the sequence zk(t), let us first construct a sequence of functions {xk(t)} in the following form: The first term of the sequence is x0(t)defined in (10), and then, write z0(t)≡x0(t),sothatwe choose as seed the function (10). Then, x1(t)∶= 1 𝜔∫t 0 b(s)z0(s)sin(𝜔(s−t))ds.(26) Thus, z1(t)=x0(t)+x1(t). Note that z0(t)≡x0(t). Next, write x2(t)∶= 1 𝜔∫t 0 b(s)x1(s)sin(𝜔(s−t))ds,(27) so that z2(t)=x0(t)+ 1 𝜔∫t 0 b(s)z1(s)sin(𝜔(s−t))ds, =x0(t)+ 1 𝜔∫t 0 b(s)[x0(s)+x1(s)] sin(𝜔(s−t))ds =x0(t)+x1(t)+x2(t). (28) We may proceed by induction and, hence, zk+1(t)=x0(t)+x1(t)+···+xk(t),(29) with xk(t)∶= 1 𝜔∫t 0 b(s)xk−1(s)sin(𝜔(s−t))ds.(30) The exact solution of (22) with the given initial conditions is just10 z(t) = lim k→∞zk(t)= ∞ ∑ k=0 xk(t).(31) This limit does exist uniformly on compact intervals.10
6GADELLA AND LARA Now, let us come back to Section 2, where we shall use 𝜆=1 and the initial conditions xk(0)=Aand . xk(0)=B,for k=0,1,2,…. The seed, x0(t), is given by (10). Then, let us go to (6) with 𝜆=1 and (11), so as to conclude that the exact solution is 𝜓(t)≡𝜙1(t)= ∞ ∑ k=0 xk(t)=x0(t)+ 1 𝜔∫t 0 b(s)sin 𝜔(s−t) ∞ ∑ k=1 xk(s)ds,(32) with x0(t)asin(10),sothat 𝜓n(t)=x0(t)+ 1 𝜔∫t 0 b(s)sin 𝜔(s−t) n−1 ∑ k=1 xk(s)ds =x0(t)+x1(t)+···+xn(t),(33) due to (11). A comparison between (33) with (30) and (31) shows that zn(t)and 𝜓n(t)provide of the same approximation for the solution of (5) with 𝜆=1 and the same value of 𝜔in both approximations. Nevertheless, this coincidence is a consequence of a particular choice of the seed solution made when using the Picard-Lindelöf method.10 This seed solution must coincide with the zero-order approximation (10) for the modified Lyapunov method, so that both methods be equivalent. Nevertheless, Picard-Lindelöf shows a bigger level of complexity than the modified Lyapunov method, and this fact may imply an advantage in favor of the latter. To begin with, the arbitrary choice of the seed solution is a factor that has a great influence on the speed of the convergence and, hence, in the precision of the nth approximation. Another origin of the bigger complexity of Picard-Lindelöf as compared with modified Lyapunov concerns on the procedure for the construction of each approximation in the first case, which relies on the generation of a sequence of partial sums, for which its convergence to a infinite series gives the exact solution. The advantage of the modified Lyapunov with respect to the Picard-Lindelöf may be shown by numerical experiments as we discuss next. 3.1 Two numerical experiments Numerical experiments show that the modified Lyapunov method requires shorter CPU times that the Picard-Lindelöf method. We give here two significative and simple examples. The former is just a simple linear oscillator such as x(t)+4x(t)=0,x(0)=. x(0)=1.(34) Let us write (34) in the form (5) with 𝜔=1. We have x(t)+x(t)+3𝜇x(t)=0.(35) Let us use the Picard-Lindelöf method, where now (23) has the following form: xk(t)+xk(t)+3xk−1(t)=0,k=1,2,…,n,(36) and initial conditions xk(0)=. xk(0)=1. Now, it is possible the choice of the seed solution under the condition that the same iteration produce the same precision. This can be done with x0(t)=sin t+cos t. We observe the following facts: a. In order to obtain a reasonable approximation to the exact solution, which is xexact(t)=cos2t+1 2sin 2t, on the interval [0,2𝜋], we need a minimum of 15 iterations, so that n≥15. Note that although the exact solution has a period equal to 𝜋,wehaveusedtheinterval[0,2𝜋], in order to evaluate the error. This helps to understand the quality of the obtained result, since although the solutions are local, they have nevertheless an excellent behavior over two periods. Then, the norm on L2[0,2𝜋]of the difference between the approximate solution and the exact solution is of the order of 10−6. Note that both integration methods are local, i.e., valid on compact intervals. b. We compare the variation of CPU times with the order nof approximation on both methods in Figure 1. We observe that the modified Lyapunov is more efficient that the Picard-Lindelöf method.
GADELLA AND LARA 7 FIGURE 1 Comparison of the CPU times of the Poincaré-Lindelöf method (dashed curve) with the CPU times of the modified Lyapunov (continuous curve) for the linear oscillator (34), with the same number of iterations FIGURE 2 Comparison of the CPU times of the Poincaré-Lindelöf method (dashed curve) with the CPU times of the modified Lyapunov (continuous curve) for the Mathieu equation, with the same number of iterations In the second example, we use the Mathieu equation; see below in (39). We choose as values of the parameters a=1 and q=0.05 (these values have been chosen by simplicity in the procedure) and, again, the initial values x(0)=. x(0)=1. This equation may be rewritten as x(t)+x(t)+𝜆(a−1−2qcos 2t)x(t)=0.(37) The implementation of Poincaré-Lindelöf yields to xk(t)+xk(t)+(a−1−2cos2t)xk−1(t)=0,k=0,1,2,…,n,(38) with initial conditions xk(0)=. xk(0)=1. We use x0(t)=sin t+cos tas initial seed. We compare the CPU times in Figure 2, so as to obtain similar conclusions than in the precedent example. Observethat modified Lyapunov is particularly advantageous for n>10. 4APPLICATIONS OF THE METHOD ON ODE OF INTEREST IN PHYSICS Along the present section, we test this extended Lyapunov method to some well-known second-order differential equations of interest in science. These are the Mathieu, which is a first order Hill equation, the Airy, and the Bratu equations.
8GADELLA AND LARA 4.1 The Mathieu equation The Mathieu equation has the following form2,11: x(t)+(a−2qcos 2t)x(t)=0,(39) with a,q>0. The general solution is a linear combination of the so called Mathieu special functions, C(a,q,t)and S(a,q,t). These solutions are not, in general periodic, although periodic solutions may be found for some values of the parameters aand q. A method to approximate periodic solutions has been proposed in Gadella et al.12 In order to check the extended Lyapunov method, we shall use an exact solution of (39). In this case, a=1, and q=0.05 with initial conditions given by x(0)=1and. x(0)=0. The resulting solution is x(t)=(0.763507 −0.641316i)C(1,0.05,t).(40) This solution is not periodic. Let us call w(t)to the function, obtained through the above method, that approximates the solution x(t)on the interval [0,T](usually T=2𝜋), x(t)being either (40) or another periodic exact solution. On this interval, the error produced by the use of w(t)is defined by En∶= ∫𝛽 0 (x(t)−w(t))2dt.(41) We have written Enas we have defined on the above procedure the approximate solution by an iterative process. Here, nwould be the order of the iteration necessary to achieve the approximate solution w(t).On(16),wehavedefinedthe error enthat may be applied either to our modified Lyapunov (ML) or the standard Lyapunov method (L). We have made some numerical experiments using both taking (40) as reference solution. We have used n=2,4,6 iterations with both methods. The results are displayed in Table 1. The information we obtain from Table 1 is clear: The approximation of non-periodic solutions on the interval [0,2𝜋]by the modified Lyapunov method gives a much higher precision than the precision obtained by the traditional Lyapunov method. We have performed some other numerical experiments leading to the same result. It is already outstanding the precision obtained with the use of the second iteration. Needless to say that the method allows finding the explicit form of the approximate solutions. Listing these solutions makes no sense as they are easily obtainable with the package Mathematica. Just to show the explicit form of one of them, the approximation to (39) obtained after the second iteration is x2(t)=(1.00639 +0.000315t2)cos 2t−0.00640625 cos 3t +0.0000130208 cos 5t+0.0246875tsin t−0.00015625tsin 3t. (42) Note that this is an approximation of the type (15) with p2(t)and q2(t)polynomial, so that (42) is not periodic. Thus, we estimate the error En. The estimation of the error encomes after the use of the averaging (17), which gives periodic approximations to the solution on the interval [0,2𝜋]. TABLE 1 Error estimations produced when approaching solution (39) on the interval [0,2𝜋]either using the modified Lyapunov method (ML) or the traditional Lyapunov method (L) ne nML EnML enLEnL 26.8610 −71.05 10−72.72 1031.15 103 41.40 10−12 1.21 10−14 1.17 1031.26 102 61.4710 −20 7.99 10−22 1.34 10 4.81 10−1 Note: We use two different definitions of errors, enas in (16) and Enas in (36). In our numerical tests, en<Enin general. The furthermost left column gives the order of iteration.
GADELLA AND LARA 9 4.1.1 Characteristic values As is well known, not all solutions of the Mathieu equation are periodic. Periodic solutions are labeled by some values of afor given q. In particular, for |q|<1 and solutions with period 𝜋, we may single out the three first characteristic values, which are11 a1=1−q−1 8q2+1 64 q3−1 1536 q4+…, a2=4+5 12 q2−763 13824 q4+10002401 79626240 q6+…, a3=9+1 16 q2−1 64 q3+13 20480 q4+…. (43) To apply the modified Lyapunov method, let us go to (15) with 𝜔=2, which takes the form xn(t)= m(n) ∑ k=0 {pk(t)cos 2kt +qk(t)sin 2kt},(44) and write the Mathieu equation (39) as x(t)+4x(t)+𝜆(a−4−2qcos 2t)x(t)=0.(45) In order to single out a particular solution, we have to choose some initial conditions such as x(0)=0and. x(0)=1. Note that in (45), we have to determine somehow the characteristic value a, which is not arbitrary and requires some other conditions. In fact, the values of aare determined as follows: Take a given value of n. The following equation xn(𝜋)=0,(46) where xn(𝜋)is given in (44), is a polynomial equation on the variable ahaving m(n)solutions. Take the real roots on aof (46). Then, select those real roots fulfilling the condition . x(𝜋)≈1. This gives a list of approximate characteristic values for the Mathieu equation. We repeat the procedure with higher values of nuntil a change in the value of ndoes not produce any substantial change on the characteristic values. The percent relative error, ea, of the values of ais defined as the modulus of ea∶= aML −aExact aExact ,(47) where aExact corresponds to an exact value of the characteristic value under consideration and aML is the value obtained by the use of modified Lyapunov. In Table 2, we give the percent errors of the three first characteristic values obtained with modified Lyapunov as compared to the exact values as appeared in (43). Here, we have used q=0.1. Once we have established the approximate characteristic values, we may determine the approximate solutions. On Table3,wecomparetheerrorsenand Enproduced as the consequence of applying either Modified Lyapunov of order 10 or Runge-Kutta on the same interval, once we have fixed certain values of a1,a2,anda3. We recall that for each characteristic value, we have one solution and that these errors correspond to the solution provided by its characteristic value. n=10 a1a2a3 Exact 0.89876 4.00416 9.00061 ML 0.89876 3.99917 9.00182 ea0.0 0.12 0.013 Note: In the second row, “Exact” denotes the values given by (43) with q=0.1. In the third row “ML” mean the values obtained by modified Lyapunov. The values of eaare listed on the last row. TABLE 2 Percent relative errors eain the evaluation of the three first characteristic values of the Mathieu equation
16 GADELLA AND LARA ORCID Manuel Gadella https://orcid.org/0000-0001-8860-990X REFERENCES 1. Mickens RE. Truly Non-linear Oscillations: Harmonic Balance, Parameter Expansions, Iteration and Averaging Methods. Singapore: World Scientific; 2012. 2. Farkas M. Periodic Motions. New York: Springer; 1994. 3. Chicone C. Ordinary Differential Equations With Applications. Berlin and New York: Springer; 1999. 4. Hairer E, Norsett SP, Wanner G. Solving Ordinary Differential Equations I, Nonstiff Problems. New York: Springer-Verlag; 2000. 5. Strogatz R. Nonlinear Dynamics and Chaos. New York: Westview; 1994. 6. He JH. Variational principles for some nonlinear partial differential equations with variable coefficients. Chaos Solitons Fractals. 2004;19(4):847-851. 7. He JH. Some asymptotic methods for strongly nonlinear equations. Int J Mod Phys B. 2006;20(10):1141-1199. 8. Hermann M, Saravi S. A First Course in Ordinary Differential Equations. Analytical and Numerical Methods. Berlin: Springer; 2018. 9. Gilmore RJ, Steer MB. Nonlinear circuit analysis using the method of harmonic balance. A review of the art. Part I. Introductory concepts. J Microw Mill- Wave Comput Aided Eng. 1991;1:22-37. 10. Ramos JI. On the Picard-Lindelöf method for non-linear second order differential equations. Appl Math Comp. 2008;203:238-242. 11. Abramowitz M, Stegun I. Handbook of Mathematical Functions. New York: Dover; 1972. 12. Gadella M, Giacomini H, Lara LP. Periodic analytic approximate solutions for the Mathieu equation. Appl Math Comp. 2015;271:436-445. 13. Duffing G. Erzwungene Schwingungen bei veränderlicher Eigenfrequenz und ihre technische Bedeutung, Heft 41/42, Braunschweig: Vieweg, vi+134 pp. OCLC 12003652; 1918. 14. Bender CM, Orszag SA. Advanced Mathematical Methods for Scientists and Engineers I: Asymptotic Methods and Perturbation Theory. Berlin: Springer; 1999. 15. Estevez PG, Kuru S, Negro J, Nieto LM. Solutions of a class of Duffing oscillators with variable coefficients. Int J Theor Phys. 2011;50:2046-2056. 16. van der Pol B. On oscillation hysteresis in a triode generator with two degrees of freedom. Philos Mag. 1922;43(6):700-719. 17. Alvarez-Sánchez JJ, Gadella M, Lara LP. A method to find approximate solutions of first-order systems of nonlinear ordinary equations. Math Meth Appl Sci. 2021;44:10014-10031. How to cite this article: Gadella M, Lara LP. A modified Lyapunov method and its applications to ODE. Math Meth Appl Sci. 2022,1-16. doi:10.1002/mma.8598