I found a past final exam from here
Consider the real matrix
$ A = \left[ {\begin{array}{ccc} 1 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ \end{array} } \right] $
(a) Explain what property the matrix A has, which assures that you can diagonalize it without the help of complex matrix.
(b) find a real matrix S and a diagonal matrix D, such that
$A=SDS^T$
For part (a), I thought the matrix is symmetric, but I am not sure how to find the eigenvalue for that..
For part (b), how do I get the eigenvalue from A?
Okay I figured it out and here's the thought process:
(1) If you notice the matrix is symmetrical, we can try to come up with an eigenvalue that can make the diagonal to all 0s. So we can try eigenvalue = 1, which makes the new matrix into : $ \left[ {\begin{array}{ccc} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0 \\ \end{array} } \right] $
Therefore we are able to construct the corresponding eigenvector into $\left[ {\begin{array}{c} 0 \\ 1 \\ 0 \\ \end{array} } \right] $
(2) You could also make eigenvalue equals to 0, so we can have a new matrix of $ \left[ {\begin{array}{ccc} 1 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ \end{array} } \right] $ So we can have a new eigenvector of $\left[ {\begin{array}{c} -1 \\ 0 \\ 1 \\ \end{array} } \right] $
(3) Since we got eigenvalues of 0 and 1, according to the trace of the matrix, it is 1 + 1 + 1 = 3, so we can find the other eigenvalue of 3 - 1 - 0 = 2.
In conclusion: the 3 eigenvalues are: 1, 0 and 2