If $A$ is a $2 \times 2$ real matrix, then what is $\mathbb{R}[A]$ isomorphic to as a ring?
I have proven that $\mathbb{R}[A] \simeq \frac{\mathbb{R}[x]}{\langle p(x)\rangle}$ where $p(x)$ is the minimal polynomial of $A$.
Then if $p(x)=x+a$, we have $\mathbb{R}[A] \simeq \mathbb{R}$.
If $p(x)=x^2$ such that $A$ is a nilpotent, then $\mathbb{R}[A] \simeq \frac{\mathbb{R}[x]}{\langle x^2\rangle}$
What if $p(x)=x^2+ax+b$?