🔗When. 🔗Each eigenvalue of A has its algebraic multiplicity equal to its geometric multiplicity. Additionally, if A is a real matrix and we would like both P and D to be real matrices, then we also need A to not have any complex eigenvalues.
🔗Result. 🔗If the jth column of P is an eigenvector for eigenvalue λ, then the jth diagonal entry of D will be λ.