What is the value of integral $\int \frac{{d}x}{\sqrt {x^2 + 9}}$
The answer is $\sinh^{-1} (\frac{x}{3})$
I have tried solving it by putting $x = 3\tan \theta$, and got the answer $\ln |sec tan^{-1} \frac{x}{3} + \frac{x}{3}|$
I am unable to convert it in the given answer form, please tell me how to do it.
Do the substitution $x=3\sinh t$ and $\mathrm dx=3\cosh t\,\mathrm dt$. Then your primitive becomes$$\int\frac{3\cosh t}{\sqrt{9\sinh^2(t)+9}}\,\mathrm dt.\tag1$$Since $\sinh^2(t)+1=\cosh^2(t)$, $(1)$ becomes $\int1\,\mathrm dt=t=\operatorname{arcsinh}\left(\frac x3\right)$.