I have two questions.
I want to know how I can say that this matrix admits an infinite number of square roots :
$\begin{pmatrix} 0 & 0 & 1\\ 0 & 0 & 0\\ 0 & 0 & 0 \end{pmatrix}$
And that this matrix doesn't admit square root.
$\begin{pmatrix} 0 & 1\\ 0 & 0 \end{pmatrix}$
I am a beginner, anyone can help me ? Thank you in advance.
For the first problem, you can just write down square roots: $$\begin{pmatrix} 0 & a & 0 \\ 0 & 0 & a^{-1} \\ 0 & 0 & 0 \end{pmatrix}$$ will work for any $a \ne 0.$
For the second problem, a square root $A$ of $\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}$ would have to be nilpotent ($A^4 = 0$); but then the Cayley-Hamilton theorem implies that $A^2 = 0$, contradiction.