I am trying to integrate this function:
$$\int {\frac{1}{x\sqrt{x+1}}\mathrm{d}x}.$$
When I googled it I saw methods that used both "$u$" and "$s$" substitution. I sort of understood what was going on but got stuck after substituting in $s$. I could not simplify any further.
My professor used a really weird substitution where she found $u^2$ and then declared: $\frac{2u(du)}{(u+1)(u-1)}$ then used the heavyside method.I understood her use of the heavyside method however I do not understand where her above function came from. What happened to $x$? How did $2u$ get on top?
Could you please help me understand how both of these methods could be used to solve this integral? It would be especially helpful to know where $\frac{2u(du)}{(u+1)(u-1)}$ came from.