# Matrices with real entries such that $(I -(AB-BA))^{n}=0$

I was just trying out some problems, when i couldn't solve this question:

• Does there exist $n \times n$ matrices $A$ and $B$ with real entries such that $$\Bigl(I - (AB-BA)\Bigr)^{n}=0?$$

I really don't know how to proceed for this question. What i did was to find some examples, but that didn't quite work. Any ideas on how one goes about thinking on such problems and how to solve them would be of great help.

-
Chandru1: Here is a hint to get you started: If the equation $(I-(AB-BA))^n=0$ holds, then for any $v$, if $w=(I-(AB-BA))^{n-1}v$, then $(I-(AB-BA))w=0$, or $(AB-BA)w=w$. If $w=0$ for all $v$, then $(I-(AB-BA))^{n-1}=0$. Proceeding inductively this way, you get that either $AB-BA=I$, or else 1 is an eigenvalue of $AB-BA$.
Now, the first option is impossible, because the traces of $AB$ and $BA$ coincide, but the trace of $I$ is $n$ rather than 0.