In mathematics an identity is an equality relation A = B, such that A and B contain some variables and A and B produce the same value as each other regardless of what values (usually numbers) are substituted for the variables. In other words, A = B is an identity if A and B define the same functions. This means that an identity is an equality between functions that are differently defined. For example, (a + b)2 = a2 + 2ab + b2 and cos2(x) + sin2(x) = 1 are identities. Identities are sometimes indicated by the triple bar symbol ≡ instead of =, the equals sign.
Geometrically, these are identities involving certain functions of one or more angles. They are distinct from triangle identities, which are identities involving both angles and side lengths of a triangle. Only the former are covered in this article.
These identities are useful whenever expressions involving trigonometric functions need to be simplified. An important application is the integration of non-trigonometric functions: a common technique involves first using the substitution rule with a trigonometric function, and then simplifying the resulting integral with a trigonometric identity.
One example is which is true for all complex values of (since the complex numbers are the domain of sin and cos), as opposed to