Answer
See solution
Work Step by Step
By the Diagonalization Theorem, the columns of P are the corresponding eigenvectors of the eigenvalues on the major diagonal of D. The theorem further states that these eigenvectors are linearly independent. This means P has k linearly independent columns of eigenvectors corresponding to $\lambda$, which mean they form a basis for the eigenspace of $\lambda$.