How to prove that the Gram matrix $A^TA$ is symmetric with nonnegative diagonal elements?

$\begingroup$

If A is any real $m \times n$ matrix, then $A^TA$ is called the Gram matrix of $A$. Show that the Gram matrix of $A$ is always symmetric with nonnegative diagonal elements.

I have tried several matrices to prove that this is true but im not sure how I go about showing for a general matrix that this always holds true. Please help.

$\endgroup$ 2

2 Answers

$\begingroup$

Hints:

  1. Prove that the Gram matrix is always symmetric: What does symmetry have to do with transposes? What happens when you transpose $A^TA$?

  2. Prove that the diagonal elements are nonnegative: Let $a_{ij}$ be the $(i,j)$ element of A. Can you find an expression for the $k$-th diagonal element of $A^TA$ in terms of the $a_{ij}$?

$\endgroup$ 1 $\begingroup$

Some hints: for first part, use $(AB)^T=B^TA^T$

for second part, use $a_{ii}=e_i^TA^TAe_i=(Ae_i)^T(Ae_i)=||Ae_i||^2\geq0$. ($e_i$ is $i^{th}$ column of identity matrix)

$\endgroup$ 1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like