Identity plus an outer product
Let and . Find the determinant of the matrix
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
Find the eigenvalues of . Its rank is 1.
Apply to .
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. has rank one, so it has only one nonzero eigenvalue, and that eigenvalue is . Adding the identity adds 1 to every eigenvalue.
Step 1: the eigenvalues of . For any , , a multiple of . So the matrix has rank 1:
- every orthogonal to is sent to 0, which gives the eigenvalue 0 twice;
- , so is an eigenvector with eigenvalue .
Step 2: add the identity. has eigenvalues , and .
Step 3. The determinant is the product of the eigenvalues:
The general formula. , the matrix determinant lemma. It is behind the Sherman-Morrison formula for updating an inverse after a rank-one change, used for example to update a covariance matrix with one new observation.