Round-Off and Truncation Error Trade-Off in Finite-Difference Numerical Differentiation: Optimal Step-Size Determination
DOI:
https://doi.org/10.31004/jestm.v6i3.449Keywords:
numerical differentiation, finite difference, round-off error, truncation error, optimal step sizeAbstract
Numerical differentiation by finite differences is an inherently ill-conditioned operation in which two antagonistic error sources, truncation and round-off, govern the attainable accuracy. The objective of this study is to quantify this trade-off and to determine the step size that minimises the total error of the centred finite-difference operator. Using the smooth test function f(x) = -0.1x4 - 0.15x3 - 0.5x2 - 0.25x + 1.2 evaluated at x0 = 0.5, the first derivative was approximated for step sizes from 100 to 10-10 in IEEE-754 double precision, and the true, truncation, round-off, and total errors were measured and compared with a Taylor-series error model. The results reproduce the characteristic U-shaped error curve: truncation dominates for large h with second-order slope, round-off dominates for small h with slope minus one, and the minimum true error of 5.42x10-12 occurs at h = 10-6, in close agreement with the analytical optimum hopt = (3ε|f|/M3)1/3. The centred scheme is shown to be markedly more accurate than the forward scheme. The study concludes that an a-priori optimal step size can be reliably predicted, providing practical guidance for derivative-based engineering computation.
References
Atkinson, K. E. (1989). An introduction to numerical analysis (2nd ed.). John Wiley & Sons.
Burden, R. L., Faires, J. D., & Burden, A. M. (2016). Numerical analysis (10th ed.). Cengage Learning.
Chapra, S. C., & Canale, R. P. (2021). Numerical methods for engineers (8th ed.). McGraw-Hill Education.
Fornberg, B. (1988). Generation of finite difference formulas on arbitrarily spaced grids. Mathematics of Computation, 51(184), 699–706. https://doi.org/10.1090/S0025-5718-1988-0935077-0
Heath, M. T. (2018). Scientific computing: An introductory survey (Rev. 2nd ed.). Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9781611975581
Higham, N. J. (2002). Accuracy and stability of numerical algorithms (2nd ed.). Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9780898718027
Jayaraman, J. (2019). Some new higher order weighted Newton methods for solving nonlinear equation with applications. Mathematical and Computational Applications, 24(2), 59. https://doi.org/10.3390/mca24020059
LeVeque, R. J. (2007). Finite difference methods for ordinary and partial differential equations. Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9780898717839
Martins, J. R. R. A., Sturdza, P., & Alonso, J. J. (2003). The complex-step derivative approximation. ACM Transactions on Mathematical Software, 29(3), 245–262. https://doi.org/10.1145/838250.838251
Nugraha, A. T. (2024). Pemodelan dan simulasi open loop serta close loop motor DC type 18105 orde 2. Prosiding Seminar Nasional Terapan Riset Inovatif (SENTRINOV), 10(1).
Pratama, M. S. T., Nugraha, A. T., & Jami’in, M. A. (2025). Permodelan elektromekanis dan analisis fungsi alih motor DC Maxon DCX 35 L untuk sistem kontrol presisi. Conference of Electrical, Marine and Its Application, 4(1).
Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. (2007). Numerical recipes: The art of scientific computing (3rd ed.). Cambridge University Press.
Quarteroni, A., Sacco, R., & Saleri, F. (2007). Numerical mathematics (2nd ed.). Springer. https://doi.org/10.1007/b98885
Sauer, T. (2018). Numerical analysis (3rd ed.). Pearson.
Stoer, J., & Bulirsch, R. (2002). Introduction to numerical analysis (3rd ed.). Springer. https://doi.org/10.1007/978-0-387-21738-3
Süli, E., & Mayers, D. F. (2003). An introduction to numerical analysis. Cambridge University Press. https://doi.org/10.1017/CBO9780511801181
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Anggara Trisna Nugraha, Yu-Min Lee, Ping-Yun Tung

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.







