Let $p$ ∈ $\mathbb N$ be a prime number. Show that $\mathbb Z/p\mathbb Z$ contains no zero-divisors except $0$, hence ($\mathbb Z/p\mathbb Z$)$^∗$ = {$1, 2, . . . , p − 1$}, and $\mathbb Z/p\mathbb Z$ is field. Where ($\mathbb Z/p\mathbb Z$)$^∗$ is the set of units.
My attempt:
I showed this by contradiction:
Let $a$ be a zero-divisor in $\mathbb Z/p\mathbb Z$, then there exists $b$ $\not=$ $0$ in $\mathbb Z/p\mathbb Z$ such that $a.b = 0$ mod $p$.
We know that $\mathbb Z/p\mathbb Z$ = {$0,1,2, ... , p-1$}.
Without loss of generality, let $a = 1$, and $b = p-1$. Then $a.b = 1.(p-1) = p-1 = 0$ and hence $p=1$, which contradicts the fact that $p$ is a prime number since $1$ is not prime. And hence $\mathbb Z/p\mathbb Z$ contains no zero-divisors except $0$.
Is my proof correct? Do you have any other suggestions or alternatives? And how do I show the other parts of the problem?
For instance, I know that an element $a$ is said to be a unit if there is $b$ such that $a.b = 1$ and so $b$ is the inverse of $a$.
And a field ($F,0,1,.+$) is a commutative ring where for all $x$ in $F$ {$0$}, there exists $x^{-1}$ such that $x.x^{-1} = 1 = x^{-1}.x$