I have to determine the characteristic polynomial and the minimal polynomial of: $$ \begin{bmatrix} 3 & 0 \\1 & 3 \end{bmatrix} $$
After computing $\det(A-\lambda I_2)$, I get that characteristic polynomial is $P_A(\lambda) = (3-\lambda)^2$ and $\lambda=3$ (if $\det(A-\lambda I_2)=0$).
Now, I am trying to determine the minimal polynomial:
$$\text{Null}(A-\lambda I_2) = \text{Null}( \begin{bmatrix} 0 & 0 \\1 & 0 \end{bmatrix}) $$
And then I solve the linear system of equations:
$$ 0\cdot x_1 + 0\cdot x_2 = 0 \\ and \\ 1\cdot x_1 + 0\cdot x_2 = 0 \\ \Rightarrow x_1 = 0\ \text{and}\ x_2 \in \mathbb{R} $$
Now, $\text{Null}( \begin{bmatrix} 0 & 0 \\1 & 0 \end{bmatrix}) = x_2\begin{bmatrix} 0 \\1 \end{bmatrix}, x_2\in\mathbb{R}$ (because $x_1=0\cdot x_2$ and $x_2 = 1\cdot x_2$)
So, $\text{Null}( \begin{bmatrix}
0 & 0
\\1 & 0
\end{bmatrix}) = \text{span}\{ \begin{bmatrix}
0
\\1
\end{bmatrix}\}$ and the dimension of the null is 1 so the minimal polynomial is: $m_A(\lambda) = (3-\lambda)$
But the answer should be $m_A(\lambda) = (3-\lambda)^2$, as I saw here (exercise 2.1 - for answer scroll a bit to bottom).
Why? Please explain me. Thank you!
The minimal polynomial must divide the characteristic polynomial, so the only candidates are
You can exclude the first two options, so the last must be correct.