LaTeX DVI PostScript PDF
 
 
 
 
 

ERF Error Function

ERF.1 Introduction

top up back next into bottom

Let $x$ be a complex variable of $\mathbb{C} \setminus \{\infty\}$ .The function Error Function (noted $\operatorname{erf}$ ) is defined by the following second order differential equation


\begin{equation*} 
\begin{split} 
2 x \frac{\partial y (x)}{\partial x} + \frac{\partial^{2} y (x)}{\partial x^{2}}& =0. 
\end{split} 
\end{equation*}
ERF.1.1

The initial conditions of ERF.1.1 are given at $0$ by


\begin{equation*} 
\begin{split} 
\operatorname{erf} (0)& =0, \\ 
\frac{\partial \operatorname{erf} (x)}{\partial x} (0)& =\frac{2}{\sqrt{\pi}}. 
\end{split} 
\end{equation*} 
 ERF.1.2

Related function: Complementary Error Function

ERF.2 Series and asymptotic expansions

top up back next into bottom

ERF.2.1 Taylor expansion at $0$

top up back next into bottom

ERF.2.1.2 General form

top up back next into bottom


\begin{equation*} 
\begin{split} 
\operatorname{erf} (x)& =\sum_{n = 0}^{\infty} u (n) x^{n}. 
\end{split} 
\end{equation*} 
 ERF.2.1.2.1
The coefficients $u (n)$ satisfy the recurrence

\begin{equation*} 
\begin{split} 
2 n u (n) + \bigl(n^{2} + 3 n + 2\bigr) u (n + 2)& =0. 
\end{split} 
\end{equation*}
ERF.2.1.2.2
Initial conditions of ERF.2.1.2.2 are given by

\begin{equation*} 
\begin{split} 
u (0)& =0, \\ 
u (1)& =\frac{2}{\sqrt{\pi}}. 
\end{split} 
\end{equation*}
ERF.2.1.2.3

ERF.2.2 Asymptotic expansion at $\infty$

top up back next into bottom

ERF.2.2.1 First terms

top up back next into bottom


\begin{equation*} 
\begin{split} 
& \operatorname{erf} (x)\approx \operatorname{e} ^{\biggl(-\frac{1}{x^{2}}\biggr)} x y _{0} (x) + ser _{\bigl[1,1,\bigl[\bigl[0,\bigl[[0,1]\bigr]\bigr]\bigr]\bigr]}, 
\end{split} 
\end{equation*}
where

\begin{equation*} 
\begin{split} 
y _{0} (x)& =-\frac{1}{\sqrt{\pi}} + \frac{x^{2}}{2 \sqrt{\pi}} + 2 \ldots \\ 
y _{1} (x)& =terms _{\bigl[1,1,\bigl[\bigl[0,\bigl[[0,1]\bigr]\bigr]\bigr]\bigr]} + \ldots 
\end{split} 
\end{equation*}

ERF.2.2.2 General form

top up back next into bottom

ERF.2.2.2.1 Auxiliary function $y _{0} (x)$

The coefficients $u (n)$ of $y _{0} (x)$ satisfy the following recurrence

\begin{equation*} 
\begin{split} 
2 n u (n) + u (n - 2) \bigl(-4 + 3 n + (n - 2)^{2}\bigr)& =0 
\end{split} 
\end{equation*}
whose initial conditions are given by

\begin{equation*} 
\begin{split} 
u (0)& =-\frac{1}{\sqrt{\pi}} \\ 
u (1)& =0 
\end{split} 
\end{equation*}
This recurrence has the closed form solution

\begin{equation*} 
\begin{split} 
u (2 n + 1)& =0, \\ 
u (2 n)& =-\frac{(-1)^{n} \Gamma \Bigl(n + \frac{1}{2}\Bigr)}{\pi}. 
\end{split} 
\end{equation*}

ERF.2.2.2.2 Auxiliary function $y _{1} (x)$

The auxiliary function $y _{1} (x)$ has the exact form

\begin{equation*} 
\begin{split} 
y _{1} (x)& =1 
\end{split} 
\end{equation*}
 
 
 
This web site is compliant with HTML 4.01 and CSS 1.
Copyright © 2001-2003 by the Algorithms Project and INRIA.
All rights reserved. Created: Aug 1 2003 15:10:28.