How to solve this question using the comparison test The problem is this
$$ \int_0^\infty \frac{x}{x^2+1}\,dx $$
You're supposed to find if this converges or diverges. Now you could figure that by solving the integral but if we were supposed to use the comparison test, how would this be solved?
My teacher taught me to use the comparison test like so: First change the original equation into something simple that can be solved by inspection. And so I turned the original equation into$$ \int_0^\infty \frac{1}{x}\,dx $$which shows that it's divergent due to the P-Test.
Then, based on that information, find an equation bigger or smaller than the original one, and do the test.
So since it's divergent, we'd need a bigger equation and I thought of letting that equation be $ \int_0^\infty \frac{x}{x^2+x}\,dx $ (basically just replaced the 1 with an x) and then turn it into the equation above. However there's one problem. The above equation is only smaller than the original equation after $x=1$ and the integral starts at 0. So this is incorrect right?
How would I go about solving this? And is my idea of using the comparison test correct? Thanks!

$$
\frac x {x^2+1} > \frac x {x^2+x^2} = \frac 1 {2x}.
$$
PS in response to comments:
$$
\int_0^\infty \frac x {x^2+1} \, dx = \int_0^1 \frac x {x^2+1} \, dx + \int_1^\infty \frac x {x^2+1} \, dx \ge \int_0^1 \frac x {x^2+1} \, dx + \int_1^\infty \frac{dx}{2x} = +\infty.
$$
If the integral from $0$ to $1$ were $-\infty$ or if it diverged in some odd way, then we'd have more work to do, but otherwise this does it.
