50. Identities

50.1 Definition: identity

If $\Delta$ is a binary operation on a set $A$, an element $e$ is a unity or identity for $\Delta$ if for all $x \in A$,

$$x \Delta e = e \Delta x = x \tag{50.1}$$

50.1.1 Warning Don’t confuse the concept of identity for a binary operation with the concept of an identity function in 41.1.1, page 63. These are two different ideas, but there is a relationship between them (see 98.2.3, page 141).

50.1.2 Example The binary operation of Example 45.1.2 has no identity.

50.1.3 Example The number 1 is an identity for the binary operation of multiplication on $\mathrm{R}$, and 0 is an identity for +.

50.1.4 Exercise Which of these binary operations (i) is associative, (ii) is commutative, (iii) has an identity?

$$\begin{array}{c} \begin{array}{c|ccc} \Delta & a & b & c \\ \hline a & a & a & a \\ b & b & b & b \\ c & c & c & c \end{array} \\ (1) \end{array} \qquad\qquad \begin{array}{c} \begin{array}{c|ccc} \Delta & a & b & c \\ \hline a & b & a & a \\ b & a & c & a \\ c & a & a & b \end{array} \\ (2) \end{array}$$

(Answer on page 245.)

50.1.5 Exercise Show that the right band operation on a set with more than one element does not have an identity.

50.1.6 Example The binary operation of multiplication on the set of even integers is associative and commutative, but it has no identity.

50.1.7 Exercise Let $S$ be any set. What is the identity element for the binary operation of union on $\mathcal{P}S$? (Answer on page 245.)

50.1.8 Exercise Let $S$ be any set. What is the identity element for the binary operation of intersection on $\mathcal{P}S$?

50.1.9 Exercise Does $\max\colon \mathrm{R} \times \mathrm{R} \to \mathrm{R}$ have an identity? What about $\max\colon \mathrm{R}^{+} \times \mathrm{R}^{+} \to \mathrm{R}^{+}$ defined the same way?

The basic fact about identities is:

50.2 Theorem: Uniqueness theorem for identities

If $\Delta$ is a binary operation on a set $A$ with identity $e$, then $e$ is the only identity for $\Delta$.

Proof This follows immediately from Definition 50.1: if $e$ and $f$ are both identities, then $e = e \Delta f$ because $f$ is an identity, and $e \Delta f = f$ because $e$ is an identity.

50.2.1 Exercise Give a rule of inference that allows one to conclude that a certain object is an identity for a binary operation $\Delta$.

50.2.2 Exercise (hard) Find all the binary operations on the set $\{a,b\}$, and state whether each one is associative, is commutative, and has an identity element.

Pages 72–73 of the book (PDF).