One theorem says: A matrix $\mathbf A \in \mathbb R^{m \times n}$ is:
- full column rank iif $\mathbf A^T \mathbf A$ is invertible
- full row rank iif $\mathbf A \mathbf A^T$ is invertible
Now, I want to find just one example matrix $\mathbf A$, that is a singular matrix (i.e. degenerate or not full rank), such that $\mathbf A^T \mathbf A$ or $\mathbf A \mathbf A^T$ is not invertible and with a constrain that:
$\text{rank}(\mathbf A^T \mathbf A) < \text{rank}(\mathbf A)$ or $\text{rank}(\mathbf A \mathbf A^T) < \text{rank}(\mathbf A)$
I tried many random numbers to construct a small size of matrix (e.g. $4 \times 5$) using R language , but found no such matrix. Is this kind of degenerate matrix that makes $\mathbf A^T \mathbf A$ or $\mathbf A \mathbf A^T$ not invertible very unlikey to find (or it is impossilbe)? Any idea or method to construct such a matrix?