In an exercise I got as solution $\frac{1}{\sqrt{-1+\sqrt{2}}}$, it now holds that $\frac{1}{\sqrt{-1+\sqrt{2}}} = \sqrt{1+\sqrt{2}}$. But I really don't see how you can manipulate the left hand side to become the right hand side (quite shameful as a mathematician, I must admit).
Does anyone know how to do it?
Multiply the numerator and denominator of the left by $\sqrt{1+\sqrt{2}}$ to get the right.