Error function
In mathematics, the error function (also called the Gauss error function) is a non-elementary function which occurs in probability, statistics and partial differential equations. It is defined as:
The complementary error function, denoted erfc, is defined in terms of the error function.
| Table of contents |
|
2 Asymptotic expansion 3 See also 4 References 5 External links |
The error function is essentially identical to the standard normal cumulative distribution function, denoted Φ,
as they differ only by scaling and translation.
Indeed,
When the results of a series of measurements are described by a normal distribution with standard deviation σ, then erf(a/(σ√2)) is the probability that the error of a single measurement lies between -a and +a.
By analytic continuation, the error function can be defined for complex arguments as well.
It occurs, for example, in solutions of the heat equation when boundary conditions are given by the Heaviside step function.
The integral defining the error function cannot be evaluated in closed form in terms of elementary functions, but the integrand may be expanded in a power series and integrated term by term. Values of the integral, as functions of x, have been tabulated.
Sometimes the more general functions
A useful asymptotic expansion of the complementary error function (and therefore also of the error function) for large x is
General theory
The standard normal cdf is used more often in probability and statistics,
and the error function is used more often in other branches of mathematics.
are discussed; E2(x) is the error function. 
Graph of generalized error functions Ei(x). Grey curve: E1(x)=1-e-x, red curve: erf(x)=E2(x), green curve: E3(x), blue curve: E4(x), and yellow curve: E5(x). After division by n!, all the En for odd n look similar (but not identical) to each other. Similarly, the En for even n look similar (but not identical) to each other after division by n!. The En with odd and even n look similar on the positive x side of the graph.Asymptotic expansion
where . This series diverges for every finite x. However, in practice only the first few terms of this expansion are needed to obtain a good approximation of erfc(x), whereas the Taylor series given above converges very slowly.See also
References
External links