Celeb Glow
general | April 12, 2026

How to integrate $\int_{-\infty}^\infty e^{-kx^2} dx$ and $\int_{-\infty}^\infty x^2 e^{-kx^2} dx$?

$\begingroup$

Given that $$\int_{-\infty}^\infty e^{-x^2} dx = \sqrt\pi,$$ evaluate $$\int_{-\infty}^\infty e^{-kx^2} dx$$ and $$\int_{-\infty}^\infty x^2 e^{-kx^2} dx.$$ for $k>0$

I tried many approaches as integration by parts and substituting $e^{-x^2}$ for $y$ but I reached dead ends.

$\endgroup$ 3

2 Answers

$\begingroup$

Hint.

  • For the first integral, try substituting $y = \sqrt k x$ (note that for the integral to converge, we must have $k > 0$).

  • For the second one, use integration by parts with $u(x) = x$ and $v'(x) = xe^{-kx^2}$, note that an antiderivative of $v'$ is given by $v(x) = -\frac 1{2k} e^{-kx^2}$.

$\endgroup$ $\begingroup$

Hint: $kx^2 = (\sqrt{k}x)^2$, then substitute

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy