Eigenvalues and Eigenvectors


Eigenvalues and Eigenvectors

Anna
So we left off last time with that question: is there a non-zero vector u such that Au equals λu? Today we're diving into exactly that — eigenvalues and eigenvectors.

Simon
Right, and we started with a concrete matrix: A = [2,1;1,2]. Plugging in some input vectors showed that most got rotated and stretched, but two special ones — (1,1) and (1,-1) — only got scaled. That's the key idea: eigenvectors are those special directions that stay the same, just stretched or shrunk by an eigenvalue.

Anna
Exactly. So formally, if Au = λu for a non-zero u, then u is an eigenvector and λ is the eigenvalue. Now, how do we find them? We rearrange: Au - λu = 0, or (A - λI)u = 0. That's a homogeneous system, and we want a non-trivial solution.

Simon
Which means the matrix A - λI must be singular — determinant zero. So det(A - λI) = 0 is the characteristic equation. For a 2x2, that's a quadratic in λ.

Anna
Let's do it for our example. A = [2,1;1,2], so det([2-λ, 1; 1, 2-λ]) = (2-λ)² - 1 = λ² - 4λ + 3 = 0. That gives λ = 3 and λ = 1.

Simon
And you can check: the product of eigenvalues (3×1=3) equals det(A)=3, and the sum (3+1=4) equals the trace, the sum of the diagonal entries 2+2=4. That's a general property for any 2x2.

Anna
Now for each eigenvalue, we find the eigenvector by solving (A - λI)u = 0. For λ=3, we get -u1 + u2 = 0 and u1 - u2 = 0, so u1 = u2. So any multiple of (1,1) works. For λ=1, we get u1 = -u2, so eigenvectors are multiples of (1,-1).

Simon
And those are exactly the two directions we saw earlier. But not every matrix has real eigenvalues, right?

Anna
Right. Take the rotation matrix for 90 degrees: R = [0,1;-1,0]. Its characteristic equation is λ² + 1 = 0, so λ = i and -i. No real eigenvalues means no real eigenvectors — every vector gets rotated, no fixed direction.

Simon
What about repeated eigenvalues? Like the shear matrix [1,1;0,1]?

Anna
Good example. det([1-λ, 1; 0, 1-λ]) = (1-λ)² = 0, so λ=1 is a repeated eigenvalue. Solving (A - I)u = 0 gives u2=0, u1 free. So eigenvectors are multiples of (1,0) — only one direction. In 2D, a repeated eigenvalue often means only one eigenvector, unless the matrix is a scalar multiple of the identity.

Simon
So to sum up: a 2x2 matrix can have two distinct real eigenvectors, one real eigenvector, or none. And there's a cool property: if A is real symmetric, like our first example, the eigenvectors are orthogonal. (1,1)·(1,-1)=0.

Anna
Yes, that's general for real symmetric matrices with distinct eigenvalues — the eigenvectors are orthogonal. That's a big deal in applications. So eigenvalues and eigenvectors give us the 'natural directions' of a transformation. And this is just the start — next we'll go to 3D, cross products, and more.

Simon
Looking forward to it. For now, we've got the core idea: find λ from det(A-λI)=0, then solve (A-λI)u=0 for u. That's the recipe.

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