If $n\times n$ matrix $A$ satisfies the equation $$A^2+2A-3E=O$$
where $E$ is identity matrix. Show that $A$ is invertible.
What I tried is to factorize it, and get $(A+3E)(A-E)=O$. I stuck here, because this is matrix multiplication and I can't say $A=E$ or $A=-3E$. If I take the determinant,
$$\det(A+3E)\cdot \det(A-E)=0$$
This only means $1$ or/both $-3$ are eigenvalues of $A$, which doesn't help to show $A$ is invertible. How can I proceed? Thank you in advance.
Write it as$$A^2+2A=3E$$
take determinant on both sides,
$$\det A\cdot \det(A+2E)=\det 3E=3^n\neq0$$
hence
$$\det A\neq0$$
Matrix $A$ is invertible.