The traditional numerical computation of the first and higher derivatives of a given function f(x) of a single argument x by central differencing is known to involve aspects of both accuracy and precision. However, central difference formulas are useful only for interior points not for a certain number of end points belonging to a given grid of points. In order to get approximations of a desired derivative at all points, one has to use asymmetric difference formulas at points where central differencing doesn’t work. This must surely affect the accuracy and precision of the approximation. In this paper, we study the dependence of the orders of the five-point and the seven-point central difference formulas for the second derivative of f(x) on the oscillatory properties of this function and the value of the sampling period h in the case where it is necessary to use forward and backward formulas to approximate the derivative at some points belonging to a given grid of equally spaced points. As an illustrative example, we consider the case where f(x)=sin(αx).
Cite this paper
Nyengeri, H. , Sinzingayo, J. J. , Dusabe, B. and Ndenzako, E. (2023). Effect of Asymmetric Finite Difference Formulas on the Orders of Central Difference Approximations for the Second Derivative of a Periodic Function. Open Access Library Journal, 10, e875. doi: http://dx.doi.org/10.4236/oalib.1110875.
Hassan, H.Z., Mohamad, A.A. and Atteia, G.E. (2012) An Algorithm for the Finite Difference Approximation of Derivatives With Arbitrary Degree and Order of Accuracy. Journal of Computational and Applied Mathematics, 256, 2622-2631.
https://doi.org/10.1016/j.cam.2011.12.019
Li, J. (2005) General Explicit Formulas for Numerical. Journal of Computational and Applied Mathematics, 183, 29-52. https://doi.org/10.1016/j.cam.2004.12.026
Khan, I.R. and Ohba, R. (2003) Taylor Series Based Finite of Difference Approximations of Higher-Degree Derivatives. Journal of Computational and Applied Mathematics, 154, 115-124. https://doi.org/10.1016/S0377-0427(02)00816-6
Robert, D.V. (2009) An Improved Numerical Approximation for First Derivative. Journal of Chemical Sciences, 121, 935-950.
https://www.ias.ac.in/article/fulltext/jcsc/121/05/0935-0950
Khan, I.R. and Ohba, R. (1999) New Finite Difference Formulas for Numerical Differentiation. Journal of Computational and Applied Mathematics, 126, 269-276.
https://doi.org/10.1016/S0377-0427(99)00358-1
Khan, I.R. and Ohba, R. (1999) Closed-Form Expressions for Finite Difference Approximations of First and Higher Derivatives Based on Taylor Series. Journal of Computational and Applied Mathematics, 107, 179-193.
https://doi.org/10.1016/S0377-0427(99)0088-6
Bailey, D.H. (2023) MPFUN2020: A Thread-Safe Arbitrary Precision Package with Special Functions (Full Documentation).
https://www.davidhbailey.com/dhbpapers/mpfun2020.pdf