Mathematical and Computational Applications (Feb 2022)

Arbitrarily Accurate Analytical Approximations for the Error Function

  • Roy M. Howard

DOI
https://doi.org/10.3390/mca27010014
Journal volume & issue
Vol. 27, no. 1
p. 14

Abstract

Read online

A spline-based integral approximation is utilized to define a sequence of approximations to the error function that converge at a significantly faster manner than the default Taylor series. The real case is considered and the approximations can be improved by utilizing the approximation erf(x)≈1 for |x|>xo and with xo optimally chosen. Two generalizations are possible; the first is based on demarcating the integration interval into m equally spaced subintervals. The second, is based on utilizing a larger fixed subinterval, with a known integral, and a smaller subinterval whose integral is to be approximated. Both generalizations lead to significantly improved accuracy. Furthermore, the initial approximations, and those arising from the first generalization, can be utilized as inputs to a custom dynamic system to establish approximations with better convergence properties. Indicative results include those of a fourth-order approximation, based on four subintervals, which leads to a relative error bound of 1.43 × 10−7 over the interval [0, ∞]. The corresponding sixteenth-order approximation achieves a relative error bound of 2.01 × 10−19. Various approximations that achieve the set relative error bounds of 10−4, 10−6, 10−10, and 10−16, over [0, ∞], are specified. Applications include, first, the definition of functions that are upper and lower bounds, of arbitrary accuracy, for the error function. Second, new series for the error function. Third, new sequences of approximations for exp(−x2) that have significantly higher convergence properties than a Taylor series approximation. Fourth, the definition of a complementary demarcation function eC(x) that satisfies the constraint eC2(x)+erf2(x)=1. Fifth, arbitrarily accurate approximations for the power and harmonic distortion for a sinusoidal signal subject to an error function nonlinearity. Sixth, approximate expressions for the linear filtering of a step signal that is modeled by the error function.

Keywords