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

4
votes
2answers
56 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 ...
1
vote
2answers
100 views

Accurate computation of $\exp(a x^2) Q(x)$ for big values of $x$?

I was wondering how one can accurately compute the value of $\exp(a x^2) Q(b x)$ for large values of $$x \left(Q(x) \triangleq \frac{1}{\sqrt{2\pi}}\int_x^{\infty} e^{-\frac{u^2}{2}} du \right)?.$$ ...
16
votes
1answer
363 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
1answer
99 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 ...
1
vote
1answer
27 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 ...
1
vote
1answer
27 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
1answer
42 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
27 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}$. ...
0
votes
1answer
46 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 ...
13
votes
0answers
226 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 ...
2
votes
0answers
31 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: $$ ...
2
votes
0answers
79 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 = ...
2
votes
0answers
23 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 ...
1
vote
0answers
35 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$$ ...
1
vote
0answers
35 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: ...
1
vote
0answers
79 views

Solving Differential equation, origin Physics

Given constants $u,v,l$ find the solution to the differential equation $$\frac{dx}{dt}+x\left(1+\frac{v}{l}t\right)=u$$ Given that at $(0,l)$ lies on the solution. And hence find the value of $t$ when ...
1
vote
0answers
70 views

Grid Function Norm

I am studying about the global truncation error in finite difference methods and I have a question about calculating the error in a Boundary Value Problem (BVP). If we take a simple 1-D problem, the ...
1
vote
0answers
148 views

A puzzling inequality involving exp, erf, and log

For $0<y<x<\infty$, I believe the following inequality is true (I've tested it numerically with random values for $x$ and $y$) but have been unable to analytically confirm: \begin{align} ...
1
vote
0answers
262 views

Integral of two error functions (erf)

In my research I came across the following integral: \begin{equation} ...
1
vote
0answers
496 views

What is the significance of error function?

Here's a Wiki article on the subject. Sadly it doesn't do a good job of explaining the significance of the function. Of course it may mean different things to different people (for mathematicians it ...
0
votes
0answers
16 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 ...
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 ...
0
votes
0answers
8 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
0answers
26 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: ...
0
votes
0answers
26 views

Integration of error function and exponenial with none trivial integration limit

I would like to know the following integration $$\int_b^\infty \operatorname {erfc(x)}e^{x^2+iax}$$ which seems integrable as the integrand goes to $\frac{e^{ix}}{x}$ for large x. All reference ...
0
votes
0answers
67 views

What is the limit of erf in $\infty+i\times\infty$?

What is the following limit: $\lim_{x \to \infty, y \to \infty} \mbox{erf}\left(x+iy\right)$ Wolfram alpha seems to give $1$, but here the unique answer seems to tell that $\mbox{erf}$ diverges. ...