2

Prove that if $X=n\times k$ matrix of rank $k$, then $X(X^TX)^{-1}X^T$ has rank $k$

I thought that $X^TX$ would be a full rank matrix of rank $k$, since it must have full rank to be invertable.

Then $X$ multiplied by $(k\times k)$ matrix, will be a matrix of rank $\min{k,n}$. Then multiply this by a matrix of rank $k$ we get $k$ as the total rank.

Is there a rule that says: if $A$ and $B$ have rank $k$ then so does $AB$ and $BA$?

GRS
  • 2,495

1 Answers1

4

The rank of a product does not exceed the rank of each of its factors. Multiply your expression by $X$ to the right. You get $X$. Thus, rank $X=k$ is an upper and a lower bound for the rank you look for.

When $A$ is $n\times k$ and $B$ is $k\times n$ (with $k<n$) and both have rank $k$ then $AB$ also has rank $k$. The reason is that $B$ is surjective and $A$ injective.

$BA$ may have lower rank, however. In general one can only say that the rank $\geq \max\{0,2k-n\}$ (because some of the image of $A$ may map into the kernel of $B$). But this is a bit more complicated.

H. H. Rugh
  • 35,236