An Adaptive Modified Euler Method For Nonlinear Ordinary Differential Equations: Algorithm Development And Numerical Assessment
Main Article Content
Abstract
This paper develops an error-controlled adaptive modified Euler procedure for nonlinear first-order initial value problems. The starting point is the explicit trapezoidal, or Heun, corrector, which has second-order global accuracy but requires an appropriate step size. A course full step and two half steps produce a computable discrepancy; dividing its magnitude by three estimates the leading local error of the finer solution. A tolerance-scaled acceptance test and bounded proportional update then determine the next step. The method is set out in reproducible pseudocode, with safeguards for endpoint handling, rejected steps and function-evaluation accounting. Logistic and Riccati equations with known exact solutions serve as transparent numerical illustrations. The investigation separates the accuracy of the accepted fine-grid result from the cost of obtaining its error estimate. It also explains why the procedure should be understood as an adaptive implementation of a recognised order-two integrator, not as a new order of accuracy. The principal contribution is an explicit, auditable integration of low-order correction and practical local-error control.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
Bogacki, P., & Shampine, L. F. (1989). A 3(2) pair of Runge–Kutta formulas. Applied Mathematics Letters, 2(4), 321–325.
Dormand, J. R., & Prince, P. J. (1980). A family of embedded Runge–Kutta formulae. Journal of Computational and Applied Mathematics, 6(1), 19–26.
Fehlberg, E. (1969). Low-order classical Runge–Kutta formulas with stepsize control and their application to some heat transfer problems (NASA TR R-315).
Gear, C. W. (1971). Numerical initial value problems in ordinary differential equations. Prentice-Hall.
Gustafsson, K., Lundh, M., & Söderlind, G. (1988). A PI stepsize control for the numerical solution of ordinary differential equations. BIT, 28, 270–287.
Hairer, E., Nørsett, S. P., & Wanner, G. (1993). Solving ordinary differential equations I: Nonstiff problems (2nd ed.). Springer.
Hall, G., & Higham, D. J. (1988). Analysis of stepsize selection schemes for Runge–Kutta codes. IMA Journal of Numerical Analysis, 8(3), 305–310.
Shampine, L. F., Watts, H. A., & Davenport, S. M. (1976). Solving nonstiff ordinary differential equations: The state of the art. SIAM Review, 18(3), 376–411.
Söderlind, G. (2002). Automatic control and adaptive time-stepping. Numerical Algorithms, 31, 281–310.
Söderlind, G. (2003). Digital filters in adaptive time-stepping. ACM Transactions on Mathematical Software, 29(1), 1–26.
Workie, A. H., Shiferaw, A. A., & Tsige, G. T. (2020). New modification on Heun’s method based on contraharmonic mean for solving initial value problems with high efficiency. Journal of Mathematics.
Workie, A. H., Shiferaw, A. A., & Tsige, G. T. (2021). Small modification on modified Euler method for solving initial value problems. Abstract and Applied Analysis.