The trigonometric identity
.
Consider
.
The sum-to-product formula:
.



Consider
.
The double-angle formula:
.

.
Consider the left hand side of identity
.


Substitute
and 

The sum-to-product formula:
.




= Right hand side of the identity.
\
.