This question is from Hungerford's Algebra.
Let $R$ be a ring with identity and $S$ the ring of all $n\times n$ matrices over $R$. $J$ is an ideal of $S$ iff $J$ is the ring of all $n\times n$ matrices over $I$ for some ideal $I$ in $R$.[Hint: Given $J$ let $I$ be the set of all those elements of $R$ that appear as the row $1-$ column $1$ entry of some matrix in $J$. Use the matrices $E_{r,s}$ where $1\le r\le n, 1\le s \le n$ and $E_{r,s} $ has $1_R$ as the row $r-$ column $s$ entry and $0$ elsewhere. Observe that for a matrix $A=(a_{ij}), E_{p,r}AE_{s,q}$ is the matrix with $a_{r,s}$ in the row $p-$ column $q$ entry and $0$ elsewhere.
Here's my attempt:
Let $I=\{x\in R \ | \ a_{11}=x \ \text{for some} \ (a_{ij})=A\in J \} $. Suppose $a,b \in I$. Then $a=a_{11}$ for some $A \in J$ and $b=b_{11}$ for some $B\in J$. Then $A-B \in J $ since $J$ is an ideal so $(A-B)_{11}=a-b\in I.$
I'm having trouble proving the other condition.
Let $r \in R$ and $a \in I$. Let $R'$ denote the matrix in $S$ that has $r$ as the row $1-$ column $1$ entry and $0$ everywhere else and $A$ denote the matrix in $J$ for which $a=a_{11}$. Then $R'A$ has $ra$ as row $1-$ column $1$ entry and it must be in $J$ since $J$ is an ideal so $ra \in I$.
Is this correct? It can't be because I haven't used the fact that $R$ has an identity. Also, where do I use the hint?
Any hints, ideas are greatly appreciated.