The set $G=\left\{\begin{pmatrix}1 & n \\ 0 & 1 \\ \end{pmatrix}\mid n\in \Bbb Z\right\}$ with the operation of matrix multiplication is a group. Show that $$\phi:\Bbb Z \to G,$$ $$\phi(n)=\begin{pmatrix}1 & n \\ 0 & 1 \\ \end{pmatrix}$$ is a group isomorphism (where the operation on $\Bbb Z$ is ordinary addtion).
TO show it's isomorphism: I know I must show one-to-one, onto and homomorphism. I've done these examples before but never with matrices.
How can I show if $\phi(a)=\phi(b)$ then $a=b$? Same question for onto and operation preserving with matrices.
Thank you!