The following question is from Artin's Algebra.
If $A$ and $B$ are two square matrices with real entries, show that $AB-BA=I$ has no solutions.
I have no idea on how to tackle this question. I tried block multiplication, but it didn't appear to work.
As you should have known by now, for real matrices, the equation $AB-BA=I$ has no solution because the LHS has zero trace but the RHS is not traceless. The same conclusion holds for complex matrices. For other fields, an in-depth discussion can be found in the answers to a related question. In particular, it has been proven that a square matrix $M$ is a commutator (i.e. $M=AB-BA$ for some square matrices $A$ and $B$) if and only if $M$ is traceless:
It follows that $AB-BA=I_n$ has a solution if and only if $I_n$ is traceless over the underlying field.