Why are the eigenvalues of $X'X$ equal to that of $XX'$ when $X$ is a design matrix?

by qualiaMachine   Last Updated September 11, 2019 16:19 PM

The title says it all. If $X$ is a design matrix (columns containing variables, rows containing observations), I have observed that eigs($X'X$)=eigs($XX'$). I actually found this by accident when I was trying to compute eigenvalues of a covariance matrix in Matlab. Why is this the case? Can someone provide me some intuition, proofs, and/or reading materials?

Related Questions

Updated September 27, 2018 10:19 AM

Updated December 13, 2017 15:19 PM

Updated October 10, 2018 04:19 AM

Updated November 18, 2018 16:19 PM