Integral of $$$e^{- p^{2} - q^{2}}$$$ with respect to $$$p$$$
Related calculator: Definite and Improper Integral Calculator
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