Let $A$ and $B$ be two $n\times n$ matrices such that $\operatorname{rank}(A) =n$ and $\operatorname{rank}(B) =n-1$.
Then I know that, $\operatorname{rank}(AB) = \operatorname{rank}(BA) \leq \min\{ \operatorname{rank}(A), \operatorname{rank}(B)\} =n-1$
My question : Is it true that $\operatorname{rank}(AB) = \operatorname{rank}(BA) =n-1$?
This implies $n-1\le \operatorname{rank} AB$, so that the answer is "yes".