# Thread: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

1. ## Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

Hey guys,

I'm new to the forum so please be gentle

Done a BSc in Maths (many moons ago), looking to brush up my skills so as to start a masters next year.

I have the matrix A:

6 -2 2
-2 5 0
2 0 7

This is how far I have got:

Calculated the determinant as (took me a while to remember what a determinant was!): -y^3 + 18y^2 - 99y +162 = 0

where y is a scalar

Firstly, does this look correct because I have struggled to factorise it.
Secondly, is there and easy way to write formulas in a post?

I have a couple more questions regarding the Eigenvectors and showing that A is invertible but I figured I would leave those until I have managed to work out the eigenvalues.

I appreciate any help you can give me.

Thanks all

Chris

2. ## Re: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

To put formulae on here, use "LaTeX". see http://www.mathhelpforum.com/math-help/f47/

Now, to solve the equation, the first thing you do is cross your fingers and hope there is an rational number solution! By the "rational root theorem", any rational root of the polynomial equation $\displaystyle a_nx^n+ a_{n-1}x^{n-1}+ \cdot\cdot\cdot+ a_1x+ a_0= 0$ is of the form $\displaystyle \frac{a}{b}$ where a is an integer that evenly divides the "constant term" $\displaystyle a_0$ and b is an integer that evenly divides the "leading coefficient" $\displaystyle a_n$. Here, [tex]a_n[tex] is 1 so any rational root must be an integer that evenly divides 162. Fortunately, 162 does not have too many factors: $\displaystyle 162=2(81)= 2(3^4)$.
So possible roots are $\displaystyle \pm 1, \pm 2, \pm 3, \pm 6, \pm 9, \pm 18, \pm 27, \pm 54, \pm 81, \pm 162$. It is tedious, but not impossible, to try each of those.

(Good news! There is a simple integer root. Search for it. Once you have one factor, divide by it to get a quadratic equation you may be able to factor, or use the quadratic formula or complete the square to solve.)

(If there were no rational root, there is a "Cardano's formula", Cubic function - Wikipedia, the free encyclopedia
but it is very complex and tedious to use!)

3. ## Re: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

Originally Posted by GreenyMcDuff
I have the matrix A:

$\displaystyle \begin{bmatrix} 6 & -2 & 2\\ -2 & 5 & 0\\ 2 & 0 & 7\end{bmatrix}$

This is how far I have got:

Calculated the determinant as (took me a while to remember what a determinant was!): $\displaystyle -y^3 + 18y^2 - 99y +162 = 0$

where y is a scalar

Firstly, does this look correct because I have struggled to factorise it.
Where possible, try to avoid multiplying factors out. That way, you may never have to solve the cubic at all. I assume that you started by evaluating the determinant $\displaystyle \begin{vmatrix} 6-y & -2 & 2\\ -2 & 5-y & 0\\ 2 & 0 & 7-y\end{vmatrix}$. If you expand that along the top row, you get

$\displaystyle (6-y)(5-y)(7-y) - 4(7-y) - 4(5-y).$

Now combine the second and third terms in that expression, to get

$\displaystyle {\color{red}(6-y)}(5-y)(7-y) - 8{\color{red}(6-y)}.$

A common factor has magically appeared! So you can take that out, and then you only have a quadratic to solve.

There is no guarantee that a method like that will work. But eigenvalue problems are often rigged so that the answers come out as integers. You can often manipulate a determinant by using row and column operations (remember what those are?!) to simplify the determinant and get a common factor in a row or column. Then you can take that factor out and it gives you one of the eigenvalues.

Originally Posted by GreenyMcDuff
Secondly, is there and easy way to write formulas in a post?
In addition to following HallsofIvy's useful link, a good way to learn TeX is to hold the cursor over any of the formulas on this site, and the TeX input will appear in a popup.

4. ## Re: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

Thanks for the quick replies guys, appreciate it - it is coming back to me.... slowly.

OK so I managed to find the eigenvalues (3, -6, 9) and their corresponding eigenvectors (dug out my old maths notes).

I also managed to remember what normalising meant: Essentially dividing the eigenvector by its length.

Now I have hit another snag that my notes don't seem to help me with (not sure if I should start a new thread for this but it seems relevant as it leads on from the previous matrix)

Hence, or otherwise, find the limit $\displaystyle \frac{1}{c^n}A^n$ for $\displaystyle n \rightarrow \infinity$ for all $\displaystyle c>0$ (if it exists)

Where:
A is the Matrix (specified earlier)
n is an integer
and I'm not sure what c is (question doesn't specify)

Not sure where to start with this one really :S a nudge in the right direction would be appreciated.

Thanks

Chris

5. ## Re: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

First, check what you have done so far. (I think that the eigenvalues should be 3, 6, 9, not 3, –6, 9.)

Next, look through those old notes to see that the normalised eigenvectors form the columns of an orthogonal matrix P with the property the $\displaystyle A = PDP^{-1},$ where D is the diagonal matrix whose diagonal entries are the eigenvalues. Then $\displaystyle A^n = PD^nP^{-1}.$

So to find $\displaystyle A^n$ it is sufficient to find $\displaystyle D^n$. But if $\displaystyle D = \begin{bmatrix}3&0&0\\0&6&0\\0&0&9\end{bmatrix}$ then $\displaystyle D^n = \begin{bmatrix}3^n&0&0\\0&6^n&0\\0&0&9^n \end{bmatrix}$. So the question is asking you to look at the limit as n goes to infinity of $\displaystyle \tfrac1{c^n}D^n = \begin{bmatrix}\tfrac{3^n}{c^n}&0&0\\0&\tfrac{6^n} {c^n}&0\\0&0&\tfrac{9^n}{c^n}\end{bmatrix},$ for all positive values of c.

If c<9 then the limit will not exist, because at least one of the fractions in that matrix will go to infinity. If c>9 then the limit is the zero matrix. Finally, the only interesting case occurs when c=9, in which case $\displaystyle \lim_{n\to\infty}D^n = \begin{bmatrix}0&0&0\\0&0&0\\0&0&1\end{bmatrix},$ and $\displaystyle \lim_{n\to\infty}A^n = P\begin{bmatrix}0&0&0\\0&0&0\\0&0&1\end{bmatrix}P^ {-1}.$

6. ## Re: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

Originally Posted by Opalg
First, check what you have done so far. (I think that the eigenvalues should be 3, 6, 9, not 3, –6, 9.)

Next, look through those old notes to see that the normalised eigenvectors form the columns of an orthogonal matrix P with the property the $\displaystyle A = PDP^{-1},$ where D is the diagonal matrix whose diagonal entries are the eigenvalues. Then $\displaystyle A^n = PD^nP^{-1}.$

So to find $\displaystyle A^n$ it is sufficient to find $\displaystyle D^n$. But if $\displaystyle D = \begin{bmatrix}3&0&0\\0&6&0\\0&0&9\end{bmatrix}$ then $\displaystyle D^n = \begin{bmatrix}3^n&0&0\\0&6^n&0\\0&0&9^n \end{bmatrix}$. So the question is asking you to look at the limit as n goes to infinity of $\displaystyle \tfrac1{c^n}D^n = \begin{bmatrix}\tfrac{3^n}{c^n}&0&0\\0&\tfrac{6^n} {c^n}&0\\0&0&\tfrac{9^n}{c^n}\end{bmatrix},$ for all positive values of c.

If c<9 then the limit will not exist, because at least one of the fractions in that matrix will go to infinity. If c>9 then the limit is the zero matrix. Finally, the only interesting case occurs when c=9, in which case $\displaystyle \lim_{n\to\infty}D^n = \begin{bmatrix}0&0&0\\0&0&0\\0&0&1\end{bmatrix},$ and $\displaystyle \lim_{n\to\infty}A^n = P\begin{bmatrix}0&0&0\\0&0&0\\0&0&1\end{bmatrix}P^ {-1}.$
Thanks Opalg this is a very good explanation.

You were right about the eigenvalues of course.

OK, so I have looked through my notes and am now a little confused.

So my notes tell me that for a real nxn matrix $\displaystyle P^T=P^{-1}$ and so it is trivial to see that from $\displaystyle A=PDP^{-1}$ A is similar to D.

However, I have also found a theorem that states:

for non singular P that is constructed from the corresponding eigenvectors of A the following holds:

$\displaystyle P^{-1}AP=\begin{bmatrix}y_{1}&0&0\\0&y_{2}&0\\0&0&y_{3 }\end{bmatrix}$

Looking at both of these now they seem to say the same thing, is that correct?

Thanks

7. ## Re: Find Eigenvalues and normalised EigenVectors of a 3x3 matirx

Originally Posted by GreenyMcDuff
So my notes tell me that for a real nxn matrix $\displaystyle P^T=P^{-1}$
No, that is only true for an orthogonal matrix P. In fact, the definition of an orthogonal matrix is one that satisfies the condition $\displaystyle P^{\textsc t}=P^{-1}.$ If you form a matrix P by taking its columns to be eigenvectors of a (diagonalisable) matrix, then P will be invertible. If you normalise the eigenvectors then that will make P orthogonal.

Originally Posted by GreenyMcDuff
and so it is trivial to see that from $\displaystyle A=PDP^{-1}$ A is similar to D.

However, I have also found a theorem that states:

for non singular P that is constructed from the corresponding eigenvectors of A the following holds:

$\displaystyle P^{-1}AP=\begin{bmatrix}y_{1}&0&0\\0&y_{2}&0\\0&0&y_{3 }\end{bmatrix}$

Looking at both of these now they seem to say the same thing, is that correct
That is correct. The conditions $\displaystyle A=PDP^{-1}$ and $\displaystyle D=P^{-1}AP$ are equivalent. You just have to remember which way round the $\displaystyle P$ and $\displaystyle P^{-1}$ go in the two formulas. My method is to remember the single formula $\displaystyle AP = PD.$ If you multiply both sides of that on the left by $\displaystyle P^{-1}$ then you get one formula. If do the multiplications on the right then you get the other formula.

,

,

,

,

,

,

,

,

,

,

,

,

,

# to find normalised eigenvectors

Click on a term to search for related topics.