Let $K$ be a field. Show that the map $$f : K \rightarrow K^{2×2}$$ $$ x \mapsto \begin{pmatrix} 1 & x \\ 0 & 1 \\ \end{pmatrix} $$ is injective and that for $x,y \in K: f(x+y)=f(x)\cdot f(y)$.
This task confuses me in its triviality, what do I need to formally prove? Of course $x=y \iff f(x)=f(y)$, because all matrix elements will match. The last part also seems easy, or is there also something to formally be proven there?