Fungrim home page

Error functions

Table of contents: Definitions - Illustrations - Integral representations - Connection formulas - Functional equations - Hypergeometric representations - Derivatives

Definitions

e46223
Symbol: Erf — erf⁡(z)\operatorname{erf}(z) — Error function
7375c0
Symbol: Erfc — erfc⁡(z)\operatorname{erfc}(z) — Complementary error function
d2914b
Symbol: Erfi — erfi⁡(z)\operatorname{erfi}(z) — Imaginary error function

Illustrations

3be335
Image: X-ray of erf⁡(z)\operatorname{erf}(z) on z∈[−4,4]+[−4,4]iz \in \left[-4, 4\right] + \left[-4, 4\right] i

Integral representations

2aaba8
erf⁡(z)=2π∫0ze−t2 dt\operatorname{erf}(z) = \frac{2}{\sqrt{\pi}} \int_{0}^{z} {e}^{-{t}^{2}} \, dt
36ef64
erfc⁡(z)=2π∫z∞e−t2 dt\operatorname{erfc}(z) = \frac{2}{\sqrt{\pi}} \int_{z}^{\infty} {e}^{-{t}^{2}} \, dt
622772
erfi⁡(z)=2π∫0zet2 dt\operatorname{erfi}(z) = \frac{2}{\sqrt{\pi}} \int_{0}^{z} {e}^{{t}^{2}} \, dt

Connection formulas

7f355d
erf⁡(z)+erfc⁡(z)=1\operatorname{erf}(z) + \operatorname{erfc}(z) = 1
bfc86e
erfc⁡(z)=1−erf⁡(z)\operatorname{erfc}(z) = 1 - \operatorname{erf}(z)
01440f
erfi⁡(z)=−ierf⁡ ⁣(iz)\operatorname{erfi}(z) = -i \operatorname{erf}\!\left(i z\right)

Functional equations

94db18
erf⁡ ⁣(−z)=−erf⁡(z)\operatorname{erf}\!\left(-z\right) = -\operatorname{erf}(z)
603a49
erfi⁡ ⁣(−z)=−erfi⁡(z)\operatorname{erfi}\!\left(-z\right) = -\operatorname{erfi}(z)
ec0205
erfc⁡ ⁣(−z)=2−erfc⁡(z)\operatorname{erfc}\!\left(-z\right) = 2 - \operatorname{erfc}(z)

Hypergeometric representations

abadc7
erf⁡(z)=2zπ 1F1 ⁣(12,32,−z2)\operatorname{erf}(z) = \frac{2 z}{\sqrt{\pi}} \,{}_1F_1\!\left(\frac{1}{2}, \frac{3}{2}, -{z}^{2}\right)
98688d
erf⁡(z)=2ze−z2π 1F1 ⁣(1,32,z2)\operatorname{erf}(z) = \frac{2 z {e}^{-{z}^{2}}}{\sqrt{\pi}} \,{}_1F_1\!\left(1, \frac{3}{2}, {z}^{2}\right)
cb93ea
erf⁡(z)=zz2−e−z2zπU∗ ⁣(12,12,z2)\operatorname{erf}(z) = \frac{z}{\sqrt{{z}^{2}}} - \frac{{e}^{-{z}^{2}}}{z \sqrt{\pi}} U^{*}\!\left(\frac{1}{2}, \frac{1}{2}, {z}^{2}\right)
ae3110
erfc⁡(z)=e−z2zπU∗ ⁣(12,12,z2)\operatorname{erfc}(z) = \frac{{e}^{-{z}^{2}}}{z \sqrt{\pi}} U^{*}\!\left(\frac{1}{2}, \frac{1}{2}, {z}^{2}\right)

Derivatives

b5bd5d
erf⁡′(z)=2πe−z2\operatorname{erf}'(z) = \frac{2}{\sqrt{\pi}} {e}^{-{z}^{2}}
fae9d3
erf⁡(n)(z)=2π(−1)n+1Hn−1 ⁣(z)e−z2{\operatorname{erf}}^{(n)}(z) = \frac{2}{\sqrt{\pi}} {\left(-1\right)}^{n + 1} H_{n - 1}\!\left(z\right) {e}^{-{z}^{2}}

Copyright (C) Fredrik Johansson and contributors. Fungrim is provided under the MIT license. The source code is on GitHub.

2021-03-15 19:12:00.328586 UTC