Eigenvalues and Eigenvectors
Transcript
hello in lectures 21a 21b 22a we did a lot of examples of computing eigenvalues and eigenvectors and then solutions for both differential equations and difference equations the majority of lecture 22b involves a lot of definitions theorems and remarks related to eigenvalues and eigenvectors it will represent practically everything you might want to know about eigenvalues and eigenvectors in terms of definitions theorems and remarks at the very end we'll also use these ideas we'll talk about a discrete linear difference equation that is generated by a time one map a time one flow map and the matrix exponential for a linear system of differential equations from lecture 21 or 22a all right so jumping ahead to the linear algebra content now
lots of def lots of definitions theorems and remarks but these are all really super important okay and you want to get these into your soul deeply when you're using this stuff we're not going to take the time to prove these things but i will sometimes give intuitive explanations and those intuitive explanations are typically good enough for most people but it still is worth trying to remember these things all right definition let a be a square n-by-n matrix an eigenvalue of a is a number that we typically traditionally call lambda with the property that there is a non-zero vector x in rn emphasis on the word non-zero got to be non-zero
with the property that as we've seen a times x equals lambda times x make sure it's really clear in your mind what's going on here x is a vector a times x is there for a vector over here x is a vector the same vector lambda times x lambda's a scalar times x is another vector a is a matrix lambda is a scalar a number this equation does not mean a equals lambda it can't a is a two by two or a higher matrix here lambda is a number they are related to each other though
you want to think about it geometrically as well in other words a times x is a scalar multiple of x with the scalar being the number lambda visually if you draw x as an arrow with its tail at the origin say and if that is an eigenvector for a for some eigenvalue lambda then a times x will be a scalar multiple of x it'll be parallel to it either in the same direction when lambda is positive or the opposite direction when lambda is negative lambda itself can be zero a times x could give you the zero vector that vector x getting mapped to the zero vector that can happen lambda can be the number zero but x cannot be the vector zero
okay because if it were the zero vector a times zero is zero and any lambda times zero over zero and so that it's like saying the zero vector is an eigenvector for any number and that's just that's too many eigenvalues okay we want just the same number of eigenvalues if you include something called multiplicity as the dimension of the matrix in this situation get this terminology right we call the non-zero of x an eigenvector of a corresponding to the eigenvalue lambda we could also say associated with the eigenvalue lambda okay any non-zero multiple of x will also be an eigenvector for the eigenvalue of lambda
why because if you take a multiple of x where k is non-zero so that i'm not looking at the zero vector here you can factor out the k and if x is an eigenvector that can be written as lambda times x and then you can rearrange this to be lambda times k times x showing you that k times x is an eigenvector assuming k is not zero these lines of equations still hold when k zero but we we don't care about that okay so we want our eigenvectors to be non-zero
equivalently we can say that any non-zero solution x non-trivial is equivalent to non-zero of the homogeneous system a times lambda i i in parentheses times x equals the zero vector any non-trivial solution for that is going to be an eigenvector corresponding to the eigenvalue lambda if there are non-trivial solutions and in fact there will only be non-trivial solutions when lambda is an eigenvalue where'd that equation come from i talked about that before as well take the equation a times x equals lambda x think of lambda x as lambda times i times x where i is the identity matrix subtract that from both sides to get a times x minus lambda times i times x which is the same equals zero which is the same as a times x minus
lambda i in parentheses times x equals zero and then the x can be factored out all these operations are allowed so any non-zero solution for x that solves this we'll also solve this that's the purpose what i just did another definition if lambda is an eigenvalue of a then the solution set of this homogeneous system is called the eigenspace of a corresponding to the eigenvalue lambda say that again lambda is an eigenvalue the solutions set all the solutions of this non-homogeneous of this excuse me of this homogeneous system which will be non-trivial non-trivial null space here for that matrix when lambda is an eigenvalue there will be non-trivial solutions by definition
note that the eigenspace of any eigenvalue will necessarily contain the zero vector because the zero vector does solve this equation the zero bacteria is in the middle space of this matrix but that doesn't mean zero is an eigenvector that's true in spite of the fact that the zero vector is never a number okay it's still in the eigenspace by default eigenspaces being null spaces of matrices are subspaces of rn okay that's worth remarking here verbally i didn't put it in the slides second page by the invertible matrix theorem a number lambda as an eigenvalue the square matrix a if and only if the matrix a minus lambda i is non-invertible
right because that homogeneous system has non-trivial solutions when lambda is an eigenvalue so a minus lambda non-invertible is equivalent to lambda being a negative value non-invertible means it's singular the invertible matrix part of it says a matrix is invertible if and only if the only solutions of the matrix times x equaling the zero are is the trivial solution but when lambda is an eigenvalue we've got non-trivial solutions there are non-zero eigenvectors when you assume lambda is an egg and valley by definition invertibility means non-singular non-invertible means singular singular is kind of a rare thing a special thing that doesn't happen very often in fact when a is two when a is n by n there will only be n values of lambda that work here counting what are called multiplicities which i'll talk about here soon
also by the invertible matrix a number lambda is an eigenvalue the square matrix a if and only if the determinant of that matrix is zero special it equals zero not something non-zero there's only one number that's zero everything else is non-zero this is special this is singular rare that's part of the invertible matrix theorem as well a matrix is is invertible when it's determined is non-zero therefore the matrix is non-invertible when it's determined is zero
this expression here determinant of a minus lambda i we've seen in two by two cases two by two examples was a quadratic polynomial lambda in general if a is n by n this is a degree n polynomial in lambda it is called the characteristic polynomial of a it does in a sense characterize a that's why we call it the characteristic polynomial in ways that we will see one of which actually very shortly the roots of the characteristic polynomial of a in other words the zeros of the characteristic equation or i could call them roots as well i call this this thing a characteristic polynomial but if i add equal 0 then it becomes a characteristic equation in lambda that you want to solve for lambda the roots of that the zeros of that are the eigenvalues of a the fundamental theorem of
algebra that sounds important you ever learn about the fundamental theorem of algebra you should have first proved by gauss in about 1800 or so i think it was his doctoral thesis people tried proving it before but their proofs were incomplete not even sure gauss's proof was the best proof but anyway what does it say it says they're going to be n eigenvalues of a counting multiplicities why because what the fundamental theorem of algebra says is any polynomial of degree n where the highest power of the variable is n and that nth power does have a nonzero coefficient in front of it so it truly is degree n will have n roots counting multiplicities sometimes roots a single root so this b can occur with a multiplicity higher than one for example
in with this polynomial here lambda minus four cubed times lambda plus three squared times lambda minus one that's got three distinct roots four negative three one but six roots total if you count multiplicities four is a root of multiplicity three negative three is a root of multiplicity two one is root of multiplicity one because it's the same as that to the first problem so you're gonna have an eigenvalues of a counting multiplicities but there's something to be aware of here fundamental theorem of algebra doesn't say those n eigenvalues have to be real numbers what if the characteristic polynomial was lambda squared plus one its roots would be plus or minus i where i is the imaginary unit square root of negative one which does there's no problems with that existing it does exist because we define it to exist
is that a good idea to define it to exist yes because it's it's useful imaginary and complex numbers are useful some or even all these eigenvalues could be complex numbers however something to keep in the back of your mind will we deal with situations with complex eigenvalues yes we will very soon in fact probably even lecture 23a and maybe 23b too we will deal with complex eigenvalues very soon and that does end up implying complex eigenvectors too now you might scratch your head and wonder how is that related to straight line solutions and we'll talk about that very soon lecture 23.
there might not be any straight line solutions the multiplicity of an eigenvalue is really the characteristic polynomial has a name and sometimes called the algebraic multiplicity of the eigenvalue which doesn't make a question if there's an algebraic multiplicity to an eigenvalue is there a geometric multiplicity too in other words as well uh yeah there is and they're not necessarily the same the geometric multiplicity turns out to equal the dimension of the eigenspace corresponding to lambda the eigenvalue lambda the dimension of that eigenspace as a vector space is not necessarily the same as the algebraic multiplicity of the eigenvalue it might be but it might not be and that's the thing that makes this a little extra tricky sometimes
it's nice when their geometric and algebraic multiplicities are the same and it's especially nice when the eigenvalues are distinct are all distinct you have n distinct eigenvalues and it's also especially nice when those are all real numbers though they could be complex theorem the eigenvalues of a triangular matrix which includes upper triangular lower triangular or diagonal matrices because diagonal matrices are both upper triangular and lower triangular upper triangular has the non-zero entries above the main diagonal and zeros underneath that's upper triangular non-zero entries above and on the main diagonal lower triangular
has the possibly non-zero entries below the main diagonal and on the main diagonal and zeros elsewhere could be zeros down here too but these have to be zero for lower triangular and diagonal matrices are the ones that are both upper triangular and lower triangular triangular so your possibly non-zero numbers are on the main diagonal and you've got zeros elsewhere sorry that i'm being kind of crazy with my zeros you get the idea zero is elsewhere they're on the main diagonal why think about an example if a is say this upper triangular matrix what is a minus lambda i it would be this upper triangular matrix
and as far as the determinant of that the characteristic polynomial is going to be the product of these two quantities minus the product of those two but the product of those two is zero it's already factored the eigenvalues are one and three the entries on the diagonal and it works in general for n by n triangular matrices another theorem the product of all the eigenvalues of a equals the determinant of a huh interesting
product of those two eigenvalues is 1 times 3 is 3 that's the same as the determinant of a itself and it works no matter what it even works for non triangular matrices you might want to check that with some examples i could prove this but go ahead and check it with some examples the product of all the eigenvalues of a is the determinant of a you may want to even want to try it for a three by three example where none of the entries are zero see if it works all the well if you did that you need to use technology to help you approximate the eigenvalues in that case most likely because you get a cubic but then multiply your approximate eigenvalues and you should get approximately the determinant that you calculated with your technology another theorem if v1 through vk are eigenval vectors corresponding to a collection of distinct eigenvalues
distinct they have to be all different here lambda 1 does not equal lambda 2 or lambda 3 etc lambda 2 does not equal any other of these for an n by n matrix so i got k of these a is n by n k would have to be less than or equal to n some of these could have multiplicity greater than one k could equal then they would have multiplicity 1 if that was the case then the collection of those vectors is a linearly independent set in rn and therefore if k equals n the basis theorem implies the set's actually a basis of r a if k equals n and these n eigenvectors correspond to n distinct evidently real eigenvalues well there's nothing about that saying that they're real
um maybe they're implicitly real i have to think about that okay let's just say these are real if k equals n this is going to be a basis for r we can continue the invertible matrix theorem here suppose a is an n by a matrix then a is invertible if and only if what have we seen before it's invertible if and only if it's determined as non-zero it's invertible non-singular if and only if it's columns or linearly independent if and only if it's columns span rn if and only if it's columns form bases for rn those are all equivalent to a and n by n matrix being invertible since the product of all the eigenvalues equals the determinant of a is also going to be invertible if it only if 0 is not an eigenvalue a the number zero
which would also mean it is non-invertible if only if zero is an eigenvalue thing when a is not invertible the linear transformation corresponding to a goes from rn to itself phase is non-invertible that linear transformation is degenerate in some way it's collapsing n dimensional space into a subspace of our n that's not equal to all of our n a lot of non-zero vectors get mapped to the zero vector under that linear transformation in that case i think just a couple more pages here i think this is i think the last page about a bunch of facts this is this is a tricky page though something very new to most people take breath
definition two n-by-n matrices a and b are said to be similar that's the definition for defining what similar matrices means which we write as this notation a tilde b what is the tilde it's not an equal sign not even an approximate equal sign it's just saying these are somehow similar to each other in certain ways we will see if there exists an invertible matrix p such that b equals p inverse times a times p what a weird definition but super important why is it super important because it's related to our main application of linear algebra to differential equations and difference equations changing coordinate systems this is related to change of basis in fact eigenvalues and eigenvectors are also related to change of basis
maybe a is a non-diagonal matrix maybe not even triangular maybe none of its numbers are zero but maybe got distinct eigenvalues and distinct eigenvalues i wonder if we can find a matrix p so that this product equals b where b might be a diagonal matrix and the corresponding system of differential equations or difference equations is completely uncoupled i wonder if that's possible yes it is possible these are big parts of our main purpose okay by the way that equation is equivalent to saying there's an invertible matrix p so that
p times b equals a times p if you multiply both sides of this equation on the left by p you get p times b on the left on the left of each side is what i mean and p times this on the right p times p inverse though is the identity matrix assuming p is invertible and so the right simplifies to a times p just something i have here and i also could solve that equation for a multiply both sides on the right by p inverse and i switched it around here i can say a is p times b times p inverse what this means actually is that if a is similar to b then b is actually also similar to a because if p is invertible p inverse is also a vertical they are inverses of each other the inverse of p inverse is p itself
some notes about this number two is related to what i just said number one any square matrix is certainly similar to itself a is similar to a why because we can take p to be the identity matrix a would be i inverse times a times i that would be true my inverse is i second property if a is similar to b then b is similar to a essentially because of what i just did over there written another way like this if b is p inverse times a times p then i can say a is p times b times p inverse just like i had over there and that could be emphasized
as this way the inverse of p inverse which is p itself the p inverse that is matching this definition of a being similar to b we're saying b is similar to a here because a is some the inverse of some invertible matrix times b times that invertible matrix itself by the way here here a and b themselves don't have to be invertible but p does have to be inverted and third property if a is similar to b and b is similar to c then we can conclude that in fact a is similar to c because these two facts b is p inverse a p and c is q inverse bp where p and q are invertible imply that we can write c
ultimately as sum the inverse of some invertible matrix times a times that matrix itself why i'm assuming b is similar to c so i can write this for some invertible matrix q i'm assuming b is a is similar to b so i can write b itself like this for some invertible matrix p and then i can use the associative property to rewrite it like this and then it turns out that this thing does equal the inverse of p times q if p and q are both invertible then p times q will also be invertible and in fact its inverse will be this inverse product product of two inverses notice the p and q switch order that switching of order is sometimes called the socks shoes property for the matrix inverses why would it be called the socks shoes property i'll let you think about that it's related to putting socks and shoes on and taking them off i'll let you think about that
by the way these three properties and these no this note here have names and fortunately i remember those names because they go in alphabetical order the first property is called the reflexive property reflexive says that a is similar to itself the second property is called the symmetric property if a is similar to b then you can by symmetry say so to speak b is similar to a and the last property is called the transitive property if a is similar to b and b is similar to c if it's transitive it translates you might say to a being similar to c
and those names reflexive symmetric and transitive go into alphabetical order which is very fortunate because it helps me remember them similarity is not equality but it's pun intended similar to equality reflexive reflexive symmetric and transitive property work for ordinary equal signs right something is equal to itself whatever that something is if it's a number a vector or matrix or maybe even something weirder if something equals something else then that's something else equals the original something
and if dr seuss if thing one equals thing two and thing two equals thing three then thing one equals thing three right dr seuss of course there's only a thing one and a thing two and dr seuss not a thing three these three properties mean that similarity of matrices is something called an equivalence relation which essentially means it acts kind of like equality even though it's not technically equality and as i put an equivalence relation this means that we can partition break up the set of all n by n matrices into what are called equivalence classes what in the world is that about if this blob represents the set of all n by n matrices
you have to use your imagination here so each point in this set is a matrix we gotten used to this when we thought about vector spaces and function spaces and functions being thought of as points in function spaces this uh similarity equivalence relation breaks up this set into actually infinitely many pieces what's called a partition that don't overlap and these these pieces are called equivalence classes and for any two matrix in a given equivalence class they will be similar to each other that's that's what i'm saying here that's kind of a high level thought uh will it be relevant for us um yeah i probably will bring it up again theorem if two n by n matrices are similar then they have the same characteristic polynomial and therefore also have the same eigenvalues with the same multiplicities in fact
their characteristic equations are going to be the same and they'll have the same eigenvalues let's see if we can figure out why do a quick calculation here say a is similar to b and i'm thinking about the characteristic polynomial of b since a is similar to b i can replace that b with p inverse ap for some invertible matrix p and but wait a minute i can also be thought of as p inverse times i times p right yeah that's true and then you can factor out a p inverse on the left
and a p on the right to get this and then hey we have the determinant of a product of three matrices remember i said the determinant of a product of two matrices a times b is the product of their determinants that does extend to any finite number of factors in a product this is the same as the determinant of p inverse times the determinant of a minus lambda i times the determinant of p but hey this is the same as 1 over the determinant of p by another property of determinants those cancel leaving you with the determinant of a minus lambda i in other words the characteristic polynomial of b is the same as the characteristic polynomial of a
okay and since the characteristic polynomials are the same that means they have the same roots the same eigenvalues with the same multiplicities wow that's a lot of information to take in you want to download this powerpoint and have it handy to study from especially my students make sure you do that and rethink it through a number of times make sure you know all these things now that i'm going to ask you to list them out on a test or something but if somebody asks you true false questions about them you should be able to answer those and they should you should get to the point where they kind of make sense as well worry warning even though a and b have the same eigenvalues they do not necessarily have the same eigenvectors and that's related to change in coordinates all right our last slide here let me show you something in mathematica
i said at the end of lecture 22a that i wanted to apply the ideas there which included looking at saddles sink sources and saddle points also at the matrix exponential and flows the time one flow map and the corresponding difference equation that's what i want to apply now to that example with this matrix this is a different system of differential equations here in our linear algebra lecture b it's good we're mixing things together here we saw in lecture 22a that it's got this flow where this thing right there is the matrix exponential for that matrix t times a
and this is equal to the time t flow map if i think of t is fixed t is fixed this is a linear transformation from r2 to itself this is a fixed matrix times a variable vector so to speak even though i've got the subscripts of zero you want to think of those as variables what's the time one there just plug in t equals one same formula with t equal to one probably would be good to approximate that that is approximately this matrix times that vector i should have included more decimal places if i remember before i put this on the google drive i'll do that it's an approximation it's a linear transformation from r2 to itself we can try to visualize it as a mapping which we're about to do very soon
it turns out you might want to check this the eigenvalues and eigenvectors of this matrix here this matrix exponential this is e to the ta when t is 1 in other words it's e to the a are these two numbers e to the negative 1 and e to the e to the positive 4. hmm the eigenvalues of this matrix were negative 1 and 4. the eigenvalues of this matrix are e to the negative 1 and e to the 4th how about that everything gels beautifully and like i mentioned that the product of the eigenvalues is the same as the determinant of the matrix so the determinant of this matrix is e to the negative one times e to the fourth which is z cubed which is close to 20.
i also forgot about the eigenvectors the eigenvectors for these eigenvalues for this matrix are these two things which are the same as the eigenvectors that we got for this matrix so the eigenvalues change but the eigenvectors stay the same for similar matrices the the eigenvalues stay the same but the eigenvectors change for a matrix and its matrix exponential like this the eigenvectors stay the same but the corresponding eigenvalues change okay it's easy to get that mixed up the determinant is e to the negative 1 times e to the fourth which is e cubed which is about 20. and then thinking back to geometric interpretations of determinants that means the time one map this linear transformation here expands areas by about a factor close to 20.
huh interesting let's illustrate the mathematica and that will be the end of lecture b then the animation i'm about to show you is similar to an animation i did back when i first started talking about flow mounts and flows notice here in this line of code that i am using matrix x to define the flow i got to put the t not as a superscript here but above v because mathematica thinks superscripts have to be powers even though we know they don't have powers so that enters the matrix exponential well here's a static plot of the phase plane what about an animation oh no this is an animation excuse me
so this is the phase plane for the saddle point example with something else in it notice there's a big black dot there at the origin for the equilibrium point of the origin but notice there's sort of a halo around it that's a just a disc in the plane centered at the origin really the origin is just one point and really it has no area to it even though i'm drawing it big enough to have an area i'm just emphasizing it but this disc here that's kind of like a halo around the origin is a set that's not just a point it's a disc a circle in the inside of the circle and in the animation i can look at the time the image of that set under the time t map as t goes from zero to one by animating this
now i can stop it at any moment in time like here's stopping at a time this is point five five it says there's the image of that original unit disc it's a radius 0.5 by the way under the time 0.55 map approximately the area is not expanded by a factor of 20 because we're not yet to the time one map actually the time one now makes it go off the screen and it no longer looks like an ellipse it actually still is an ellipse just a very very long and skinny ellipse and it turns out that that ellipse even though you can't see the whole thing has an area about 20 times bigger than the original disk
if i re-enter this and change the radius of the starting set to be smaller say 0.138 so you can't even see it anymore then the time one map sends it to an ellipse that is like this again that looks so skinny it doesn't look like an ellipse but it really is and its area is about 20 times bigger than the area of the original this centered at the origin with the radius of 0.138 i also allowed myself to move the center of the disk to being somewhere else and we can see how that set moves under the flow look at its images for various time t maps t increasing from zero to one and those are ellipses as well but they don't stay centered at the origin because there wasn't at the center of the origin to begin with
and if i put the starting discs say in this yellow region and crossing the straight line solution we will see it gets separated so to speak oops i don't want to change our it gets separated into the different regions that get stretched out completely but once again the time one map as a linear transformation is still going to expand the areas by about a factor of 20 20. no matter what starting set that you have the time t map where t is less than one again the area has not been expanded by 20 it's been expanded by something smaller than 20. okay hope you like that thanks for watching

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