when to use trigonometric identities?