I was just told that for any given matrix if it is $n\times (n-1)$ and another of $(n-1)\times n$ then also the above kind of situation that is $$\det(AB-I)+\det(BA-I)=0,$$ where $I$ is the corresponding identity matrix of the square matrix so formed.
Also in order to prove it I tried to solve it by any theorem that I know or so but was unable.
So, I checked it for any random matrix with random variable and calculated the same thing via a matrix calculator, and shockingly it was correct.
I searched it on internet and was unable to find any explanation. So, I eventually turned to stack exchange.
Any help would be appreciated!