Suppose $f:R \rightarrow R$ is an homomorphism between rings. Consider the function $\hat f:\mathcal{M}_2 (R) \rightarrow \mathcal{M}_2 (R)$ such that $\hat{f}(a_{ij})=(f(a_{ij}))$. Show $\hat{f}$ is an homomorphism. If $f$ is an epimorphism, does $\hat{f}$ have to be an epimorphism?
$\hat{f}$ is an homomorphism: We have to verify two things:
- $\hat{f}(a_{ij} + b_{ij})=\hat{f}(a_{ij}) + \hat{f}(b_{ij})$:
$\hat{f}(a_{ij} + b_{ij})= \begin{bmatrix}f(a_{11}+b_{11}) & f(a_{12}+b_{12})\\f(a_{21}+b_{21}) & f(a_{22}+b_{22})\end{bmatrix}=\begin{bmatrix}f(a_{11})+f(b_{11}) & f(a_{12})+f(b_{12})\\f(a_{21})+f(b_{21}) & f(a_{22})+f(b_{22})\end{bmatrix}=\hat{f}(a_{ij}) + \hat{f}(b_{ij})$
- $\hat{f}(a_{ij} b_{ij})=\hat{f}(a_{ij}) \hat{f}(b_{ij})$:
$\hat{f}(a_{ij} b_{ij})=\begin{bmatrix}f(a_{11}b_{11}+a_{12}b_{21}) & f(a_{11}b_{12}+a_{12}b_{22})\\f(a_{21}b_{11}+a_{22}b_{21}) & f(a_{21}b_{12}+a_{22}b_{22})\end{bmatrix}=\begin{bmatrix}f(a_{11})f(b_{11})+f(a_{12})f(b_{21}) & f(a_{11})f(b_{12})+f(a_{12})f(b_{22})\\f(a_{21})f(b_{11})+f(a_{22})f(b_{21}) & f(a_{21})f(b_{12})+f(a_{22})f(b_{22})\end{bmatrix}=\hat{f}(a_{ij}) \hat{f}(b_{ij})$
$\hat{f}$ is an epimorphism: We have already proved it is homomorphism, so we want to show $\hat{f}$ is surjective. This is, every element of $\mathcal{M}_2 (R)$ is the image of an element of $\mathcal{M}_2 (R)$ under $\hat{f}$.
Let $ \begin{bmatrix}b_{11} & b_{12}\\b_{21} & b_{22}\end{bmatrix} \in \mathcal{M}_2 (R)$. We have that $b_{ij}\in R \ \forall \ i,j \in{ \{1,2\}}$ and because $f$ is an epimorphism there exist $a_{ij}$ such that $f(a_{ij})=b_{ij} \ \forall \ i,j \in{ \{1,2\}}$. So then $ \begin{bmatrix}a_{11} & a_{12}\\a_{21} & a_{22}\end{bmatrix} \in \mathcal{M}_2 (R)$ verifies that $\hat{f}\bigg( \begin{bmatrix}a_{11} & a_{12}\\a_{21} & a_{22}\end{bmatrix}\bigg) = \begin{bmatrix}b_{11} & b_{12}\\b_{21} & b_{22}\end{bmatrix}$ and $\hat{f}$ is an epimorphism.
Is my reasoning correct?