You are Here: Home >< Maths

# Diagonalize matrix Watch

1. I have the matrix [2 3;3 2] and wish to diagnoalize it.

First I find the eigenvalues of : -1 and 5 and put them into a matrix as:

P=[-1 0;0 5]

Then find the eigenvectors for each value and put them into a matrix
D= [1 1; -1 1]

Then find the inverse of p

-1/5 [-1 0; 0 5]

and then what?
2. (Original post by Carlo08)
I have the matrix [2 3;3 2] and wish to diagnoalize it.

First I find the eigenvalues of : -1 and 5 and put them into a matrix as:

P=[-1 0;0 5]

Then find the eigenvectors for each value and put them into a matrix
D= [1 1; -1 1]

Then find the inverse of p

-1/5 [-1 0; 0 5]

and then what?
You've diagonalised it. It may be better to call your diagonal matrix of eigenvalues and your invertible matrix of eigenvectors

Then, calling your matrix , you have

You may want to check that and that is invertible (e.g. has determinant 0 non-zero determinant).

By the way, it isn't the inverse of the diagonal matrix of eigenvalues you require, instead the invertible matrix of eigenvectors.
3. (Original post by TheEd)
You've diagonalised it. It may be better to call your diagonal matrix of eigenvalues and your invertible matrix of eigenvectors

Then, calling your matrix , you have

You may want to check that and that is invertible (e.g. has determinant 0).

By the way, it isn't the inverse of the diagonal matrix of eigenvalues you require, instead the invertible matrix of eigenvectors.
* non zero
4. (Original post by DeanK22)
* non zero
Correct. P should have non-zero determinant so that it is invertible
5. Just to elaborate on what TheEd said (because understanding the concept means it's easier to remember):

The idea of a diagonalised matrix is that it takes a two particular vectors (the eigenvectors) and scales them.

Now, as it is, the matrix tells you that it sends to and to . However, you also know that it sends to and to , so what you want to get is a matrix which:

1. Sends to and to (i.e. it sends the basis vectors to the eigenvectors)
2. Scales these two vectors appropriately
3. Takes you back to where you started

Since these both do the same thing to both the basis vectors, they must be the same thing, so they're equal.

This is why when you diagonalise you get something in the form , where is diagonal: the matrix sends your basis vectors to the eigenvectors of the matrix, then scales them, and finally takes you back to where you were.
6. (Original post by nuodai)
Just to elaborate on what TheEd said (because understanding the concept means it's easier to remember):

The idea of a diagonalised matrix is that it takes a two particular vectors (the eigenvectors) and scales them.

Now, as it is, the matrix tells you that it sends to and to . However, you also know that it sends to and to , so what you want to get is a matrix which:

1. Sends to and to (i.e. it sends the basis vectors to the eigenvectors)
2. Scales these two vectors appropriately
3. Takes you back to where you started

Since these both do the same thing to both the basis vectors, they must be the same thing, so they're equal.

This is why when you diagonalise you get something in the form , where is diagonal: the matrix sends your basis vectors to the eigenvectors of the matrix, then scales them, and finally takes you back to where you were.

Thank you both. So D is actually the diagonalized matrix?

The question I am given asks for the modal matrix is this the P? And then it asks me to find the product : PAP-1 so is this then giving me D?
7. (Original post by Carlo08)
Thank you both. So D is actually the diagonalized matrix?

The question I am given asks for the modal matrix is this the P? And then it asks me to find the product : PAP-1 so is this then giving me D?
Yup, P is the modal matrix, i.e. the matrix whose columns are eigenvectors. It's sometimes called the "change of basis matrix" for other reasons.

Because we must have , which is diagonal (assuming A can be diagonalised of course!)
8. (Original post by Carlo08)
Thank you both. So D is actually the diagonalized matrix?

The question I am given asks for the modal matrix is this the P? And then it asks me to find the product : PAP-1 so is this then giving me D?
is the diagonalised matrix, is the diagonal matrix of eigenvalues, is the modal matrix.

So if the diagonalised form of then and the question is asking you to check this.
9. My lecture notes give me D = P^-1 A P

So does that mean that A = PDP^-1 which is backwards of what is written above
10. (Original post by Carlo08)
My lecture notes give me D = P^-1 A P

So does that mean that A = PDP^-1 which is backwards of what is written above
This is also correct (actually the way I learnt it and how I said it in my first post)
11. (Original post by TheEd)
This is also correct (actually the way I learnt it and how I said it in my first post)
Sorry for being dumb here but how does A=PDP-1 and = P-1 DP when matrix multiplication is dependent on the order.
12. (Original post by Carlo08)
Sorry for being dumb here but how does A=PDP-1 and = P-1 DP when matrix multiplication is dependent on the order.
Notice the difference between and (I got the s and s mixed up in my previous posts... oops).

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: December 9, 2010
Today on TSR

### Degrees to get rich!

... and the ones that won't

### Women equal with Men?

Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams

## Groups associated with this forum:

View associated groups
Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.