# Non-singularity of A^T*A

Is it true to say that if $X^T X$ is non-singular, then the column vectors of X must be linearly independent? I know how to prove that if the columns of X are linearly independent, then $X^T X$ is non-singular. Just not sure about the other way around. Thanks!

## Answers and Replies

Is X a square matrix? If so use
$$det(X^TX) = det(X)^2=0$$

If not X is not square, but is real, then QR decomposition should reduce the problem to that of square matrices (something simpler may suffice, but this is the simplest approach I can think of right now).

AlephZero
Homework Helper
Prove it by contradition. If the columns of X are linearly dependent, there is a non-zero vector ##y## such that ##X^TXy = 0##.

Thank you. I suspected it was true, but couldn't prove it to myself.

Prove it by contradition. If the columns of X are linearly dependent, there is a non-zero vector ##y## such that ##X^TXy = 0##.
That's a very nice proof, especially because you established necessary and sufficient conditions. The OP claimed that he could prove the converse, but, if he knew this proof he should have had no trouble.

Just one remark, instead of "contradiction", maybe you should have used "contraposition".

AlephZero