Given the integral: $$\int_{0}^{+\infty}dz\, e^{-z^2} \text{erf}(z+\beta)=\frac{\sqrt{\pi}}{2}\left(1-\frac{1}{2}\text{erfc}^2\left(\frac{\beta}{\sqrt{2}}\right)\right),$$ where $\text{erf}(z)$ and $\text{erfc}(z)$ are respectively the Gauss error function and the complementary error function, I need to solve the following: $$\int_{0}^{+\infty}dz\, e^{-\color{red}\alpha z^2} \text{erf}(z+\beta).$$ On the tables where all possible integrals involving error functions are given, I cannot find an appropriate formula which could help me to evaluate my integral.
2026-03-29 19:07:45.1774811265
Gaussian integral with error function
1.5k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in INTEGRATION
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- How to integrate $\int_{0}^{t}{\frac{\cos u}{\cosh^2 u}du}$?
- Show that $x\longmapsto \int_{\mathbb R^n}\frac{f(y)}{|x-y|^{n-\alpha }}dy$ is integrable.
- How to find the unit tangent vector of a curve in R^3
- multiplying the integrands in an inequality of integrals with same limits
- Closed form of integration
- Proving smoothness for a sequence of functions.
- Random variables in integrals, how to analyze?
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Which type of Riemann Sum is the most accurate?
Related Questions in DEFINITE-INTEGRALS
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Closed form of integration
- Integral of ratio of polynomial
- An inequality involving $\int_0^{\frac{\pi}{2}}\sqrt{\sin x}\:dx $
- How is $\int_{-T_0/2}^{+T_0/2} \delta(t) \cos(n\omega_0 t)dt=1$ and $\int_{-T_0/2}^{+T_0/2} \delta(t) \sin(n\omega_0 t)=0$?
- Roots of the quadratic eqn
- Area between curves finding pressure
- Hint required : Why is the integral $\int_0^x \frac{\sin(t)}{1+t}\mathrm{d}t$ positive?
- A definite integral of a rational function: How can this be transformed from trivial to obvious by a change in viewpoint?
- Integrate exponential over shifted square root
Related Questions in CHANGE-OF-VARIABLE
- Evaluation of $I=\iint_R e^{-(x^2+y^2)} \,dx\,dy$ by change of variable
- Undo a change of variables
- Optimization problem "change of variables" injectivity requirement
- Volume of revolution with coordinate transformation.
- $\int_0^1 \int_0^{1-y} \cos\Big( \frac{x-y}{x+y} \Big) \, dx dy$
- Does the following change of variable hold?
- Two variables with joint density: Change of variable technique using Jacobian for $U=\min(X,Y)$ and $V=\max(X,Y)$
- Calculate $\int\int_E e^{5x^2+2xy+y^2}dA$
- $X \sim R(0,1)$ and $Y \sim R(0,1)$ , where $X$ and $Y$ are independent.
- Given that $X,Y$ are independent $N(0,1)$ , show that $\frac{XY}{\sqrt{X^2+Y^2}},\frac{X^2-Y^2}{2\sqrt{X^2+Y^2}}$ are independent $N(0,\frac{1}{4})$
Related Questions in GAUSSIAN-INTEGRAL
- Evaluating $\int_{\mathbb{R}}e^{-(x+iy)^2}dx$? For a fixed $y \in \mathbb{R}$,
- How to calculate $\iint_{\mathbb{R}^2} \exp\left(-x^2-y^2+ixy-ix-iy\right)\,dx\,dy$?
- Fourier transform of squared Gaussian Hermite polynomial
- Formal derivation of the Fourier transform of Dirac delta using a distribution
- Why Owen's selected this function $f(h,x)=\frac{e^{-\frac 12 h^2(1+x²)}}{1+x²}$ for integration?
- Calculate $\int_{\mathbb R^3} \exp(-x^tAx + b^tx) \,\lambda_3(dx)$
- Complex Gaussian integral
- How do I perform the following integral involving two vector coordinates?
- Can the following integral be solved exactly without approximation ? if so how to evaluate?
- Is this possible to solve this definite integral?
Related Questions in ERROR-FUNCTION
- Integral of error-like function
- Approximation of poly of degree 4 by degree 2
- To find the new weights of an error function by minimizing it
- About L2 error distribution and its STRANGE oscillatory behaviour
- Remainder in Asymptotic Expansion of Erfc
- How do I show this :$\int_{-\infty}^{+\infty} x^n 2\cosh( x)e^{-x^2}=0$ if it is true with $n$ odd positive integer?
- Intuitive meaning of attitude error function $\Psi$ defined over $SO(3)$. Is $\Psi$ a metric?
- What are the obtained consequences in mathematics if the antiderivative of $e^{-x²}$ and $e^{x²}$ expressed as elementary functions?
- The maximum area of a circle drawn between the graphs of $e^{-x²}$ and $-e^{-x²}$?
- Evaluation of $\int_{0}^\infty \frac{\sin(x)}{x}e^{- x²} dx$
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
You can obtain a result for the second integral in terms of Owen's T-function which is defined as $$ T(x, p) = \frac{1}{2\pi}\int_{0}^{p} \frac{e^{-\frac{1}{2} x^2 (1+t^2)}}{1+t^2} \, dt \quad \left(-\infty < x, p < +\infty\right). $$ From this definition, a simple calculation using Feynman's trick tells us that $\require{cancel}$ \begin{align*} \frac{d}{d\beta} 2\sqrt{\frac{\pi}{\alpha}}T\left(\sqrt{\frac{2\alpha}{\alpha+1}}\beta, \frac{1}{\sqrt{\alpha}} \right)& = \cancel{2}\sqrt{\frac{\pi}{\alpha}} \frac{1}{\cancel{2}\pi}\int_{0}^{ \frac{1}{\sqrt{\alpha}}}\frac{\partial}{\partial \beta} \frac{e^{-\frac{1}{\cancel{2}}\frac{\cancel{2}\alpha}{\alpha+1} \beta^2 (1+t^2)}}{1+t^2} dt\\ & = \frac{1}{\sqrt{\pi \alpha}}\int_{0}^{ \frac{1}{\sqrt{\alpha}}} \frac{-2\frac{\alpha}{\alpha+1}\cancel{(1+t^2)}\beta e^{-\frac{\alpha}{\alpha+1}\beta^2 (1+t^2)}}{\cancel{1+t^2}} dt\\ & = -\frac{2\beta}{\sqrt{\pi }} \frac{\sqrt{\alpha}}{\alpha+1}e^{-\frac{\alpha}{\alpha+1}\beta^2}\int_{0}^{ \frac{1}{\sqrt{\alpha}}} e^{-\left(\sqrt{\frac{\alpha}{\alpha+1}}\beta t\right)^2} \, dt\\ & \overset{\color{blue}{u = \sqrt{\frac{\alpha}{\alpha+1}}\beta t}}{=} -\frac{\color{green}{2}\cancel{\beta}}{\color{green}{\sqrt{\pi }}} \frac{\cancel{\sqrt{\alpha}}}{\alpha+1}e^{-\frac{\alpha}{\alpha+1}\beta^2}\frac{\color{blue}{\sqrt{\alpha+1}}}{\color{blue}{\cancel{\beta}}\cancel{\color{blue}{\sqrt{\alpha}}}} \color{green}{\int_{0}^{\frac{\beta}{\sqrt{\alpha+1}}} e^{-u^2} \, du}\\ & = - \frac{1}{\sqrt{\alpha+1}}e^{-\left(1-\frac{1}{\alpha+1}\right)\beta^2}\color{green}{\text{erf}\left( \frac{\beta}{\sqrt{\alpha+1}}\right)} \tag{1} \end{align*}
Now let's define a function $I(\beta)$ in terms of the integral we want $$ I(\beta) := \int_{0}^{\infty} e^{-\alpha x^2} \text{erf}(x+\beta) \, dx $$ by again using Feynman's trick we get \begin{align*} \frac{d}{d\beta}I(\beta) = \int_{0}^{\infty}e^{-\alpha x^2} \frac{\partial}{\partial \beta }\text{erf}(x+\beta) \, dx = \int_{0}^{\infty}e^{-\alpha x^2} \frac{2}{\sqrt{\pi}}e^{-(x+\beta)^2} \, dx = \frac{2}{\sqrt{\pi}}\int_{0}^{\infty}e^{-\left(\left(\color{blue}{\sqrt{\alpha+1}}\right)^2x^2 +2\color{purple}{\beta}x +\color{green}{\beta^2}\right)} \, dx \end{align*} where we used the fundamental theorem of calculus to differentiate the error function, along with its definition $\text{erf}(x) = \frac{2}{\sqrt{\pi}}\int_{0}^{x} e^{-t^2} \, dt$. Now, from equation $4$ in section $3.2$ of the tables you linked we know that $$ \int_{0}^{\infty} e^{-(\color{blue}{a}^2 t^2 + 2\color{purple}{z} t + \color{green}{c})} \, dt = \frac{\sqrt{\pi}}{2a}\text{erfc}\left( \frac{z}{a}\right)e^{-\left(c-\frac{z^2}{a^2}\right)} = \frac{\sqrt{\pi}}{2a}e^{-\left(c-\frac{z^2}{a^2}\right)}-\frac{\sqrt{\pi}}{2a}\text{erf}\left( \frac{z}{a}\right)e^{-\left(c-\frac{z^2}{a^2}\right)} $$ using that $\text{erfc}(x) = 1 - \text{erf}(x)$ by definition. We thus get that $$ I'(\beta) = \frac{1}{\sqrt{\alpha+1}}e^{-\left(1-\frac{1}{\alpha+1}\right)\beta^2}- \frac{1}{\sqrt{\alpha+1}}\text{erf}\left( \frac{\beta}{\sqrt{\alpha+1}}\right)e^{-\left(1-\frac{1}{\alpha+1}\right)\beta^2} \tag{2} $$ Using the definition of the error function, notice that $$ \frac{d}{d\beta}\left[ \frac{1}{2} \sqrt{\frac{\pi}{\alpha}}\text{erf}\left(\sqrt{\frac{\alpha}{\alpha+1}} \beta\right) \right]= \frac{1}{\sqrt{\alpha+1}}e^{-\left(1-\frac{1}{\alpha+1}\right)\beta^2} $$ And thus, we can combine the previous equation with equations $(1)$ and $(2)$ to get that $$ \frac{d}{d\beta}I(\beta) = \frac{d}{d\beta}\left[\frac{1}{2} \sqrt{\frac{\pi}{\alpha}}\text{erf}\left(\sqrt{\frac{\alpha}{\alpha+1}} \beta\right) + 2\sqrt{\frac{\pi}{\alpha}}T\left(\sqrt{\frac{2\alpha}{\alpha+1}}\beta, \frac{1}{\sqrt{\alpha}} \right)\right] $$ But since we have two functions whose derivatives are equal, the functions being differentiated must be equal up to some constant $\color{blue}{C}$: $$ I(\beta) = \sqrt{\frac{\pi}{\alpha}}\left(\frac{1}{2} \text{erf}\left(\sqrt{\frac{\alpha}{\alpha+1}} \beta\right) + 2T\left(\sqrt{\frac{2\alpha}{\alpha+1}}\beta, \frac{1}{\sqrt{\alpha}} \right)\right) + \color{blue}{C} $$ Evaluating at $\beta =0$ we get $$ I(0) = \sqrt{\frac{\pi}{\alpha}}\left(\frac{1}{2} \text{erf}\left(0\right) + 2T\left(0, \frac{1}{\sqrt{\alpha}} \right)\right) +C = \sqrt{\frac{\pi}{\alpha}}\left( \frac{\text{arctan}\left(\frac{1}{\sqrt{\alpha}} \right)}{\pi}\right) +C \tag{3} $$ where we used the fact that $T(0, x)= \frac{1}{2\pi}\int_{0}^{x} \frac{1}{1+t^2} \, dt= \frac{\arctan(x)}{2\pi}$. If we now evaluate $I(0)$ using our original integral definition we can obtain the value for $C$ and complete the problem. We see that $$ I(0) = \int_{0}^{\infty} e^{-\sqrt{\alpha}^2 x^2} \text{erf}(x) \, dx $$ and using equation $2$ from section $4.3$ of the tables you linked we get \begin{align} I(0) = \frac{\sqrt{\pi}}{2\sqrt{\alpha}} - \frac{1}{\sqrt{\pi\alpha}}\arctan(\sqrt{\alpha}) = \cancel{\frac{\sqrt{\pi}}{2\sqrt{\alpha}}}-\frac{1}{\sqrt{\pi\alpha}}\left(\cancel{\frac{\pi}{2}} - \arctan\left(\frac{1}{\sqrt{\alpha}}\right) \right) =\frac{\arctan\left(\frac{1}{\sqrt{\alpha}}\right)}{\sqrt{\pi \alpha}} \tag{4} \end{align} where we used that $\arctan(x) + \arctan\left( \frac{1}{x}\right)= \frac{\pi}{2}$ since $ \alpha > 0$ in order for the integral to converge. Combining equations $(3)$ and $(4)$ we get that $C=0$, so we can finally conclude that for $a>0$ and $b \in \mathbb{R}$: $$ \boxed{\int_{0}^{\infty} e^{-\alpha x^2} \text{erf}(x+\beta) \, dx = \sqrt{\frac{\pi}{\alpha}}\left(\frac{1}{2} \text{erf}\left(\sqrt{\frac{\alpha}{\alpha+1}} \beta\right) + 2T\left(\sqrt{\frac{2\alpha}{\alpha+1}}\beta, \frac{1}{\sqrt{\alpha}} \right)\right)} $$
The integral you give in your question can be derived from the general case above. First, notice that $$ \frac{1}{\pi}\int_{0}^{1} \frac{e^{-\frac{x^2}{2} (1+t^2)}}{1+t^2} \, dt=2T\left(x,1 \right) = \frac{1}{4} \text{erfc}\left( \frac{x}{\sqrt{2}}\right) \left(2- \text{erfc}\left( \frac{x}{\sqrt{2}}\right) \right) $$ which can be proven by differentiating both sides of the equation by $x$ and using Feynman's trick. We thus get that \begin{align} \int_{0}^{\infty} e^{- x^2} \text{erf}(x+\beta) \, dx &= \sqrt{\frac{\pi}{1}}\left(\frac{1}{2} \text{erf}\left(\sqrt{\frac{1}{1+1}} \beta\right) + 2T\left(\sqrt{\frac{\cancel{2}}{\cancel{1+1}}}\beta, \frac{1}{\sqrt{1}} \right)\right)\\ &= \sqrt{\pi}\left(\frac{1}{2} \text{erf}\left( \frac{\beta}{\sqrt{2}}\right) + 2T\left(\beta, 1\right)\right)\\ &= \sqrt{\pi}\left(\frac{1}{2} \left(1-\text{erfc}\left( \frac{\beta}{\sqrt{2}}\right)\right) + \frac{1}{4} \text{erfc}\left( \frac{\beta}{\sqrt{2}}\right) \left(2- \text{erfc}\left( \frac{\beta}{\sqrt{2}}\right) \right)\right)\\ &= \sqrt{\pi}\left(\frac{1}{2}-\cancel{\frac{1}{2}\text{erfc}\left( \frac{\beta}{\sqrt{2}}\right)} + \cancel{\frac{1}{2} \text{erfc}\left( \frac{\beta}{\sqrt{2}}\right)}- \frac{1}{4} \text{erfc}\left( \frac{\beta}{\sqrt{2}}\right)\text{erfc}\left( \frac{\beta}{\sqrt{2}}\right) \right)\\ &= \frac{\sqrt{\pi}}{2}\left(1-\frac{1}{2}\text{erfc}^2\left(\frac{\beta}{\sqrt{2}}\right)\right) \end{align}
As a final note, a nice complimentary identity I found whilst solving this problem is the integral $$ \int_{-\infty}^{\infty} e^{-\alpha x^2} \text{erf}(\gamma x + \beta) \, dx = \sqrt{\frac{\pi}{\alpha}} \text{erf}\left( \frac{\beta \sqrt{\alpha}}{\sqrt{\gamma^2 +\alpha}}\right) $$ which might also be useful to you.