Eigenvalues and Eigenvectors
Transcript
Right. Let us look at the concept of a values and a vector. Again vectors. So if you are given such equation a x a * xar is equals to lambda * xar a it is your matrix a given matrix which is a square matrix n by n. xar is your akin vector and your lambda is your akin value. given a given um an example here I've written a matrix 555 where your a it's that matrix your your x by it's the one one
and your lambda is 10 and 1 one right so this is just an example the picture that you're going to have right if you are trying to understand it deeply you need to understand that whenever you have an have a matrix Yeah, right. You have that matrix. You have this vector and vector V1 which is 1 one. Right? And if you take this vector here and multiply it with this function this not this function this matrix here what will happen this vector will be elongated it's
the same line by how many unit by 10 units so v1 prime it's the same vector just now it's elongated it's going to be 10 10. So you need to understand that a vectors and a values um this is what it does in a in a particular matrix right how can we find the 10 10 1 and the 10. So let us have the equation again ax is equals to lambda x. Now if you trying to solve for lambda because you first need to find your values of lambda to solve for uh for the aen
vector. So this is what is going to happen. You're going to take this part to the other side. So I'm going to have ax minus lambda x is equals to zero. What you need to know that lambda is just a constant. Lambda is just a constant. and these two uh these two are actual vectors. So to simplify some stuff what you need to do you need to take you need to make uh x the subject you need to take out x is the highest common factor. So I'm going to have a minus lambda * x is equ=
to z. Right? And what I'm what we're going to do we just going to say two conditions uh two conditions right two conditions that this thing will happen. Now for Xbar need to be a non zero vector. So we need XAR to be a nonzero vector for this thing to work. Right? For this thing to work, we need this thing here to be a nonzero vector. So we have something which is called a nontrivial solution. We have a non-trivial solution. And for xbar to be a zero vector
zero vector then we have a trivial solution. Right, we have a trivial solution but we are going to focus on a non-trivial solution. Now let us proceed from this equation. So what I'm going to do I'm going to take the determinant of a minus lambda is equals to z. But there is a problem here. There is a problem a big problem because a sorry because a not a a is a matrix and a lambda is a vector. Just remember that a is a matrix and a lambda is just a a constant. So in
this case you have a matrix a like a b c and d minus lambda. You cannot subtract these two things here because they have different orders. Because a is a 2x two uh 2x2 and lambda is a 1 by 1. You cannot add them. But what we can do, we need to multiply this thing here by an identity matrix to add it. So by what do I mean by that? I'll have something like this. out of a b c d minus lambda * 1 1 0 0 1 because if you multiply this thing if you multiply lambda by an
identity matrix actually I'm not changing anything I'm not changing anything so by multiplying by the identity matrix I'm making sure that I can add these two things here I can add them so what will I'll have a c b d minus lambda 0 0 lambda. Remember this lambda here will multiply each entry inside that identity matrix to have such format. Now you can add these two matrices. Right? So here
now I'm going to have the determinant of a minus lambda i n is equals to z. It's going to depend to the order of matrix a that n it's going to be. So for a 2x2 matrix so I'm going to have i2. For a 3x3 matrix I'm going to have i3. Right? It's not always going to be a 2x2 matrix that I'm going to multiply lambda. It's always going to depend on the matrix A and its order to have that. Right?
This thing the determinant of A minus lambda I N is equals to zero. It's called the characteristic equation. It's called the characteristic equation, right? It's called the characteristic equation, right? So, it's going to help you to find the determinant of um it's going to help you to find the values of a particular matrix. Right? So, let us look at an example. Oh, no. We're not going to look at an example, but we're just going to focus on the characteristic equation. Right now,
what you'll have after finding after finding the determinant of this thing, we we we will have A polomial polomial of degree same as the order of a matrix. We are going to have a polomial. If you're going to simplify this thing, we're going to have a polomial of a degree same as the order of a matrix. Right? If you're trying to find the values of a 2x2 matrix, so I'm going to have a polomial that will start with lambda square. If
you are finding the determin if you are trying to find the values of a 3x3 matrix, you're going to have a polomial starting with lambda cubed and so on. Right? So let us look at the polomial. for a for a 2x2 matrix. I'm just only going to do for a 2x2 and a 3x3. Your characteristic equation car characteristic equation is given as follows. So it's always going to start to be positive lambda square minus the trace * lambda plus the determinant of matrix. You are trying to find the the plus the determinant of a matrix that you're trying to find the values for. This is always the case, right? And for a 3x3 matrix,
right? The characteristic equation is given as follows. Uh it's given as follows. is given as follows as positive lambda cubed minus the trace lambda squared plus the sum of - in the dional lambda last determinant of a matrix is equals to zero. So this is the characteristic equation of a matrix. So um this is the thing that you need to follow to find the AEN values and for a vectors to find the AEN vectors vectors we need to follow
the row operations or we need to perform something called the row echelon form. We need to perform the row echelon form. All right. So this is the theory behind on how to find the aen values. This is just theory. All right, I'm just going to do two examples on how to find the aen values. The aen values and the aen vectors, right? Only two examples actually four. Yeah, actually four. Four examples. Uh let's change that to that. Let's change black. Let's change it to
to this one. Right. So find the values and again vectors. All right. So let us try to find the again values and the again vectors. So for a let me just give you a matrix A which is 5 55 5. Let us try to find the values. To find the A values I need to say the determinant of A minus lambda I2. Why is it I2? Because the order of this matrix is a 2x2. So we need to find I2 and the next step that you need to follow this is must
be this step. The determinant of 5 - lambda 5 5 and 5 - lambda is equals to zero. Whenever you're trying to find the values you're always going to subtract your lambda in the main diagonal. You always sorry you're always going to find the aken you subtract the aken values in the main diagonal. So it always like that and then after this you need to find the determinant of this matrix.
Finding the determinant of the matrix I'm going to have 5 - lambda * 5 - lambda - 25 is = 0. Now you can waste your time now to simplify the thing but what you can actually do you need to follow this rule here because it's a 2x2 so first I'm going to start with lambda squ minus what minus the trace of a matrix so we need to minus the trace so the trace of a matrix it is when you add the entries
in the main diagonal so it's 5 + 5 which is going to be 10 lambda And then we need to find the determinant of this matrix because the rows are equal and the columns are also equal. We will say that the determinant of that matrix is zero. You can try to find by yourself. But the determinant of this matrix is zero. So this thing is equals to 0. And then if you factoriize lambda, I'm going to have lambda minus 10 is equals to 0. And sorry. And now I am going to have lambda 1 is = 0
and lambda 2 is = 10. So always the first lambda must be the smallest and the second lambda must be the biggest. So lambda 1 is equals to zero and lambda 2 is equals to 10. Right? So some people some university prefer that you study uh from uh you study uh how to find the values but some uh will actually want you to find the vectors. Now if you know that you uh you want to find the again values you can just skip until you find me trying to find an value of another matrix. But for
those who are trying to find the egg vectors also this is the procedure right to find the egg values you need to remember this formula actually a x bar is equals to what not a xar this formula that says lambda lambda not lambda sorry guys sorry it's actually a a minus lambda I n * x to give you zero because what I'm just going to do I'm going to substitute lambda to this equation here and multiply by the column vector and equity dal matrix. So this is the procedure. So I'm going to have if you substitute zero in that equation I'm going to have five five five times this is always the case x1 x2 is equals to 0 0 right 0 0 and then find the two systems of equations but you can notice I love it when m you guys uh stuck on how to find the
vectors. If you can notice this row and this row are actually the same thing because those two rows are actually the same thing. Uh I said when we did linear linear dependence and linearly independent we said that the first row is depending where the first row created this the second row right. So because the second row is depending on the first row, I am going to let this last entry of X2 to actually give me alpha. I'm just going to let it to be alpha because these two we have
two equations which are the same, right? We have two equations which are the same and they give us the same answer. And we are expected to solve these two equation to give us x1 and x2 because uh row two is created from row one. Row two actually have is called a free a free a free row because that is a free row. It's going to correspond with the second variable which is called as a free variable which is alpha. A free variable is created when a row is depending on
the other row. Since row two is depending on row one, which means row 2 is the same thing as x2, we will say that x2 is alpha. And then to solve for x1, we need to write the top equation or the second equation. So we are going to have 5 x1 + 5 x2 is equals to 0. But we know that uh we know that x2 is alpha. I'm going to have 5 x1 + 5 alpha =0 uh to the other side and then x1 is actually alpha right x1 is alpha so v1 is actually alpha and alpha and then your v1 it's alpha is equals
to1 always know this always know this you need to understand that an egg vector is a vector of any variable of any number, right? It is a vector of any number. But our university prefer that your first entry is positive and it's not a fraction. You must not have fractions on the a vector. You must always have whole numbers, whole numbers. And you need to have your negative down not in the
first entry. Which means I took out negative alpha as highest common factor because your again factor must not have a negative on the first entry. It must have um negative on the other entries down below. Right? I think that seems clear. And the next thing that you need to do, we need to find the vector for lambda 2. To find the egg and vectors for lambda 2, what I'm just going to do, I'm going to take this 10 and substitute it in there. Substituting that 10, I'm going
to have 10 - 5 - 10, which is -5. 5 - 10 is -5 times. Remember, we need to have a standard. The standard that we have is that we need to multiply this by x1, x2, and equate it to 0 0. Right? to equate it to 0 0 and then if they're equating to it 0 0 you can notice that we have row one in this matrix and row two in that matrix and to get row two you need to multiply -1 on the first row. Can you notice that to get row two you need to multiply -1 on the first row. In that case,
we'll say that row two is a free row because it's depending on the first row. And then this X2, I'm just going to let it to beta. I'm just going to let it beta. You can also let it alpha, but I'm just making things different, right? So, I'm going to let it beta. And then if x2 is equals to beta, try to solve the system. So I'm just going to use any row as a system of equation. So I'm going to choose O2 X1 - 5 X2 is = 0. We know that X2 is beta. 5 X1 - 5 beta is = side X1 is actually beta right in that case. So V2 is actually beta. Beta take out beta is the highest common factor. beta is 1 one. So in this case you can notice that um your v2 is actually 1 one that is your v2 and for v_sub_1 it's 1 -1 right this is the procedure to solve the values for um for a 2x2 matrix. Let us look at another example on how to find the values of this matrix. All right. Um the first one
uh the second example it's this matrix uh B 2 3 3 3 2 actually some of you know that the transpose of this matrix is actually what the original matrix because if you take the transpose of B we are going to get the same matrix really it's called what a Hamilton matrix I cannot remember really skew matrix or symmetric some it's It's a matrix in that format. So what we need to do now we need to find the determinant of this matrix. The determinant is equals to B
minus lambda I 2 is equals to what? Is equals to Z. Right? This is the matrix that you will get. This is the matrix. This is the equation which you need to do. And then after this you need to say the determinant of 2 - lambda 3 3 2 - lambda. You always going to subtract lambda from the entries in the main diagonal. And what next? You need to find the determinant of this matrix. So I'm going to have 2 - lambda * 2 - lambda - 9 is = 0. And then trying to simplify this.
You are going to try to simplify it but you know that you are going to say this is lambda square minus the trace of that matrix lambda time the determinant so it's 4 - 9 which is - 5 is equals to zero and if you factoriize this matrix I'm going to have sorry I'm going to have uh lambda minus 5 lambda + 1 = 0. So lambda 1 is = -1 or lambda 2 = 5. So this is the these are the aen values of this matrix. All right. And then now we need to find the aen vectors the corresponding
a vectors for these two matrices. to find the corresponding a vectors for these two matrices. What you can actually do you can start with lambda 1 and end with lambda 2. So to find the values or to find the vectors of this matrix you need to remember this formula you need to take this lambda and substitute it back here. So now I'm going to have 2 - -1 and I'm going to have a 3 3 2 - -1 there is a three again multiplied by what the standard the standard is what it is x1 x2 is equ=
to 0 0 you're always going to multiply by that part right you know now that you know now that these two equations are actually the same and the first row h created the second row right we have the row one here we have the row two here in that matrix so row 2 is a free row it's going to create a free variable so I'm going to say that x2 is equ= to alpha and then it's going to be 3 x1 + 3 alpha = 0 in the case x1 = minus alpha so vub1 is actually minus alpha alpha and vub1 is alpha
1 - one. You know that we need to take out the highest common factor of minus alpha because in a matrix we cannot in a again vector we cannot have a negative value as a first entry right so I think you got that and the next thing that you need to do we need to find the values the vectors of this five so substituting five to this equation where you see lambda I'm going to have a -3 3 -3
X3 * what times the standard which is X1 X2 is equals to 0 0. All right. Now again you can notice that uh to get the second row here we have row one here we have row two. To get the second row there you need to multiply the second row by what? You need to multiply the first row sorry by -1 to get row two. In that case row two is depending on the first row. If in that case then we can say that x2 is equals to beta and then use any row equation to solve that. So I'm going to have 3
x1 - 3 beta is = 0 and try to solve for x1. X1 is actually beta and your V2 it's going to be beta beta beta. So your final your final your final equation that you're going to have uh it's going to be beta 1 one like that. So that is the values and the vector of a 2x 2 matrix right. So uh so let us try to look for the egg values of a 3x3 matrix. All right. So right let us look at example C.
Uh for example C have this matrix. Let us have 1 0 0 3 4 3 8 72. All right. Is equals to zero. Not equals to zero. Just a matrix. All right. Uh let me just remove this tree for now. I'm just going to tell you something at the end about what are the aen values of this matrix. Let me just tell you now the aen values of such matrix um are the entries in the main diagonal. So you have this number this number and that number as a as the values of this matrix. But we'll see at the end. So to find the A and values of this matrix,
we say the determinant of C minus because it's it's matrix C of lambda I3 I3 because the order of this matrix is zero. So then we going to have the determinant of 1 - lambda 0 0 0 3 4 - lambda 0 8 7 and 2 - lambda is equ= to 0 like that. So those are the a values or that's the characteristic equation and then remember to find the determinant in a 3x3 matrix you use any row or any column that you are going to have. So if you notice this column has most zeros. So use that column to
find the aken values. So if you use that column to find the aen values or to find the determinant I'm going to have 1 minus lambda times the submatrix 4 - lambda 0 7 2 - lambda is equals to 0. And then if you proceed by simplifying this I'm going to have 2 - lambda is equals to 0 because 2 * 0 0 * 7 is 0. So you see that lambda 1 is actually one, lambda 2 is actually two and lambda 3 is actually
four. Right? So whenever you have a matrix in this form where the we have this lower triangle here, this lower triangle there, your egg values are the entries in the main diagram. Right? So now we need to find the en vector. To find the vector of this matrix, we will start by finding the AN vector for lambda 1 and finding the AN vector for lambda 2. All right. So how can we do that? We we going to do the same thing for for for for
for what is this for uh for the 2x2. We're going to do the same thing that we did in the 2x two to get the thing on the 3x3. So, let me just grab my calculator because I don't have it by my side. Right now I have it now because we need to do row operations. Yeah. So let us try to find the aen vectors of this matrix. So for lambda 1 it's going to be a long process but bear with me. For lambda 1 is equals to 1. What I'm just going to do, I'm just going to say, okay, this is a matrix. Subtract one to every term there. Subtract one on the lambdas. So, I'm going to 0 0 0 3 0 8 7 1* what? * x1 x2 x3 is equ= to 0 0 0. Now this is the first case that you need to know when
solving the egg vectors of a 3x3 matrix. You need to understand when you solve for a 3x3 aen vectors for a 3x3 matrix you are trying to solve for x1 x2 x3 and this thing is given as as an equation because your f your last row your last row here has a one we are going to say we are going to say 1 * x3 which is x3 is = 0. Now we know that x3 is equals to zero because x3 is equals to zero. We are left with two rows. We are left with two
rows. Right? In those two rows we are going to have two equations. So because x3 is equals to zero h I'm just going to say um what this thing is confusing here. I'm just going to say let uh I'm not going to let x2 = to0. Yes, I'm going to let x2 = to0 if I may. If I say let x2 = to alpha let x2 = to alpha I can able to solve for I'll be able to solve for for for lambda in that case uh for x2 right let x2 to be alpha. So for the second equation,
I'm going to have 3 x2 + 0 + 0 is equals to zero. Now we're trying to solve for x2. Oh lord. All right. Yeah. X1 X3 is = to what? X3 is = 0 which is zero.

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