Learn
Lesson · Systems and the Phase Plane · Linear systems

Straight-Line Solutions and Eigenvectors

An eigenvector of A is a direction that the matrix does not turn: A·v is a multiple λ·v of v. The multipliers λ are the roots of λ² − τ·λ + Δ = 0, where τ is the trace and Δ the determinant. For each such pair, e^(λt)·v is a solution that travels along a straight line through the origin.

A·v = λ·v v is a direction, not a point λ² − τ·λ + Δ = 0 τ = a + d Δ = a·d − b·c (A − λ·I)·v = 0 solve for v x(t) = e^(λt)·v solves x′ = A·x
The directions a matrix only stretches

Core ideas

What this lesson establishes

Three ideas. The first names what to look for, the second says how to find the multipliers, and the third says why the effort pays: each pair gives a solution you can write down.

1

An eigenvector is a direction

A non-zero vector v is an eigenvector of A when A·v = λ·v for some number λ, called its eigenvalue. Multiplying by A may stretch, shrink or flip v, but it leaves it on the same line through the origin. Every non-zero multiple of v is an eigenvector for the same λ, so (1, 1) and (2, 2) are one answer written twice.

2

The eigenvalues solve a quadratic

A·v = λ·v says (A − λ·I)·v = 0, and a non-zero v can satisfy that only when the determinant of A − λ·I is zero. Expanding it gives λ² − τ·λ + Δ = 0 with τ = a + d and Δ = a·d − b·c. Two exact numbers decide the multipliers, and the quadratic formula finishes the job.

3

An eigenvector gives a straight-line solution

If A·v = λ·v then x(t) = e^(λt)·v solves x′ = A·x. The point never leaves the line through v: it slides along it, away from the origin if λ is positive and toward it if λ is negative.

The material

Finding the directions, and why they solve the system

The definition, the quadratic, a full example in fractions, the solution it produces, and what happens when the roots are not rational.

Definition · Eigenvalue and eigenvector

For 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 from

The 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 matrix

Take 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 solution

If 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 ways

A 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.

Interactive

The phase plane

Trace, determinant, eigenvalues and exact Euler steps

A linear system in the planex′ = A·x: the matrix decides the picture
the fieldEuler's steps (exact)drawn by stepping in floating point

Method

Finding the straight-line solutions

Trace and determinant first, then the roots, then one equation per root.

1

Compute the trace and the determinant

τ = a + d and Δ = a·d − b·c. For rows 1 2 and 3 0 they are τ = 1 and Δ = 0 − 6 = −6.

2

Solve λ² − τ·λ + Δ = 0

Here λ² − λ − 6 = (λ − 3)·(λ + 2), so λ = 3 and λ = −2. If it does not factor, use the formula and keep the surd.

3

Solve (A − λ·I)·v = 0 for each λ

For λ = 3 the first row is −2·v₁ + 2·v₂ = 0, so v₁ = v₂ and v = (1, 1). For λ = −2 it is 3·v₁ + 2·v₂ = 0, so v = (2, −3). One row is enough.

4

Check one equation of the system

Test A·v = λ·v on the vector you found: A·(2, −3) = (1·2 + 2·(−3), 3·2 + 0) = (−4, 6) = −2·(2, −3). It is an eigenvector for −2.

5

Write the solutions

e^(3t)·(1, 1) and e^(−2t)·(2, −3). The first runs out along the diagonal and the second runs in along a steeper line. Any non-zero multiple is as good.

Directions, quadratics and checks

Score 0 / 0

Rows 2 1 and 1 2: from the matrix to the diagonal solution

The first preset. Find the eigenvalues, the directions and the solution along the diagonal.

A: rows 2 1 and 1 2, trace 4, determinant 3 λ² − 4λ + 3 = 0, (λ − 1)(λ − 3) = 0 λ = 1 and λ = 3 λ = 1: v₁ + v₂ = 0, v = (1, −1) λ = 3: −v₁ + v₂ = 0, v = (1, 1) along the diagonal: x(t) = e^(3t)·(1, 1) check: x′ = 3e^(3t), 2x + y = 3e^(3t)

The lab prints the eigenvalues 1, 3 and the vectors (1, −1), (1, 1), which is the same list written in the same order. Only the direction of a vector matters. Any other multiple, such as (−1, 1) or (5, −5), is the same eigenvector for the purpose of the solution.

The two eigenlines cut the plane into four regions, and a start in any region stays in it, because a solution cannot cross an eigenline: on the line it never leaves, so off it, it cannot arrive. The next lesson adds the two solutions together and gets all the rest.

Common mistakes

1
Treating an eigenvector as a pointA reader who finds (2, 2) and the lab shows (1, 1) concludes that one of them is wrong, because they are different points. They are the same direction: A·(2, 2) = (6, 6) = 3·(2, 2) and A·(1, 1) = (3, 3) = 3·(1, 1). An eigenvector names a line through the origin, and the line has infinitely many points on it, all equally valid. Only the eigenvalue, 3, is a single number.
2
Pairing a vector with the wrong eigenvalueWith rows 1 2 and 3 0, the vector (2, −3) goes with −2, not 3. The test is the multiplication: A·(2, −3) = (−4, 6) = −2·(2, −3). Swapped, the solution e^(3t)·(2, −3) fails the substitution, since its derivative is 3·e^(3t)·(2, −3) while A·x = −2·e^(3t)·(2, −3).
3
Solving for the eigenvector from the characteristic equation aloneThe quadratic gives only the eigenvalues. Each still needs its own equation (A − λ·I)·v = 0, solved separately. For λ = 1 and λ = 3 of the symmetric matrix that gave v₁ + v₂ = 0 and −v₁ + v₂ = 0, which have different solutions, and no amount of staring at λ² − 4λ + 3 produces either.

Check your understanding

✓
Finish when you can take a two-by-two matrix and write down the solutions that stay on straight lines.

You should be able to compute the trace and determinant, solve the quadratic exactly, find one eigenvector per eigenvalue from a single equation, check it by multiplying, and write the straight-line solution e^(λt)·v.

Note: One straight-line solution is a thin slice of the picture. The sum of the two is the whole of it, and fitting that sum to a start is the work of “The General Solution of a Linear System”.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.