Eigenvalues and Eigenvectors
Transcript
[Music] welcome to understand the math before you begin be sure to check out the video description below for a link to free guided notes that you can download and fill in as you watch this video this is the sixth part of a seven-part series on topics that commonly appear on an introductory linear algebra midterm or final exam this video goes over six topics related to igen values and igen vectors let's begin with an introduction to igen values and igen
vectors we'll first look at an example where we're given a matrix a and three vectors we're going to compare the length and direction of each Vector to the length and direction of our Matrix times each Vector let's start with a * X it's equal to 1 2 1 0 Time 1 1 and that gives us 2 2 A * X2 is our Matrix a * X2 which is 1 - 1 and that gives us 0 2 our last one is a * X3 and that's equal to our Vector a * X3 which is -1
2 and we get 1 - 2 let's now plot X1 X2 and X3 along with these three vectors that we just calculated we'll plot X1 X2 and X3 first X1 is 1 one and looks like this X2 is 1 - 1 and looks like this our last one is X3 it's equal to Min -12 and it looks like this let's now plot ax1 ax2 and ax3 ax1 is equal to 22 so it looks like this ax2 is equal to 02 and we'll plot that here and then lastly ax3 is 1 - 2 and that looks like
this let's notice that X1 and ax1 have different lengths but point in the same direction X2 and ax2 two have different links and they have different directions and ax3 and X3 have the same length but point in opposite directions I've summarized this on our next page ax1 and X1 have different lengths but the same direction from our calculation we found that ax1 is equal to 2 * X1 so we can think of this as a multiple of
X1 ax2 and X2 have different lengths and different directions so we're going to say that ax2 is not equal to X2 or a multiple of it lastly ax3 and X3 have the same length but opposite direction so we say that ax3 is equal to Min - X3 and that also is a multiple of x3 we'll return to this after we Define what an igen value and an igen Vector is an i vector is a nonzero Vector that's very important that when multiplied by a
matrix produces a scalar multiple of itself it also changes at most by a scalar Factor when a transformation such as a multiplication by a is applied to it if a is an in byin Matrix and X is a nonzero Vector in RN we can say that X is an igen Vector of a if a * X is equal to Lambda X for some scalar Lambda so that's the definition of our igen vector and then we would say that that Lambda is an igen value of x so if ax is equal to Lambda X and Lambda is a scalar
then X is an igen vector and Lambda is an IG value let's go back up to the top of the page and let's see what this means for our X1 X2 and X3 since ax1 is equal to a multiple of X1 we say that X1 is an igen Vector of a and two is our corresponding igen value for X2 it is not a IG Vector because it is not a multiple of ax2 so we'll write down ax2 is not an igen Vector of a and then X3 just like X1 it is an igen Vector of a and minus1 is our corresponding igen value
let's head down to the bottom of our page now and let's do an example where we need to determine if x is equal to 2 is an igen Vector of this Matrix a and if it is we need to find out what's the corresponding IG value we'll start by multiplying a * X so a * X is equal to 38 0 -1 * 1 two and that gives us a three and then a six and we notice that 36 is a multiple of one two so that tells us that X is an igen Vector of
a so I'll write down yes and the corresponding igen value is that scalar right there so our en value is Lambda is equal to 3 what's going on physically is that multiplication by a has stretched our Vector X by a factor of three we'll now go over a procedure for finding the igen values of a matrix we know that Lambda is an IG value of Matrix a if ax is equal to Lambda X and X is not equal to zero let's start
with a * X is equal to Lambda X and let's come up with an equation for finding the igen value let's move everything over to the left hand side so we have a * x - Lambda X is equal to 0 we'll then pull out our a and our Lambda so this is a minus now we can't just pull out a scalar because we have a matrix on our left so we're going to pull out Lambda * itimes our Vector X is equal to 0 to make things easier here let's let Aus Lambda I equal
B so this gives us B * X is equal to zero Since By definition X cannot equal zero our equation B * X is equal to 0 must have a non-trivial solution this then tells us that the determinant of B has to equal zero because we cannot have a unique solution that then tells us that determinant plugging back in for B A minus Lambda I must be also be equal to zero and that's the equation that we're going to use to find our igen
values this leads us to the following theorem our theorem says if a is an N byn Matrix then Lambda is an I value of a a if and only if and here's where we're going to plug in that new equation determinant Aus Lambda I is equal to Zer there is a name for that equation and it's called the characteristic equation so the characteristic equation of a is determinant Aus Lambda I is equal to Z and and if we take away the equal and the zero we get what's called our
characteristic polinomial so that's just equal to the determinant a minus Lambda I we'll now do an example where we're asked to find the characteristic polinomial characteristic equation and igen values of a we'll Begin by finding a minus Lambda I let's write down a 38 0 -1 and then we subtract off Lambda times our identity Matrix and that gives us 3 - Lambda 8 0 -1- Lambda so going forward you can probably
skip that step and then just know that you have to subtract off Lambda off the main diagonal let's now compute our determinant so our determinant a minus Lambda I is the determinant of 3 - Lambda 0 and then 8 - 1 - Lambda and our determinant is then 3 - Lambda time * -1 - Lambda and that is equal to Lambda SAR looks like we have a-3 and a + one so - 2 Lambda - 3 our characteristic polinomial is going to be Lambda 2 - 2 Lambda minus 3 our
characteristic equation is going to be Lambda SAR - 2 Lambda minus 3 is equal to Zer and then our igen values they are obtained by setting this expression equal to zero so that gives us 3 - Lambda - 1 - Lambda is equal to 0 so Lambda is equal to 3 and Lambda is equal to minus1 so our IG values are Lambda is 3 and Lambda is -1 if you're finding this video helpful please give it a thumbs up and drop a comment below
now that we know how to find IG values we're going to learn how to find igen vectors and a basis for an igen space since we already know what an igen Vector is let's start by learning what an igen space is the igen space of a matrix is similar to the null space of a matrix let's remind ourselves what the null space is a null space of a matrix a is all solutions X to ax is equal to zero the igen space of a matrix a corresponding to an
IG value Lambda is all solutions to instead of a we're going to have Aus Lambda I * X is equal to Z Let's Make a note that our IG space contains the zero Vector that's always a point of confusion for students because an igen Vector cannot be zero but an igen space can contain the zero Vector so it contains the zero vector and all igen vectors corresponding to Lambda
let's now look at a procedure for finding igen vectors and bases for igen spaces X is an igen Vector corresponding to igen Value Lambda if Aus Lambda I * X is equal to 0 note that this is just another way of saying a * X is equal to Lambda X to find our igen Vector X we will reduce a minus Lambda I augmented with zero to reduced Echelon form let's now do an example where we're given a matrix and asked to find an IG vector and basis
for the igen space corresponding to an IG value equal to 3 we'll begin with the augmented Matrix Aus Lambda I augment of zero and then we'll plug in what that is our Lambda is equal to 3 so we have a 3 - 3 8 0 -1 - 3 augmented with zero let's simplify that so this is 08 0 - 4 0 0 now we're going to reduce that to reduced Echelon form so we can do two things at once let's switch the rows and let's divide our bottom row by eight so this is is going
to give us a 1 minus a half on top because we switch the rows and our zero row now goes to the bottom we have one pivot and that's going to enable us to solve for X1 so we say that X1 is equal to 12 X2 and X2 is our free variable this gives us a solution at X is equal to X1 X2 and that's going to be an X2 * a 12 1 X2 can take on any value from minus infinity to Infinity so we have an infinite number of igen vectors to find just one igen vector we will choose a value for
X2 I always try to choose the value that's going to make things more simple so in this case let's choose X2 to be two so the fraction's going to go away so one IG Vector is going to be 2 * 12 which is going to be 1 and then 2 * 1 is 2 so one IG Vector is equal to 1 2 our basis for our IG space is going to contain this igen vector VOR before we learn about diagonalization we need to talk briefly about similar matrices if a and
b are n byn matrices then B is similar to a if there is an invertible Matrix P let's underline that such that b is equal to p inverse * a * P we say that a is similar to B if B is similar to a let's now Define what a is equal to we'll begin with our definition for b so B is equal to P inverse a p and we want to find a so let's multiply on the left by P so P * B P * P inverse is our identity so we don't even need to write that down so that then gives us a * P now to
solve for a let's multiply on the right by P inverse so that gives us p b p inverse is equal to a to summarize we say that A and B are similar to each other if a is equal to p b p inverse and then likewise B is equal to P inverse a p we're going to use that when we study diagonalization let's talk a little bit more about p p is called a similarity Matrix or a change of basis Matrix similar matrices have a lot of the same properties I've listed some of them here it's
very important to note that if two matrices are similar they will have for instance the same determinant however if two matrices have the same determinant they may may or may not be similar Let's do an example where we're asked to show that A and B are not similar matrices let's underline that we can show this a lot of different ways by looking at the properties and calculating those properties for each Matrix I think the determinance is probably the easiest so let's
find the determinant of each of these matrices the determinant of a is going to be 16 + 2 which is 18 and the determinant of B is going to be 16us 2 which is 14 so the determinant of a is not equal to the determinant of B so that tells us that A and B are not similar
our next topic is on diagonalization I remember the first time I taught this I could not say that word correctly I just got Tongue Tied when I tried to say it one reason for diagonalizing a matrix is that it makes it easier to analyze Transformations such as T of X is equal to a * X or t of V is equal to a * V also powers of a can be computed more efficiently if a is diagonalized we say that a matrix a is diagonalizable if there exists an N by n diagonal
matrix D and an N byn invertible Matrix p so let's underline diagonal matrix D and invertible Matrix P such that a is equal to p d p inverse or D is equal to P inverse a * p a is the Matrix that we want to diagonalize and D is our diagonal matrix so we can say that p is a similarity Matrix that diagonalizes a and likewise D is a diagonal matrix similar to a that means that d and a are going to have the same IG
values when we diagonalize a matrix we need to find our Matrix p and our Matrix D let's go over a procedure to find P and D we'll start by looking at the structure of both p and d p is an invertible N byin Matrix with linearly independent columns so we'll let P be equal to V1 V2 these are the vectors making up The Columns of P all the way up through VN and remember the N is associated with the a a is our n byn Matrix we'll make a note that V sub I cannot equal zero and we'll see
why in just a few minutes now let's look at the structure of d d is a diagonal matrix that looks like this C1 all the way down to zero all the way over to zero and then along the diagonal is C2 all the way down through CN on the next page we'll find our vectors V and our constants or scalers C to find VI and CI will'll Begin by writing our Matrix a The Matrix we want to diagonalize as a is equal to p d p inverse multiplying on the right by P we get AP is equal to P * D now
we'll plug in what p is I've already done that on the left let's do that on the right and in fact on the right we can plug in both P and D so our p is our V1 V2 all the way up through VN and our d is our diagonal matrix C1 all the way to CN and then zero elsewhere now we're going to multiply everything through if we pull our Matrix a in our Matrix a is going to multiply all of those vectors our right hand side now looks like this we have
C1 V1 C2 V2 all the way up through CN VN now we're going to equate The Columns our first column is av1 on the left and it's going to equal C1 V1 on the right all the way up through our last column AVN on the left is equal to our last column CN VN on the right notice that these equations are the equations for igen vectors so that tells us that V sub I is an igen Vector of A and C subi is the corresponding igen value of a
let's summarize this so that we'll have something to refer back to our p is equal to V1 V2 all the way up through VN and a is an N byn Matrix let's just write that over here so a is n byn and then D and then D instead of written with our C's we're going to substitute that our C's are equal to our lambdas and we're going to get Lambda 1 Lambda 2 all the way down to Lambda n and then zero elsewhere so D contains our corresponding IG values of a we have two more little tidbits of
theory and then we'll go do an example we say that a will be diagonalizable if it has in linear L independent igen vectors or in distinct IG values so if we end up with in linearly independent IG vectors or in distinct IG values we know that a is going to be diagonalizable to determine if a has in linearly independent igen vectors we have to find a basis for each IG value and count the total number of vectors obtained so let's just write that us and count the
vectors we're now going to do a really important example where we're going to find a matrix P that diagonalizes a given Matrix a and we're also going to find D often when you diagonalize a matrix that's exactly what you're doing you're having to find p and you're having to find D our first step is to find the igen values and construct D to find the igen values we're going to solve determinant a minus Lambda I is equal to zero to find the igen vectors we're going to take a minus Lambda I augment it with zero and put it in reduced Echelon form and that will enable us to find V
let's begin with step one we take the determinant of a minus Lambda I so this is 3 - Lambda - 2 1 and then minus Lambda set that equal to zero so this gives us 3 - Lambda * - Lambda minus a -2 so that's + 2 is zero we multiply everything through so we have a Lambda squarus 3 l Lambda and then we have a + 2 is equal to Z we're going to factor that so this is Lambda - 2 Lambda - 1 is0 and that gives us Lambda is equal to 2 and Lambda is equal to 1 I always
tell students once you find the ion values go ahead and construct D so you don't have to go back and rethink about it when you get to the end of the problem so our D is going to going to look like this 2 0 0 1 students always ask does it matter which one goes in which column and the answer is no you can put the igen values in any column that you want however it's super important when we find P that the I values and the corresponding IG vectors have to be in the same
column let's now complete our second step this gets a little lengthy what we're going to do is we're going to find the IG vectors corresponding to each IG value so we have to do this twice so let's start with Lambda is equal to 2 and we're going to take Aus Lambda I augment it with zero and this is going to give us you know what let's write down our a again down here so that we can see it so our a is equal to 3 - 2 1 0 there we go now we can refer back to that so we're
going to subtract off two off the main diagonal so 3 - 2 is 1 so we have a 1 1 - 2 0 - 2 is - 2 and then you can see that our second row is a multiple of our first row so this reduces very nicely and this is going to give us the V1 is equal to minus V2 and then V2 is our free variable so our vector v our igen Vector is going to be Min -11 V2 and we get to choose a value for v2 I'm just going to choose it equal to B1 so our igen vector is going to equal Min -11 let's notice
the two is in the First Column so let's write down what p is so our first column is going to contain the igen vector minus 1 one we then do the same thing for Lambda is equal to 1 our a minus Lambda I augmented with zero we're going to subtract one off the main diagonal there's our a so 3 - 1 is 2 1 - 2 and then 0 - 1 is min -1 we're going to augment this with zero and we have repeating rows so we can easily reduce this let's divide the top row by two so we have a one
and a half 0 0 so we end up with uh V1 is - 12 V2 and V2 is our free variable so we can say that our V is equal to - 12 1 V2 we can choose a value for v2 fractions are usually more messy so let's choose V2 to be equal to two or you could pick it to be -2 if you don't want a negative in the first entry I'm just going to choose it equal to two so our igen Vector is equal to we're kind of running out of space it's equal to Min -12 so let's take
that and let's put that in here for p so we have successfully diagonalized our Matrix a because we found a diagonal matrix D and our corresponding Matrix p okay we made it to the last topic so our last topic is complex igen values and igen vectors we'll Begin by learning a little bit about complex matrices complex matrices are matrices whose entries May either be real numbers or complex numbers or a combination of real and complex numbers let's note that a real Matrix is a complex Matrix whose entries have zero imaginary part let's look at a typical complex Matrix example where we get to learn a little bit
about complex Matrix arithmetic in this example we're asked to find what we call a bar which is the conjugate of a and then we're asked to find the real part of a and the imaginary part of a the conjugate of a looks like this what we're going to do is we're going to take the conjugate of each of those four entries so the conjugate of 1+ I is 1 minus I the conjugate of minus I is I four stays as it is and then the conjugate of 6 - 2 I is 6 + 2 I and the real part of a what
we're really doing when we talk about the real and imagining Parts is we're just splitting our Matrix apart into two pieces so think of our a as equal to our real part of a plus I times our imaginary part of a so our real part of a is going to be 14 06 for our imaginary part of a we're going to pick up the constants that are multiplying the I's so that's going to be a 1 minus one A 0o and A minus 2 before we do an example where we find complex igen values and igen vectors let's note that if a real Matrix has complex igen values
the igen values and their corresponding igen vectors occur in conjugate pairs this is great news because it's going to cut our work in half because once we find one igen value we can find the other IG value same thing with the IG vectors in this example we're asked to find the igen values and igen vectors of a and those IG values and igen vectors are going to end up being complex to find the igen values
we're going to begin with determinant a minus Lambda I is equal to Z this gives us 2 - Lambda - 3 3 and another 2 - Lambda is equal to0 we'll multiply this out this is is 2 - Lambda * 2 - Lambda - A -3 * a 3 so that gives us a + 9 is equal to 0 let's write this as 2 - Lambda 2 + 9 is equal to Z let's move the 9 to the right hand side if we take the square root of both sides sides we get 2 - Lambda is equal
to the plus orus < TK of - 9 let's remind ourselves that the < TK of minus1 is I so this is Plus or - 3 I this is going to give us Lambda is equal 2+ or minus 3 I alternatively you could multiply this out and you could use the quadratic formula I think that might be a little bit harder but you will get the same answer so we have our igen values now we have to find our igen vectors hang with me this won't take too
long so let's write down Lambda is equal to 2 + 3 I and remember once we find the IG Vector for this one our other IG Vector is just going to be the complex conjugate and we won't have to do any work we'll begin with a minus Lambda I augment that with zero so this gives us oh we lost a there's a so we have 2 minus 2 + 3 I and then 3 and then a minus 3 and then 2 - 2 + 3 I now we can move our page up let's simplify this so this gives us a Min -3 I a 3 A Min -3 and a -3
I just to make things easier let's divide Row one and Row Two by minus 3 this is going to give us an i a minus1 and then a one again we're dividing by minus 3 and we get an I now the easiest thing to do would be to switch Row one and row two so let's do that so this gives us a one and an i zero and then an IUS one and zero we'll work off this pivot and then we have to get the I to be a zero so we're going to multiply Row one by minus I and add it to row two so row two is going to
be replaced with minus I Row 1+ Row 2 I'm going through these steps carefully because when I did this type of problem with my students the complex arithmetic was really hard so we have a 1 i0 we're multiplying the top row by minus I so that gives us a zero and then an i * an i is a minus1 and we take the negative of that which is one 1 - 1 is 0 great so this tells us that V1 is equal to minus I V2 so our V is given by V1 V2 so this becomes a minus I and a 1 * V2 so our igen vector
is equal to if we choose V2 just to be one our igen Vector is equal to minus i1 and then for Lambda is equal to 2 - 3 I our I Vector is going to be the complex conjugate so that is going to equal I I 1 for the complex conjugate you change the sign in front of the I so our minus I became an i we did it we made it to the end you may want to check out the next video in this series it's the last video in the series and it's on
orthogonality if this video has been helpful to you please consider subscribing to my Chanel Channel keep believing in yourself and have a great rest of your [Music] day

Ask anything
We've read this whole study set, so questions about it get the best answers.