Integral of $$$e^{- \frac{x^{2}}{2 \sigma^{2}}}$$$ with respect to $$$x$$$

The calculator will find the integral/antiderivative of $$$e^{- \frac{x^{2}}{2 \sigma^{2}}}$$$ with respect to $$$x$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int e^{- \frac{x^{2}}{2 \sigma^{2}}}\, dx$$$.

Solution

Let $$$u=\frac{\sqrt{2} x}{2 \left|{\sigma}\right|}$$$.

Then $$$du=\left(\frac{\sqrt{2} x}{2 \left|{\sigma}\right|}\right)^{\prime }dx = \frac{\sqrt{2}}{2 \left|{\sigma}\right|} dx$$$ (steps can be seen »), and we have that $$$dx = \sqrt{2} \left|{\sigma}\right| du$$$.

So,

$${\color{red}{\int{e^{- \frac{x^{2}}{2 \sigma^{2}}} d x}}} = {\color{red}{\int{\sqrt{2} e^{- u^{2}} \left|{\sigma}\right| d u}}}$$

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\sqrt{2} \left|{\sigma}\right|$$$ and $$$f{\left(u \right)} = e^{- u^{2}}$$$:

$${\color{red}{\int{\sqrt{2} e^{- u^{2}} \left|{\sigma}\right| d u}}} = {\color{red}{\sqrt{2} \left|{\sigma}\right| \int{e^{- u^{2}} d u}}}$$

This integral (Error Function) does not have a closed form:

$$\sqrt{2} \left|{\sigma}\right| {\color{red}{\int{e^{- u^{2}} d u}}} = \sqrt{2} \left|{\sigma}\right| {\color{red}{\left(\frac{\sqrt{\pi} \operatorname{erf}{\left(u \right)}}{2}\right)}}$$

Recall that $$$u=\frac{\sqrt{2} x}{2 \left|{\sigma}\right|}$$$:

$$\frac{\sqrt{2} \sqrt{\pi} \left|{\sigma}\right| \operatorname{erf}{\left({\color{red}{u}} \right)}}{2} = \frac{\sqrt{2} \sqrt{\pi} \left|{\sigma}\right| \operatorname{erf}{\left({\color{red}{\left(\frac{\sqrt{2} x}{2 \left|{\sigma}\right|}\right)}} \right)}}{2}$$

Therefore,

$$\int{e^{- \frac{x^{2}}{2 \sigma^{2}}} d x} = \frac{\sqrt{2} \sqrt{\pi} \left|{\sigma}\right| \operatorname{erf}{\left(\frac{\sqrt{2} x}{2 \left|{\sigma}\right|} \right)}}{2}$$

Add the constant of integration:

$$\int{e^{- \frac{x^{2}}{2 \sigma^{2}}} d x} = \frac{\sqrt{2} \sqrt{\pi} \left|{\sigma}\right| \operatorname{erf}{\left(\frac{\sqrt{2} x}{2 \left|{\sigma}\right|} \right)}}{2}+C$$

Answer

$$$\int e^{- \frac{x^{2}}{2 \sigma^{2}}}\, dx = \frac{\sqrt{2} \sqrt{\pi} \left|{\sigma}\right| \operatorname{erf}{\left(\frac{\sqrt{2} x}{2 \left|{\sigma}\right|} \right)}}{2} + C$$$A


Please try a new game Rotatly