Using the fact that sin (A + B) = sin A cos B + cos A sin B and the differentiation, obtain the sum formula for cosines.
sin (A + B) = sin A cos B + cos A sin B
Differentiating with respect to x, we get
⇒
⇒
⇒
∴ cos (A + B) = cos A cos B – sin A sin B