# Improper integral (convergent/divergent)

Determine whether $\int_{-\infty}^{\infty} xe^{-x^2}dx$ is convergent or divergent. Evaluate it if it is convergent. I tried using integration by parts, but failed to integrate $e^{-x^2}$.
The substitution $u=x^2$ will easily solve this.