Integral of $$$e^{- p^{2} - q^{2}}$$$ with respect to $$$p$$$

The calculator will find the integral/antiderivative of $$$e^{- p^{2} - q^{2}}$$$ with respect to $$$p$$$, 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^{- p^{2} - q^{2}}\, dp$$$.

Solution

Rewrite the integrand:

$${\color{red}{\int{e^{- p^{2} - q^{2}} d p}}} = {\color{red}{\int{e^{- p^{2}} e^{- q^{2}} d p}}}$$

Apply the constant multiple rule $$$\int c f{\left(p \right)}\, dp = c \int f{\left(p \right)}\, dp$$$ with $$$c=e^{- q^{2}}$$$ and $$$f{\left(p \right)} = e^{- p^{2}}$$$:

$${\color{red}{\int{e^{- p^{2}} e^{- q^{2}} d p}}} = {\color{red}{e^{- q^{2}} \int{e^{- p^{2}} d p}}}$$

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

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

Therefore,

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

Add the constant of integration:

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

Answer

$$$\int e^{- p^{2} - q^{2}}\, dp = \frac{\sqrt{\pi} e^{- q^{2}} \operatorname{erf}{\left(p \right)}}{2} + C$$$A