Ta có : \({\sin ^2}\frac{\pi }{8} = \frac{{1 - \cos \frac{\pi }{4}}}{2} = \frac{{2 - \sqrt 2 }}{4}\)
Mà \(\sin \frac{\pi }{8} > 0\) nên \(\sin \frac{\pi }{8} = \frac{{\sqrt {2 - \sqrt 2 } }}{2}\)
Ta có : \({\cos ^2}\frac{\pi }{8} = \frac{{1 + \cos \frac{\pi }{4}}}{2} = \frac{{2 + \sqrt 2 }}{4}\)
Mà \(\cos \frac{\pi }{8} > 0\) nên \(\cos \frac{\pi }{8} = \frac{{\sqrt {2 + \sqrt 2 } }}{2}\)