This question already has an answer here:
We know that any matrix of the form $A^TA$ is positive semi-definite where $A^T$ is the transpose of $A$. Now how can we use this result in optimization?
Edit: The importance of positive semi-definite matrices is almost clear, but my question is specific to $A^TA$. I have no idea of how we can use this matrix.