Here is the question I want to answer:
Let $R$ be a finite commutative ring with more than one element and no zero-divisors. Show that $R$ is a field.
I do not understand some ideas in the proof given here How to show that a finite commutative ring without zero divisors is a field? , here is the proof:
It follows from the pigeon-hole principle.
First, we show that $R$ has an identity. (Sometimes the existence of an identity is included in the definition of a ring, but you do not need it here.)
For each $0 \ne a \in R$, consider the map $$ \phi_{a} : R \to R, \qquad x \mapsto a x. $$ Because $a$ is not a zero-divisor, the map $\phi_{a}$ is injective, thus surjective. So there is $e \in R$ such that $$a = \phi_{a}(e) = e a.\tag{1}$$ Again because the map $\phi_{a}$ is surjective, every $b \in R$ is of the form $$b = \phi_{a}(x_{b}) = a x_{b}$$ for some $x_{b}$, so multiplying (1) by $x_{b}$ you find $$ b = e b $$ for all $b \in R$, so $e$ is the identity.
Now use once more the fact that $\phi_{a}$ is surjective, to show that there is $c \in R$ such that $$a c = \phi_{a}(c) = e,$$ so $c$ is an inverse of $a$, $a$ being an arbitrary non-zero element.
My questions are:
1 - what is the intuition for defining the map $\phi_a$ in this form?
2- Why because $a$ is not a zero divisor, we can conclude that the map $\phi_a$ is injective and why this implies that this map $\phi_a$ is also surjective?
Could someone explain to me these questions please?