I am trying to classify automorphisms of matrix rings. I was surprised to be able to find little on the subject by searching (here or elsewhere) though this could be an indication of my poor searching skills rather than the lack of material.
For the moment, I am looking at matrices over a field but I am trying to be as general as possible about the field: not necessarily $\mathbb{R}$ or $\mathbb{C}$ or even necessarily of characteristic $0$.
I am not sure whether it is standard but I am only interested in automorphisms which in a sense preserve the field. More exactly, they should have this property:
$$\phi(\lambda M) = \lambda\phi(M)$$
I am most interested in automorphisms due to the matrix structure rather than ones which are in a sense inherited from the field.
One obvious class of automorphisms is those of the form:
$$A \rightarrow P^{-1}AP$$ where $P$ is invertible.
Now, I need to either find others or prove that all must have this form.
After trying and failing for a while to prove that all must have this form, I started to look for counterexamples. I found a partial one. For $M_2(\mathbb{R})$, the automorphism:
$$ \left(\begin{matrix} x_{11} & x_{12} \\ x_{21} & x_{22} \\ \end{matrix}\right) \rightarrow \left(\begin{matrix} x_{11} & -x_{12} \\ -x_{21} & x_{22} \\ \end{matrix}\right) $$
[This was originally mistyped giving the appearance that it was only defined for symmetric matrices.]
cannot be expressed in this form but if I extend to $M_2(\mathbb{C})$ it can with $$ P = \left(\begin{matrix} i & 0 \\ 0 & -i \\ \end{matrix}\right) $$
So, I may need to consider whether allowing extensions of the field would cover all automorphisms. The question now becomes: are all automorphisms of this form if field extensions are allowed or can I find a counterexample to that.
My attempts mostly involve considering possible images of simple matrices e.g. ones with a single entry of $1$ and otherwise $0$.
This is not homework, I am long past that. It is an old man doing self-imposed brain exercise.
Some hints rather than a complete answer would be appreciated since the purpose is to exercise my brain.