Let $R$ be a ring, and let $A$ be an $n\times n$ matrix with coefficients from $R$. Suppose for $r\in R^n$ we have $Ar=r$. Prove that $\det (A-I)\cdot r=0$.
It is actually part of a bigger problem where $r_i$ generate ring $B$ which is module finite over $R$, and we need to prove that $\mathfrak{a} B\neq B$, where $\mathfrak{a}$ is a proper ideal of $T$. (matrix entries are picked from $\mathfrak{a}$). The rest of proof is straightforward, just this fact is unclear to me.