I was looking through these notes, and at the top of the second page it says you can integrate
$$\mathrm{d}\zeta = \frac{\mathrm{d}u}{u\sqrt{c-2u}} $$
to get
$$u(\zeta) = \frac{c}{2}\mathrm{sech}^2(\frac{1}{2}\sqrt{c}(\zeta - \zeta_0)).$$
I can't see where that comes from. Is there any trig identity I should use?
Let $x=2u, dx=2du$.
$$\int\frac{du}{u\sqrt{c-2u}}=\int\frac{2du}{2u\sqrt{c-2u}}=\int\frac{dx}{x\sqrt{c-x}}$$
Let $v=\sqrt{c-x}, dv=\frac{-dx}{2\sqrt{c-x}}, x=c-v^2$. $$\int\frac{dx}{x\sqrt{c-x}}=\int\frac{-2dv}{c-v^2}=-\frac{2}{c}\int\frac{dv}{1-(\frac{v}{\sqrt c})^2}=-\frac{2}{c}\mathrm{arctanh}(\frac{v}{\sqrt c})+\zeta_0$$ $$\zeta=-\frac{2}{c}\mathrm{arctanh}(\frac{v}{\sqrt c})+\zeta_0=-\frac{2}{c}\mathrm{arctanh}(\frac{\sqrt{c-2u}}{\sqrt c})+\zeta_0$$ $$u=\frac{c}{2}(1-\tanh^2(-\frac{ c}{2}(\zeta - \zeta_0)))=\frac{c}{2}\mathrm{sech}^2(-\frac{ c}{2}(\zeta - \zeta_0))=\frac{c}{2}\mathrm{sech}^2(\frac{ c}{2}(\zeta - \zeta_0))$$