Let A and B be n×n real matrices such that
rk(AB−BA+I)=1
where I is the n×n identity matrix.
Prove that
trace(ABAB)−trace(A2B2)=21n(n−1).
(rk(M) denotes the rank of matrix M, i.e., the maximum number of linearly independent columns in M. trace(M) denotes the trace of M, that is the sum of diagonal elements in M.)