For sine, the sum and difference identities share the same pattern: sin(a ± b) = sin a cos b ± cos a sin b. Cosine flips the sign: cos(a + b) subtracts (cos a cos b − sin a sin b), while cos(a − b) adds (cos a cos b + sin a sin b). Getting the signs right is the most common sticking point, so it helps to practice each one from a table like the one above.