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

2
votes
1answer
37 views

Integral of a gaussian over a slice of the plane

I need to evaluate the following $n$ real integrals: $$\int_{\frac{\pi}{2}-\frac{\pi}{n}}^{\frac{\pi}{2}+\frac{\pi}{n}}\int_0^\infty\frac{1}{\pi \sigma^2}e^{-\frac{|re^{i\theta}-i|^2}{\sigma^2}} \ dr ...
20
votes
1answer
465 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 ...
2
votes
2answers
19 views

Why is the Wronskian of these two functions equal to $\frac{2}{\sqrt{\pi}}$

I can't seem to get the right answer $ f = e^{\frac{y^2}{2}}$ and $g =e^{\frac{y^2}{2}}erf(y)$ where $erf(y) = \frac{2}{\sqrt\pi}\int_{0}^{y}e^{-\alpha^2}d\alpha$ I get $W = \frac{2}{\sqrt\pi} - ...
-1
votes
2answers
70 views

How to integrate $e^{-x^2 -y^2}$?

How do you compute the following integral:$e^{-x^2 -y^2}$? Wolfram already gives the answer as: $\frac{1}{2} \sqrt{\pi} e^{-y^2} \text{erf}(x) + C$, but I have no idea how to get there. I tried ...
0
votes
2answers
50 views

probability: When $X\sim\mathcal{N}(\mu, \sigma^2)$, the med = $\mu$

The median of a PDF is defined as the point $x = $med for which $P[X\leq\text{med}] = 1/2$. Prove that if $X\sim\mathcal{N}(\mu, \sigma^2)$, then med $= \mu$. Since $P[X\leq\text{med}] = 1/2$, ...
0
votes
0answers
68 views

error function inverse limits

$$ \lim_{x \to 0+} e^{-(\operatorname{erfc}^{-1}(2x) - 2\operatorname{erfc}^{-1}(x))^2}(e^{\operatorname{erfc}^{-1}(x)^2} - e^{\operatorname{erfc}^{-1}(2x)^2}) $$ Where $\operatorname{erfc}(x) = ...
0
votes
1answer
21 views

If $y$ is the solution of $\left\{y'=-y+\sqrt{t},y(0)=y_0>0\right\}$, then $\lim_{t\to\infty}\frac{y(t)}{\sqrt{t}}=1$

The homogeneous equation $$y'=-y$$ has the solution $$y_h(t)=ce^{-t}\;\;\;\;\;(c,t\in\mathbb{R})$$ In order to find a particular solution we can take the approach $$y_p(t)\stackrel{!}{=}c(t)e^{-t}$$ ...
0
votes
1answer
48 views

Arctan(f(x)) is almost the same as Erf(f(x)) for many f(x). Is the just coincidence or is there a reason?

For example: Arctan(x) is almost Erf(x) (subtle differences in absolute value and curve) Arctan(x^50) is almost Erf(x^50) (difference in absolute value) and many others, so we can conclude: ...
1
vote
1answer
26 views

Error function - Not seeming to come out right

I have reached two integrals: $$\int_{(x+L)/(2c\sqrt{t})}^\infty e^{-z^2} dz + \int_{-\infty}^{(x-L)/(2c\sqrt{t})} e^{-z^2} dz$$ Now the first evaluates just fine to ...
-1
votes
1answer
51 views

Integral involving the error function

Is there a closed form solution to the integrals \begin{align} I_{c} &= \int_{0}^{\infty} \cos(a x) \, \operatorname{erf}(b x) \, dx \\ I_{s} &= \int_{0}^{\infty} \sin(a x) \, ...
4
votes
0answers
73 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}.$$ ...
0
votes
2answers
20 views

Behaviour of the error function as $z \rightarrow -\infty$?

I'm trying to find the behaviour of the error function, $erf(z)$ as $z \rightarrow -\infty$ $$erf(z) = \frac{2}{\sqrt{\pi}}\int_0^{z} e^{-s^2}\mathrm{ds}$$ I know that we can find the limit of ...
0
votes
2answers
149 views

Range of True Value

A calculator is out of order. For all number, before and after any arithmetic operation, the calculator will round up the numerical value to one decimal place if the value at the second decimal digit ...
27
votes
6answers
2k 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 ...
0
votes
1answer
36 views

approximation of x=sin(x) error

The larger $x$ becomes, the worst the approximation of $x=\sin(x)$ becomes. How large can $x$ get before the error is no longer less than $1/(2\times10^{14})$? What I have tried: I know that the ...
33
votes
3answers
607 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,$$ ...
0
votes
1answer
51 views

Minimizing an error function by deriving a system of linear equations

Consider the following formula: $$E(\mathbf{w}) = \frac{1}{2}\sum_{n=1}^{N}\{y(x_n,\mathbf{w})-t_n\}^2$$ where $\mathbf{w}$ is a vector of weights; $x_n$ and $t_n$ come from two vectors of length ...
1
vote
0answers
37 views

Integral involving complimentary error function.

Essentially, I am trying to work out an integral of the form: $\int_{0}^{\pi }{x\cdot a\cdot \cos \left( x \right)e^{-\left[ a\cdot \sin \left( x \right) \right]^{2}}\mbox{erfc}\left[ -a\cdot \cos ...
0
votes
0answers
22 views

what are some good ways to define the errors between two functions?

I have two functions. One is the original function (that contains 4 variables), and the second one is the approximation to the first one (also contains 4 variables). The question is, if I want to ...
1
vote
1answer
29 views

Alternatives to absolute error?

Let me explain my scenario in which I need to calculate absolute error. Lets say the X is the actual value. And X' is the value of X with some error 'e'. So X' = X + e'. Lets say i = 1 to 10000. I ...
3
votes
1answer
137 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
2answers
101 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 ...
0
votes
1answer
21 views

Where does the “2” come from in deriving Normal PDF from its kernel?

I'm trying to train myself to recognize probability densities by deriving PDFs from bare kernel functions. In other words, I find a constant expression by integrating a kernel function over its ...
15
votes
2answers
360 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 ...
1
vote
1answer
24 views

Integrating the error function in a calculation related to Brownian motion

I wish to calculate the probability that a standard linear Brownian motion $B(t)$, $t\ge 0$, will be at time $t_0$ inside the interval $[a,b]$, and at time $t_1$ in the interval $[c,\infty)$. To do ...
0
votes
0answers
6 views

To find error in time histogram

I have a data which is recorded from a detector. Whenever the detector produce signal it records the time. I have recorded the data for several cycles, one cycle is 0 to 1 second. Finally I made the ...
2
votes
0answers
45 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: $$ ...
0
votes
0answers
14 views

Fitting Error function?

I need to fit a function of the form $$y=A+B\space \text{erf}\left(\frac{\sqrt2(x-a_0)}{w}\right),$$ where $$ \text{erf}(x)=\frac{2}{\sqrt\pi}\int_0^x e^{-t^2} ...
0
votes
1answer
39 views

Discrete Function Approximation Error - Which type? (Applied math, signals)

I have two functions, one derived via software, and we can call it the exact function, $f_{exact}$. The other is a result I got through hardware, and we can call it the approximation, $f_{approx}$. ...
1
vote
1answer
54 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 ...
4
votes
2answers
78 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 ...
7
votes
1answer
326 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}} ...
1
vote
1answer
51 views

Integration involving complicated exponential form

I'm trying to simplify the following: $\int_0^ts^{-\frac{3}{2}}e^{-\frac{(a+bs)^2}{2s}}~ds$ Basic substitution always gives a $s^{-\frac{1}{2}}~ds$ counterpart which I don't know how to get rid of. ...
0
votes
1answer
56 views

Error Term of Chebyshev inequality?

Chebyshev inequality tells us that $$Pr[|X-E[X]|\geq a]\leq \frac{Var[X]^2}{a^2}$$ Do you know an Expression (or a paper where this Expression is mentioned) for the error term?
5
votes
3answers
401 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 ...
3
votes
2answers
558 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: $$ ...
3
votes
0answers
119 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 = ...
1
vote
1answer
31 views

Integral of cumulative normal

Let $$\Phi(x):=\int_{-\infty}^x \frac{1}{\sqrt{2\pi}} \exp\left({-\dfrac{\omega^2}{2}}\right) d\omega.$$ Question: for what values of $a$, $b$ and for what choices of $f(x)$ would the following ...
1
vote
0answers
43 views

Converting this sum to integral (possible?). The goal is to get error function

The solution to the heat equation $$\frac{\partial u}{\partial t}=\frac{\partial^2 u}{\partial x^2}$$ with boundary conditions and ini condition as followed: $$u(0\ or\ 1, t)=0\qquad u(x,0)=1$$ ...
0
votes
1answer
22 views

Determining a value $c$ such that the function $f(c) = \displaystyle\sum_{i=1}^n \left|\frac{y_i-c}{y_i}\right|\times v_i$ is minimized

I'm trying to construct prediction model for a variable of interest, based on a set of input values. I have a set of validation data and their predictions (by my model) and now I need to asses whether ...
2
votes
3answers
89 views

Integrate $ x\cdot e^{i\omega x - x^2}$ from $0$ to $\infty$

Can anybody help me in solving the following integral: $$\int_0^\infty x\cdot e^{i \omega x-x^2}\,dx\quad?$$ Any help/hints will be highly appreciated. Thanks
18
votes
1answer
345 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 ...
2
votes
0answers
26 views

Understanding Variance

I have to analyse the reasons that we did not meet target. Our target is 4750 m Our target speed is 500m/hr Our target hrs are 9.5 We achieved a speed of 550 m/hr We achieved hrs of 9.1 We achieved ...
7
votes
1answer
110 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$, ...
0
votes
1answer
49 views

Changing the limits of integration from $-\infty$ to $\infty$

Is it fair to change from $$ \int_{-\infty}^{a} \exp \left( -t^2 \right) \mathrm dt $$ replacing $t$ with $-t$ $$ \int_{-a}^{\infty} \exp \left( -t^2 \right) \mathrm dt $$ and thus gaining the ...
4
votes
2answers
193 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.
0
votes
0answers
29 views

Calculating error for a division when the number of variables is rather large

Suppose we have $$r = \frac{a_{1}a_{2}...a_{m}}{b_{1}b_{2}...b_{n}}$$ Relative error of each of $a_{i}$ and $b_{i}$ is roughly the same and equals $\delta$. There is a theorem which says: ...
1
vote
1answer
262 views

How to derive integrals with error function?

How to derive this integral $\int_{-\infty}^{\infty}erf(\lambda x)\mathcal{N}(\mu, \sigma ^2)dx$ and this $\int_{-\infty}^{\infty}(erf(\lambda x)-const)^2\mathcal{N}(\mu, \sigma ^2)dx$ where ...
1
vote
0answers
38 views

Find the right degree of the Maclaurin polynomial of $e^x$

Here is my question: What degree Maclaurin polynomial of $e^x$ must be taken to guarantee an estimate of $e$ to within $1 \times 10^{-6}?$ I know that the error term is: ...
0
votes
1answer
84 views

Uncertainty in gradient of data

So I have a set of 9 x,y values, and I need to find the gradient/slope of the data, AND its associated error. Without the error, I would've used Excels LINEST function, but as the errors in my y ...