Skip to content

5.2-final-2005-strang

Final Exam, 2005 (strang) · Section 5.2: Computing and Using Determinants Source: finalexam_1.pdf, p. 125

Problem

4 (10 pts.) (a) Find the determinant of

\[ B = \begin{bmatrix} 1 & 2 & 1 & 1 \\ 1 & 1 & 1 & 1 \\ 1 & 1 & 2 & 1 \\ 1 & 1 & 1 & 2 \end{bmatrix}. \]

(b) Let \(A\) be the 5 by 5 matrix

\[ A = \begin{bmatrix} 2 & 1 & 1 & 1 & 1 \\ 1 & 2 & 1 & 1 & 1 \\ 1 & 1 & 2 & 1 & 1 \\ 1 & 1 & 1 & 2 & 1 \\ 1 & 1 & 1 & 1 & 2 \end{bmatrix}. \]

Find all five eigenvalues of \(A\) by noticing that \(A - I\) has rank 1 and the trace of \(A\) is __.

(c) Find the (1, 3) and (3, 1) entries of \(A^{-1}\).

Solution (a) To compute the determinant, subtract the second row from all the other rows: \[ \det B = \det \begin{bmatrix} 0 & 1 & 0 & 0 \\ 1 & 1 & 1 & 1 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix} = -\det \begin{bmatrix} 1 & 1 & 1 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} = -1. \] (b) \(\lambda = 1, 1, 1, 1, 6\). Since \(A - I\) has all equal rows, it has rank one. It follows that it has four zero eigenvalues. The eigenvalues of \(A\) are the eigenvalues of \(A - I\) increased by one, so \(A\) has the eigenvalue 1 with multiplicity four. The trace of \(A\) equals 10, so \(10 - 4 = 6\) is the other eigenvalue. (c) \(A\) is symmetric, and thus so is \(A^{-1}\). The cofactor formula gives \[ (A^{-1})_{13} = (-1)^{1+3} \frac{\det B}{\det A}, \] and \(\det A = 6\) since it equals the product of the eigenvalues of \(A\). We conclude that the (1, 3) and the (3, 1) entries of \(A^{-1}\) are both equal to \(-1/6\).

Keywords: determinant, eigenvalues, rank one matrix, cofactors