Numerical Solution of First Order Ordinary Differential Equations using Compact Finite Difference scheme
Abstract
In this paper, a fourth order Compact Finite Difference Scheme(CFD) for the numerical solution of first order initial value problems (IVPs) of Ordinary Differential Equations (ODEs) is discussed. Compact finite difference scheme is a class of numerical methods that are particularly designed for solving Partial Differential Equations (PDEs). However, in this paper, we consider the compact finite difference scheme for approximating the numerical solution of ordinary differential equations. The application of this scheme enables the solution of first-order ODEs across all grid points in just one computational sweep (single iteration), rather than requiring repeated iterative updates. Numerical examples have been included to demonstrate the accuracy of the scheme and Numerical results compared with the exact solution and other existing methods from recent literature. The scheme is shown to be efficient for the numerical integration of first order differential equations.
Copyright (c) 2025 Author

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This is an Open Access article distributed under the terms of the Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, adaptation, and reproduction in any medium, provided that the original work is properly cited.
