The trigonometric identity
.
Consider left hand side of the identity
.
Apply the sum-to-product formula:
.
Apply the sum-to-product formula:
.


Apply reduction formulas:
and
.


Apply quotient identity:
.
.
Right hand side of the identity.
.
.