Does anybody know of (or can give) a simple explain for finding a matrix $P$ that satisfies $P^{-1} AP$ being diagonal for a given matrix $A$? Also, can anybody explain the importance of eigenvalues for carrying this out and the benefits of finding diagonal matrices?
As far as applications of diagonalizations are concerned, there are many of them. One quick observation: If $A=PDP^{-1}$ then you can easily calculate $A^{100}$, $A^{1000}$, etc. (You can do this much faster than computing power of the original matrix.)
@Khallil Obvious question. Have you checked Wikipedia?
Also did you try looking among the posts tagged diagonalization?
(One issue though. My text gives me $A$ and wants me to find a $P$ s.t. $P^{-1} A P$ is diagonal whereas you're seeking a $P$ s.t. $P D P^{-1}$ is diagonal. Are these problems equivalent?)
Yep, but very briefly. The eigenvectors are the values we get when we solve the characteristic polynomial of a matrix but I don't know how they 'correspond' to eigenvectors.
Because if you have then the equality $A\vec v=d\vec v$ is exactly saying that $d$ is an eigenvalue of $A$ and $\vec v$ is the corresponding eigenvector. (That is, if we are using column vectors, as you do.)
If we want $PD=AP$ then we want eigenvalues on the diagonal of $D$ and eigenvectors as column of $P$.
@Khallil $d_i$'s are eigenvalues
$\vec v_i$'s are eigenvectors
So if we have some method to compute eigenvalues and eigenvectors we are almost done.
But we still need to make sure that $P$ has inverse, i.e., that rank of P is n.
This means that we want $\vec v_i$'s to be linearly independent.
So I tried to persuade you about this: If we can find n linearly independent eigenvectors and the corresponding eigenvalues, then we can solve the original problem.
Yes, eigenvactors corresponding to d are in the nullspace of the matrix $A-dI$.
Ok, so can we try somewhat summarize what we have said so far.
And make some kind of step-by-step algorithm from this.
Suppose we are given matrix $A$ and we want $D=P^{-1}AP$.
1. Calculate all eigenvalues. (=roots of the char. polynomial).
2. For each eigenvalue $d$ find basis of the solutions of the homogeneous system $(A-dI)\vec v=\vec 0$. (This is probably what you call the null space.)
3. If we have n linearly independent vectors, then we simply put them as columns into matrix P.