Line 1: Line 1:
1) Definition<br>• Let<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; L:V&nbsp;→&nbsp;V<br>
+
'''1) '''<u>'''Definition<br>'''</u>
  
be the linear transformation of n-dimensional vector space into itself (a linear operator on V) <br>Then, λ is an eigenvalue of L if there exists a non-zero vector '''x''' in V such that <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; L(x) = λ'''x'''  
+
• Let<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; L:V&nbsp;→&nbsp;V<br>
 +
 
 +
be the linear transformation of n-dimensional vector space into itself (a linear operator on V) <br>Then, λ is an eigenvalue of L if there exists a non-zero vector '''x''' in V such that&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; L(x) = λ'''x'''  
  
 
In other words, λ is a scalar associated with vector '''x''' to represent a linear transformation.  
 
In other words, λ is a scalar associated with vector '''x''' to represent a linear transformation.  
Line 13: Line 15:
 
(Read the matrix [a , b] as entry [a] in the first row and entry [b] in the second row)<br>
 
(Read the matrix [a , b] as entry [a] in the first row and entry [b] in the second row)<br>
  
• Given that L:R<sup>2&nbsp;</sup>→ R<sup>2 </sup>be linear operator defined by<br>L([a<sub>1</sub> , a<sub>2</sub>]) = [-a<sub>2</sub> , a<sub>1</sub>]<br>To find the eigenvalues of L and the associated eigenvectors, we have to find λ such that<sup></sup><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; L([a<sub>1</sub> , a<sub>2</sub>]) = λ[a<sub>1</sub>, a<sub>2</sub>]<br>
+
• Given that L:R<sup>2&nbsp;</sup>→ R<sup>2 </sup>be linear operator defined by  
  
Since [-a<sub>2</sub> , a<sub>1</sub>] = λ[a<sub>1</sub> , a<sub>2</sub>], equate them together, and we can find that&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;λa<sub>1</sub> = -a<sub>2</sub>&nbsp; (1) and λa<sub>2</sub> = a<sub>1</sub> (2)
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;L&nbsp;([a<sub>1 </sub>, a<sub>2</sub>])&nbsp;= [-a<sub>2</sub> , a<sub>1</sub>]<br>
  
<br>By substituting (2) into (1), we obtain <br>λ(λa<sub>2</sub>) = -a<sub>2</sub><br>λ<sup>2</sup>a<sub>2</sub> = - a<sub>2</sub><br>λ<sup>2</sup> = -1<br>Since the square root of -1 is equal to the complex number''i'', we can conclude that λ = ±''i''<br>Because the eigenvalues are not real, we can say that there is no vector [a<sub>1</sub> , a<sub>2</sub>] in R<sup>2</sup> such that L([a<sub>1</sub> , a<sub>2</sub>]) is parallel to [a<sub>1</sub> , a<sub>2</sub>].<br>
+
To find the eigenvalues of L and the associated eigenvectors, we have to find λ such that<sup></sup><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;L([a<sub>1</sub> , a<sub>2</sub>]) = λ[a<sub>1 </sub>, a<sub>2</sub>]<br>Since [-a<sub>2</sub> , a<sub>1</sub>] = λ[a<sub>1</sub> , a<sub>2</sub>], equate them together, and we can find that&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;λa<sub>1</sub> = -a<sub>2</sub>&nbsp; (1) and λa<sub>2</sub> = a<sub>1</sub> (2)
  
But if L is mapped from C<sup>2 </sup>into C<sup>2 </sup>, then L has eigenvalue ''i ''(eigenvector [''i , ''1]) and eigenvalue -''i ''(eigenvector [-''i '', 1]
+
<br>By substituting (2) into (1), we obtain <br>
  
<br>
+
λ(λa<sub>2</sub>) = -a<sub>2</sub><br>λ<sup>2</sup>a<sub>2</sub> = - a<sub>2</sub><br>λ<sup>2</sup> = -1
  
'''* Zero vector cannot be an eigenvector, but scalar zero can be eigenvalue* - IMPORTANT&nbsp;FACT'''  
+
<br>Since the square root of -1 is equal to the complex number ''i'', we can conclude that λ = ±''i''<br>Because the eigenvalues are not real, we can say that there is no vector [a<sub>1</sub> , a<sub>2</sub>] in R<sup>2</sup> such that L([a<sub>1</sub> , a<sub>2</sub>]) is parallel to [a<sub>1</sub> , a<sub>2</sub>].<br>
  
<br>
+
But if L is mapped from C<sup>2 </sup>into C<sup>2 </sup>, then L has eigenvalue ''i ''(eigenvector <math>\begin{bmatrix}
 +
i \\
 +
1 \end{bmatrix}</math>&nbsp;) and eigenvalue -''i ''(eigenvector <math>\begin{bmatrix}
 +
-i \\
 +
1 \end{bmatrix}</math>&nbsp; )
  
*An example about the concept of eigenvalue and eigenvector, based on a linear transformation AND basis:
+
-The associated eigenvectors can be obtained by substituting the particular eigenvalue into equation(1) and (2), and using the coefficient matrix that we get, we can solve for the eigenvectors.<br>Eg:&nbsp;When λ= ''i, ''equation (1) becomes&nbsp;''i''a<sub>1 </sub>= -a<sub>2 </sub>, and equation (2) becomes ''i''a<sub>2 </sub>= a<sub>1</sub>
  
• Given that L:P<sub>2</sub> → P<sub>2</sub> be linear operator defined by<br>&nbsp;&nbsp;&nbsp;&nbsp;L(''at<sup>2 </sup>+ bt + c'') = ''-bt-2c''
+
Hence,
  
''Question&nbsp;: Find the corresponding matrix eigen-problem for basis&nbsp;T = [t-1, 1, t<sup>2</sup>].''
+
''i''a<sub>1</sub> + a<sub>2</sub> = 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (3)
  
''Solution:''  
+
a<sub>1</sub> - ''i''a<sub>2</sub> = 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (4)<br>From here, we can come up with the coefficient matrix:  
 +
 
 +
<math>\begin{bmatrix}
 +
i & 1 \\
 +
1 & -i \end{bmatrix}</math>&nbsp;
 +
 
 +
By reducing the matrix to its echelon form, we can obtain the associated eigenvector for eigenvalue ''i, ''which is&nbsp;
 +
 
 +
&nbsp;<math>\begin{bmatrix}
 +
i \\
 +
1 \end{bmatrix}</math><br>Try to verify the associated eigenvector for eigenvalue -''i ''based on the answer given above.
 +
 
 +
'''* Zero vector cannot be an eigenvector, but scalar zero can be eigenvalue* - IMPORTANT&nbsp;FACT'''  
  
 
<br>
 
<br>
  
'''TIME FOR SOME MATRICES&nbsp;!!!'''  
+
'''TIME FOR SOME '''<u>'''MATRICES&nbsp;'''</u>'''!!!'''  
  
 
Before even attempting to find eigenvalues and associated eigenvectors for matrices,&nbsp;two things we should know''': CHARACTERISTIC POLYNOMIAL OF A MATRIX '''and '''CHARACTERISTIC EQUATION OF A MATRIX.'''  
 
Before even attempting to find eigenvalues and associated eigenvectors for matrices,&nbsp;two things we should know''': CHARACTERISTIC POLYNOMIAL OF A MATRIX '''and '''CHARACTERISTIC EQUATION OF A MATRIX.'''  
Line 43: Line 61:
 
<br>
 
<br>
  
#'''CHARACTERISTIC POLYNOMIAL OF A MATRIX'''
+
#<u>'''CHARACTERISTIC POLYNOMIAL OF A MATRIX'''</u>
  
 
To find the eigenvalues and associated eigenvectors of a matrix, we should construct a *NEW* matrix out of a given matrix. The *NEW* matrix is&nbsp;where we can&nbsp;get the characteristic polynomial of the given matrix from.&nbsp;  
 
To find the eigenvalues and associated eigenvectors of a matrix, we should construct a *NEW* matrix out of a given matrix. The *NEW* matrix is&nbsp;where we can&nbsp;get the characteristic polynomial of the given matrix from.&nbsp;  
Line 49: Line 67:
 
The significance of the characteristic polynomial of a matrix&nbsp;: the roots of the polynomial are the eigenvalues of the given matrix (Theorem 7.1), and by substituting eigenvalues into the characteristic polynomial and solving for the solution, we can obtain the associated eigenvectors for the eigenvalues of the matrix  
 
The significance of the characteristic polynomial of a matrix&nbsp;: the roots of the polynomial are the eigenvalues of the given matrix (Theorem 7.1), and by substituting eigenvalues into the characteristic polynomial and solving for the solution, we can obtain the associated eigenvectors for the eigenvalues of the matrix  
  
&nbsp;&nbsp;&nbsp; 2.&nbsp; '''CHARACTERISTIC EQUATION OF A MATRIX'''  
+
&nbsp;&nbsp;&nbsp; 2.&nbsp;<u>'''CHARACTERISTIC EQUATION OF A MATRIX'''</u>
  
 
In order to find the eigenvalues and associated eigenvectors of a given matrix, we would need to have a particular&nbsp;&nbsp;&nbsp;equation.&nbsp;&nbsp;The&nbsp;equation could be&nbsp;obtained&nbsp; by using the concept of determinants.  
 
In order to find the eigenvalues and associated eigenvectors of a given matrix, we would need to have a particular&nbsp;&nbsp;&nbsp;equation.&nbsp;&nbsp;The&nbsp;equation could be&nbsp;obtained&nbsp; by using the concept of determinants.  
  
.The equation&nbsp;: p(λ) = det(λI<sub>n </sub>- A) = 0, where λ is the variable that represents the eigenvalues, I<sub>n </sub>= Identity matrix and A = the given matrix<br>
+
.The equation&nbsp;: '''p(λ) = det(λI<sub>n </sub>- A) = 0''', where λ is the variable that represents the eigenvalues, I<sub>n </sub>= Identity matrix and A = the given matrix<br>
  
 
<br>'''HOW&nbsp;TO&nbsp;CONSTRUCT&nbsp;A&nbsp;CHARACTERISTIC POLYNOMIAL&nbsp;(A SHORTCUT):'''  
 
<br>'''HOW&nbsp;TO&nbsp;CONSTRUCT&nbsp;A&nbsp;CHARACTERISTIC POLYNOMIAL&nbsp;(A SHORTCUT):'''  
 
'''(Read the matrix [a b , c d] as entries [a] and [b] in the first row, and entries [c] and [d] in the second row)'''
 
  
 
Let's say the question requires us to solve for the eigenvalues and associated eigenvectors of a nXn matrix A,  
 
Let's say the question requires us to solve for the eigenvalues and associated eigenvectors of a nXn matrix A,  
  
&nbsp;&nbsp;[1 1 , -2 4]
+
&nbsp;&nbsp;<math>\begin{bmatrix}
 +
1 & 1 \\
 +
-2 & 4 \end{bmatrix}</math>
  
 
'''Step 1&nbsp;:To come up with the characteristic polynomial of the matrix, change the entries on the main diagonal to&nbsp;from [x] to [λ-x] (or from [-x] to [λ+x]), and change the sign of the other entries of the matrix (if the entries are zero on the diagonal, just change to&nbsp;λ, but if the other entries are zero, just remain as zero)'''  
 
'''Step 1&nbsp;:To come up with the characteristic polynomial of the matrix, change the entries on the main diagonal to&nbsp;from [x] to [λ-x] (or from [-x] to [λ+x]), and change the sign of the other entries of the matrix (if the entries are zero on the diagonal, just change to&nbsp;λ, but if the other entries are zero, just remain as zero)'''  
Line 73: Line 91:
 
det (A) = (λ-1)(λ-4)-(-2) = 0  
 
det (A) = (λ-1)(λ-4)-(-2) = 0  
  
λ<sup>2</sup>-5λ+6 = 0  
+
'''λ<sup>2</sup>-5λ+6 = 0'''
  
(λ-2)(λ-3) = 0  
+
'''(λ-2)(λ-3) = 0'''
  
 
Hence the roots of the characteristic polynomial @ the eigenvalues of the matrix are λ=2 and λ=3.  
 
Hence the roots of the characteristic polynomial @ the eigenvalues of the matrix are λ=2 and λ=3.  
Line 83: Line 101:
 
For this question, let's try to solve for the associated eigenvectors by using the second way, i.e substituting the eigenvalue into the *NEW* matrix and doing rref.  
 
For this question, let's try to solve for the associated eigenvectors by using the second way, i.e substituting the eigenvalue into the *NEW* matrix and doing rref.  
  
When&nbsp;λ&nbsp;= 2, we have the matrix [1 -1 , 2 -2]&nbsp;[x<sub>1 </sub>, x<sub>2</sub>]. After reducing the matrix to rref, we have [1 -1 , 0 0], hence indicating that the matrix have a nontrivial solution.  
+
When&nbsp;λ&nbsp;= 2, we have the matrix  
 +
 
 +
<math>\begin{bmatrix}
 +
1 & -1 \\
 +
2 & -2 \end{bmatrix}</math>&nbsp;<math>\begin{bmatrix}
 +
x_1 \\
 +
x_2 \end{bmatrix}</math>  
 +
 
 +
After reducing the matrix to rref, we have  
 +
 
 +
<math>\begin{bmatrix}
 +
1 & -1 \\
 +
0 & 0 \end{bmatrix}</math>&nbsp;
 +
 
 +
hence indicating that the matrix have a nontrivial solution.  
  
 
Choosing the second column as our independent variable (because there is no leading one), we have x<sub>2 </sub>= r, and x<sub>1 </sub>- r = 0, so x<sub>1 </sub>= r.  
 
Choosing the second column as our independent variable (because there is no leading one), we have x<sub>2 </sub>= r, and x<sub>1 </sub>- r = 0, so x<sub>1 </sub>= r.  
  
Hence we have [r , r] as our solution, and by factorizing r out of the solution space, we have eigenvector [1 , 1] for λ=2  
+
Hence we have  
 +
 
 +
<math>\begin{bmatrix}
 +
r \\
 +
r \end{bmatrix}</math>
 +
 
 +
as our solution, and by factorizing r out of the solution space, we have eigenvector  
 +
 
 +
<math>\begin{bmatrix}
 +
1 \\
 +
1 \end{bmatrix}</math>&nbsp;
 +
 
 +
for λ=2.
 +
 
 +
Repeating the same method to find the eigenvector when λ=3, we have the matrix
 +
 
 +
<math>\begin{bmatrix}
 +
2 & -1 \\
 +
2 & -1 \end{bmatrix}
 +
\begin{bmatrix}
 +
x_1 \\
 +
x_2 \end{bmatrix}</math>&nbsp;
 +
 
 +
After reducing the matrix to rref, we have
 +
 
 +
<math>\begin{bmatrix}
 +
1 & -1/2 \\
 +
0 & 0 \end{bmatrix}</math>&nbsp;
 +
 
 +
hence indicating that the matrix have a nontrivial solution.<br>Choosing the second column as our independent variable (because there is no leading one), we have x<sub>2</sub> = r, and x<sub>1</sub> - r/2 = 0, so x<sub>1</sub> = r/2.
 +
 
 +
Hence we have
 +
 
 +
<math>\begin{bmatrix}
 +
r/2 \\
 +
r \end{bmatrix}</math>
 +
 
 +
as our solution, and by factorizing r out of the solution space, we have eigenvector
  
Repeating the same method to find the eigenvector when λ=3, we have the matrix [2 -1, 2 -1][x<sub>1 </sub>, x<sub>2</sub>]. After reducing the matrix to rref, we have [1 -1/2 , 0 0], hence indicating that the matrix have a nontrivial solution.<br>Choosing the second column as our independent variable (because there is no leading one), we have x<sub>2</sub> = r, and x<sub>1</sub> - r/2 = 0, so x<sub>1</sub> = r/2.
+
<math>\begin{bmatrix}
 +
1/2 \\
 +
1 \end{bmatrix}</math>&nbsp;
  
Hence we have [r/2 , r] as our solution, and by factorizing r out of the solution space, we have eigenvector [1/2 , 1] for λ=3.  
+
for λ=3.  
  
 
<br>'''SOLVED!!!'''  
 
<br>'''SOLVED!!!'''  
Line 97: Line 168:
 
&nbsp;  
 
&nbsp;  
  
Second example (slightly more difficult, but could be solved nonetheless)  
+
<u>'''Second example'''</u>(slightly more difficult, but could be solved nonetheless)  
  
Question: Compute the eigenvalues and eigenvectors of the following nXn matrix B  
+
''Question'': Compute the eigenvalues and eigenvectors of the following nXn matrix B  
  
[0 0 3 , 1 0 -1 , 0&nbsp;1 3]
+
<math>\begin{bmatrix}
 +
0 & 0 & 3 \\
 +
1 & 0 & -1 \\
 +
0 & 1 & 3 \end{bmatrix}</math>
  
Solution:&nbsp;If we still remember lessons from Chapter 3, it will be&nbsp;easy to&nbsp;compute the det, hance getting the characteristic polynomial. The first step&nbsp;to&nbsp;solve this question is by&nbsp;constructing&nbsp;the *NEW* matrix. Note that there are a few zeros in the diagonal of the matrix, so do not forget to change them to λ. Therefore, we will get a matrix like this: [λ&nbsp;0 -3 , -1&nbsp;λ&nbsp;&nbsp;1 , 0 -1&nbsp;λ&nbsp;-3]  
+
<br>
 +
 
 +
'''''Solution''''':&nbsp;If we still remember lessons from Chapter 3, it will be&nbsp;easy to&nbsp;compute the det, hance getting the characteristic polynomial. The first step&nbsp;to&nbsp;solve this question is by&nbsp;constructing&nbsp;the *NEW* matrix. Note that there are a few zeros in the diagonal of the matrix, so do not forget to change them to λ. Therefore, we will get a matrix like this: [λ&nbsp;0 -3 , -1&nbsp;λ&nbsp;&nbsp;1 , 0 -1&nbsp;λ&nbsp;-3]  
 +
 
 +
<br>
  
 
Note that there are a few zeros in the *NEW*&nbsp;matrix, this will make computations much easier. From Chapter 3, we know that it is easier to find det when we calculate it through a row or column where there is/are zero(s) as they will simplify calculations. In this case, we compute the det through the first column.&nbsp;  
 
Note that there are a few zeros in the *NEW*&nbsp;matrix, this will make computations much easier. From Chapter 3, we know that it is easier to find det when we calculate it through a row or column where there is/are zero(s) as they will simplify calculations. In this case, we compute the det through the first column.&nbsp;  
Line 109: Line 187:
 
We should get characteristic polynomial that looks like this&nbsp;:  
 
We should get characteristic polynomial that looks like this&nbsp;:  
  
p(λ)&nbsp;=λ<sup>3</sup>-3λ<sup>2</sup>+λ-3  
+
'''p(λ)&nbsp;=λ<sup>3</sup>-3λ<sup>2</sup>+λ-3'''
 +
 
 +
<br>
  
 
This is&nbsp;where most students have problem, especially during&nbsp;exams. Although the polynomial is to the power of three, do not panic.&nbsp;Recall some lessons from MA165. To solve&nbsp;for the roots, we can use trial and error to solve for one root then&nbsp;by using the long division method, we can get the two other roots. Depending on how big the numbers in the polynomial, it is quite&nbsp;easy to do this, but as always, be careful.&nbsp;By trial and error, we know that&nbsp;λ=3 for one root, hence we have to find the other roots. To do this, divide the polynomial with (λ-3), and we should get (λ<sup>2</sup>+1). As we&nbsp;can see, we will&nbsp;get&nbsp;complex numbers for the other roots.&nbsp;  
 
This is&nbsp;where most students have problem, especially during&nbsp;exams. Although the polynomial is to the power of three, do not panic.&nbsp;Recall some lessons from MA165. To solve&nbsp;for the roots, we can use trial and error to solve for one root then&nbsp;by using the long division method, we can get the two other roots. Depending on how big the numbers in the polynomial, it is quite&nbsp;easy to do this, but as always, be careful.&nbsp;By trial and error, we know that&nbsp;λ=3 for one root, hence we have to find the other roots. To do this, divide the polynomial with (λ-3), and we should get (λ<sup>2</sup>+1). As we&nbsp;can see, we will&nbsp;get&nbsp;complex numbers for the other roots.&nbsp;  
Line 115: Line 195:
 
λ<sup>2</sup>+1 = 0  
 
λ<sup>2</sup>+1 = 0  
  
λ<sup>2</sup>=-1&nbsp;  
+
λ<sup>2</sup>= -1&nbsp;  
  
 
λ= ±i<br>
 
λ= ±i<br>
  
Substituting λ=3,&nbsp;λ=i and&nbsp;λ= -i respectively, we should have associated eigenvector [1 , 0 , 1] for&nbsp;λ=3, [-3i , -3+i , 1] for&nbsp;λ= i amd [3i , -3-i , 1] for&nbsp;λ = -i  
+
Substituting λ=3,&nbsp;λ=i and&nbsp;λ= -i respectively, we should have associated eigenvectors
 +
 
 +
<math>\begin{bmatrix}
 +
1 \\
 +
0 \\
 +
1 \end{bmatrix}</math>&nbsp;for λ=3, <math>\begin{bmatrix}
 +
-3i \\
 +
-3+i \\
 +
1 \end{bmatrix}</math> for&nbsp;λ= i and <math>\begin{bmatrix}
 +
3i \\
 +
-3-i \\
 +
1 \end{bmatrix}</math> for&nbsp;λ = -i  
 +
 
 +
 
  
 
The key to get the eigenvectors for the eigenvalues with complex numbers is still by reducing them into rref, but&nbsp;be extra careful duirng&nbsp;the row operations. As we know, i<sup>2</sup>= -1, so remember to susbtitute the value during computation to&nbsp;simplify the form. For these types&nbsp;of questions, it is good to check your answers by using MATLAB, so you can just be sure of everything.&nbsp;  
 
The key to get the eigenvectors for the eigenvalues with complex numbers is still by reducing them into rref, but&nbsp;be extra careful duirng&nbsp;the row operations. As we know, i<sup>2</sup>= -1, so remember to susbtitute the value during computation to&nbsp;simplify the form. For these types&nbsp;of questions, it is good to check your answers by using MATLAB, so you can just be sure of everything.&nbsp;  
Line 127: Line 220:
 
*If a question asks to find the eigenvalues and associated eigenvectors for a given BASIS, the procedure to solve the question is still the same. The only difference is you should somehow come up with a matrix A, that will act as&nbsp;a given matrix. Then you can find the *NEW* matrix&nbsp;and solve the question as usual.
 
*If a question asks to find the eigenvalues and associated eigenvectors for a given BASIS, the procedure to solve the question is still the same. The only difference is you should somehow come up with a matrix A, that will act as&nbsp;a given matrix. Then you can find the *NEW* matrix&nbsp;and solve the question as usual.
  
For example: Referring to the question in the first part about&nbsp;concept of eigenvalue and eigenvector, based on a linear transformation AND basis, use the matrix B that is obtained&nbsp;representing L with&nbsp;respect to the basis&nbsp;{t-1,1,t<sup>2</sup>} for P<sub>2</sub>, find eigenvalues&nbsp;and associated eigenvectors&nbsp;of L.
+
<u>For example</u>:  
 +
 
 +
*Let L:P<sub>2 </sub>→P<sub>2 </sub>be a linear opeartor defined by
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;''&nbsp; L(at<sup>2</sup> +bt +c) = -bt-2c''
 +
 
 +
Find a matrix B that represents L with&nbsp;respect to the basis&nbsp;{t-1,1,t<sup>2</sup>} for P<sub>2&nbsp;</sub>and consequently,&nbsp;find eigenvalues&nbsp;and associated eigenvectors&nbsp;of L.
  
&nbsp;Try to do it yourself to check your understanding about this topic. (Answers given below, so you can check)
+
Try to do it yourself to check your understanding about this topic. (Answers given below, so you can check)  
  
Answers: Eigenvalues&nbsp;and eigenvectors - ([0&nbsp;,&nbsp;0 , 1] for&nbsp;λ=0),&nbsp;([1 , 1 , 0] for&nbsp;λ= -2) and ([0 , 1 , 0] for&nbsp;λ = -1)<br>&nbsp;
+
<u>Answers</u>: Eigenvalues&nbsp;and eigenvectors - ([0&nbsp;,&nbsp;0 , 1] for&nbsp;λ=0),&nbsp;([1 , 1 , 0] for&nbsp;λ= -2) and ([0 , 1 , 0] for&nbsp;λ = -1)<br>&nbsp;  
  
Notes&nbsp;:  
+
<u>'''Notes&nbsp;:'''</u>
  
(1) The basic steps for solving the eigenvalues and eigenvectors are the same (no matter whether it's a 2X2 or&nbsp;3X3 matrix), i.e changing the matrix to a *NEW* form, computing the det, factorizing the characteristic polynomial to get the roots @ eigenvalues, and substituting the eigenvalues into the *NEW* matrix to obtain the associated eigenvectors.  
+
(1) '''The basic steps for solving the eigenvalues and eigenvectors '''are the same (no matter whether it's a 2X2 or&nbsp;3X3 matrix), i.e changing the matrix to a *NEW* form, computing the det, factorizing the characteristic polynomial to get the roots @ eigenvalues, and substituting the eigenvalues into the *NEW* matrix to obtain the associated eigenvectors.  
  
(2) Common mistakes done by students, including me - careless when copying the given matrix,&nbsp;forgetting that not all entries should include λ (therefore getting a ridiculous characteristic polynomial), forgetting to change the signs when changing the form to a *NEW* matrix, not careful when calculating the det (hence getting different answers), careless when factorizing the characteristic polynomial (especially the ones with 3 roots), careless when doing reducing the matrix.  
+
(2) '''<u>Common mistakes done by students</u>''', including me - careless when copying the given matrix,&nbsp;forgetting that not all entries should include λ (therefore getting a ridiculous characteristic polynomial), forgetting to change the signs when changing the form to a *NEW* matrix, not careful when calculating the det (hence getting different answers), careless when factorizing the characteristic polynomial (especially the ones with 3 roots), careless when doing reducing the matrix.  
  
(3)Tips for excelling in this section&nbsp;: (i) BE&nbsp;CAREFUL when doing all computations (ii) Understand everything involving the previous chapters (determinants, reduced row echelon form, basis for null space etc.) because this is one chapter where everything just comes in together. (iii) Do lots of practice, especially the ones involving complex numbers and the questions where you get a column of zeros when solving for the eigenvectors. These questions require great understanding of the previous chapters.
+
(3) <u>'''Tips for excelling in this section&nbsp;'''</u>: (i) BE&nbsp;CAREFUL when doing all computations (ii) Understand everything involving the previous chapters (determinants, reduced row echelon form, basis for null space etc.) because this is one chapter where everything just comes in together. (iii) Do lots of practice, especially the ones involving complex numbers and the questions where you get a column of zeros when solving for the eigenvectors. These questions require great understanding of the previous chapters.

Revision as of 22:36, 6 December 2010

1) Definition

• Let
              L:V → V

be the linear transformation of n-dimensional vector space into itself (a linear operator on V)
Then, λ is an eigenvalue of L if there exists a non-zero vector x in V such that 
          L(x) = λx

In other words, λ is a scalar associated with vector x to represent a linear transformation.

 • If λ = eigenvalue, then x = eigenvector (an eigenvector is always associated with an eigenvalue)
Eg: If L(x) = 5x , 5 is the eigenvalue and x is the eigenvector.
* λ can be either real or complex, as will be shown later.

 

  • An example about the concept of eigenvalue and eigenvector, based on a linear transformation:

(Read the matrix [a , b] as entry [a] in the first row and entry [b] in the second row)

• Given that L:R→ R2 be linear operator defined by

                   L ([a1 , a2]) = [-a2 , a1]

To find the eigenvalues of L and the associated eigenvectors, we have to find λ such that
                L([a1 , a2]) = λ[a1 , a2]
Since [-a2 , a1] = λ[a1 , a2], equate them together, and we can find that 
                 λa1 = -a2  (1) and λa2 = a1 (2)


By substituting (2) into (1), we obtain

λ(λa2) = -a2
λ2a2 = - a2
λ2 = -1


Since the square root of -1 is equal to the complex number i, we can conclude that λ = ±i
Because the eigenvalues are not real, we can say that there is no vector [a1 , a2] in R2 such that L([a1 , a2]) is parallel to [a1 , a2].

But if L is mapped from C2 into C2 , then L has eigenvalue i (eigenvector $ \begin{bmatrix} i \\ 1 \end{bmatrix} $ ) and eigenvalue -i (eigenvector $ \begin{bmatrix} -i \\ 1 \end{bmatrix} $  )

-The associated eigenvectors can be obtained by substituting the particular eigenvalue into equation(1) and (2), and using the coefficient matrix that we get, we can solve for the eigenvectors.
Eg: When λ= i, equation (1) becomes ia1 = -a2 , and equation (2) becomes ia2 = a1

Hence,

ia1 + a2 = 0      (3)

a1 - ia2 = 0       (4)
From here, we can come up with the coefficient matrix:

$ \begin{bmatrix} i & 1 \\ 1 & -i \end{bmatrix} $ 

By reducing the matrix to its echelon form, we can obtain the associated eigenvector for eigenvalue i, which is 

 $ \begin{bmatrix} i \\ 1 \end{bmatrix} $
Try to verify the associated eigenvector for eigenvalue -i based on the answer given above.

* Zero vector cannot be an eigenvector, but scalar zero can be eigenvalue* - IMPORTANT FACT


TIME FOR SOME MATRICES !!!

Before even attempting to find eigenvalues and associated eigenvectors for matrices, two things we should know: CHARACTERISTIC POLYNOMIAL OF A MATRIX and CHARACTERISTIC EQUATION OF A MATRIX.


  1. CHARACTERISTIC POLYNOMIAL OF A MATRIX

To find the eigenvalues and associated eigenvectors of a matrix, we should construct a *NEW* matrix out of a given matrix. The *NEW* matrix is where we can get the characteristic polynomial of the given matrix from. 

The significance of the characteristic polynomial of a matrix : the roots of the polynomial are the eigenvalues of the given matrix (Theorem 7.1), and by substituting eigenvalues into the characteristic polynomial and solving for the solution, we can obtain the associated eigenvectors for the eigenvalues of the matrix

    2. CHARACTERISTIC EQUATION OF A MATRIX

In order to find the eigenvalues and associated eigenvectors of a given matrix, we would need to have a particular   equation.  The equation could be obtained  by using the concept of determinants.

.The equation : p(λ) = det(λIn - A) = 0, where λ is the variable that represents the eigenvalues, In = Identity matrix and A = the given matrix


HOW TO CONSTRUCT A CHARACTERISTIC POLYNOMIAL (A SHORTCUT):

Let's say the question requires us to solve for the eigenvalues and associated eigenvectors of a nXn matrix A,

  $ \begin{bmatrix} 1 & 1 \\ -2 & 4 \end{bmatrix} $

Step 1 :To come up with the characteristic polynomial of the matrix, change the entries on the main diagonal to from [x] to [λ-x] (or from [-x] to [λ+x]), and change the sign of the other entries of the matrix (if the entries are zero on the diagonal, just change to λ, but if the other entries are zero, just remain as zero)

For the question asked above, the characteristic polynomial would be [λ-1 -1 , 2 λ-4] (Note the entries of the main diagonal have a λ sign, and the other entries have changed signs).

Step 2 : Using the concept of determinants learnt in Chapter 3, compute the determinant of the matrix (Note that we are going to get an algebraic equation, so be careful when doing the computation, a small mistake might result in a wrong answer)

Using the concept of det, we can compute the characteristic polynomial of the matrix. To refresh our minds,

det (A) = (λ-1)(λ-4)-(-2) = 0

λ2-5λ+6 = 0

(λ-2)(λ-3) = 0

Hence the roots of the characteristic polynomial @ the eigenvalues of the matrix are λ=2 and λ=3.

Step 3 : To compute the eigenvectors associated with the eigenvalues, there are two ways: (1) using the equation A(x) = λ(x), where A = the given matrix, x = the solution (eigenvector) and λ = eigenvalue or (2) using the eigenvalue obtained, just substitute it back into the *NEW* matrix and solve for the solution (eigenvector) by doing reducing the matrix to reduced row echelon form (rref).

For this question, let's try to solve for the associated eigenvectors by using the second way, i.e substituting the eigenvalue into the *NEW* matrix and doing rref.

When λ = 2, we have the matrix

$ \begin{bmatrix} 1 & -1 \\ 2 & -2 \end{bmatrix} $ $ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} $

After reducing the matrix to rref, we have

$ \begin{bmatrix} 1 & -1 \\ 0 & 0 \end{bmatrix} $ 

hence indicating that the matrix have a nontrivial solution.

Choosing the second column as our independent variable (because there is no leading one), we have x2 = r, and x1 - r = 0, so x1 = r.

Hence we have

$ \begin{bmatrix} r \\ r \end{bmatrix} $

as our solution, and by factorizing r out of the solution space, we have eigenvector

$ \begin{bmatrix} 1 \\ 1 \end{bmatrix} $ 

for λ=2.

Repeating the same method to find the eigenvector when λ=3, we have the matrix

$ \begin{bmatrix} 2 & -1 \\ 2 & -1 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} $ 

After reducing the matrix to rref, we have

$ \begin{bmatrix} 1 & -1/2 \\ 0 & 0 \end{bmatrix} $ 

hence indicating that the matrix have a nontrivial solution.
Choosing the second column as our independent variable (because there is no leading one), we have x2 = r, and x1 - r/2 = 0, so x1 = r/2.

Hence we have

$ \begin{bmatrix} r/2 \\ r \end{bmatrix} $

as our solution, and by factorizing r out of the solution space, we have eigenvector

$ \begin{bmatrix} 1/2 \\ 1 \end{bmatrix} $ 

for λ=3.


SOLVED!!!

 

Second example(slightly more difficult, but could be solved nonetheless)

Question: Compute the eigenvalues and eigenvectors of the following nXn matrix B

$ \begin{bmatrix} 0 & 0 & 3 \\ 1 & 0 & -1 \\ 0 & 1 & 3 \end{bmatrix} $


Solution: If we still remember lessons from Chapter 3, it will be easy to compute the det, hance getting the characteristic polynomial. The first step to solve this question is by constructing the *NEW* matrix. Note that there are a few zeros in the diagonal of the matrix, so do not forget to change them to λ. Therefore, we will get a matrix like this: [λ 0 -3 , -1 λ  1 , 0 -1 λ -3]


Note that there are a few zeros in the *NEW* matrix, this will make computations much easier. From Chapter 3, we know that it is easier to find det when we calculate it through a row or column where there is/are zero(s) as they will simplify calculations. In this case, we compute the det through the first column. 

We should get characteristic polynomial that looks like this :

p(λ) =λ3-3λ2+λ-3


This is where most students have problem, especially during exams. Although the polynomial is to the power of three, do not panic. Recall some lessons from MA165. To solve for the roots, we can use trial and error to solve for one root then by using the long division method, we can get the two other roots. Depending on how big the numbers in the polynomial, it is quite easy to do this, but as always, be careful. By trial and error, we know that λ=3 for one root, hence we have to find the other roots. To do this, divide the polynomial with (λ-3), and we should get (λ2+1). As we can see, we will get complex numbers for the other roots. 

λ2+1 = 0

λ2= -1 

λ= ±i

Substituting λ=3, λ=i and λ= -i respectively, we should have associated eigenvectors

$ \begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} $ for λ=3, $ \begin{bmatrix} -3i \\ -3+i \\ 1 \end{bmatrix} $ for λ= i and $ \begin{bmatrix} 3i \\ -3-i \\ 1 \end{bmatrix} $ for λ = -i


The key to get the eigenvectors for the eigenvalues with complex numbers is still by reducing them into rref, but be extra careful duirng the row operations. As we know, i2= -1, so remember to susbtitute the value during computation to simplify the form. For these types of questions, it is good to check your answers by using MATLAB, so you can just be sure of everything. 


SOLVED !!!!

  • If a question asks to find the eigenvalues and associated eigenvectors for a given BASIS, the procedure to solve the question is still the same. The only difference is you should somehow come up with a matrix A, that will act as a given matrix. Then you can find the *NEW* matrix and solve the question as usual.

For example:

  • Let L:P2 →P2 be a linear opeartor defined by

               L(at2 +bt +c) = -bt-2c

Find a matrix B that represents L with respect to the basis {t-1,1,t2} for Pand consequently, find eigenvalues and associated eigenvectors of L.

Try to do it yourself to check your understanding about this topic. (Answers given below, so you can check)

Answers: Eigenvalues and eigenvectors - ([0 , 0 , 1] for λ=0), ([1 , 1 , 0] for λ= -2) and ([0 , 1 , 0] for λ = -1)
 

Notes :

(1) The basic steps for solving the eigenvalues and eigenvectors are the same (no matter whether it's a 2X2 or 3X3 matrix), i.e changing the matrix to a *NEW* form, computing the det, factorizing the characteristic polynomial to get the roots @ eigenvalues, and substituting the eigenvalues into the *NEW* matrix to obtain the associated eigenvectors.

(2) Common mistakes done by students, including me - careless when copying the given matrix, forgetting that not all entries should include λ (therefore getting a ridiculous characteristic polynomial), forgetting to change the signs when changing the form to a *NEW* matrix, not careful when calculating the det (hence getting different answers), careless when factorizing the characteristic polynomial (especially the ones with 3 roots), careless when doing reducing the matrix.

(3) Tips for excelling in this section : (i) BE CAREFUL when doing all computations (ii) Understand everything involving the previous chapters (determinants, reduced row echelon form, basis for null space etc.) because this is one chapter where everything just comes in together. (iii) Do lots of practice, especially the ones involving complex numbers and the questions where you get a column of zeros when solving for the eigenvectors. These questions require great understanding of the previous chapters.

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang