The equations are and .
Difference rule of cosine : .
Difference rule of sine :.
Pythagorean identity : .
.