Solving the Duffing Equation via Hybrid Fourier-Block-Pulse Basis Functions

Document Type : Research article

Authors

Department of Mathematics, Faculty of Mathematics, Statistics and Computer Sciences, Semnan University, P. O. Box 35195-363, Semnan, Iran

Abstract

In this paper, a novel numerical method based on hybrid Fourier and block-pulse functions (HFBPFs) is proposed for solving the nonlinear Duffing equation. Although hybrid Fourier-block-pulse bases have been previously applied to linear integral equations and calculus of variations problems, their application to the Duffing equation---a benchmark nonlinear oscillator with cubic stiffness---has not been reported in the literature. The proposed method combines the local behavior of block-pulse functions with the spectral accuracy of Fourier series within each subinterval. The operational matrix of integration and the product operational matrix are derived for the hybrid basis, and the Duffing equation is reduced to a system of nonlinear algebraic equations. Numerical examples demonstrate that the HFBPFs method achieves approximately three orders of magnitude improvement in accuracy compared with pure block-pulse functions, while avoiding the Gibbs phenomenon that affects pure Fourier approximations for non-smooth solutions. The method offers dual tunability through the number of subintervals and the number of Fourier components per subinterval, providing flexibility in balancing accuracy and computational cost.

Keywords

Main Subjects


 

Article PDF

[1] M. A. AL-Jawary and S. A. Razaq, Analytic and numerical solution for Duffing equations, International Journal of Basic and Applied Sciences, 5(2), 95–101, (2016).
[2] B. Asady, M. T. Kajani, A. H. Vencheh and A. Heydari, Solving second kind integral equations with hybrid Fourier and block–pulse functions, Applied Mathematics and Computation, 160(2), 517–522, (2005).
[3] C. F. Chen and C. H. Hsiao, A Walsh series direct method for solving variational problems, Journal of the Franklin Institute, 300(4), 265–280, (1975).
[4] M. R. Doostdar, M. Kazemi and A. Vahidi, A numerical method for solving the Duffing equation involving both integral and non-integral forcing terms with separated and integral boundary conditions, Computational Methods for Differential Equations, 11(2), 241–253, (2023).
[5] J. Guckenheimer and P. Holmes, Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields, Springer Science & Business Media, (2013).
[6] H. F. Harmuth, Transmission of Information by Orthogonal Functions, Springer Science & Business Media, (2012).
[7] M. Heydari, G. B. Loghmani, S. M. Hosseini and S. M. Karbassi, Application of hybrid functions for solving Duffing-harmonic oscillator, Journal of Difference Equations, 2014(1), 210754, (2014).
[8] Y. G. Jan and K. M. Wong, Bilinear system identification by block pulse functions, Journal of The Franklin Institute, 312(5), 349–359, (1981).
[9] I. Kovacic and M. J. Brennan, The Duffing Equation: Nonlinear Oscillators and their Behaviour, John Wiley & Sons, (2011). [10] D. G. Luenberger, Optimization by Vector Space Methods, John Wiley and Sons, (1997).
[11] H. R. Marzban and M. Razzaghi, Numerical solution of the controlled Duffing oscillator by hybrid functions, Applied Mathematics and Computation, 140(2–3), 179–190, (2003).
[12] H. R. Marzban and M. Razzaghi, Hybrid functions approach for linearly constrained quadratic optimal control problems, Applied Mathematical Modelling, 27(6), 471–485, (2003).
[13] A. H. Nayfeh and D. T. Mook, Nonlinear Oscillations, John Wiley and Sons, (2024).
[14] G. Özaltun and S. Gümgüm, Numerical solutions of Troesch and Duffing equations by Taylor wavelets, Hacettepe Journal of Mathematics and Statistics, 1–11, (2023).
[15] P. Pirmohabbati, A. R. Sheikhani, H. S. Najafi and A. A. Ziabari, Numerical solution of full fractional Duffing equations with Cubic-Quintic-Heptic nonlinearities, AIMS Mathematics, 5(2), 1621–1641, (2020).
[16] P. Pirmohabbati, A. R. Sheikhani, H. S. Najafi and A. A. Ziabari, Numerical solution of full fractional Duffing equations with Cubic-Quintic-Heptic nonlinearities, AIMS Mathematics, 5(2), 1621–1641, (2020).
[17] G. Prasada Rao and T. Srinivasan, Analysis and synthesis of dynamic systems containing time delays via block-pulse functions, Proceedings of the Institution of Electrical Engineers, 125(10), 1064–1068, (1978).
[18] M. Ghasemi, E. Babolian and M. Tavssoli Kajani, Hybrid Fourier and block-pulse functions for applications in the calculus of variations. International Journal of Computer Mathematics, 83(8–9), 695–702, (2006).
[19] P. Sannuti, Analysis and synthesis of dynamic systems via block-pulse functions, Proceedings of the Institution of Electrical Engineers, 124(6), 569–571, (1977).
[20] P. Sekar and S. Narayanan, Chaos in mechanical systems—A review, Sadhana, 20(2), 529–582, (1995).
[21] L. S. Shieh, C. K. Yeung and B. C. McInnis, Solution of state-space equations via block-pulse functions, International Journal of Control, 28(3), 383–392, (1978).