What is the linear space of Eigenvectors associated with a certain Eigenvalue? The following matrix $A$ has $\lambda=2$ and $\lambda=8$ as its eigenvalues
$$ A = \begin{bmatrix} 4 & 2 & 2 \\ 2 & 4 & 2 \\ 2 & 2 & 4  \end{bmatrix}$$
let $P$ be the orthogonal matrix that diagonalizes $A$. in other words, $A= PDP^T$. you can check that
$$ P = \begin{bmatrix} (-√2)/2 & (-√6)/6 & (-√3)/3 \\ (√2)/2 & (-√6)/6 & (√3)/3 \\ 0 & (√6)/3 & (√3)/3  \end{bmatrix} $$
then the linear space of eigenvectors associated to the eigenvalue $\lambda=2$ is generated by?


*

*The last two columns of the matrix $P$

*The last two rows of matrix $P$

*The first two columns of the matrix $P$

*The first two rows of the matrix $P$

*The last column of the matrix $P$


I Don't know how to solve this, I tried doing it but it got really messy and I didn't get any answer that made sense. If someone could please explain how to do it or how to solve it, that would be great.
Thank You

Since matrix $P$ is orthogonal ($P^\top = P^{-1}$) one can rewrite $A = PDP^\top$ as
$$
D = P^{-1}A(P^{-1})^\top = P^\top AP
$$
After multiplying one would obtain (there is a typo in your $P$ matrix)
$$
D = 
\begin{bmatrix}
 -\frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & 0 \\
 -\frac{1}{\sqrt{6}} & -\frac{1}{\sqrt{6}} & \sqrt{\frac{2}{3}} \\
 \frac{1}{\sqrt{3}} & \frac{1}{\sqrt{3}} & \frac{1}{\sqrt{3}} 
\end{bmatrix}
\begin{bmatrix}
 4 & 2 & 2 \\
 2 & 4 & 2 \\
 2 & 2 & 4 
\end{bmatrix}
\begin{bmatrix}
 -\frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{6}} & \frac{1}{\sqrt{3}} \\
 \frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{6}} & \frac{1}{\sqrt{3}} \\
 0 & \sqrt{\frac{2}{3}} & \frac{1}{\sqrt{3}} 
\end{bmatrix} = 
\begin{bmatrix}
 2 & 0 & 0 \\
 0 & 2 & 0 \\
 0 & 0 & 8 
\end{bmatrix}
$$
Note that $A = PDP^\top$ could be rewritten as $AP = PD$ which means that $P$ columns are eigenvectors of $A$ and corresponding eigenvalues are on $D$ diagonal:
$$
A\mathbf{p}_i = d_{ii} \mathbf{p}_i, \qquad P = \begin{bmatrix}
\mathbf{p}_1 & \mathbf{p}_2 & \mathbf{p}_3
\end{bmatrix}
$$
Because $d_{11} = d_{22} = 2$ the eigenspace corresponding to $\lambda = 2$ is formed by $\mathbf{p}_1$ and $\mathbf{p}_2$
