I picked this exercice from B. Demidovitch and i started solving, but when it's complete, i get only the half of the solution (the first two fractions and the ln, doesn't show up). $$\int \frac{1+x}{1+\sqrt x} dx$$
The Solution is:
$$2 \left[\frac{\sqrt{x^3}}{3}-\frac{x}{2}+2\sqrt{x}-2ln(1+\sqrt{x})\right] + C$$
Let $u=\sqrt x+1$, so that $\mathrm{d}x=2(u-1)\,\mathrm{d}u$. $$\int\frac{1+x}{1+\sqrt x}\,\mathrm{d}x=\int\frac{1+(u-1)^2}{u}(2(u-1))\,\mathrm{d}u$$ Expanding makes the integral trivial. (added some more details below) $$\begin{align*}2\int\frac{u-1+(u-1)^3}{u}\,\mathrm{d}u&=2\int\frac{u^3-3u^2+4u-2}{u}\,\mathrm{d}u\\[1ex]&=2\int\left(u^2-3u+4-\frac{2}{u}\right)\,\mathrm{d}u\\[1ex]&=\frac{2}{3}u^3-3u^2+8u-4\ln|u|+C\\[1ex]&=\frac{2}{3}\left(\sqrt x+1\right)^3-3\left(\sqrt x+1\right)^2+8\left(\sqrt x+1\right)-4\ln\left|\sqrt x+1\right|+C\\[1ex]&=\frac{2}{3}x^{3/2}-x+4x^{1/2}-4\ln\left(\sqrt x+1\right)+C\end{align*}$$