Eigenvalues and Eigenvectors Defined#
Week 2 treated a square matrix as a linear transformation: every input vector is sent to a new vector . In general points somewhere new — length and direction both change. There is a special class of directions where the transformation is as simple as possible: only scales the vector, without rotating it off its line.
A nonzero vector is an eigenvector of with eigenvalue when
The left side applies the matrix; the right side multiplies by a scalar. Equality means lies on the same line through the origin as . The number is the stretch factor along that line: stretches, shrinks, flips the direction and scales, and sends to the zero vector (so is in the null space ).
The zero vector is excluded by definition: holds for every , so it would not pin down a meaningful direction or eigenvalue.
Geometric picture. Think of as a map of the plane. Most arrows get sent to arrows that are not parallel to . Eigenvectors are the rare arrows that stay parallel: the map stretches or flips them along their own axis. Those invariant axes are the skeleton of the transformation — later weeks (diagonalization, symmetric matrices, SVD) rebuild from them.
Quick check. Take
Then , so is an eigenvector with . The vector is an eigenvector with . Every axis-aligned stretch has the standard basis as eigenvectors; the interesting case is when is not diagonal and those special directions are tilted.
The Characteristic Equation#
Rewrite by moving every term to one side:
So is an eigenvector with eigenvalue exactly when is a nonzero vector in the null space of :
Week 4: a square matrix has a nonzero null-space vector if and only if (equivalently, is singular). Apply that test with :
This is the characteristic equation of . Its roots are the eigenvalues. Expanding the determinant produces a monic polynomial of degree in — the characteristic polynomial — so an matrix has eigenvalues counting algebraic multiplicity (some may be complex even when is real).
Why determinants reappear. The same singularity test that told you whether had a unique solution now tells you which stretch factors are compatible with . No new machinery: only “when is singular?”
Trace and determinant shortcuts (). For a matrix the characteristic polynomial is always
You can verify this by expanding . The Vieta relations follow immediately: the sum of the two eigenvalues equals the trace, and their product equals . Those identities hold for every matrix as well (sum of eigenvalues = trace, product = determinant), but the quadratic formula is special to .
Finding Eigenvectors#
Once you have a candidate , finding eigenvectors is a null-space computation from Week 6: row-reduce and solve . Every nonzero solution is an eigenvector for that . Scaling an eigenvector still yields an eigenvector for the same — you usually report a convenient representative (integer components, or unit length).
Worked example end to end. Let
Step 1 — eigenvalues. Trace and , so
Factor: . The eigenvalues are and .
Step 2 — eigenvector for . Form
Row 2 is times row 1, so the rank is . The equation gives . Free variable yields
Take . Check: .
Step 3 — eigenvector for . Form
The single independent equation is , so . Thus
is an eigenvector. Check: .
Summary. stretches the line spanned by by and the line spanned by by . Those two directions are the eigenbasis of this plane map.
Recipe for .
- Form and find the roots .
- For each root, solve by elimination; report a basis of the solution space (nonzero vectors only).
- Optionally normalize eigenvectors or choose integer multiples for readability.
For larger , hand expansion of is painful; production code uses iterative algorithms (QR iteration and variants). The conceptual pipeline — “characteristic roots, then null spaces” — stays the same. The browser lab below uses numpy.linalg.eig for the same matrix and verifies .
Find the eigenvalues of A = [[4,1],[2,3]]. The characteristic equation is λ² − trace(A)λ + det(A) = 0. Enter the larger eigenvalue.
Eigenspaces and Multiplicity#
For a fixed eigenvalue , the set of all solutions of is the null space . That set always includes the zero vector, and it is a subspace of . It is called the eigenspace of for :
(The zero vector is allowed here because subspaces must contain zero; “eigenvectors” still means the nonzero members of .)
The geometric multiplicity of is — how many independent eigenvectors you can find for that eigenvalue. The algebraic multiplicity is the multiplicity of as a root of the characteristic polynomial. Always
When the two multiplicities match for every eigenvalue and you can assemble a full basis of eigenvectors, is diagonalizable — Week 10's main topic. They need not match.
Repeated root without enough eigenvectors. Consider
Then , so has algebraic multiplicity . But
has rank , so . Every eigenvector is a multiple of ; there is no second independent eigenvector. Geometric multiplicity is , less than algebraic multiplicity . Matrices like are defective: they cannot be diagonalized. Week 10 returns to the exact criterion (a full set of independent eigenvectors) and to the Jordan form that replaces diagonalization when that criterion fails.
What you need this week. Compute eigenvalues from , compute eigenspaces as null spaces, and read geometric multiplicity as the dimension of that null space. The diagonalizability question is reserved for next week; the example above only flags that a repeated root does not automatically give you two independent directions.
Knowledge check#
Eigenvalues of A are the roots of which equation?
Browser lab#
Compute eigenvalues/eigenvectors with numpy.linalg.eig and verify .
import numpy as np
A = np.array([[4., 1.],
[2., 3.]])
eigvals, eigvecs = np.linalg.eig(A)
print("eigenvalues =", eigvals)
print("eigenvectors (columns) =\n", eigvecs)
for i in range(2):
lhs = A @ eigvecs[:, i]
rhs = eigvals[i] * eigvecs[:, i]
print(f"A v{i+1} ≈ λ{i+1} v{i+1}:", np.allclose(lhs, rhs))