Prove or disprove. If $A$ is a square matrix and $A^3-A+I=0,$ then $A$ is invertible.
Is it possible to say the characteristic polynomial of $A$ is $\,p(t)=t^3-t+1$, and $A$ is invertible since $0$ is not an eigenvalue of the characteristic polynomial?
Hint. $$ A^3-A+I=0\quad\Longrightarrow\quad A(I-A^2)=I. $$