If $A \in \mathbb{M}_{n\times n}(\mathbb{R})$ with $n\ge 2$ has rank $1$, then the minimal polynomial of $A$ is of degree $2$.
I think it is true because i did not get any example which makes it false. So either give its proof or any counter example to disprove this. Thanks in advance.
Hint (Up to permutation of blocks) the only Jordan normal form matrices of rank $1$ are $$\pmatrix{\lambda} \oplus {\bf 0}_{n - 1}, \quad \lambda \neq 0, \quad \qquad \textrm{and} \qquad \pmatrix{0&1\\0&0} \oplus {\bf 0}_{n - 2} .$$ What are the minimal polynomials of these matrices?