Recitation 10 · Week 10· 44:16
Problem Sheet 10, worked through
The marked problems of Sheet 10, solved step by step on screen. Try them first; the rest of the sheet is for practice on your own, with full written solutions. Covers Lectures 37 to 40.
Saved in this browser only. No account needed.
TranscriptThe full text of the recitation. Click any sentence to play the video from there.
Introduction and plan
Welcome to recitation ten. This week was about the directions that a matrix does not turn. Lecture thirty seven defined eigenvalues and eigenvectors. Lecture thirty eight found the eigenvalues as the roots of the characteristic polynomial. Lecture thirty nine diagonalised matrices, writing A as P D P inverse. And lecture forty used that to compute powers, with Markov chains and recurrences as applications. Problem Sheet ten covers lectures thirty seven to forty. We will solve the eleven problems marked with the play symbol: problems one and two, and problems five to thirteen. The other five are for practice on your own, with full solutions in the solutions booklet. As always, pause the video before each problem, and try it yourself first. Then watch how we do it, and compare.
First, a quick recap. A nonzero vector v is an eigenvector of A, with eigenvalue lambda, when A v equals lambda v: A keeps v on its own line, and stretches it by lambda. The eigenvectors for lambda, together with the zero vector, form the eigenspace E lambda, the null space of A minus lambda I. To find the eigenvalues, we solve the characteristic equation: the determinant of A minus t I equals zero. The algebraic multiplicity of an eigenvalue counts it as a root of this polynomial. The geometric multiplicity is the dimension of its eigenspace, and it is never larger than the algebraic one. An n by n matrix is diagonalisable when A equals P D P inverse, with D diagonal. That happens exactly when there is a basis of eigenvectors. They go in the columns of P, and their eigenvalues on the diagonal of D, in the same order. And n distinct eigenvalues are always enough.
Then powers are easy. A to the k is P, D to the k, P inverse, and D to the k just raises each diagonal entry to the k-th power. One habit carries us through today: find the eigenvalues first. Then, for each one, solve A minus lambda I, times x, equals zero. And always check an eigenvector, by multiplying it by A.
Problem 1: eigenvectors you can see
Problem one finds eigenvectors from a picture. Recall from lecture thirty seven: a nonzero vector v is an eigenvector of a linear map T with eigenvalue lambda when T of v equals lambda v, that is, when T sends v to a multiple of itself. L is the line x two equals two x one, through the origin and the point (one, two). Part a asks us to draw L, and to find from the picture, without computing a matrix, all the eigenvectors of the reflection S in L, with their eigenvalues. A vector on L is its own mirror image: S of v is v, which is one times v. So the nonzero vectors on L, like the vector (one, two), are eigenvectors with eigenvalue one. A vector perpendicular to L, like the vector (minus two, one), is flipped to its negative: S sends it to the vector (two, minus one), which is minus one times the vector. So the nonzero vectors perpendicular to L are eigenvectors with eigenvalue minus one.
Part a also asks for a vector that is not an eigenvector, and its image. Take x equal to the vector (two, zero). Its mirror image lands on the other side of L, off the line through x, so it is not a multiple of x. Every vector off these two lines behaves the same way, so there are no other eigenvectors. Part b asks the same for the orthogonal projection onto L. Vectors on L stay where they are: eigenvectors with eigenvalue one. Vectors perpendicular to L are sent to the zero vector, which is zero times the vector: eigenvectors with eigenvalue zero. The vector (two, zero), goes to a point of L, off its own line, so again it is not an eigenvector. And note: an eigenvalue may be zero, but an eigenvector may never be the zero vector.
Part c asks for all the eigenvectors of the rotation by one hundred and eighty degrees about the origin. It sends every vector v to minus v: every arrow keeps its line, and reverses. So every nonzero vector is an eigenvector, all with eigenvalue minus one. Part d gives the standard matrix of S, one fifth of the matrix with first row (minus three, four), and second row (four, three), and asks us to check part a with it. Times the vector (one, two): in the first entry, minus three plus eight is five, and in the second, four plus six is ten. One fifth of the vector (five, ten), is the vector (one, two), itself.
Times the vector (minus two, one): in the first entry, six plus four is ten, and in the second, minus eight plus three is minus five. One fifth of that is the vector (two, minus one), minus the vector we started with, as the picture said.
Problem 2: from the definition
Problem two works from the definition. Recall from lecture thirty seven: lambda is an eigenvalue of A exactly when A minus lambda I, times x, equals zero has a nonzero solution, and then the eigenspace E lambda is the null space of A minus lambda I. The first row of A is (three, one, minus two), the second row is (zero, three, zero), and the third row is (minus one, zero, two). Part a asks which of the vectors u one, u two and u three are eigenvectors of A, with the eigenvalue of each one that is. First, u one is the vector (one, zero, one). A times u one: three plus zero minus two is one, then zero, then minus one plus zero plus two is one. That is the vector (one, zero, one), u one itself: an eigenvector with eigenvalue one.
Next, u two is the vector (one, one, one). A times u two: three plus one minus two is two, then three, then minus one plus zero plus two is one. The vector (two, three, one), is not a multiple of the vector (one, one, one), because its entries are not equal. So u two is not an eigenvector. And u three is the vector (minus two, zero, one). A times u three: minus six plus zero minus two is minus eight, then zero, then two plus zero plus two is four. That is four times u three: an eigenvector with eigenvalue four. Part b asks whether three is an eigenvalue of A, for a basis of E three if it is, and whether two is an eigenvalue. For three, we need a nonzero solution of A minus three I, times x, equals zero: subtract three from each diagonal entry.
The first row now says x two minus two x three equals zero, the second row is all zeros, and the third row says minus x one minus x three equals zero. The row of zeros gives no condition at all, so only two equations are left for three unknowns, and one unknown is free: we may choose it, and the other two follow. That is what makes three an eigenvalue: a free unknown means nonzero solutions. With x three equal to t, x two is two t, and x one is minus t. So the solutions are t times the vector (minus one, two, one). There are nonzero ones, so three is an eigenvalue, and E three is the line spanned by the vector (minus one, two, one): that one vector is a basis. A quick check: A times this vector is minus three plus two minus two, which is minus three, then six, then one plus zero plus two, which is three. That is three times the vector.
For two, A minus two I gives three equations: x one plus x two minus two x three equals zero, x two equals zero, and minus x one equals zero. So x one and x two are zero, and then x three is zero too. Every unknown is pinned down, and none of them is free. Only the zero vector solves it, so two is not an eigenvalue. Part c asks us to show that w, equal to u one plus u three, is not an eigenvector, and to find A to the tenth, times w, without multiplying matrices. First, w is the vector (minus one, zero, two). And A w is A u one plus A u three, which is u one plus four u three: the vector (minus seven, zero, five). Is that a multiple of w? The first entries would need lambda equal to seven, and the third entries lambda equal to five halves. So no: w is not an eigenvector. Its two parts are stretched by different factors, one and four.
The same idea finds A to the tenth, times w. Each application of A multiplies u one by one, and u three by four. So A to the tenth, times w, is u one, plus four to the tenth times u three. Four to the tenth is one million, forty eight thousand, five hundred and seventy six. Entry by entry, that gives one minus twice this number, then zero, then one plus this number.
Problem 5: polynomials without determinants
Problem five finds characteristic polynomials without expanding a determinant. Recall from lecture thirty eight: the algebraic multiplicity of an eigenvalue lambda is how many times t minus lambda divides the characteristic polynomial, and its geometric multiplicity is the dimension of E lambda. The geometric multiplicity is at least one, and at most the algebraic one. And for an n by n matrix, the characteristic polynomial has degree n and leading coefficient minus one to the n, and its coefficient of t to the n minus one is minus one to the n minus one, times the trace. The first row of A is (one, two, three), and the other two rows are two and three times it. All three rows of B are the row (one, minus two, one).
Part a asks why zero is an eigenvalue of A and of B, and for a basis of E zero for each. Zero is an eigenvalue when A x equals zero has a nonzero solution. The rows of A are multiples of one row, so A x equals zero is just one equation: x one plus two x two plus three x three equals zero. That leaves x two and x three free. Taking them one at a time gives the basis vectors (minus two, one, zero), and (minus three, zero, one). So zero is an eigenvalue of A, and its eigenspace is a plane. For B, the one equation is x one minus two x two plus x three equals zero, with the basis vectors (two, one, zero), and (minus one, zero, one). Again zero is an eigenvalue, and E zero is a plane: geometric multiplicity two, for both matrices.
Part b asks us to show that the vector (one, two, three), is an eigenvector of A, and the vector (one, one, one), an eigenvector of B, with their eigenvalues. Each entry of A times the vector (one, two, three), is a row of A times that vector. The first row is the vector itself, and gives one plus four plus nine, which is fourteen. The second and third rows are two and three times it, so they give twenty eight and forty two. So A sends the vector (one, two, three), to fourteen times itself: the eigenvalue is fourteen. And each entry of B times the vector (one, one, one), is one minus two plus one, which is zero: an eigenvector of B for zero.
Part c asks for p A and p B without expanding a determinant, and for the multiplicities. Three facts pin p A down. It has degree three, with leading coefficient minus one. The eigenvalue zero has geometric multiplicity two, so its algebraic multiplicity is at least two: t squared divides p A. And fourteen is a root, so t minus fourteen divides it too. So p A of t is minus t squared, times t minus fourteen, which is minus t cubed plus fourteen t squared. Check with the trace: the coefficient of t squared should be the trace of A, and one plus four plus nine is fourteen. For B, again t squared divides p B, so p B is t squared times, mu minus t, for some number mu. Its coefficient of t squared is mu, and it must be the trace of B: one minus two plus one, which is zero. So mu is zero, and p B of t is minus t cubed.
Here are the multiplicities. For A, the eigenvalue zero has algebraic and geometric multiplicity two, and fourteen has both equal to one. For B, the only eigenvalue is zero, with algebraic multiplicity three, but its eigenspace is only a plane: geometric multiplicity two. That gap decides part c of the next problem.
Problem 6: diagonalising
Problem six diagonalises. Recall from lectures thirty nine and forty: an n by n matrix A is diagonalisable, A equals P D P inverse, exactly when there is a basis of eigenvectors. They are the columns of P, and their eigenvalues sit on the diagonal of D, in the same order. Then A to the k is P, D to the k, P inverse. Part a asks us to diagonalise A from problem five, and to check that A P equals P D. Take the vector (one, two, three), for fourteen, and the two basis vectors of E zero for zero. They are the columns of P, and D is diagonal, with fourteen, zero and zero. Is P invertible? Expand its determinant along the third row, (three, zero, one). The three multiplies the determinant left when we delete its row and column, which is zero plus three, that is three. The one multiplies one plus four, that is five.
So the determinant of P is three times three, plus one times five, which is fourteen. It is not zero, so the columns form a basis, and A equals P D P inverse. Now check that A P equals P D, column by column. A times the first column of P is fourteen times that column, the vector (fourteen, twenty eight, forty two). And A sends the other two columns to zero, because they lie in E zero. On the other side, P D multiplies the columns of P by fourteen, zero and zero. The same three columns. So A P equals P D.
Part b asks us to show that D to the k is fourteen to the k minus one, times D, for every k at least one, and to deduce that A to the k is fourteen to the k minus one, times A. D to the k has fourteen to the k, zero and zero on its diagonal, and fourteen to the k is fourteen to the k minus one, times fourteen. So A to the k is P, D to the k, P inverse, which is fourteen to the k minus one, times P D P inverse: fourteen to the k minus one, times A. We never needed P inverse at all. Part b also asks us to check k equal to two directly. The entry in row i and column j of A squared is row i of A times column j of A. These are i times, and j times, the vector (one, two, three), so their product is i j times fourteen. And the entry of A in row i and column j is i j. So A squared is fourteen A.
Part c asks why B is not diagonalisable. Its only eigenvalue is zero, with algebraic multiplicity three, but geometric multiplicity two. The multiplicity test needs the two to be equal for every eigenvalue, so B is not diagonalisable. Directly: every eigenvector of B lies in the plane E zero, and three vectors in a plane are always dependent. So there is no basis of eigenvectors. So A and B look alike: both have rank one, and the eigenvalue zero with a plane of eigenvectors. The difference is the trace. For A, the trace fourteen is a second eigenvalue, with its own eigenvector. For B, the trace is zero, and no third direction appears.
Problem 7: when is it diagonalisable?
Problem seven asks when a matrix with a parameter is diagonalisable. Part a asks for which real numbers a the matrix A a is diagonalisable. Its first row is (two, a, one), the second row is (zero, two, one), and the third row is (zero, zero, three). It is upper triangular, so its eigenvalues are its diagonal entries: two, two, and three. The eigenvalue three has algebraic multiplicity one, so its eigenspace is a line, of dimension one. To reach a total of three, the eigenspace for two needs dimension two.
A a minus two I has first row (zero, a, one), second row (zero, zero, one), and third row (zero, zero, one). The dimension of E two is three, minus the rank of this matrix. If a is not zero, the first two rows are independent, and the third row repeats the second. The rank is two, so E two has dimension one. Not diagonalisable. If a is zero, every row is a multiple of the row (zero, zero, one). The rank is one, so E two has dimension two. Then two plus one is three, and the matrix is diagonalisable. So the answer is: exactly when a equals zero.
Part b asks for which real numbers c the matrix M c, with first row (one, c), and second row (one, one), is diagonalisable over the real numbers, and for which c over the complex numbers. Its characteristic polynomial is one minus t, squared, minus c. The answer depends on the sign of c. If c is positive, the roots are one plus root c, and one minus root c: two different real eigenvalues. A two by two matrix with two distinct eigenvalues is diagonalisable, so M c is diagonalisable over the real numbers. If c is zero, the only eigenvalue is one, twice. But M zero minus I has first row (zero, zero), and second row (one, zero), of rank one, so the eigenspace is only a line. Not diagonalisable, over the real numbers or over the complex numbers.
If c is negative, one minus t, squared, is never negative, so it cannot equal c for a real number t. There are no real eigenvalues, so M c is not diagonalisable over the real numbers. Over the complex numbers, the roots are one plus or minus i times the square root of minus c: two different eigenvalues, so it is diagonalisable over the complex numbers. In short: over the real numbers, exactly when c is positive; over the complex numbers, exactly when c is not zero.
Problem 8: powers and square roots
Problem eight computes powers and square roots. Recall from lecture forty: if A equals P D P inverse, then A to the k is P, D to the k, P inverse. Here A has first row (two, one), and second row (two, three). Part a asks us to diagonalise it. The characteristic polynomial is two minus t, times three minus t, minus two. That is t squared minus five t plus four, which factors as t minus one, times t minus four. The eigenvalues are one and four. For one, A minus I has first row (one, one), so x one plus x two is zero: the eigenvector (one, minus one). For four, A minus four I has first row (minus two, one), so x two is two x one: the eigenvector (one, two).
So P has the columns (one, minus one), and (one, two), and D is diagonal with one and four. The determinant of P is two plus one, which is three, so P inverse is one third of the matrix with first row (two, minus one), and second row (one, one). Part b asks for a formula for A to the k, and for A to the tenth. A to the k is P, D to the k, P inverse, and D to the k has one and four to the k on its diagonal. P times D to the k multiplies the second column of P by four to the k. Multiplying by P inverse then gives one third of the matrix with first row (two plus four to the k, four to the k minus one), and second row (two times four to the k minus two, two times four to the k plus one).
For k equal to one, that is one third of the matrix with rows (six, three), and (six, nine), which is A. For k equal to ten, four to the tenth is one million, forty eight thousand, five hundred and seventy six, and dividing by three gives A to the tenth, with whole number entries. Part c asks for a matrix B with B squared equal to A, whose eigenvalues are positive. The idea: take square roots of the eigenvalues, and keep the eigenvectors. So B is P, times the diagonal matrix with one and two, times P inverse. Then B squared is P, times the diagonal matrix with one and four, times P inverse, which is A. Multiplying out, B is one third of the matrix with first row (four, one), and second row (two, five).
Check: B squared is one ninth of this matrix times itself. In the first row, sixteen plus two is eighteen, and four plus five is nine. In the second row, eight plus ten is eighteen, and two plus twenty five is twenty seven. One ninth of that has first row (two, one), and second row (two, three): it is A. Part d asks for a matrix C with C squared equal to A, other than B and minus B. The eigenvalue four has a second square root, minus two. So C, equal to P, times the diagonal matrix with one and minus two, times P inverse, also squares to A. It comes out as the matrix with first row (zero, minus one), and second row (minus two, minus one). Check: in C squared, the first row is zero plus two, and zero plus one, and the second row is zero plus two, and two plus one. That is A again.
Its eigenvalues are one and minus two, while B has one and two, and minus B has minus one and minus two. So C is neither B nor minus B.
Problem 9: two cafés
Problem nine is a Markov chain. Recall from lecture forty: a Markov matrix has entries that are not negative and columns that add up to one, and a steady state is a vector with such entries, adding up to one, that the matrix keeps fixed. A town has a thousand regular coffee drinkers and two cafés, Arbor and Brook. Each week, ten percent of Arbor's customers switch to Brook and the rest stay, and forty percent of Brook's customers switch to Arbor and the rest stay. The vector x k holds the customers of Arbor and of Brook after k weeks, so x k plus one is M times x k. Part a asks us to draw the two cafés with arrows for the weekly moves, and to write down M. From Arbor, zero point nine of the customers stay, and zero point one go to Brook. From Brook, zero point four go to Arbor, and zero point six stay.
These numbers are the columns of M: the first column says where Arbor's customers go, and the second where Brook's customers go. The entries are not negative, and each column adds up to one, so M is a Markov matrix. Part b asks for the eigenvalues of M, an eigenvector for each, and the steady state. The characteristic polynomial is zero point nine minus t, times zero point six minus t, minus zero point zero four. That is t squared, minus one point five t, plus zero point five, which factors as t minus one, times t minus zero point five. For the eigenvalue one, we solve M minus I, times x, equals zero. Subtract one from each diagonal entry: zero point nine minus one is minus zero point one, and zero point six minus one is minus zero point four. So M minus I has first row (minus zero point one, zero point four), and second row (zero point one, minus zero point four). The second row is minus one times the first, so the two equations say the same thing: minus zero point one x one, plus zero point four x two, equals zero.
One equation in two unknowns leaves one free variable, as it must: one is an eigenvalue, so there is a nonzero solution. Take x two equal to t. Then x one is four t, so the solutions are t times the vector (four, one), and t equal to one gives the eigenvector (four, one). Check: M times the vector (four, one), is three point six plus zero point four, and zero point four plus zero point six, which is the vector (four, one) again. Why does this give the steady state? A steady state s must satisfy M s equals s, so it is an eigenvector for the eigenvalue one: a multiple c times the vector (four, one). Its entries must also add up to one: four c plus c is one, so c is one fifth. So the steady state is one fifth of the vector (four, one), which is the vector (zero point eight, zero point two), and there is no other. For zero point five, M minus zero point five I has first row (zero point four, zero point four), so x one plus x two is zero: the eigenvector (one, minus one).
Part c starts with all thousand customers at Brook, and asks for a formula for x k, and when Arbor first has more than seven hundred and ninety customers. Here is the idea. M only stretches its eigenvectors: it keeps the vector (four, one) as it is, and halves the vector (one, minus one). So if we write x zero as a combination of these two eigenvectors, we can follow each part on its own, week by week. So we look for numbers a and b with x zero, the vector (zero, one thousand), equal to a times the vector (four, one), plus b times the vector (one, minus one). The first entries give four a plus b equals zero, and the second entries give a minus b equals one thousand. Adding the two equations gives five a equals one thousand, so a is two hundred, and then b is minus eight hundred.
So x zero is two hundred times the vector (four, one), minus eight hundred times the vector (one, minus one). Check: eight hundred minus eight hundred is zero, and two hundred plus eight hundred is one thousand. After one week, M keeps the first part as it is, and halves the second: x one is two hundred times the vector (four, one), minus four hundred times the vector (one, minus one), which is the vector (four hundred, six hundred). Every further week halves the second part again. So after k weeks, x k is two hundred times the vector (four, one), minus eight hundred times zero point five to the k, times the vector (one, minus one). Arbor's customers after k weeks are the first entry of x k. The first entries of the two eigenvectors are four and one, so it is two hundred times four, minus eight hundred times zero point five to the k, times one: that is eight hundred minus eight hundred times zero point five to the k. It is more than seven hundred and ninety when eight hundred times zero point five to the k is less than ten, that is, when zero point five to the k is less than one eightieth.
Zero point five to the sixth is one sixty fourth, still too big, and to the seventh it is one over a hundred and twenty eight. So the first time is after seven weeks. Part d asks us to show that for every starting split of the thousand customers, x k tends to the vector (eight hundred, two hundred). We use the same idea as in part c: write the start in the eigenvector basis, and follow each part. Start with y customers at Arbor, and a thousand minus y at Brook. We want a and b with four a plus b equal to y, and a minus b equal to a thousand minus y. Adding the equations gives five a equals one thousand, whatever y is. So a is two hundred again, and b is y minus eight hundred.
Why does a not depend on y? The entries of the vector (one, minus one), add up to zero. So all thousand customers sit in the first part, two hundred times the vector (four, one), which is the vector (eight hundred, two hundred). Now follow the two parts, as in part c. The first part stays two hundred times the vector (four, one). The second part is multiplied by zero point five every week, so it shrinks to the zero vector. So x k tends to the vector (eight hundred, two hundred), whatever the start: a thousand times the steady state.
Problem 10: a recurrence
Problem ten solves a recurrence. Recall from lecture forty: a linear recurrence can be written as u k plus one equals C u k, with a companion matrix C, and diagonalising C gives a formula. The sequence starts with a zero equal to zero, and a one equal to four, and continues by a k plus two equals two a k plus one, plus three a k. Part a asks for a two by two matrix C with u k plus one equal to C u k, where u k has the entries a k plus one, and a k. Then u k plus one has the entries two a k plus one plus three a k, and a k plus one. So C has first row (two, three), and second row (one, zero). Part b asks us to diagonalise C, find a formula for a k, and use it for a ten. The characteristic polynomial of C is two minus t, times minus t, minus three. That is t squared minus two t minus three, which factors as t minus three, times t plus one. The eigenvalues are three and minus one.
For three, we solve C minus three I, times x, equals zero. Subtract three from each diagonal entry: the first row becomes (minus one, three), and the second row (one, minus three). The second row is minus one times the first, so there is only one equation: minus x one, plus three x two, equals zero. That leaves one free variable. Take x two equal to t: then x one is three t, and t equal to one gives the eigenvector (three, one). For minus one, C plus I has first row (three, three), and second row (one, one). The first row is three times the second, so again there is only one equation: x one plus x two equals zero. So x one is minus x two, and the eigenvector is (minus one, one). The start is u zero, the vector (four, zero). In the eigenvector basis, it is the vector (three, one), minus the vector (minus one, one): three plus one is four, and one minus one is zero. So u zero is v one minus v two.
Now u k is C to the k, times u zero: we apply C k times. Each time, C multiplies v one by three, and v two by minus one, and does nothing else to the two parts. So after k steps, u k is three to the k times v one, minus, minus one to the k, times v two. Its second entry is a k: three to the k, minus, minus one to the k. Check: this gives zero, four, eight, twenty eight, eighty, and the rule gives the same: eight is twice four plus zero, twenty eight is sixteen plus twelve, and eighty is fifty six plus twenty four. And a ten is three to the tenth minus one: fifty nine thousand and forty eight. Part c asks when the sequence stays bounded, for other starting values a zero and a one. The eigenvalues are still three and minus one, so u zero is b one times the vector (three, one), plus b two times the vector (minus one, one), and a k is b one times three to the k, plus b two times minus one to the k.
If b one is not zero, the first term grows without bound, while the second keeps the same size, so the sequence is unbounded. So it is bounded exactly when b one is zero. That means u zero is a multiple of the vector (minus one, one), so a one equals minus a zero. Then the sequence just alternates: a zero, minus a zero, a zero, and so on.
Problem 11: operators
Problem eleven moves from matrices to operators on other spaces. Recall from lectures thirty seven and thirty nine: the eigenvalue equation is the same, T of v equals lambda v, with v not zero. And an operator is diagonalisable when the space has a basis of eigenvectors. For each operator, we find the eigenvalues and a basis of each eigenspace, and decide whether it is diagonalisable. Part a is the operator sigma on P two, which sends a polynomial p of x to p of one minus x. On the basis one, x, x squared: sigma of one is one, sigma of x is one minus x, and sigma of x squared is one minus x, squared, which is one minus two x plus x squared. Their coordinates are the columns of the matrix of sigma. It is upper triangular, with diagonal entries one, minus one, and one. So the eigenvalues are one and minus one.
For one, subtract the identity. For p equal to c zero plus c one x plus c two x squared, the equations say c one plus c two equals zero, with c zero and c two free. So p is c zero, plus c two times, x squared minus x: E one has the basis one, and x squared minus x. These are the polynomials whose graphs are symmetric about x equals one half, since swapping x and one minus x reflects the graph in that line. For minus one, add the identity. Now c two is zero, and two c zero plus c one is zero. So p is a multiple of one minus two x: E minus one has the basis one minus two x.
The dimensions add up to two plus one, which is three, the dimension of P two. Bases of eigenspaces for different eigenvalues together are independent, so these three polynomials form a basis, and sigma is diagonalisable. Part b is the operator T on two by two matrices that sends X to G X, where G has first row (one, two), and second row (zero, three). The columns of G X are G times the columns of X. So G X equals lambda X exactly when each column of X satisfies G x equals lambda x. G is triangular, with eigenvalues one and three. Its eigenvectors are the vector (one, zero), for one, and the vector (one, one), for three.
So E one of T consists of the matrices whose columns are both multiples of the vector (one, zero), with a basis of two matrices. And E three of T consists of the matrices whose columns are multiples of the vector (one, one), again with a basis of two. Two plus two is four, the dimension of the space of two by two matrices. So T is diagonalisable, with diagonal entries one, one, three, three. Part c is the operator psi on P two, which shifts a polynomial, sending p of x to p of x plus one. On the basis: psi of one is one, psi of x is x plus one, and psi of x squared is x plus one, squared, which is x squared plus two x plus one.
Their coordinates give an upper triangular matrix with ones on the diagonal, so the only eigenvalue is one, with algebraic multiplicity three. For one, subtract the identity: the equations give c two equal to zero, and then c one equal to zero. So the eigenspace is the constant polynomials, a line. Geometric multiplicity one is less than three, so psi is not diagonalisable. In words: a polynomial that repeats with period one is constant.
Problem 12: true or false?
Problem twelve: true or false? Prove each true statement, and give a counterexample for each false one. A is an n by n real matrix. Statement a says that A and A plus three I have the same eigenvectors. True. If A v equals lambda v, then A plus three I, times v, is lambda v plus three v, which is lambda plus three, times v. Conversely, if A plus three I sends v to mu v, then A sends v to mu minus three, times v. Statement b says that if lambda squared is an eigenvalue of A squared, then lambda is an eigenvalue of A. False. Take A equal to the identity, and lambda equal to minus one. Then lambda squared is one, an eigenvalue of I squared. But minus one is not an eigenvalue of I, since I v is v, never minus v, for a nonzero v.
Statement c says that if A is diagonalisable, then A is invertible. False. The diagonal matrix with entries one and zero is diagonalisable, with P the identity, but its determinant is zero. Diagonalisable means enough eigenvectors; invertible means that zero is not an eigenvalue. These are different questions. Statement d says that if A is invertible and diagonalisable, then A inverse is diagonalisable. True. Write A as P D P inverse. Then D is P inverse A P, a product of invertible matrices, so its diagonal entries are not zero, and D inverse is diagonal, with their reciprocals. Then A inverse is the inverse of P D P inverse: the inverses in reverse order, P, D inverse, P inverse. The same P, with a diagonal matrix in the middle.
Statement e says that if v and w are eigenvectors of A, and v plus w is not zero, then v plus w is an eigenvector of A. False. The diagonal matrix with entries one and two has the eigenvectors e one and e two. But it sends e one plus e two, the vector (one, one), to the vector (one, two), which is not a multiple of it. It does hold when the two eigenvectors share their eigenvalue, because each eigenspace is a subspace.
Problem 13: two proofs
Problem thirteen has two proofs and an example. Part a asks: if A is an n by n real matrix with A squared equal to the identity, show that for every x, x plus A x is in E one, and x minus A x is in E minus one, and deduce that A is diagonalisable. This proof is short but demanding, so it is worth pausing on each line. Take any vector x. A times, x plus A x, is A x plus A squared x, which is A x plus x. So x plus A x is in E one. In the same way, A times, x minus A x, is A x minus x, which is minus, x minus A x. So x minus A x is in E minus one. Either may be the zero vector.
Now every x splits into these two pieces: x is one half of, x plus A x, plus one half of, x minus A x. So every vector is a sum of a vector of E one and a vector of E minus one. Take a basis of E one, and a basis of E minus one. Together they span everything, by the split. And together they are independent, because bases of eigenspaces for different eigenvalues combine into an independent list. So they form a basis of eigenvectors, and A is diagonalisable. Part b asks us to check that the matrix A with first row (three, minus four), and second row (two, minus three), has A squared equal to I, and to diagonalise it using part a with x equal to e one.
Squaring: nine minus eight is one, minus twelve plus twelve is zero, six minus six is zero, and minus eight plus nine is one. So A squared is the identity. Take x equal to e one. A e one is the first column, the vector (three, two). So e one plus A e one is the vector (four, two), in E one, and e one minus A e one is the vector (minus two, minus two), in E minus one. Scale them to the vectors (two, one), and (one, one). Check: A times the vector (two, one), is the vector (two, one), and A times the vector (one, one), is the vector (minus one, minus one). So P has the columns (two, one), and (one, one), and D is diagonal with one and minus one.
Part c asks: if N is an n by n matrix with N to the k equal to zero for some k, but N is not zero, prove that the only eigenvalue of N is zero, and that N is not diagonalisable. If N v equals lambda v, with v not zero, then N to the k, times v, is lambda to the k, times v. But N to the k is zero, so lambda to the k is zero, and lambda is zero. And zero really is an eigenvalue: the determinant of N, to the k, is the determinant of N to the k, which is zero. So N is not invertible, and its only eigenvalue is zero.
Now suppose, only to show that it cannot happen, that N is diagonalisable. Then D carries the eigenvalues of N, all zero, so D is the zero matrix, and N, which is P D P inverse, is zero too. That contradicts N not being zero, so the assumption is false: N is not diagonalisable.
What we practised
Let's collect what we used today. Problems one and two found eigenvectors from a picture and from the definition, and showed that a sum of eigenvectors for different eigenvalues is not an eigenvector. Problems five and six found characteristic polynomials from multiplicities, and diagonalised a matrix of rank one. Problem seven asked when a matrix is diagonalisable. Problems eight, nine and ten used P D P inverse for powers: square roots, a Markov chain with its steady state, and a formula for a recurrence. Problem eleven found eigenvectors that are polynomials and matrices, and problems twelve and thirteen practised proofs.
Three habits carried us. Find the eigenvalues first, then each eigenspace as a null space. Check every eigenvector by multiplying it by the matrix. And to decide whether a matrix is diagonalisable, compare the two multiplicities of each eigenvalue. For practice, try problems three and four, then fourteen to sixteen. Problem fifteen follows a population over many seasons, and problem sixteen finds a sequence that repeats every six steps. Next week, real matrices with complex eigenvalues, like the rotations that have no real eigenvectors at all. See you then.
In this recitation
- Problem 1: eigenvectors you can see
- Problem 2: from the definition
- Problem 5: polynomials without determinants
- Problem 6: diagonalising A
- Problem 7: when is it diagonalisable?
- Problem 8: powers and square roots
- Problem 9: two cafés
- Problem 10: a recurrence
- Problem 11: operators on other spaces
- Problem 12: true or false
- Problem 13: two proofs
- What we practised