Search for a tool
Error Function

Tool to evaluate the value of the error function noted erf() or its complementary erfc(); special functions used in probability, statistics or physics.

Results

Error Function -

Tag(s) : Functions

Share dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Thanks to your feedback and relevant comments, dCode has developed the best 'Error Function' tool, so feel free to write! Thank you!

# Error Function

## Error Function Calculator

 Function ERF() ERFC() (Complement)

### What is the error function? (Definition)

The error function (sometimes called Gaussian error function) is denoted $\operatorname {erf}$ and is defined by the formula $$\operatorname{erf}(x)= \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} \, \mathrm{d}t$$

The error function returns a result between -1 and 1.

Example: $\operatorname{erf}(0) = 0$, $\operatorname{erf}(-\infty) = -1$, $\operatorname{erf}(+\infty) = 1$

The erf function is an odd function

### What is the complementary error function? (Definition)

The complementary error function is defined by $$\operatorname{erfc}(x) = 1- \operatorname{erf}(x)$$

Example: $\operatorname{erf}(x) + \operatorname{erfc}(x) = 1$

### What is the integer series corresponding to the error function?

The expansion in integer series of 'erf ()' allow a fast computation (with approximations) by the formula: $$\operatorname{erf}(x)= \frac{2}{\sqrt{\pi}} \sum_{n=0}^{\infty} (-1)^{n} \frac{x^{2n+1}}{n!(2n+1)} = \frac{2}{\sqrt{\pi}} \left( x - \frac{z^3}{3} + \frac{z^5}{10} - \frac{z^7}{42} + \frac{z^9}{216} + \cdots \right)$$

### What are error function properties?

The image of a negative value $-z$ is the opposite of the image of the positive value: $\operatorname{erf}(-z) = -\operatorname{erf}(z)$

The derivative of the error function is $$\frac{d}{dz} \operatorname{erf}(z) = \frac{2}{\sqrt{\pi}}e^{-z^2}$$

The integral of the error function is $$\int \operatorname{erf}(x)\, dx = \frac{e^{-x^2}}{\sqrt{\pi }}+x \operatorname{erf}(x) + c$$

## Source code

dCode retains ownership of the online "Error Function" source code. Except explicit open source licence (indicated CC / Creative Commons / free), the "Error Function" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Error Function" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, copy-paste, or API access for "Error Function" are not public, same for offline use on PC, tablet, iPhone or Android ! Remainder : dCode is free to use.

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!