Uniqueness of identity

A group has exactly one identity element
Uniqueness of identity

Proposition (Uniqueness of identity). Let GG be a with binary operation written multiplicatively. An element eGe\in G is called an identity element if for every gGg\in G one has eg=geg=g and ge=gge=g. If e,eGe,e'\in G are both identity elements, then e=ee=e'.

Context. This shows that “the” identity element of a group is well-defined (not dependent on choices).

Proof sketch. Since ee is an identity, ee=eee'=e'. Since ee' is an identity, ee=eee'=e. Hence e=ee=e'.