Hello, solars!
Let:
Substitute: .
. .
Let:
Substitute: .
Back-substitute: .
Back-substitute again.
We had: .
is in a right triangle with: .
Using Pythagorus, we get: .
Hence: .
Substitute: .
Answer: .
Put z^2 as 9+x^2 then differentiate both sides to obtain xdx=zdz.
now substitute the values in the problem to the integrand as {z^2-9}/z use simple division and integrate.Resubstitute the value of x.
and most important trick of all. never use trigonometric substitution for such problem. At least not in the exams.You will find yourself in a terrible mess
As per usual I arrive late to a forum and all the good methods are already taken.
To add my own touch of "creative flair", this is what I did:
It might be easier solving the expression in two sections. It also becomes easier to do using interation by parts, but the substitution u^2=x^2+9 will work rather quickly.
Hope this helps!