Hi
If a 2x2 matrix is:
[1,2
2,1]
How do I find an invertible matrix P and diagonal matrix D such that : p^-1*A*P= D ?
I would really appreciate help with this.
Your eigenvectors are a bit long: they have three elements instead of 2. Once you have your eigenvectors and eigenvalues, you apply the spectral decomposition theorem. Spectral theorem - Wikipedia, the free encyclopedia . In the case of real matrices, "Hermitian" boils down to "symmetric".
Sorry for being so cryptic, but once you have the eigenstructure, the answer is so easy that to say anything more would give it away.
Sorry that was a typo, it should be (1,1) and (1,-1).
I know it's easy, so please just give it away.
I just wanted someone to show how they worked it out, because I have tried to multiply the inverse of the matrix with the original matrix and a matrix made with the eigenvectors. But for some reason my answer does not turn out to me the diagonal matrix. I just wanted to check if I have missed something.
The diagonal matrix has the eigenvalues in the diagonal, and P is made up of the eigenvectors. When you normalize the eigenvectors before putting them (for example as column vectors) into P, you get . That follows from the fact that for this kind of matrix the eigenvectors are orthogonal.