Evaluate the integral $$\int \frac{6+4x}{1+x^2}\mathrm{d}x.$$
Hey guys, i've been trying to solve this integral and I'm pretty sure I'm supposed to use u-substitution only, but I can't get it to work out. So far I've tried setting $u=1+x^2$, $u=6+4x$, and other things but I can't get the answer (which involves ln and arctan).
I see where both $\arctan$ and $\ln$ could show up, as $$ \int \frac{1}{1+x^2}\mathrm{d}x = \arctan(x)+C.$$
Help appreciated!!
$$\frac{6+4x}{1+x^2} = \frac{6}{1+x^2} + \frac{4x}{1+x^2}$$
You should be able to integrate both parts.