Let $G$ a directed graph and $A$ the corresponding adjacency matrix. Let denote the identity matrix with $I$. I've read in a wikipedia article, that the following statement is true.
Question. Is it true, that $I-A$ matrix is invertible if and only if there is no directed cycle in $G$?
It is not true. Consider the graph
It has adjacency graph $A=\begin{pmatrix}0 & 1 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0 \end{pmatrix}$, so $I-A=\begin{pmatrix}1 & -1 & 0 \\ -1 & 1 & -1 \\ 0 & -1 & 1 \end{pmatrix}$ which has determinant $-1$.
Thus $I-A$ is invertabile, but the graph certainly has cycles.