The exercise: Let $M$ and $N$ be two distinct $n\times n$ matrices such that $M^3=N^3$ and that $MN^2=NM^2$. Prove that $M^2+N^2$ is a non-invertible matrix.
I guess I need to show that the determinant is zero, or create a proof by contradiction, but I can't find a good demonstration.
By contradiction, if it exists $A$ such that $(M^2+N^2)A=I$.
Then
$$M=MI=M(M^2+N^2)A=(M^3+MN^2)A=(N^3+NM^2)A=N(N^2+M^2)A=N$$
In contradiction with the hypothesis $M \neq N$.