$$\int_{0}^{\infty} \frac{\sqrt{1-x+x^2}}{1-x^2+x^4} dx$$
What's the method for determining if this integral converges or diverges? The integral seems to converge if I put it into Wolfram Alpha.
But do we assume it's similar to $$\int_{0}^{\infty} \frac{1}{x^4} dx$$
Because if so I can't get that one to converge since it's $-\frac{1}{3x^3}$ where $x=\infty$ and $x=0$ (I don't know how to write the "right bar" notation for integrals) which goes to $-0 + \infty$ which is divergent. So I am not sure what is right.
Note that
thus
$$\int_{0}^{\infty} \frac{\sqrt{1-x+x^2}}{1-x^2+x^4} dx=\int_{0}^{1} \frac{\sqrt{1-x+x^2}}{1-x^2+x^4} dx+\int_{1}^{\infty} \frac{\sqrt{1-x+x^2}}{1-x^2+x^4} dx$$
Since the first integral is a proper integral and the second converges by comparison with
$$\int_{1}^{\infty}\frac1{x^3} dx$$
the given integral converges.