2 (10) Let \( A \in M_{m \times n}(\mathbb{R}) \). Show that \( A^\top A \) is invertible if and only if \( \operatorname{rank}(A) = n \).
2 (10) Let \( A \in M_{m \times n}(\mathbb{R}) \). Show that \( A^\top A \) is invertible if and only if \( \operatorname{rank}(A) = n \).