I want to study the convergence of the improper integral $$ \int_0^{\infty} \frac{e^{-x^2}-e^{-3x^2}}{x^a}$$To do so I used the comparison test with $\frac{1}{x^a}$ separating $\int_0^{\infty}$ into $\int_0^{1} + \int_1^{\infty}$.
For the first part, $\int_0^{1}$, I did $$\lim_{x\to0} \frac{\frac{e^{-x^2}-e^{-3x^2}}{x^a}}{\frac{1}{x^a}}=0$$ Therefore $\int_0^{1}\frac{e^{-x^2}-e^{-3x^2}}{x^a}$ converges for $a<1$, since $\int_0^{1}\frac{1}{x^a}$ converges for $a<1$
For the second part I did the same, and got that $\int_1^{\infty}\frac{e^{-x^2}-e^{-3x^2}}{x^a}$ converges for $a>1$. This means that the initial improper integral does not converge for any $a$, is this correct?
For the first note that for $x\to0$
$$e^{-x^2}=1-x^2+o(x^2) \quad \quad e^{-3x^2}=1-3x^2+o(x^2)$$
$$\implies \frac{e^{-x^2}-e^{-3x^2}}{x^a}= \frac{2x^2+o(x^2)}{x^a}\sim \frac{2}{x^{a-2}}$$
thus $\int_0^{1}$ converges by comparison with $\frac{1}{x^{a-2}}$ for $a-2<1$ that is $a<3$.
For the second note that for $x\to +\infty$
$$\forall b \in \mathbb{R} \quad\frac{e^{-x^2}-e^{-3x^2}}{x^b}\to 0$$
thus $\int_1^{+\infty}$ converges by comparison with $\frac{1}{x^{2}}$ $\forall a$.
Therefore $\int_0^{\infty} \frac{e^{-x^2}-e^{-3x^2}}{x^a}$ converges $\forall a<3$.