A matrix $A$ is diagonalizable when it can be expressed as P^{-1}DP. I know that $D$ must consists of eigenvalues of $A$. However, I am not sure if $P$ must consists of eigenvectors of $A$. Is it a must for $P$ to consists of eigenvectors of $A$? It seems to be that it is not a must. However, I cannot prove it.
So the question is when a matrix is diagonalized as $A = P^{-1}DP$, must $P$ consists of eigenvectors of $A$?
Note that $PA=DP$, or if $P_{i}$ is the $i^{th}$ column of $P$ and $d_i$, the $i^{th}$ diagonal element of $D$, then $AP_i=d_iP_i$