I'm having some trouble with the following exercise:
Let $G$ be a non-empty set and let $*:G\times G \to G$ such that:
- $*$ is associative
- $\forall a,b \in G, \exists x \in G: a * x = b$
- $\forall a,b \in G, \exists x \in G: x * a = b$
Prove that $(G,*)$ is a group
We already know that $*$ is associative but I'm having some trouble proving that there exists an identity element. My plan is the following:
- For any $a \in G$, show that if $a * x = a$ and $x'*a = a$, then $x = x'$
- for any $a,b \in G$, if $a * x_a = a$ and $b * x_b = b$, then $x_a = x_b$
But I'm not being able to prove 1. How can this be done?