document.write( "Question 17949: I have been working on trying to find the eigenvalues and eigenvectors of the following matrix:
\n" ); document.write( "3 -1 2
\n" ); document.write( "2 0 2
\n" ); document.write( "5 -1 0\r
\n" ); document.write( "\n" ); document.write( "I have worked it to the point of finding the characteristic polynomial of:
\n" ); document.write( "-Lambda^3 + 3*Lambda^2 + 10*Lambda -8\r
\n" ); document.write( "\n" ); document.write( "This doesn't seem correct to me since, MATLAB gives the eigenvalues of (4,-2,1).
\n" ); document.write( "That is where I am stuck.\r
\n" ); document.write( "\n" ); document.write( "Any help is greatly appreciated.
\n" ); document.write( "

Algebra.Com's Answer #8649 by venugopalramana(3286)\"\" \"About 
You can put this solution on YOUR website!
I have been working on trying to find the eigenvalues and eigenvectors of the following matrix:
\n" ); document.write( "3 -1 2
\n" ); document.write( "2 0 2
\n" ); document.write( "5 -1 0\r
\n" ); document.write( "\n" ); document.write( "I have worked it to the point of finding the characteristic polynomial of:
\n" ); document.write( "-Lambda^3 + 3*Lambda^2 + 10*Lambda -8\r
\n" ); document.write( "\n" ); document.write( "This doesn't seem correct to me since, MATLAB gives the eigenvalues of (4,-2,1).
\n" ); document.write( "That is where I am stuck.
\n" ); document.write( "**************************************************************************
\n" ); document.write( "ok let us check we have..(due to difficulty in depiction ,I am omitting the vertical bars to show determinant..|xx| is shown as xxx)...k is used instead of lambda)
\n" ); document.write( "\"matrix%283%2C3%2C%283-k%29%2C-1%2C2%2C2%2C-k%2C2%2C5%2C-1%2C-k%29\"=0
\n" ); document.write( "(3-k)(k^2+2)-2(k+2)+5(2k-2)=0
\n" ); document.write( "3k^2+6-k^3-2k-2k-4+10k-10=0
\n" ); document.write( "-k^3+3k^2+6k-8=0.=f(k)..we find f(1)=0..so k-1 is a factor..dividing with k-1\r
\n" ); document.write( "\n" ); document.write( "1...|...-1....3....6....-8
\n" ); document.write( "....|....0....-1...2....8
\n" ); document.write( "*************************************************.
\n" ); document.write( ".........-1...2....8....0
\n" ); document.write( "we get -k^2+2k+8=0
\n" ); document.write( "...-k^2+4k-2k+8=0
\n" ); document.write( "-(k-4)(k+2)=0
\n" ); document.write( "hence k=-2 or 4...or eigen values are 1,-2 and 4..now to find eigen vectors we have to put k=1,-2 and 4 in the matrix eqn (A-kI)(X)=0 and find the solutions
\n" ); document.write( "where as you know A is the given matrix,k is the eigen values we got,I is the unit matrix and X is the vector (x,y,z)
\n" ); document.write( "for k=1,we get (A-kI)as
\n" ); document.write( "\"matrix%283%2C3%2C%283-k%29%2C-1%2C2%2C2%2C-k%2C2%2C5%2C-1%2C-k%29\"
\n" ); document.write( "hence \"matrix%283%2C3%2C2%2C-1%2C2%2C2%2C-1%2C2%2C5%2C-1%2C-1%29\"*\"matrix%283%2C1%2Cx%2Cy%2Cz%29\"=0..or
\n" ); document.write( "2x-y+2z=0....(1)
\n" ); document.write( "2x-y+2z=0....(2)
\n" ); document.write( "5x-y-z=0.....(3)
\n" ); document.write( "(3)-(2) gives3x-3z=0...or x=z..substituting in (3) we get y=4x=4z
\n" ); document.write( "hence the eigen vector is \"matrix%283%2C1%2C1%2C4%2C1%29\"...
\n" ); document.write( "i trust you can find the other 2 eigen vectors for k=-2 and k=4 in a similar way. \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );