Finding eigenvectors for diagonalization

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 6K views
iamsmooth
Messages
103
Reaction score
0

Homework Statement


Let [tex]A = \left[ \begin{array}{cc} -6 & 0.25 \\ 7 & -3 \end{array} \right][/tex]

Find an invertible S and a diagonal D such that [tex]S^{-1}AS=D[/tex]

Homework Equations


...

The Attempt at a Solution


So first I need to get eigenvalues so I can get the eigenvectors which will give me the invertible S (or so I believe).

Anyways, here is my work so far:

[tex]A = \left[ \begin{array}{cc} -6 & 0.25 \\ 7 & -3 \end{array} \right] = \left[ \begin{array}{cc} \lambda+6 & -0.25 \\ -7 & \lambda+3 \end{array} \right][/tex]

[tex] (\lambda+6)(\lambda+3)-1.75[/tex]

[tex] \lambda^2+3\lamda+6\lambda+18-1.75[/tex]

[tex]\lambda^2+9\lambda+16.25[/tex]

Using quadratic equation or factoring, the roots are:

[tex]\lambda=-2.5[/tex]

[tex]\lambda=-6.5[/tex]

From here, subbing lambda in, I get:

[tex] \left[ \begin{array}{cc} -2.5+6 & -0.25 \\ -7 & -2.5+3 \end{array} \right] \left[ \begin{array}{cc} X_1 \\ X_2 \\ \end{array} \right][/tex]

[tex] \left[ \begin{array}{cc} -6.5+6 & -0.25 \\ -7 & -6.5+3 \end{array} \right] \left[ \begin{array}{cc} X_1 \\ X_2 \end{array} \right][/tex]

Solving for these systems I get:

[tex] E_{-2.5} = \left[ \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right][/tex]

[tex] E_{-6.5} = \left[ \begin{array}{cc} 1 & 0.5 \\ 0 & 0 \end{array} \right][/tex]

From here, how do I get the eigenvectors? I think I'm close (if my work is correct so far)
 
Last edited:
on Phys.org
I guess my eigenspace is probably wrong, can someone help me figure that out? If I get that, I know how to get the diagonal.

Thanks.
 
So I used a matrix calculator to get the vectors (since I can't get them) and it gave me 1, -2 for [itex]\lambda[/itex] of -6.25, and -2, 14 for [itex]\lambda[/itex] of-2.5

So with this, the eigenspace should be

[tex] S = \left[ \begin{array}{cc} 1 & 1 \\ -2 & 14 \end{array} \right][/tex]

And when I calculate it out as [itex]S^{-1}AS = D[/itex]

[tex] D = \left[ \begin{array}{cc} -104 & 0 \\ 0 & -40 \end{array} \right][/tex]

Which seems like it works since it's now diagonal, but the answer is wrong for some reason. I've tried switching the signs and it's still wrong. Really not sure what I'm doing wrong. This is the last question I have for practice and this is getting frustrating. I'm starting to think maybe there's an error with the program.
 
iamsmooth said:

Homework Statement


Let [tex]A = \left[ \begin{array}{cc} -6 & 0.25 \\ 7 & -3 \end{array} \right][/tex]

Find an invertible S and a diagonal D such that [tex]S^{-1}AS=D[/tex]


Homework Equations


...


The Attempt at a Solution


So first I need to get eigenvalues so I can get the eigenvectors which will give me the invertible S (or so I believe).

Anyways, here is my work so far:

[tex]A = \left[ \begin{array}{cc} -6 & 0.25 \\ 7 & -3 \end{array} \right] = \left[ \begin{array}{cc} \lambda+6 & -0.25 \\ -7 & \lambda+3 \end{array} \right][/tex]

[tex] (\lambda+6)(\lambda+3)-1.75[/tex]

[tex] \lambda^2+3\lamda+6\lambda+18-1.75[/tex]

[tex]\lambda^2+9\lambda+16.25[/tex]

Using quadratic equation or factoring, the roots are:

[tex]\lambda=-2.5[/tex]

[tex]\lambda=-6.5[/tex]

From here, subbing lambda in, I get:

[tex] \left[ \begin{array}{cc} -2.5+6 & -0.25 \\ -7 & -2.5+3 \end{array} \right] \left[ \begin{array}{cc} X_1 \\ X_2 \\ \end{array} \right][/tex]

[tex] \left[ \begin{array}{cc} -6.5+6 & -0.25 \\ -7 & -6.5+3 \end{array} \right] \left[ \begin{array}{cc} X_1 \\ X_2 \end{array} \right][/tex]

Solving for these systems I get:

[tex] E_{-2.5} = \left[ \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right][/tex]

[tex] E_{-6.5} = \left[ \begin{array}{cc} 1 & 0.5 \\ 0 & 0 \end{array} \right][/tex]

From here, how do I get the eigenvectors? I think I'm close (if my work is correct so far)
Your error is in subtracting the two different eigenvalues from the same matrix. To find an eigenvalue corresponding to x= -2.5 Look at the equation
[tex]\begin{bmatrix}-6 & .25 \\ 7 & -3\end{bmatrix}\begin{bmatrix}x \\ y \end{bmatrix}= -2.5\begin{bmatrix}x \\ y\end{bmatrix}[/tex]
or, equivalently
[tex]\begin{bmatrix}6+ 2.5 & -.25 \\ -7 & 3+ 2.5\end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}= \begin{bmatrix}0 \\ 0\end{bmatrix}[/tex]
That reduces to the two equations 6x- 2.5y= 0 and -7x+ 2.5y= 0 which both reduce to y= 34x. Any eigenvector, corresponding to eigenvalue -2.5, must be of the form
[tex]x\begin{bmatrix}1 \\ 34\end{bmatrix}[/tex]
and you can take x to be 1, say, to get a specific eigenvalue, or [itex]1/\sqrt{34^2+ 1}[/itex] for a unit eigenvalue.

Similarly, to find an eigenvector corresponding to eigenvalue -6.5, solve
[tex]\begin{bmatrix}-6 & .25 \\ 7 & -3\end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}= -6.5\begin{bmatrix}x \\ y \end{bmatrix}[/tex]
or, equivalently,
[tex]\begin{bmatrix}-6+6.5 & .25 \\ 7 & -3+ 6.5\end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}= \begin{bmatrix} 0.5 & .25\\ 7 & 3.5 \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix}= \begin{bmatrix}0 \\ 0 \end{bmatrix}[/tex]
 
HallsofIvy said:
[tex]\begin{bmatrix}6+ 2.5 & -.25 \\ -7 & 3+ 2.5\end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}= \begin{bmatrix}0 \\ 0\end{bmatrix}[/tex]
That reduces to the two equations 6x- 2.5y= 0 and -7x+ 2.5y= 0 which both reduce to y= 34x. Any eigenvector, corresponding to eigenvalue -2.5, must be of the form
[tex]x\begin{bmatrix}1 \\ 34\end{bmatrix}[/tex]
and you can take x to be 1, say, to get a specific eigenvalue, or [itex]1/\sqrt{34^2+ 1}[/itex] for a unit eigenvalue.

I don't understand where you get the two equations from that matrix. Even if I accept it, I don't understand how it reduces to y=34x.