Let $A = (a_{i,j})$ in $\mathcal{M}_n(\mathbb{R})$, with $A \geqslant 0$. Show that if $A$ is not irreducible, then $A^2$ is not irreducible. On the other hand, give a simple example of an irreducible matrix $A$ such that $A^2$ is not irreducible.
Let $A = (a_{i,j})$ in $\mathcal{M}_n(\mathbb{R})$, with $A \geqslant 0$.
Show that if $A$ is not irreducible, then $A^2$ is not irreducible.
On the other hand, give a simple example of an irreducible matrix $A$ such that $A^2$ is not irreducible.