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 ...
1
vote
2answers
835 views

How to prove error function $\mbox{erf}$ is entire (i.e., analytic everywhere)?

How do I prove the error function $$ \mbox{erf}(z) = \frac{2}{\sqrt{\pi}} \int_{0}^{z} e^{-t^{2}} dt. $$ is entire? Could you give me some scratch proof?
3
votes
2answers
226 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 ...
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,$$ ...
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{...
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 ...
4
votes
2answers
545 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.
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 ...
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 ...
2
votes
2answers
627 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}\...
4
votes
2answers
889 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: $$ \...
2
votes
2answers
2k views

Lagrange polynomial and derivative problem

I need to code this function in matlab $$L'(x) = \sum_{k = 0}^{n} f_k l_k(x) $$ Where's $l_k$ looks like this $$l_k(x) = \sum^{n}_{j=0, j \neq k} \frac{\prod^{n}_{i=0}(x - x_i)}{(x - x_k)(x-x_j)\...
2
votes
2answers
139 views

Series expansion for integral including error function

$\DeclareMathOperator{\erfc}{erfc} \DeclareMathOperator{\Ei}{Ei} $ What is the series expansion of $f$ for small $q$? \begin{align} U(q) &= q e^{q^2}\erfc q\\ I(q,q') &= \int_0^{2\pi}...
2
votes
1answer
56 views

Sum of weighted normal distributions, how to solve $P(X<x) = y$ for $x$?

How do I solve the following equation for $x$ $$\newcommand{\erf}{\operatorname{erf}}\frac{1}{2}\left((f-1)\cdot\erf\left(\dfrac{c-x}{\sqrt2\,b}\right)-f\erf\left(\dfrac{r-x}{\sqrt2\,d}\right)\right)=...
1
vote
2answers
412 views

Value minimizing mean absolute percentage error

What value for $c$ would minimize the formula: $$\frac{1}{n}\;\sum^{n}_{i=1}\left | \frac{y_i-c}{y_i}\right|$$ given the values $y_1, ..., y_n$. For example in the mean squared error we have the ...
0
votes
3answers
68 views

Compute $\mathbb{P}(1<X^2+Y^2<2)$ when $(X,Y)$ is i.i.d. standard normal

Assume that $(X,Y)$ is i.i.d. standard normal. Compute $\mathbb{P}(1<X^2+Y^2<2)$. So I've decided to use polar coordinates to solve and I've gotten to this point: $$\iint_{1\lt X^2+Y^2\lt2} ...
0
votes
1answer
69 views

Upper and lower bound on different of ${\rm erf}(\frac{x+c}{b})-{\rm erf}(\frac{x-c}{b})$

I am trying to find a good upper bound on \begin{align*} f(x)={\rm erf}\left(\frac{x+d}{b}\right)-{\rm erf} \left(\frac{x-d}{b}\right) \end{align*} here $d>0$ I know that $f(x)$ is symmetric ...