I am studying the convergence of improper integrals. In this case I am asked to calculate if the following integral converges.$$\int_0^1\frac{dx}{\sqrt{1-x^4}}$$
To do so my professor used the comparison test with the function $\frac{1}{\sqrt{1-x}}$ since the limit $$\lim_{x\to 1}\frac{\frac{1}{\sqrt{1-x^4}}}{\frac{1}{\sqrt{1-x}}}\neq0,\infty$$ And therefore the initial integral will converge if and only if $$\int_0^1\frac{dx}{\sqrt{1-x}}$$ converges. Indeed, this last integral is $2$, so the initial integral converges.
My question is about the limit, I don't know how to compute it so I don't understand why my professor chose to compare the limit to the function $\frac{dx}{\sqrt{1-x}}$.
$$\frac{\frac{1}{\sqrt{1-x^4}}}{\frac{1}{\sqrt{1-x}}}=\frac{\sqrt{1-x}}{\sqrt{1-x}\sqrt{1+x}\sqrt{1+x^2}}=\frac1{\sqrt{1+x}\sqrt{1+x^2}}\xrightarrow[x\to1]{}\frac1{\sqrt2\sqrt2}=\frac12$$