Relationship: Rank of a matrix $\leftrightarrow$ # of eigenvalues

The matrix $A^*A$ is self-adjoint, hence every eigenvalue is real and the matrix is diagonalizable. That means that the algebraic and geometric multiplicities of every eigenvalue agree. In particular, the nullity of $A^*A$ equals the algebraic multiplicity of the eigenvalue $0$; since the sum of the algebraic multiplicities of all eigenvalues must equal $n$ (since the characteristic polynomial of $A^*A$ must split, as all eigenvalues are real) it follows that the rank of $A^*A$ equals the sum of the algebraic multiplicities of the nonzero eigenvalues.

Now, all that remains is to show that the rank of $A^*A$ equals the rank of $A$. Since the nullspace of $A$ is contained in the nullspace of $A^*A$, we have that $\mathrm{nullity}(A)\leq\mathrm{nullity}(A^*A)$. On the other hand, if $\mathbf{v}\notin \mathrm{nullspace}(A)$, then $$0\lt \langle A\mathbf{v},A\mathbf{v}\rangle = \langle A^*A\mathbf{v},\mathbf{v}\rangle$$ so $A^*A\mathbf{v}\neq\mathbf{0}$. Thus, $\mathrm{nullspace}(A^*A)=\mathrm{nullspace}(A)$, which gives $\mathrm{nullity}(A^*A)=\mathrm{nullity}(A)$.

Since $A$ and $A^*A$ have the same number of columns, it follows as well that $\mathrm{rank}(A^*A) = \mathrm{rank}(A)$.


I have a hint, which I hope is not beyond your current coursework.

Did you notice $A^*A$ is a Hermitian matrix? It would be diagonalizable then...


Consider the singular value decomposition $A=U \Sigma V^*$. If you multiply it out in this form you immediately get an eigenvalue decomposition, $A^*A=V \Sigma^2 V^*$.

So, the nonzero squared singular values of $A$ are exactly the eigenvalues of $A^*A$, with the eigenvectors being the corresponding columns of $V$. The number of nonzero singular values of $A$ is of course the rank of $A$.

Edit: If you are not familiar with the singular value decomposition, the intuition behind it is as follows. Any matrix $A$ maps the unit sphere to an ellipsoid. In the singular value decomposition, the columns of $V$ are the orthonormal vectors on the sphere that get mapped to the axes of the ellipsoid, the columns of $U$ are the orthonormal axes of the ellipsoid, and the singular values (entries in the diagonal matrix $\Sigma$) are the scaling lengths of the ellipsoid's axes. If $A$ is rank-deficient, that means the ellipsoid is completely flattened in some directions, which is to say some of the singular values are zero.