I was reading a textbook and saw the following:
Let $A \in M_{n \times m}(\mathbb{R})$ and $A^t$ the transposed matrix of $A$. It can be proven that $\operatorname{rk}(A) = \operatorname{rk}(AA^t)$.
There is no further information here and I was wondering how to prove this. And also, does this only work for $\mathbb{R}$ or does it work for other fields, e.g. $\mathbb{C}$?
This is usually proven as follows:
Consider the bilinear form defined by $\langle x,y \rangle = Ax \cdot Ay =x^T A^T A y $. Because the dot product is positive definite, $\langle x,x \rangle =0$ only when $Ax=0$. However, if $x\in \ker A^TA$, then $x^T (A^TAx)=x\cdot 0 = 0$, Therefore, $\ker A^TA\subset \ker A$. However, in general, $\ker A \subset \ker BA$, and so $\ker A^TA=\ker A$, hence $A$ and $A^T A$ have the same rank.
Replacing $A$ with $A^T$ gives us that $AA^T$ has the same rank as $A^T$, but $A^T$ has the same rank as $A$.