Abstract
The Leibniz integrating factor yields a reliable and direct way to solve linear first order ordinary differential equations. However, attempts to extend the technique to second or higher order differential equations resulted in integrating factors that are function of both the dependent and the independent variable and, thus, are the result of partial differential equations. Due to the importance of second and higher order ordinary differential equations in Applied Mathematics, Physics and Engineering, a simpler integrating factor, i.e., function of the independent variable only, gives important results to many problems that, today, rely on a multitude of different and more specific solution methods. Hence, this manuscript introduces the concept of generalized integrating factor for linear ordinary differential equations of order n. The procedure is used to address linear second order equations with varying and with constant coefficients. The solutions are analytically derived by means of nested convolutions and a close relation between linear and nonlinear differential equations is established. One interesting aspect of the proposed formulation is the fact that both the analytical homogeneous and the analytical particular solutions are obtained in separate. Analytical solutions for Bessel, Cauchy–Euler and the constant coefficients cases are provided and compared to examples in the literature and using numerical methods. Special attention is given to the constant coefficients case, since its application in mechanical and electrical engineering is widespread. Thus, a set of continuous excitation—periodic and polynomial—and discontinuous excitation functions—Dirac’s delta and Heaviside step function—are studied and their analytical solution are given. The analytical results were compared to each established method, like undetermined coefficients, variation of parameters and Laplace transform, showing the exactness and convenience of this generalization of the Leibniz integrating factor.
Similar content being viewed by others
Data availability
Data will be made available on request
Notes
Conversely, it is also possible to define \(f_{2,1,2}=c-f_{2,1,1}\) such that
or
also a Riccati differential equation.
References
Rao SS (2017) Mechanical vibrations. Pearson Education, Incorporated, Boston
Kilbas AA, Srivastava HM, Trujillo JJ (2006) Theory and applications of fractional differential equations. Elsevier, New York
Bluman GW, Anco SC (2002) Symmetry and integration methods for differential equations. Springer, New York
Wolfram Research I (2018) Mathematica: Version 11.3
Boyd JP (2001) Chebyshev and Fourier spectral methods. Dover Publications, Mineola
Karniadakis GE, Sherwin SJ (2013) Spectral/HP element methods for computational fluid dynamics. Oxford University Press, London
Raissi M, Karniadakis GE (2018) Hidden physics models: machine learning of nonlinear partial differential equations. J Comput Phys 357:125–141
Bonnaffé W, Coulson T (2023) Fast fitting of neural ordinary differential equations by Bayesian neural gradient matching to infer ecological interactions from time-series data. Methods Ecol Evol 14(7):1–21. https://doi.org/10.1111/2041-210X.14121
Bender CM, Orszag SA (1999) Advanced mathematical methods for scientists and engineers I: asymptotic methods and perturbation theory. Springer, New York
Xiu D, Karniadakis GE (2002) The Wiener-Askey polynomial chaos for stochastic differential equations. SIAM J Sci Comput 24(2):619–644
Cheb-Terrab ES, Roche AD (1999) Integrating factors for second-order odes. J Symb Comput 27(5):501–519. https://doi.org/10.1006/jsco.1999.0264
Boyce WE, Diprima RC (2001) Elementary differential equations and boundary value problems, 7th edn. Wiley, New York
Lewis BJ, Onder EN, Prudil AA (2022) Advanced mathematics for engineering students. Butterworth-Heinemann, Oxford, pp 349–372. https://doi.org/10.1016/B978-0-12-823681-9.00021-6
Kittipoom P (2019) A remark on variation of parameters. Coll Math J 50(3):221–223. https://doi.org/10.1080/07468342.2019.1603057
Quinn T, Rai S (2012) Variation of parameters in differential equations (a variation in making sense of variation of parameters). Primus 23(1):25–44. https://doi.org/10.1080/10511970.2012.694016
Nazmul IM, Devnath I (2020) Exact analytical solutions for bending of bi-directional functionally graded nanobeams by the nonlocal beam theory using the Laplace transform. Forces Mech 1:100002. https://doi.org/10.1016/j.finmec.2020.100002
Mahmoodi R, Zolfaghari A, Minuchehr A (2019) Laplace transform finite volume modeling of water hammer along fluid–structure interaction. Comput Math Appl 77(10):2821–2832. https://doi.org/10.1016/j.camwa.2019.01.014
Zhao L, Wang QJ, Zhang X, Hatzell KB, Zaman W, Martin TV, Wang Z (2022) Laplace–Fourier transform solution to the electrochemical kinetics of a symmetric lithium cell affected by interface conformity. J Power Sources 531:231305. https://doi.org/10.1016/j.jpowsour.2022.231305
Kelly S (2006) Advanced vibration analysis, pp 1–639. https://doi.org/10.1201/b15904
Zou L, Yuan J, Liu X, Li J, Zhang P, Niu Z (2021) Burgers viscoelastic model-based variable stiffness design of compliant clamping mechanism for leafy greens harvesting. Biosyst Eng 208:1–15. https://doi.org/10.1016/j.biosystemseng.2021.05.007
Ramos JI (2020) Shock waves of viscoelastic burgers equations. Int J Eng Sci 149:103226. https://doi.org/10.1016/j.ijengsci.2020.103226
Marynowski K, Kapitaniak T (2002) Kelvin–Voigt versus Bürgers internal damping in modeling of axially moving viscoelastic web. Int J Non-Linear Mech 37(7):1147–1161. https://doi.org/10.1016/S0020-7462(01)00142-1. (Nonlinear Dynamic Instability of Structures)
Lv H, Ye W, Tan Y, Zhang D (2022) Inter-conversion of the generalized Kelvin and generalized Maxwell model parameters via a continuous spectrum method. Constr Build Mater 351:128963. https://doi.org/10.1016/j.conbuildmat.2022.128963
El-Tawil MA, Bahnasawi AA, Abdel-Naby A (2004) Solving Riccati differential equation using Adomian’s decomposition method. Appl Math Comput 157(2):503–514. https://doi.org/10.1016/j.amc.2003.08.049
Tan Y, Abbasbandy S (2008) Homotopy analysis method for quadratic Riccati differential equation. Commun Nonlinear Sci Numer Simul 13(3):539–546. https://doi.org/10.1016/j.cnsns.2006.06.006
Kudryashov N (2003) Nonlinear differential equations with exact solutions
Hughes TJR (2000) The finite element method: linear static and dynamic finite element analysis. Dover civil and mechanical engineering. Dover Publications, Mineola
Tsitouras C (2011) Runge–Kutta pairs of order 5(4) satisfying only the first column simplifying assumption. Comput Math Appl 62(2):770–775. https://doi.org/10.1016/j.camwa.2011.06.002
Harko T, Lobo FSN, Mak MK (2014) Analytical solutions of the Riccati equation with coefficients satisfying integral or differential conditions with arbitrary functions. Univ J Appl Math 2(2):109–118
File G, Aga T (2016) Numerical solution of quadratic Riccati differential equations. Egypt J Basic Appl Sci 3(4):392–397. https://doi.org/10.1016/j.ejbas.2016.08.006
Campbell JG, Golomb M (1954) On the polynomial solutions of a Riccati equation. Am Math Mon 61(6):402–404
Navickas Z, Ragulskis M, Marcinkevicius R, Telksnys T (2017) Kink solitary solutions to generalized Riccati equations with polynomial coefficients. J Math Anal Appl 448(1):156–170. https://doi.org/10.1016/j.jmaa.2016.11.011
Kilicman A, Silambarasan R (2018) Modified kudryashov method to solve generalized Kuramoto–Sivashinsky equation. Symmetry. https://doi.org/10.3390/sym10100527
Gaber AA, Aljohani AF, Ebaid A, Machado JT (2019) The generalized Kudryashov method for nonlinear space-time fractional partial differential equations of burgers type. Nonlinear Dyn 95(1):361–368. https://doi.org/10.1007/s11071-018-4568-4
Kaplan M, Bekir A, Akbulut A (2016) A generalized Kudryashov method to some nonlinear evolution equations in mathematical physics. Nonlinear Dyn 85(4):2843–2850. https://doi.org/10.1007/s11071-016-2867-1
Agarwal A, Lang J (2005) Foundations of analog and digital electronic circuits. Elsevier Science, Boston
Irwin JD, Nelms RM (2006) Basic engineering circuit analysis. Wiley, New York
Eftekhari SA (2015) A differential quadrature procedure with regularization of the Dirac-delta function for numerical solution of moving load problem. Latin Am J Solids Struct 12(7):1241–1265. https://doi.org/10.1590/1679-78251417
Humar JL (2005) Dynamics of structures. A.A. Balkema Publishers, Cape Town
Kanwal RP (2011) Generalized functions: theory and applications. Birkhäuser, Boston
Acknowledgements
Authors acknowledge CNPq (Process Numbers 303900/2020-2 and 308025/2023-7) and FAPESC (Process Number 2021TR843 and scholarship CP48/2021). This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001 and process 88887.807649/2023-00. The authors are thankful for the suggestions of Professor Rafael Furlanetto in the early stages of this work.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Technical Editor Samuel da Silva.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix A Families of Riccati equations with simple particular solutions using substitution
Although the Riccati sister equation is a nonlinear differential equation, for many cases finding a particular solution is straightforward. Two cases will be addressed: when the particular solution is a constant and when the particular solution is a polynomial of the independent variable. The focus will be on Eq. 32, nonetheless, the analysis holds true for the equation with \(f_{2,1,1}\).
1.1 A.1 Constant particular solution
To Eq. 32 admit a constant particular solution, the following conditions must hold,
and,
where a and b are constants. Thus, Eq. 32 is simplified to
whose particular solutions are the roots of the above quadratic algebraic equation. The positive root is chosen,
1.2 A.2 Polynomial particular solution
Let \(f_{2,1,2}\) and the differential equation coefficients be polynomials,
Consequentely the polynomial degree, D(p(t)), of each of these coefficients and particular solution is: \(D\left( f_{2,1,2}\right) =a\), \(D\left( m\right) =b\), \(D\left( c\right) =d\) and \(D\left( k\right) =g\). When applying these polynomials to Eq. 32, the degrees of the polynomials to be equal between the left hand side and the right hand side, the degrees must satisfy the following relations,
Thus, applying these polynomials into Eq. 32 and separating the squares of each coefficient of the solution yields
The even powers of t on the left hand side can be matched to the equivalent terms on the right hand side,
where from, one can derive the following independent relations,
which form a set of independent second order algebraic equations. When the z coefficients are applied into Eq. 32, all the even powers in the right hand side of the equation will cancel out with the even powers in the left hand side. Thus, the coefficients given in Eq. A14 to be solution of the Riccati sister equation, the coefficients of m, c and k must satisfy conditions given by the odd powers, which form a set of a equations.
Appendix B Families of Riccati equations with simple particular solutions using integration conditions
The given Riccati equation can be divided in 4 terms,
Therefore, one can solve this equation piecewise. E.g.,
-
\(\phi _{1}=\phi _{2}\) and \(\phi _{3}=-\phi _{4}\)
$$\begin{aligned} f_{2,1,2}^{2}=m\dot{f}_{2,1,2}\implies f_{2,1,2}=\frac{-1}{a+\int {\frac{1}{m} \text {d}t}}, \end{aligned}$$(B16)in which, a is a constant, and
$$\begin{aligned} \left( c-\dot{m}\right) f_{2,1,2}=md \implies f_{2,1,2}=\frac{md}{c-\dot{m}}, \end{aligned}$$(B17)comparing both equations, one finds a condition for d,
$$\begin{aligned} d=\frac{\dot{m}-c}{m\left( a+\int {\frac{1}{m} \text {d}t}\right) }. \end{aligned}$$(B18) -
\(\phi _{1}=\phi _{4}\) and \(\phi _{2}=-\phi _{3}\)
$$\begin{aligned}{} & {} m\dot{f}_{2,1,2}+\left( \dot{m}-c\right) f_{2,1,2}=0\nonumber \\{} & {} \quad \implies f_{2,1,2}=\frac{a\exp \left( \int {\frac{c}{m}\text {d}t}\right) }{m}, \end{aligned}$$(B19)and
$$\begin{aligned} f_{2,1,2}^{2}=-md\implies f_{2,1,2}=\sqrt{-md}, \end{aligned}$$(B20)hence, the condition for d is
$$\begin{aligned} d=\frac{a\exp \left( 2\int {\frac{c}{m}\text {d}t}\right) }{m^{3}}. \end{aligned}$$(B21)The negative sign and the square of constant a were omitted, since a can be any complex number.
-
\(\phi _{1}=\phi _{3}\) and \(\phi _{2}=\phi _{4}\)
$$\begin{aligned} f_{2,1,2}^{2}=\left( c-\dot{m}\right) f_{2,1,2}\implies f_{2,1,2}=c-\dot{m}, \end{aligned}$$(B22)and,
$$\begin{aligned} m\dot{f}_{2,1,2}=md\implies d=\dot{f}_{2,1,2}, \end{aligned}$$(B23)thus,
$$\begin{aligned} d=\dot{c}-\ddot{m}. \end{aligned}$$(B24)
Integration conditions Eqs. B18 and B21 can be more useful, since the constant a in them generate an infinite number of possible functions d.
Appendix C Convolution over Dirac’s delta distribution
The convolution of a function over the Dirac’s delta is usually defined as [40]
The integration limits can be split as
for \(t_{k}\) strictly positive, the integral from \(-\infty \) to 0 is 0 by definition, thus, the integral from 0 to t can be rewritten as
The filter or sifting property of the delta of Dirac is due to the shape of this distribution, i.e., it is null everywhere except in its discontinuity, thus, the function that multiplies the Dirac’s delta is constant at this point, for the discontinuity of the delta distribution is infinitely close to the \(t_{k}\) point. Therefore, the value of the function can be taken out of the integral and the definition of the Dirac’s delta is used to show that
hence, Eq. C27 can be rewritten to
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Janczkowski Fogaça, M., Lenz Cardoso, E. A systematic approach to obtain the analytical solution for linear second order ordinary differential equations: part I. J Braz. Soc. Mech. Sci. Eng. 46, 214 (2024). https://doi.org/10.1007/s40430-024-04755-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s40430-024-04755-8