Twos on the diagonal
Let be the matrix with on the diagonal and everywhere else:
Find .
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Write , where is the matrix of all ones. What are the eigenvalues of ?
has rank . The vector of all ones is an eigenvector; every vector whose entries sum to zero is sent to .
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. Do not expand the determinant. The matrix is the identity plus a rank-one matrix, whose eigenvalues are known, and the determinant is the product of the eigenvalues.
Step 1: eigenvalues of . Let be the vector of ones. Then , so is an eigenvalue. Any with satisfies , and these vectors form a space of dimension . So the eigenvalues of are .
Step 2: eigenvalues of . Adding the identity adds to every eigenvalue (same eigenvectors), so has eigenvalues .
Step 3. .
In general. For the matrix , the eigenvalues are (once) and ( times), so . This structure appears often: it is the covariance matrix of assets that share one common factor.