Use this tag for the error and complementary error functions (erf and erfc). These are special functions formed by taking definite integrals of the Gaussian/normal distribution function.

learn more… | top users | synonyms

34
votes
6answers
5k views

What is the antiderivative of $e^{-x^2}$

I was wondering what the antiderivative of $e^{-x^2}$ was, and when I wolfram alpha'd it I got $$\displaystyle \int e^{-x^2} \textrm{d}x = \dfrac{1}{2} \sqrt{\pi} \space \text{erf} (x) + C$$ So, I ...
34
votes
3answers
835 views

How to evaluate $\int_0^\infty\operatorname{erfc}^n x\ \mathrm dx$?

I successfully evaluated these integrals: $$\int_0^\infty\operatorname{erfc}x\ \mathrm dx=\frac1{\sqrt\pi},\tag1$$ $$\int_0^\infty\operatorname{erfc}^2x\ \mathrm dx=\frac{2-\sqrt2}{\sqrt\pi}\tag2,$$ ...
32
votes
1answer
799 views

Weber-type integral

In connection with this answer, I came across the following integral: $$\int_{0}^{\infty} \frac{du}{u} \: \,e^{-t u^2} \frac{J_0(u) Y_0(r u)-J_0(r u) Y_0(u)}{J_0^2(u)+Y_0^2(u)}$$ where $r \gt 1$. I ...
29
votes
2answers
2k views

Integral $\int_0^\infty\left(x+5\,x^5\right)\operatorname{erfc}\left(x+x^5\right)\,dx$

Is it possible to find a closed form (possibly using known special functions) for this integral? $$\int_0^\infty\left(5\,x^5+x\right)\operatorname{erfc}\left(x^5+x\right)\,dx$$ where $\operatorname{...
25
votes
1answer
546 views

Non-trivial values of error function $\operatorname{erf}(x)$?

The so called error function $\operatorname{erf}(x)$ is defined as $$\operatorname{erf}(x)=\frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2}dt,$$ and it is well known that $\operatorname{erf}(\infty)=1$. Are ...
21
votes
2answers
473 views

A closed form for $\int_0^\infty\frac{\sin(x)\ \operatorname{erfi}\left(\sqrt{x}\right)\ e^{-x\sqrt{2}}}{x}dx$

Let $\operatorname{erfi}(x)$ be the imaginary error function $$\operatorname{erfi}(x)=\frac{2}{\sqrt{\pi}}\int_0^xe^{z^2}dz.$$ Consider the integral $$I=\int_0^\infty\frac{\sin(x)\ \operatorname{erfi}\...
20
votes
3answers
309 views

A closed form for $\int_0^\infty e^{-a\,x} \operatorname{erfi}(\sqrt{x})^3\ dx$

Let $\operatorname{erfi}(x)$ be the imaginary error function $$\operatorname{erfi}(x)=\frac{2}{\sqrt{\pi}}\int_0^xe^{z^2}dz.$$ Consider the following parameterized integral $$I(a)=\int_0^\infty e^{-a\,...
18
votes
1answer
401 views

Fourier transform of $\operatorname{erfc}^3\left|x\right|$

(this is a follow-up on my another question) Could you please help me to find the Fourier transform of $$f(x)=\operatorname{erfc}^3\left|x\right|,$$ where $\operatorname{erfc}z$ denotes the the ...
15
votes
2answers
510 views

Integral $\int_0^\infty F(z)\,F\left(z\,\sqrt2\right)\frac{e^{-z^2}}{z^2}dz$ involving Dawson's integrals

I need you help with evaluating this integral: $$I=\int_0^\infty F(z)\,F\left(z\,\sqrt2\right)\frac{e^{-z^2}}{z^2}dz,\tag1$$ where $F(x)$ represents Dawson's integral: $$F(x)=e^{-x^2}\int_0^x e^{y^2}...
12
votes
1answer
238 views

Integral $\int_0^\infty\exp\left(-\sqrt2\,x^2\right)\,\operatorname{erfi}(x)\,\log(x)\,x^3\,dx$

Consider the following integral: $$\mathcal{A}=\int_0^\infty\exp\left(-\sqrt2\,x^2\right)\,\operatorname{erfi}(x)\,\log(x)\,x^3\,dx,\tag1$$ where $\operatorname{erfi}(x)$ denotes the imaginary error ...
8
votes
3answers
494 views

Evaluation of $\sum_{n=1}^\infty \frac{1}{\Gamma (n+s)}$

I want to try and evaluate this interesting sum: $$\sum_{n=1}^\infty \frac{1}{\Gamma (n+s)}$$ where $0 \le s < 1$ WolframAlpha evaluates this sum to be $$\sum_{n=1}^\infty \frac{1}{\Gamma (n+s)...
7
votes
1answer
151 views

Calculating $\text{erf}^{-1}(z)$ for $z\in\mathbb{C}$

All the information I found about inverse error function $\text{erf}^{-1}(z)$ was about $z\in\mathbb{R}$. Also I found some Taylor expansions for it, but as the function is unbounded near $z=\pm1$, ...
7
votes
1answer
473 views

Integrating a product of exponential and complementary error function with square-root of variable in the denominator

I need to evaluate \begin{equation} \int_a^\infty \mathrm{erfc}\left( \frac{b}{\sqrt{c\cdot h}} \right) e^{-d\cdot h} dh \end{equation} where $\mathrm{erfc}(s) = \frac{2}{\sqrt{\pi}} \int_{s}^{\infty}...
6
votes
1answer
1k views

Integral involving the error function of log(x)

Looking for a closed form for the integral $$\int_0^{\infty } e^{-\left(\frac{a-\log (x)}{b}\right)^2} \left(\frac{1}{2} \text{erf}\left(\frac{a-\log (x)}{b}\right)+\frac{1}{2}\right) \, \mathrm{d}x,$...
6
votes
1answer
508 views

Elegant proof for an inequality involving erf

I'm trying to prove the following inequality for $0 < x < 1$: $$\operatorname{erf}\left(\frac{(1+x)\sqrt{\ln{(1+x)}}}{\sqrt{(1+x)^2 - 1}}\right) - \operatorname{erf}\left(\frac{\sqrt{\ln{(1+x)}}...
6
votes
3answers
476 views

Evaluating $ \int_{-\infty}^{\infty}x\exp\left(-b^{2}\left(x-c\right)^{2}\right)\mathrm{erf}^{2}\left(a\left(x-d\right)\right)\,\mathrm{d}x $

I have big difficulties solving the following integral: $$ \int_{-\infty}^{\infty}x\exp\left(-b^{2}\left(x-c\right)^{2}\right)\mathrm{erf}^{2}\left(a\left(x-d\right)\right)\,\mathrm{d}x $$ I tried to ...
5
votes
3answers
529 views

How to compute $ \int_0^1 {e^{-x^2}} dx$

I know that $$ \int_{0}^{+ \infty} e^{- x^{2}} dx = \frac{\sqrt{\pi}}{2}. $$ My question is: $$ \int_{0}^{1} e^{- x^{2}} dx = ~? $$
5
votes
2answers
2k views

Integral involving an error function

For $\sigma>0$, how can we prove that $$\frac{1}{2}\int_{-1}^1 \text{erf}\left(\frac{\sigma}{\sqrt{2}}+\text{erf}^{-1}(x)\right) \, \mathrm{d}x= \text{erf}\left(\frac{\sigma}{2}\right)$$ where erf ...
5
votes
1answer
121 views

Computing the inverse error function

I need a formula/series to compute the inverse error function, which is the inverse of $$ \operatorname{erf}(x) = \dfrac{2}{\sqrt{\pi}} \int\limits_{0}^{x} \mathrm{e}^{-t^2} \,\mathrm{d}t. $$ ...
5
votes
0answers
189 views

Exact values of error function

The error function is defined as $$\operatorname{erf}(z)=\frac{2}{\sqrt{\pi}} \int_0^z e^{-t^2} \, dt.$$ We know that the Gaussian integral is $$\int_{-\infty}^{\infty} e^{-x^2}\,dx=\sqrt{\pi}.$$ ...
4
votes
2answers
548 views

Fourier transform of $\operatorname{erfc}^2\left|x\right|$

Could you please help me to find the Fourier transform of $$f(x)=\operatorname{erfc}^2\left|x\right|,$$ where $\operatorname{erfc}z$ denotes the the complementary error function.
4
votes
3answers
156 views

Definite integral involving an error function

Let $$\mathrm{erf}(x) = \frac{2}{\sqrt{\pi}}\int\limits_{0}^x e^{-t^2}dt$$ be the error function. Then, I have tow questions. For a positive integer $n$, is there a close-form solution of $f_n=\...
4
votes
2answers
153 views

Advice on an integral involving the error function

I'd like to calculate the following integral: $$\int^{\infty}_{0} \mathrm{erf}\left(\frac{\alpha}{\sqrt{1+x}} - \frac{\sqrt{1+x}}{\beta}\right) \exp\left(-\frac{x}{\gamma}\right)\, dx,$$ where $\...
4
votes
1answer
788 views

Remainder Taylor series two+ variables

Hard to find an article / tutorial specifically about this subject online.... Can anyone explain / send link to explanation or tutorial regarding how to calculate remainder for multi-variable taylor ...
4
votes
1answer
313 views

Integral of 2D Gaussian over triangle

I am interested in computing (numerically) the integral of a 2D Gaussian (with arbitrary mean and covariance matrix) over a triangle in the plane. I would like the solution to work over a wide range ...
4
votes
1answer
43 views

Why is the domain of the error function scaled by $\sqrt{2}$

The normal distribution function $\Phi(z)$ has the definition $\Phi(z) \equiv \frac{1}{\sqrt{2 \pi}} \int_0^z e^{\frac{-x^2}{2}} \, dx$. However the error function is conventionally defined such that ...
4
votes
1answer
61 views

Inverse Laplace Transform of $e^{c \cdot s^2}$

I am trying to find the Inverse Laplace Transform of the function $$ F(s)=e^{c \cdot s^2} $$ where $c > 0$.
4
votes
2answers
890 views

Integral of product of exponential function and two complementary error functions (erfc)

I found the following integral evaluation very interesting to me: Integral of product of two error functions (erf) and I hoped that I could use that result to evaluate the following integral: $$ \...
4
votes
0answers
52 views

How do I symbolically compute $\int_{a}^{b} e^{x^2}(\textrm{erf}(x) - \textrm{erf(a)})\;\textrm{d}x$?

I want to symbolically write (in the form of a series), the integral of: $$ \int_{a}^{b} e^{x^2}(\textrm{erf}(x) - \textrm{erf(a)})\;\textrm{d}x, \text{where }\{x, a, b\} \subset \mathbb{R} $$ The $\...
4
votes
1answer
46 views

Solving $\int dx {\sqrt{x^2+a}} e^{-A x^2} erf \left( c(x-b) \right)$

I got as far as: $$\int dx {\sqrt{x^2+a}} e^{-A x^2} erf \left( c(x-b) \right) $$ $$=\frac{2}{\sqrt{\pi}} \int dx \int^{c(x-b)}_0 dy {\sqrt{x^2+a}} e^{-A x^2 - y^2}$$ $$=\frac{-2 c}{\sqrt{\pi}} \...
4
votes
2answers
124 views

Approximating the erf function

I was trying to find an approximate solution to the following: $\DeclareMathOperator\erf{erf}$ $$\frac12 \sqrt{\pi} \erf\left (\frac{x-2}{\sqrt{10}}\right) + \frac12 \sqrt{\pi} \erf \left(\frac{x+2}...
4
votes
0answers
500 views

Integral of two error functions (erf)

In my research I came across the following integral: \begin{equation} \int_{-\infty}^{+\infty}\frac{\partial{p(t)}}{\partial{t}}\frac{1}{4}\Big(1-\operatorname{erf}\Big(\frac{t-a}{\sigma\sqrt{2}}\Big)\...
3
votes
2answers
93 views

Integral of $x^2 e^{-x^2}$

Like the title says, I'm trying to find $$\int_0^r x^2 e^{-x^2}\,dx$$ Where $r$ is some finite value. I've done one step using integration by parts with $u=x^2$ and $dv=e^{-x^2}dx$, which has left ...
3
votes
2answers
94 views

Does anyone know of a closed form solution to the following integral?

Does anyone know of a closed form solution to the following integral? $$ \DeclareMathOperator\erf{erf} \newcommand{d}{\;\mathrm{d}} \int^{+\infty}_{-\infty} \erf^{\;m}\!(x) \frac{\d^n \erf(x)}{\...
3
votes
2answers
96 views

Convincing that $\sum_{n=0}^{\infty}\frac{(-1)^n}{2^{n-2}(2n+1)(n!)} \ne \pi$

A friend of mine in high school challenged me to calculate the value of the sum $$\sum_{n=0}^{\infty}\frac{(-1)^n}{2^{n-2}(2n+1)(n!)}$$ And then claimed that the answer was $\pi$ . But when I ...
3
votes
4answers
63 views

How to prove $P(x)=1-\frac{x^2}{2}$ is a good approximation of order $3$ for $f(x)=\cos x$ near $x=0$?

Let $f$ be a function and we want to approximate $f$ using a different function $P$ near $x=0$. The error of approximation is $E(x)=f(x)-P(x)$. If the approximation is going to be any good, we want $\...
3
votes
2answers
227 views

Integral of exponential using error function

I'm trying to solve some integrals below $$\int_{-\infty}^{\infty} {x^n e^\frac{-(x - \mu)^2}{\sigma^2}}dx$$ I am interested in the solutions where n = 0, 1, 2, 3, 4. I have learned that ...
3
votes
1answer
59 views

Prove $e^x=1+\frac{1}{\sqrt{\pi }}{\int_0^x \frac{e^t \text{erf}\left(\sqrt{t}\right)}{\sqrt{x-t}} \, dt}$

It seems to me that $$e^x=1+\frac{1}{\sqrt{\pi }}{\int_0^x \frac{e^t \text{erf}\left(\sqrt{t}\right)}{\sqrt{x-t}} \, dt}$$ This integral seems to converge for all $x\in\mathbb{C}$ I came upon this ...
3
votes
1answer
80 views

Closed forms for definite integrals involving error functions

I have been working for a while with these kinds of integrals $$\int_0^\infty dx\,\text{erfc}\left(c +i x\right)\exp \left(-\frac{1}{2}d^2x^2+i cx\right)$$ $$\int_\Lambda^\infty dx\,\frac{1}{x}\text{...
3
votes
1answer
357 views

Is there an analytical solution to Gaussian integral $\int_{-\infty}^{\infty} \frac{e^{-x^2}}{(x+a)^2+b} dx$?

I wonder if there is an analytical solution to $$\int_{-\infty}^{\infty} \frac{e^{-x^2}}{(x+a)^2+b} dx,$$ where $a, b>0$. I know, of course, that the antiderivative of the fraction is a version ...
3
votes
0answers
113 views

Properties and representations of the the rescaled complementary error function $\mathrm{erfcx}{z}$

Consider the rescaled complementary error function: $$ \mathrm{erfcx}(z) = {e^{z^2}} \left( {1-\mathrm{erf}(z)} \right) $$ $z \in \Bbb{C}$ which also has the following integral representation: $$ \...
3
votes
0answers
230 views

Differentiation under integral sign

There is this integral that I used a lot in my research: $$\int_{-\infty}^{\infty}\exp\left(-b^{2}\left(x-c\right)^{2}\right)\mathrm{erf}\left(a\left(x-d\right)\right)\,\mathrm{d}x = \frac{\sqrt{\pi}}{...
2
votes
5answers
154 views

The integral $\int_0^\infty e^{-t^2}dt$ [duplicate]

Me and my highschool teacher have argued about the limit for quite a long time. We have easily reached the conclusion that integral from $0$ to $x$ of $e^{-t^2}dt$ has a limit somewhere between $0$ ...
2
votes
1answer
35 views

Integrating variation of error function: $\int_1^2e^{-nx^2} dx$

Show that $$\lim_{n\to\infty} \int_1^2e^{-nx^2} dx = 0.$$ After much googling, I learned that I am working with a variation of the error function! Yay. I've never heard of it in my life and I ...
2
votes
1answer
90 views

How to evaluate $\int_{0}^{\infty}\arctan (x^2)\sin(x^2)\mathrm dx$

How to evaluate $$I=\int_{0}^{\infty}\arctan (x^2)\sin(x^2)\mathrm dx$$ with the help of Wolfram alpha,I got the answer below $$I=\frac{\pi^{2/3}\text{erfc(1)}(\text{erfi(1)}+1)}{4\sqrt2}$$ But I don'...
2
votes
3answers
104 views

Integral of $e^{-x^{2}}$ and the error function

How to integrate $e^{-x^{2}}$? When I used geogebra I got the answer as $\frac{1}{2}\sqrt{\pi}\operatorname{erf}(x)$. What is $\operatorname{erf}(x)$ ? How to arrive at this answer?
2
votes
1answer
64 views

Inverse Laplace transform of a given function

1) The Laplace transform of f(t) is $\overline{f}(p)=\frac{1}{p}$ when $f(t)=1$ 2) The Laplace transform of $f(at)$ is $\frac{1}{a}\overline{f}(\frac{p}{a})$ 3) The Laplace transform of the ...
2
votes
2answers
62 views

How to compute this integral without the use of the error function?

I was watching this: https://youtu.be/qQ-56b_LvOw?t=4484 And this integral came up. $$\int_{0}^{\infty}{(2x^2+1)e^{-x^2}}dx$$ To which the answer was $\sqrt{\pi}$. They made it clear that you didn'...
2
votes
2answers
628 views

Product of two complementary error functions (erfc)

I believe that (i.e., it would be convenient if, and visually appears that) the product of the two complementary error functions: $$\operatorname{erfc}\left[\frac{a-x}{b}\right]\operatorname{erfc}\...
2
votes
1answer
24 views

Show that $\displaystyle \int_{\gamma_R}\exp(-w^2)\,\mathrm dw\to 0~(R\to\infty)$ along $\gamma_R(t)=R\exp(\mathrm it)$

Show that $\displaystyle \int_{\gamma_R}\exp(-w^2)\,\mathrm dw\to 0~(R\to\infty)$ along $\gamma_R(t)=R\exp(\mathrm it),t\in\left[0,\frac{\pi}{4}\right]$. Hint. Use that $\cos 2t\geq 1-\frac{4}{\...