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

1
vote
0answers
30 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
21 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
75 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
2
votes
0answers
22 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 ...
18
votes
1answer
309 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 ...
0
votes
1answer
45 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 ...
14
votes
2answers
148 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 ...
4
votes
2answers
130 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.
28
votes
3answers
436 views

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

I successfully evaluated these integrals: $$\int_0^\infty\operatorname{erfc}x\ dx=\frac1{\sqrt\pi},\tag1$$ $$\int_0^\infty\operatorname{erfc}^2x\ dx=\frac{2-\sqrt2}{\sqrt\pi}\tag2,$$ but have problems ...
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
2answers
38 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 ...
1
vote
0answers
34 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
1answer
177 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
25 views

error detection, condition number

I have a question about funcation F(x) = sqrt(x) I found that it has Kappa value equal to 1/2 I am not too sure what happens if when x = 0 is it just a minimum? But now I am trying to investigate ...
3
votes
1answer
57 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 ...
0
votes
2answers
88 views

solve equation of erf

I'd like to solve this equation for $\mu$. Is it possible? If not, why? $$ 2 P = \operatorname{erf}\left( \frac{\mu - A}{ \sqrt{2 \sigma^2} } \right) - \operatorname{erf}\left( \frac{\mu - B}{\sqrt{2 ...
1
vote
2answers
101 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 ...
1
vote
0answers
69 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 ...
11
votes
1answer
161 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 ...
2
votes
1answer
42 views

How to show integral is related to complementary error function?

I have to somehow show that: $$ \int_0^\infty{\frac{e^{-a t}}{t^{1/2}(t+x)}} \textrm{d}t=\frac{\pi}{\sqrt{x}} e^{a x} \textrm{erfc}(\sqrt{ax}) $$ I've tried substituting $u=\sqrt{t}$ to get $$ 2 ...
7
votes
1answer
81 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$, ...
2
votes
2answers
131 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: ...
1
vote
3answers
95 views

Help with exponential integrals

I'm trying to find a nice expression for the following function \begin{equation} f_k(x)=\int_0^\infty y^k (x+y) e^{-(x+y)^2} \text{d}y. \end{equation} So far I know that \begin{equation} ...
25
votes
5answers
1k 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
91 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)?.$$ ...
0
votes
0answers
22 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 ...
3
votes
1answer
122 views

Definite integral - Please point to me my mistake

This emerged while I was investigating this question, i.e. the solution to the definite integral $$I_x = \int_0^\infty\left(5x^5+x\right)\operatorname{erfc}\left(x^5+x\right)\,dx$$ In a comment, its ...
20
votes
2answers
484 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 ...
1
vote
1answer
79 views

Proof of an integral identity

I would appreciate it if you could help proving the following identity which are two forms of complimentary error function $$\frac{2}{\sqrt{\pi}}\int_z^\infty e^{-t^2} ...
17
votes
3answers
213 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 ...
16
votes
2answers
289 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)\ ...
13
votes
1answer
290 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 ...
1
vote
0answers
55 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 ...
0
votes
1answer
75 views

truncation error - help

I am trying to understand the concept of local truncation error and came accross this in my lecture notes: what I don't understand here is where the term 'O' comes from and what it stands for in ...
5
votes
1answer
283 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) - ...
0
votes
0answers
61 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. ...
1
vote
1answer
116 views

Limits of complex error and gamma functions in the complex plane?

What are the following one-sided limits in the complex plane (in the form $x+iy$): For the complex error function: $\lim_{x \to 0^+, y \to 0^+}\text{erf}\left(x+iy\right) = $ $\lim_{x \to +\infty, ...
0
votes
0answers
54 views

Expansion of complex error function at $x\to\infty$ or $y\to\infty$

Considering the complex error function : $\begin{cases}\mathop{\mathrm{erf}}\left(z\right)=\frac{2}{\sqrt{\pi}}\int_{0}^{z}e^{-t^2}dt \mbox{, for } z \in \mathbb{C} \\ ...
1
vote
0answers
127 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} ...
2
votes
1answer
61 views

How to find the error term for multiple applications of a method

I have a problem where I have to estimate the second derivative of a function at a point using given data. I have $f(1.2)$, $f(1.3)$, and $f(1.4)$. ($h=0.1$) I need to find $f''(1.3)$, so I use the ...
2
votes
1answer
97 views

Evaluating $\int\frac{e^{-x^2}}{(1+2x^2)^2}dx$

I'm trying to evaluate the following indefinite integral: $$ \int\frac{e^{-x^2}}{(1+2x^2)^2}dx $$ According to Wolfram|Alpha, this integral evaluates to: $$ \int \frac{e^{-x^2}}{(1+2 x^2)^2} dx = ...
0
votes
0answers
66 views

Truncation error and difference method

I am stuck on the following question. I am not sure of how to calculate the truncation error for the difference method any help would be appreciated thank you!
2
votes
2answers
621 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 - ...
1
vote
1answer
160 views

Rewriting the integral $\mathrm{erf}(x) = \frac{1}{\sqrt{\pi}} \int_{-x}^x e^{-t^2} dt.$

I'm trying to implement an equation into a programming language which doesn't have functions for integrals. However as it's many years since I've had any math exercise I'm having some trouble ...
12
votes
0answers
170 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 ...
0
votes
1answer
124 views

Nonlinear method to solve an equation with the error function in it

My question is to find a method to solve the following non-linear equation. I know it should be an iterative method, but I don't know what would be the best method to use. Any help is highly ...
3
votes
2answers
88 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 ...
1
vote
2answers
516 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?
1
vote
0answers
224 views

Integral of two error functions (erf)

In my research I came across the following integral: \begin{equation} ...