identity

This word has three common meanings.

1. Equation that always holds An identity in this sense is an equation that holds between two expressions for any valid values of the variables in the expressions. Thus, for real numbers, the equation $(x + 1)^{2} =x^{2} + 2x+ 1$ is an identity. But in the assertion

“If $x= 1$, then $x^{2} =x$,”

the equation $x^{2} =x$ would not be called an identity. The difference is that the equation is an identity if the only restrictions imposed on the variables are one of type. This is a psychological difference, not a mathematical one. Citation: (36),

Sometimes in the case of an identity, the symbol $\equiv$ is used instead of the equals sign. Citation: (37).

2. Identity element of an algebraic structure If $x \Delta e =e \Delta x$ for all $x$ in an algebraic structure with binary operation $\Delta$, then $e$ is an identity or identity element for the structure. Such an element is also called a unit element or unity. This can cause confusion in ring theory, where a unit is an invertible element. Citation: (193), (251).

3. Identity function For a given set $S$, the function from $S$ to $S$ that takes every element of $S$ to itself is called the identity function. This is an example of a polymorphic definition. Citation: (134).

Pages 122–123 of the book (PDF).