I need to solve this integral:
$$\int{\frac{\mathrm dx}{\sqrt{1+x^2}}}$$
First I thought it was easy, so I tried integration by parts with $g(x)=x$ and $g'(x)=1$:
$$\int{ \frac{x^2}{(1+x^2)^{\frac{3}{2}} }}\,\mathrm dx $$
But I've made it even more complicated than before, and if I want to solve it again by parts I'll have $g(x)= \frac{x^3}{3}$ , and I will never end integrating.
How should I solve it?
Edit
Trying this way: $x= tg(t)$, then I get:
$$ \int{ \frac{1+tg^2(t)}{ \sqrt{1+ tg^2(t)} } dt}= \int{ \sqrt{ 1 + tg^2(t) } dt } $$
But it doesn't remind me anything, I still can't solve it.
your integral can be solved by $x=\sinh t$ and $dx=\cosh t\, dt$ which gives $$\int \frac{\cosh t}{\cosh t} \, dt = \int 1\, dt=t=\sinh^{-1} x = \ln (x+\sqrt{x^2+1})+C,$$ since $\sqrt{1+x^2}=\sqrt{1+\sinh^2 t}=\cosh t$.