How does one simplify[math]2\sin^2 (\frac{\theta}{2})[/math] ?
How can I prove: [math] \frac{\sqrt {2}-\sin {\theta}-\cos {\theta}}{\sin {\theta}-\cos {\theta}} = \tan {(\dfrac{\theta}{2} -\dfrac{\pi}{8})} [/math]?