By subbing the eigenvalues back into A for lambda, we get:

This leads to

This leads to eigenvector:

For the other eigenvalue, the corresponding eigenvector is:

Normalizing and using Gram-Schmidt

This gives us:

Now,

Therefore, P diagonalizes A