I'd like to show that $$\int_{-\infty}^{\infty}e^{-x^n}dx \text{ converges} \iff n\text{ is even.}$$
My attempt:
Suppose $n$ is odd. Then $$\int_{-\infty}^{\infty}e^{-x^n}dx=\int_{0}^{\infty}e^{-x^n}dx+\underbrace{\int_{0}^{\infty}e^{x^n}dx}_{\text{diverges}}$$ The second integral diverges since $e^{x^n}\to\infty$ as $x\to\infty$.
If instead, $n$ is even, then $$\int_{-\infty}^{\infty}e^{-x^n}dx =2\int_{0}^{\infty}e^{-x^n}dx$$ I don't know how to show this is bounded.
I would like to know if there is any inequality I can use to bound this, and show that the integral is finite.
Note that $x^n \le e^{x^n}$, so $\frac1{x^n}\ge e^{-x^n}$. With $f(x) = e^{-x^n}$, write:
$$\int_0^{\infty} f(x)dx = \int_0^1 f(x)dx + \int_1^{\infty}f(x)dx$$
The first integral on the RHS is obviously convergent. The second integral converges by comparison test.