Frobenius theorem
The equivalence between the last two is a direct consequence from Perron–Frobenius theorem.