The question is I believe this is a partial fraction problem, but I don't know how to do it.
Any help is highly appreciated, thank you
Does the denominator factorise? If not, then partial fractions is not appropriate.
First look for simple substitutions. If you make the substitution , then you require its derivative to be a factor. We can easily get that...
So the first term can be easily integrated using that substitution. The second requires completing the square on the denominator, then it should either look familiar (as the derivative of an inverse trigonometric or hyperbolic function) or will require a trigonometric or hyperbolic substitution.
You want to target x2 + a2 in the denominator which is going to integrate to some sort of arctan for the constant over this term, and a ln for the x over this term.
Give it a shot.