Given the integral:
$I = \int_{-\infty}^{\infty} x^{2n}e^{-\alpha x^2} dx$
If I say that if:
$$[I] = [L]^{2n+1}$$
And the dimensions of alpha must be $\frac{1}{[L]^2}$ since the exponent must be dimensionless
Then the integral must scale with $[\alpha]^{-n+1}$ since
$$[\alpha] = [x]^{-2}=[L]^{-2}$$ $$[\alpha]^{-n} = [L]^{2n}$$ $$[\alpha]^{-n+1} = [L]^{2n+1}$$ $$[\alpha]^{-n+1} = [I]$$
but If I do u substitution, then I get something like:
$$\int_{-\infty}^{\infty} x^{2n}e^{-\alpha x^2} dx $$ $$= \int_{-\infty}^{\infty} x x^{2n-1}e^{-\alpha x^2} dx$$
using:
$$u = -\alpha x^2$$ $$du = -2\alpha x dx$$
i get:
$$\int_{-\infty}^{\infty} \frac{1}{-2 \alpha} \left(\sqrt{\frac{-u}{\alpha}}\right)^{2n-1}e^{u} du$$
edit: fixed algebra error below:
so the integral is proportional to
$$\alpha^{-1}(\alpha^{-1/2})^{2n-1} = \alpha^{-n-\frac{1}{2}}$$
Is there something wrong with the first method? How do you infer how the integral varies with alpha from dimensional analysis without u substitution here?