Let $V:=M_{3\times 3}\ (\mathbb C)$, i.e., $V$ is a set of $3\times 3$ matrices of complex number.
Let $A=\begin{pmatrix}0&-2&0\\1&3&0\\0&0&2\end{pmatrix}$, $W:=\{p(A)\mid p(t)\in \mathbb C [t]\}$, where $\mathbb C[t]$ is the set of polynomials whose cooefficients are complex numbers.
Then, $W$ is a subspace of $V$.
Calculate $\dim W.$
I think the characteristic polynomial of $A$ is necessary so I calculated it : $(x-2)^2(x-1)$.
And from Cayley-Hamilton, I get $(A-2I)^2(A-I)=O.$
I don't know what should I do next.
For this $A$,
・ $A$ is not a nilpotent matrix
・ $A$ doesn't seem to have periodicity. ($n\in \mathbb N$ s.t. $A^n=A$ doesn't seem to exist.)
So I'm having difficulty finding what $W$ is like.
Thanks for any help.