Let $A$ be $m \times n$ matrix, and $B$ be $n \times m$ matrix. Then
Show that $$\det\begin{bmatrix}I_{n} & B\\ A & I_{m} \end{bmatrix}=\det\begin{bmatrix}I_{m} & A\\ B & I_{n}\end{bmatrix}$$
Show that $$\det(I_{m}-AB)=\det(I_{n}-BA)$$
Is it true that $I_{m}-AB$ and $I_{n}-BA$ have the same rank?
Someone please show me a way to start proving. I tried to use formulas for calculating block matrix with square matrices, but it didn't help me on this one. I really don't know where to start.
Hint: for the first one, note that $$ \begin{bmatrix} 0 & I_m\\ I_n & 0 \end{bmatrix} \begin{bmatrix} I_n & B\\ A & I_m \end{bmatrix} \begin{bmatrix} 0 & I_n\\ I_m & 0 \end{bmatrix} = \begin{bmatrix} I_m & A\\ B & I_n \end{bmatrix} $$