Integrate: (2x^2+5)/((x^2+1)(x^2+4))
I came up with:
(tan^-1)(x)-(1/2)((tan^-1)(2/x)) but it keeps coming back the wrong answer even though I integrated correctly. Is there a way to simplify this answer, and if so, how?
Your answer is correct, but I think you are supposed to simpify the last term using the formula:
arctan(1/x) = pi/2 - arctan(x).
The pi/2 term can then be absorbed in the integration constant.