Comparison Structure Preserving Integrator with Conventional Method in Energy Conservation From Double Pendulum

Authors

Keywords:

double pendulum, Hamiltonian system, symplectic integrator, Gauss–Legendre method, energy conservation

Abstract

This study investigates the long-time numerical behavior of a planar double pendulum formulated as a Hamiltonian system under different time integration schemes. The double pendulum is a benchmark chaotic system in which accurate long term energy behavior is essential for obtaining physically meaningful trajectories. The purpose of this work is to compare a conventional explicit method (classical Runge–Kutta), a Störmer–Verlet, and two structure preserving integrators (implicit midpoint and Gauss–Legendre collocation) in terms of phase space dynamics, energy conservation, and computational cost. The equations of motion are integrated numerically with identical physical parameters, time-step size, and simulation horizon for all methods. Phase plots of the angles and canonical momenta are compared with reference results from the literature to verify the correctness of the implementation. Long time energy behavior is then assessed using scalar error metrics derived from the numerical Hamiltonian, and simple runtime benchmarks are used to evaluate efficiency. The results show that the implicit midpoint and the Gauss–Legendre method provide phase portraits consistent with the reference and maintain the energy close to a single level over long times, whereas the classical Runge–Kutta scheme exhibits a mild but systematic drift. The Gauss–Legendre integrator also achieves the smallest energy errors and the highest throughput, making it the most reliable and efficient option among the methods tested. In other words, for long time simulations of Hamiltonian systems, methods that preserve the symplectic structure are more important than merely increasing the formal order of accuracy. These findings provide a quantitative benchmark for geometric integrators on chaotic systems and form a conceptual bridge toward future structure preserving, data driven models such as Hamiltonian Neural Networks.

References

1. Munir R. Metode Numerik [Internet]. ITB Press. Bandung: ITB Press; 2015 [cited 2025 Nov 19]. Available from: https://informatika.stei.itb.ac.id/~rinaldi.munir/Buku/Metode%20Numerik/pdf/

2. Celledoni E, McLachlan RI, McLaren DI, Owren B, Quispel GRW, Wright WM. Energy-preserving runge-kutta methods. ESAIM: Mathematical Modelling and Numerical Analysis [Internet]. 2009 Jul 1 [cited 2025 Nov 23];43(4):645–9. Available from: https://doi.org/10.1051/m2an/2009020

3. Jamil H, Sakaji A. Geometric Integrators with Application To Hamiltonian Systems [Internet]. UAEU; 2015 [cited 2025 Nov 23]. Available from: https://scholarworks.uaeu.ac.ae/all_theses/224

4. Hairer E, Hochbruck M, Iserles A, Lubich C. Geometric Numerical Integration. Oberwolfach Reports [Internet]. 2011 Sep 7 [cited 2025 Nov 23];8(1):825–900. Available from: DOI 10.4171/OWR/2011/16

5. LEIMKUHLER B, REICH S. Simulating Hamiltonian Dynamics [Internet]. New York: Cambridge University Press; 2004 [cited 2025 Nov 19]. Available from: www.cambridge.org/9780521772907

6. Kessels M. Symplectic Methods for the Double Pendulum Bachelor Final Project [Internet]. Eindhoven University of Technology; 2022 [cited 2025 Oct 23]. Available from: https://research.tue.nl/files/226599149/Thesis_BTW_Kessels.pdf

7. Jones S, Lai D. Chaotic Motion and Energy Conservation in the Double Pendulum. 2022 Sep [cited 2025 Nov 1]; Available from: https://www.researchgate.net/publication/363418755

8. Sharma HA, Ross S. Structure-preserving Numerical Methods for Engineering Applications [Internet]. [Virginia]: Virginia Polytechnic Institute and State University; 2020 [cited 2025 Oct 3]. Available from: http://hdl.handle.net/10919/99912

9. Greydanus S, Dzamba M, Yosinski J. Hamiltonian Neural Networks. 2019 Sep 5; Available from: http://arxiv.org/abs/1906.01563

10. Taylor JR. Classical mechanics [Internet]. Colorado: University Science Books; 2005 [cited 2025 Oct 12]. Available from: https://archive.org/details/classical-mechanics-instructors-solution-manual-john-taylor

11. Espíndola R, Del Valle G, Hernández G, Pineda I, Muciño D, Díaz P, et al. The Double Pendulum of Variable Mass: Numerical Study for different cases. J Phys Conf Ser [Internet]. 2019 Jun 1;1221(1):012049. Available from: https://iopscience.iop.org/article/10.1088/1742-6596/1221/1/012049

12. Srinivasan A, Castillo JE. Energy preserving high order mimetic methods for Hamiltonian equations. Comput Fluids [Internet]. 2025 Jul 30;297:106642. Available from: https://linkinghub.elsevier.com/retrieve/pii/S0045793025001021

13. Qiu YF, Wu X. Application of the Störmer - Verlet-like symplectic method to the wave equation. Chinese Physics Letters. 2013;30(8).

14. Shepherd D, Miles J, Heil M, Mihajlović M. An Adaptive Step Implicit Midpoint Rule for the Time Integration of Newton’s Linearisations of Non-Linear Problems with Applications in Micromagnetics. J Sci Comput [Internet]. 2019 Aug 21;80(2):1058–82. Available from: http://link.springer.com/10.1007/s10915-019-00965-8

15. Iavernaro F, Mazzia F, Hairer E. High-order Gauss-Legendre methods admit a composition representation and a conjugate-symplectic counterpart. 2025 Nov 4; Available from: http://arxiv.org/abs/2506.16809

16. Mizerová H, Tvrdá K. A new way of deriving implicit Runge-Kutta methods based on repeated integrals. 2024 Dec 12; Available from: http://arxiv.org/abs/2404.16665

17. Saputra RA, Saefan J, Siswanto DJ. Pendekatan Numerik Gerak Kinematika Pendulum Ganda. Jurnal Lontar Physics Today [Internet]. 2024;3(3):111–9. Available from: http://journal.upgris.ac.id/index.php/UPT

18. Razafindralandy D, Salnikov V, Hamdouni A, Deeb A. Some robust integrators for large time dynamics. Adv Model Simul Eng Sci [Internet]. 2019 Dec 28;6(1):5. Available from: https://amses-journal.springeropen.com/articles/10.1186/s40323-019-0130-2

Downloads

Published

2026-06-30

How to Cite

ramadhan, H. nuha and Novitrian (2026) “Comparison Structure Preserving Integrator with Conventional Method in Energy Conservation From Double Pendulum”, Jurnal Penelitian Fisika dan Aplikasinya (JPFA), 16(1), pp. 27–42. Available at: https://journal.unesa.ac.id/index.php/jpfa/article/view/47955 (Accessed: 4 August 2026).
Abstract views: 16 , PDF Downloads: 8