Definition · Eigenvalue and eigenvectorFor a matrix A, a number λ is an eigenvalue and a non-zero vector v an eigenvector when A·v = λ·v.
Every non-zero multiple of an eigenvector is an eigenvector with the same eigenvalue, so what is determined is a direction, not a point. The lab prints the smallest whole-number vector with its first non-zero entry positive, so a diagonal matrix gets (0, 1) and (1, 0).
Theorem · Where the eigenvalues come fromThe eigenvalues of A, with rows a b and c d, are the roots of λ² − τ·λ + Δ = 0, where τ = a + d is the trace and Δ = a·d − b·c the determinant.
A·v = λ·v is (A − λ·I)·v = 0, which has a non-zero solution v exactly when A − λ·I has determinant zero, the fact about two-by-two systems from Algebra's Systems and Matrices.
That determinant is (a − λ)·(d − λ) − b·c. Multiplying out gives λ² − (a + d)·λ + (a·d − b·c), which is λ² − τ·λ + Δ. The two roots add to τ and multiply to Δ.
□
Example · A symmetric matrixTake A with rows 2 1 and 1 2. Then τ = 4 and Δ = 3, so λ² − 4λ + 3 = 0, which factors as (λ − 1)·(λ − 3). The eigenvalues are 1 and 3.
For λ = 1, (A − I)·v = 0 is the pair v₁ + v₂ = 0 and v₁ + v₂ = 0, one equation twice, so v = (1, −1). For λ = 3 it is −v₁ + v₂ = 0, so v = (1, 1).
The two equations are always the same equation, up to a multiple, when λ is an eigenvalue. That is the quadratic's doing: the determinant being zero means the two rows of A − λ·I are parallel. So solving for v takes one equation, and any non-zero solution of it will do.
A: rows 2 1 and 1 2
τ = 4, Δ = 3, λ² − 4λ + 3 = 0
λ = 1: (A − I)·v = 0 v₁ + v₂ = 0 v = (1, −1)
λ = 3: (A − 3I)·v = 0 −v₁ + v₂ = 0 v = (1, 1)
Theorem · A straight-line solutionIf A·v = λ·v, then x(t) = e^(λt)·v solves x′ = A·x.
Differentiate: x′ = λ·e^(λt)·v, because v is constant.
The other side is A·x = e^(λt)·A·v = e^(λt)·λ·v. They are equal at every t. Each coordinate of x is a multiple of the same exponential, so the point stays on the line through v.
□
For the symmetric matrix the straight-line solutions are e^(t)·(1, −1) and e^(3t)·(1, 1). Check the second directly: both coordinates are e^(3t), so x′ = 3e^(3t), and the first equation says x′ = 2x + y = 3e^(3t). They agree. Both solutions move away from the origin, the second faster, because both eigenvalues are positive.
Roots that are not rational
The quadratic does not always factor. For the matrix with rows 1 1 and 1 0, τ = 1 and Δ = −1, so λ² − λ − 1 = 0 and λ = (1 ± √5)/2. The eigenvalues are exact surds, and the lab prints them as such. Their eigenvectors exist, but have irrational entries, and the lab prints a dash for the vectors rather than a rounded guess. That is a limit of the lab, not of the mathematics: the straight-line solutions are there to be found.
Example · A direction written two waysA student finds (2, 2) for the first matrix and the lab prints (1, 1). Test (2, 2): A·(2, 2) = (6, 6) = 3·(2, 2). It is an eigenvector with eigenvalue 3.
The two answers describe one line, the diagonal. The lab reports the primitive vector because a direction has no preferred length.