Comparative analysis of Euler, fourth-order Runge-Kutta, and error-dependent adaptive modified Chebyshev spectral methods for solving second-order nonlinear initial value problems

Second-order ordinary differential equations (ODEs) are widely used to model dynamical systems. However, the numerical solution of second-order ODEs may be problematic when nonlinearities, oscillatory systems, stiffness, or highly varying solutions are encountered. In this study, an error-dependent adaptive modified Chebyshev spectral (ED-AMCS) solution method is formulated, and the numerical results are compared with those obtained using the explicit Euler and classical fourth-order Runge-Kutta (RK4) methods. The numerical method in the proposed ED-AMCS approach involves a modified Chebyshev polynomial approximation satisfying initial conditions exactly, complemented by a Chebyshev-Gauss-Lobatto collocation, spectral differentiation matrices, and a residual-dependent adaptive Newton iteration with damping and backtracking. Seven test IVPs are employed to evaluate the performance of the method, comprising nonlinear variable-coefficient, constant-coefficient, highly oscillatory, and nonlinear systems, as well as stiff and damped dynamics. Euler and RK4 methods are evaluated using \(h=0.1\) , 0.05, and 0.025, while polynomial degrees of \(N=10\) , 20, and 40 are used for ED-AMCS. Comparison is made of accuracy, convergence behaviour, maximum absolute error, discrete \(L_{2}\) norms, CPU, and numerical robustness on a common evaluation grid. RK4 consistently improves accuracy over Euler and provides a practical alternative when computational cost is a primary consideration, while ED-AMCS produces the lowest reported errors for all seven test problems, often approaching machine precision for sufficiently smooth solutions. The enhancements in accuracy demand additional CPU time for spectral matrix formation, nonlinear iterations, and solution of the collocation system. These results establish ED-AMCS as an extremely accurate method when high numerical accuracy is required, while RK4 compromises between accuracy and computational efficiency.

Authors

Institutions

Publication Details

Journal
Boundary Value Problems
Published
2026-11-24
DOI
https://doi.org/10.1186/s13661-026-02389-4
Primary Topic
Numerical Solvers for Ordinary Differential Equations
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Comparative analysis of Euler, fourth-order Runge-Kutta, and error-dependent adaptive modified Chebyshev spectral methods for solving second-order nonlinear initial value problems

Yenesew Workineh, Habtam Mekonnen
1 links
Boundary Value Problems
Numerical Solvers for Ordinary Differential Equations
article

Comparative analysis of Euler, fourth-order Runge-Kutta, and error-dependent adaptive modified Chebyshev spectral methods for solving second-order nonlinear initial value problems

Yenesew Workineh, Habtam Mekonnen
article en

Abstract

Second-order ordinary differential equations (ODEs) are widely used to model dynamical systems. However, the numerical solution of second-order ODEs may be problematic when nonlinearities, oscillatory systems, stiffness, or highly varying solutions are encountered. In this study, an error-dependent adaptive modified Chebyshev spectral (ED-AMCS) solution method is formulated, and the numerical results are compared with those obtained using the explicit Euler and classical fourth-order Runge-Kutta (RK4) methods. The numerical method in the proposed ED-AMCS approach involves a modified Chebyshev polynomial approximation satisfying initial conditions exactly, complemented by a Chebyshev-Gauss-Lobatto collocation, spectral differentiation matrices, and a residual-dependent adaptive Newton iteration with damping and backtracking. Seven test IVPs are employed to evaluate the performance of the method, comprising nonlinear variable-coefficient, constant-coefficient, highly oscillatory, and nonlinear systems, as well as stiff and damped dynamics. Euler and RK4 methods are evaluated using \(h=0.1\) , 0.05, and 0.025, while polynomial degrees of \(N=10\) , 20, and 40 are used for ED-AMCS. Comparison is made of accuracy, convergence behaviour, maximum absolute error, discrete \(L_{2}\) norms, CPU, and numerical robustness on a common evaluation grid. RK4 consistently improves accuracy over Euler and provides a practical alternative when computational cost is a primary consideration, while ED-AMCS produces the lowest reported errors for all seven test problems, often approaching machine precision for sufficiently smooth solutions. The enhancements in accuracy demand additional CPU time for spectral matrix formation, nonlinear iterations, and solution of the collocation system. These results establish ED-AMCS as an extremely accurate method when high numerical accuracy is required, while RK4 compromises between accuracy and computational efficiency.

Boundary Value Problems
Mekdela Amba University (ET)
Numerical Solvers for Ordinary Differential Equations
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon