Edited to incorporate suggestions from the comments and responses:
Typically, the definition of a group is as follows:
Definition: If $S$ is a set, $*$ is a binary operation on $S$, and $e \in S$, then $G = (S,e,*)$ is called a group if
(i) $(ab)c = a(bc)$, $\forall a,b,c \in S$ (associativity);
(ii) $\exists e \in S$ such that $ae = a = ea$, $\forall a \in S$ (identity); and
(iii) $\forall a \in S$, $\exists b \in S$ such that $ab = e = ba$ (inverse).
Consider the following definition.
Definition: If $S$ is a set, $*$ is a binary operation on $S$, and $e \in S$, then $G = (S,e,*)$ is called a group if
(i) $(ab)c = a(bc)$, $\forall a,b,c \in S$ (associativity);
(ii) $\exists e \in S$ such that $ae = a$, $\forall a \in S$ (right identity); and
(iii) $\forall a \in S$, $\exists b \in S$ such that $ab = e$ (right inverse).
It an be shown that these axioms imply that every right inverse is a left inverse and that $e$ is a left identity. (Of course, there's nothing special about using right identity and right inverse and that we could also take left identity and left inverse as axiomatic.)
Question 1: In most undergraduate textbooks in abstract algebra I've seen (I realize this is anecdotal), the first definition is used. Is there a reason that authors use the first definition and not a variant of the second one? This seems strange to me given that it is desirable to make definitions as lean as possible.
Question 2: Alternately, are there textbooks that employ the second definition (or a variant thereof)?
numbers with addition, 0
nonzero numbers with multiplication, 1
nonsingular matrices, multiplication, I
There's no sense breaking brains up front with "left and right identities could be different!" until students develop some intuition.
– nilpotence Oct 16 '20 at 02:37