Let A be an n x n symmetric matrix, and let λ be an eigenvalue of A with corresponding eigenvector x.

Show that λ is also an eigenvalue of the matrix P^T AP where P is an orthogonal matrix. State the corresponding eigenvector of P^T AP.

How is the result modified if P^T AP is diagonal matrix D?