Using Eigenvectors to produce a Diagonal matrix

Click For Summary

Homework Help Overview

The discussion revolves around finding the eigenvectors of the matrix A = [{5,3},{-2,-2}] and using these eigenvectors to form a matrix P, with the goal of demonstrating that P-1AP results in a diagonal matrix. The subject area is linear algebra, specifically focusing on eigenvalues and eigenvectors.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the selection of eigenvectors for the matrix P and how this choice impacts the resulting diagonal matrix D. There are questions about the correctness of the eigenvectors and the implications of choosing different vectors as the first column of P.

Discussion Status

Some participants have confirmed the correctness of certain eigenvectors while others have suggested re-evaluating the original poster's eigenvector calculations. There is an ongoing exploration of how the arrangement of eigenvectors affects the diagonalization process, with no explicit consensus reached on the best approach.

Contextual Notes

Participants note that eigenvectors should be treated as column vectors, which may influence how they are arranged in the matrix P. There is also mention of the potential confusion arising from the order of eigenvectors and their corresponding eigenvalues.

tomeatworld
Messages
49
Reaction score
0

Homework Statement


If A=[{5,3},{-2,-2}], find the eigenvectors of A. Using these eigenvectors as matrix P, find P-1 and thus prove P-1AP is diagonal.


Homework Equations


None

The Attempt at a Solution


So i can get the eigenvectors to be <3,-1> and <1,-2> corresponding to eigenvalues 4 and -1 respecitively. The problem however, is choosing which vector should be the first column of the matrix P. I used <3,-1> as the first column, and didn't find a diagonal matrix. Should I have? if not, how should I choose which is the first row? I don't mind trying one then the other while revising, but if it's three 3x3 matricies and I'm in a exam, trying all posiilities isn't really an option. How should you choose?
 
Physics news on Phys.org
A= P D P-1

Where P is matrix of eigenvectors and D is matrix of eigenvalues on a diagonal


First you get the eigenvalues, then you get the eigenvectors. Your eigenvectors are wrong. Recheck your work to verify that eigenvectors are <-3,1> and <-1,2>.

Once you do that you can set P=[-3 -1; 1 2], D=[4 0; 0 -1], P-1=[-0.4 -0.2; 0.2 0.6] Do all the work to verify these results.

PDP-1 = [5 3; -2 -2]
 
Last edited:
tomeatworld's eigenvectors are correct. It doesn't matter which vector you choose to be the first column of P, but how you choose will affect how the eigenvalues appear in the diagonal matrix D.
 
Mark44 said:
tomeatworld's eigenvectors are correct. It doesn't matter which vector you choose to be the first column of P, but how you choose will affect how the eigenvalues appear in the diagonal matrix D.

Ah you right, either eigenvector (+/-)[-3;1] and (+/-)[1;-2] would do for lambda=4 and lambda=-1, respectively
 
Emphasis mine:
tomeatworld said:
So i can get the eigenvectors to be <3,-1> and <1,-2> corresponding to eigenvalues 4 and -1 respecitively. The problem however, is choosing which vector should be the first column of the matrix P. I used <3,-1> as the first column, and didn't find a diagonal matrix. Should I have? if not, how should I choose which is the first row?
So, which did you do, make 3,-1 be the first row or the first column? Was your result

P^{-1}AP = \bmatrix 8.8 &amp; -5.6 \\ 8.4 &amp; -5.4\endbmatrix

If so, you constructed your P matrix as

P=\bmatrix 3 &amp; -1 \\ 1 &amp; -2\endbmatrix

It should be

P=\bmatrix \phantom{-}3 &amp; \phantom{-1}1 \\ -1 &amp; -2\endbmatrix

The reason is that eigenvectors are column vectors. You computed them via

A\vec x = \lambda \vec x

Written that way, the eigenvectors of an n×n matrix have to be n×1 vectors: column vectors.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
3K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
2K