Mean-Driven Accuracy: A Contraharmonic Extension of Heun’s Method
DOI:
https://doi.org/10.29020/nybg.ejpam.v18i3.6237Keywords:
initial value problems, Heun's method, contraharmonic mean, centroidal meanAbstract
This paper presents a novel modification of Heun’s method for solving initial value problems in ordinary differential equations (ODEs) by incorporating contraharmonic and centroidal means into the corrector step. Unlike traditional Heun’s method, which relies on the arithmetic means to average the slopes, our approach generalizes this averaging using nonlinear means that better capture the curvature and dynamics of the solution trajectory. Numerical simulations demonstrate that the proposed method offers improved accuracy and enhanced stability, particularly in stiff or rapidly changing systems. Applications include Newton’s law of cooling under standard and extreme thermal conditions, where our method consistently maintains accuracy and robustness. The results suggest that contraharmonic and centroidal means provide a viable and efficient alternative to conventional averaging strategies in explicit predictor–corrector methods.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Syamsudhuha Syamsudhuha, M. Imran, Ayunda Putri, Rike Marjulisa

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Upon acceptance of an article by the European Journal of Pure and Applied Mathematics, the author(s) retain the copyright to the article. However, by submitting your work, you agree that the article will be published under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). This license allows others to copy, distribute, and adapt your work, provided proper attribution is given to the original author(s) and source. However, the work cannot be used for commercial purposes.
By agreeing to this statement, you acknowledge that:
- You retain full copyright over your work.
- The European Journal of Pure and Applied Mathematics will publish your work under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
- This license allows others to use and share your work for non-commercial purposes, provided they give appropriate credit to the original author(s) and source.