Linear Algebra for Engineers lecture 26: Eigenvectors and Eigendecomposition
Overview
Alex Townsend develops eigendecomposition from the characteristic polynomial and null-space calculations: a matrix is diagonalizable when it has enough linearly independent eigenvectors to form an invertible matrix P, giving A = PDP⁻¹. He also connects eigenvectors to Google’s PageRank idea, explaining how an 85% link-following and 15% random-teleportation model addresses disconnected web graphs and cycles.
Key takeaways
- The roots of det(A − λI) give the eigenvalues, but the characteristic polynomial does not reveal the eigenvectors or whether a matrix is diagonalizable.
- For each eigenvalue λ, its eigenvectors come from the null space of A − λI; the eigenspace dimension is n minus the matrix’s rank.
- A diagonalization A = PDP⁻¹ requires n linearly independent eigenvectors, with each column of P paired in order with its eigenvalue in D.
- Repeated eigenvalues do not guarantee enough independent eigenvectors: the 2×2 Jordan block has a repeated eigenvalue but only one independent eigenvector, so it is not diagonalizable.
- Google’s PageRank model combines 85% link-following with 15% uniform random teleportation to address disconnected graphs and cycles and promote convergence to a unique steady state.
Chapters
- The characteristic polynomial is det(A − λI), a degree-n polynomial whose roots are the eigenvalues.
- An n×n matrix has at most n distinct eigenvalues, though roots can repeat or be complex.
- Different matrices can share a characteristic polynomial because it records eigenvalues but not eigenvectors.
- For the 3×3 example, λ = 2 has algebraic multiplicity two, so Townsend finds its eigenspace from the null space of A − 2I.
- The null-space matrix has rank one, leaving two free variables and an eigenspace of dimension two.
- Two independent null-space vectors form a basis for the eigenvectors associated with λ = 2.
- For λ = −1, the relevant null space is that of A + I, a 3×3 matrix with rank two.
- Rank-nullity gives a one-dimensional eigenspace, so only one nonzero eigenvector is needed for its basis.
- Townsend suggests spending about a minute looking for a simple null-space vector before using row reduction.
- Townsend forms P by placing the three independent eigenvectors from the 3×3 example in its columns.
- Multiplying A by P scales each column by its corresponding eigenvalue, giving AP = PD.
- Since the columns of P are independent, P is invertible and rearranging yields A = PDP⁻¹.
- Eigenvector columns and their matching diagonal entries in D can be reordered together without changing A = PDP⁻¹.
- An eigenvector can be multiplied by any nonzero scalar and remain an eigenvector, producing another valid P.
- Repeated eigenvalues allow different bases for the same eigenspace, so a matrix can have many valid eigendecompositions.
- An n×n matrix is diagonalizable when it can be written as PDP⁻¹ with P invertible and D diagonal.
- The columns of P must be n linearly independent eigenvectors, and each diagonal entry of D must match its column’s eigenvalue.
- P and D may contain complex numbers; diagonalization does not require all eigenvalues or eigenvectors to be real.
- The 2×2 matrix with a single off-diagonal 1 has eigenvalue 0 repeated twice but only a one-dimensional eigenspace.
- Because that matrix has only one independent eigenvector, it cannot supply the two columns needed for an invertible P.
- The invertible matrix with diagonal entries 1 and off-diagonal entry 1 is also not diagonalizable: its repeated eigenvalue 1 has only one independent eigenvector.
- Townsend models pages as states in a Markov chain, with transition probabilities determined by randomly choosing among outgoing links.
- A steady-state probability vector is an eigenvector with eigenvalue 1 for the stochastic transition matrix.
- Disconnected parts of the web can support separate steady states, preventing a single unique ranking across all pages.
- A spider confined to one of two disconnected web graphs cannot compare pages in the other graph.
- A four-page cycle can have a steady-state vector with probability 1/4 on each page, yet a spider may keep cycling instead of converging.
- These examples show why merely having a steady state does not ensure that every starting distribution reaches it.
- The model follows the web’s links 85% of the time and teleports to a randomly chosen page 15% of the time.
- For four pages, the teleportation matrix assigns probability 1/4 to each destination from every starting page.
- Combining the link and teleportation matrices produces a stochastic transition matrix designed to provide a unique steady state that every initial distribution approaches.
Transcript excerpt
0:01 Okay. So anyway, hopefully this uh this uh yeah, every time we have something like philosophy of life uh conversation. Anyway, um so hopefully this will be like 50 minutes of uh uh election uh election break. Anyway, uh the suffering today is in wait is in 2 5.2 and 5.3. Um [clears throat] so uh give me a square matrix then I know how to find its igen values and the suffering we have to do to find its igen values is to solve this uh equation. The term of a minus lambda i equals z. We have to find the lambda that makes this true. Right? This is this always ends up being
0:52 a polomial actually and it's always for an n byn case it's always a polinomial of degree n and we call it for a given matrix a it's a polinomial of degree n we call that polomial the characteristic polomial of a okay so that's just a word just a so if I ask you for the characteristic polomial of a then you calculate the polomial which is the determinant of a minus lambda Now I know this doesn't look like a polomial but it is when you calculate it it's a polomial in lambda right okay and its roots its roots are the values of a so that's how we find values right we we calculate this pol we find its roots and those roots are the values
1:41 now these this this means that an a matrix a has at most n root values because a polinomial of degree n has at most n distinct roots. But you could get the situation where some of these roots are repeated, right? You can also get complex roots even if this matrix is real or this
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Alex Townsend.