Linear Algebra I · Eigenvalues and eigenvectors

Prerequisites: matrix-vector multiplication, nullspaces, independent vectors and bases, solving homogeneous systems, and the preceding determinant lesson. Work with real n×n matrices and real vectors unless a complex-number preview is explicitly identified. Goals: test Av=λv with v≠0, find characteristic roots and full eigenspaces, distinguish multiplicities, and recognize when real eigenvectors are absent. Reproduce the examples, run the downloadable lab or browser alternative, and attempt the practice and open-book assessment before opening solutions.

An invariant direction, not an unchanged vector

For a square A, a nonzero vector v is an eigenvector with eigenvalue λ if Av=λv. The output stays on the line through v: positive λ keeps its orientation, negative λ reverses it, and λ=0 sends v to zero. Length is multiplied by |λ|. The zero vector is excluded because A0=λ0 holds for every λ and carries no information about direction. An eigenvalue may nevertheless be zero. Any nonzero scalar multiple cv of an eigenvector is another eigenvector for the same λ, since A(cv)=cAv=λ(cv).

To test a proposed pair, calculate every component of Av and compare it with λv. To test only a nonzero v, find λ from a nonzero component and verify all remaining components. Do not divide by a zero component or assume that the diagonal entries give all eigenvectors. A general vector can change direction under A.

From a determinant to a whole eigenspace

Rearrange Av=λv as (A−λI)v=0. A nonzero solution exists precisely when A−λI is singular, so det(A−λI)=0. We use the monic characteristic polynomial χA(λ)=det(λI−A); det(A−λI)=(−1)ⁿχA(λ), giving the same roots. For A=[a b;c d], χA(λ)=(λ−a)(λ−d)−bc=λ²−(a+d)λ+(ad−bc). The trace a+d is the diagonal sum, and ad−bc is the determinant. A triangular matrix has characteristic polynomial ∏ᵢ(λ−aᵢᵢ), so its eigenvalues are its diagonal entries; the associated eigenvectors still require solving a system.

For an eigenvalue λ, its eigenspace is Eλ=null(A−λI), including zero. It is a subspace: if Au=λu and Av=λv, then A(αu+βv)=λ(αu+βv). Its eigenvectors are exactly the nonzero members. Find a basis by row-reducing A−λI, expressing pivot variables using free variables, and extracting one vector per free parameter. Report the entire span rather than only one convenient vector. Verify each basis vector in the original equation Av=λv.

Multiplicity and independent directions

Algebraic multiplicity is a root’s repetition in χA. Geometric multiplicity is dim(Eλ), the number of independent eigenvectors for that eigenvalue. For an eigenvalue, 1≤geometric multiplicity≤algebraic multiplicity; equality is not automatic. Repeated eigenvalues do not guarantee enough eigenvectors for an eigenvector basis. The examples below show the difference without assuming a diagonalization theorem.

Two eigenvectors with distinct eigenvalues are independent. Proof: if nonzero v₂=cv₁, then c≠0. Applying A gives λ₂cv₁=cλ₁v₁, hence c(λ₂−λ₁)v₁=0, impossible for distinct eigenvalues. More generally, eigenvectors for distinct eigenvalues are independent, as proved in the reading. Independent does not generally mean orthogonal. We defer eigenvector coordinates, diagonalization, and powers of A to the next unit.

0v=(1,1)Av=(3,3)λ=3A=[2 1; 0 3], Av=3v
Original diagram with equal axis scales: v and Av share an invariant line. The shorter arrow represents the input; the longer arrow represents its image. This illustrates one eigenvalue, not every possible input direction.

Worked examples

  1. Triangular, but not diagonal: A=[2 1;0 3] gives χA=(λ−2)(λ−3). At λ=2, (A−2I)v=0 reduces to y=0, so E₂=span{(1,0)}. At λ=3 it reduces to −x+y=0, so E₃=span{(1,1)}. Check A(1,0)=(2,0) and A(1,1)=(3,3). In contrast, A(0,1)=(1,3) is not a multiple of (0,1). The coordinate axes are not automatically both eigenvector directions.
  2. A symmetric example: B=[3 1;1 3] has χB=λ²−6λ+8=(λ−4)(λ−2). Solving gives E₄=span{(1,1)} and E₂=span{(1,−1)}. For instance B(1,−1)=(2,−2)=2(1,−1). Each eigenvalue has algebraic and geometric multiplicity 1. Normalize if convenient, but unit length is not part of the eigenvector definition.
  3. Repeated root, only one independent direction: J=[2 1;0 2] has χJ=(λ−2)². Yet J−2I=[0 1;0 0] forces y=0, so E₂=span{(1,0)} has dimension 1. There are infinitely many nonzero vectors on this line, but only one independent direction. Compare 2I: it has the same polynomial, while E₂=ℝ² with basis {(1,0),(0,1)}. The polynomial alone does not determine eigenspace dimension.
  4. Zero is allowed as an eigenvalue: P=[1 0;0 0] projects onto the first coordinate axis. P(1,0)=(1,0), so λ=1; P(0,1)=(0,0)=0(0,1), so λ=0. E₁=span{(1,0)} and E₀=span{(0,1)}. This is consistent with determinant zero and a nontrivial nullspace. The eigenvector (0,1) is nonzero even though its image is zero.

Real and complex boundaries; common mistakes

A real matrix need not have a real eigenvalue. The quarter-turn rotation R=[0 −1;1 0] has χR=λ²+1, with no real root. Geometrically, no nonzero real direction stays on its line after a 90° rotation. Over complex numbers the roots are i and −i, where i²=−1; solving complex eigenspaces is deferred. Always state the scalar field rather than silently claiming every real matrix has a real eigenvector basis.

Exclude v=0, not λ=0. Solve for eigenspaces after finding roots. Do not mistake root repetition for eigenspace dimension, or infinitely many scalar multiples for infinitely many independent directions. A sum of eigenvectors with different eigenvalues is generally not an eigenvector. Direct multiplication is an essential check. The lab’s rational examples do not justify deciding exact multiplicities from rounded physical data.

Practice

  1. For D=diag(−1,3), find both eigenspaces. Test v=(−2,0) and w=(1,1).
  2. Find χA and eigenspace bases for A=[1 2;0 3]. Verify each basis vector.
  3. For A=[2 s;0 2], compare s=0 and s=−1. Give algebraic and geometric multiplicities and explain what changes.
  4. Challenge: prove that R=[0 −1;1 0] has no real eigenvalue using its characteristic polynomial. Why does v=0 fail to rescue an eigenvector claim?
Fully worked solutions
  1. E₋₁=span{(1,0)} and E₃=span{(0,1)}. D(−2,0)=(2,0)=−1(−2,0), so v is an eigenvector. D(1,1)=(−1,3) would require λ=−1 and λ=3 simultaneously, so w is not.
  2. χA=(λ−1)(λ−3)=λ²−4λ+3. At 1, 2y=0, giving E₁=span{(1,0)}. At 3, −2x+2y=0, giving E₃=span{(1,1)}. Checks are A(1,0)=(1,0) and A(1,1)=(3,3).
  3. Both have χA=(λ−2)² and algebraic multiplicity 2. At s=0, A−2I=0, so E₂=ℝ² and geometric multiplicity 2. At s=−1, −y=0, so E₂=span{(1,0)} and geometric multiplicity 1. The off-diagonal coupling changes the nullspace without changing the roots.
  4. det(λI−R)=det([λ 1;−1 λ])=λ²+1>0 for every real λ, so R−λI never has a nonzero real null vector. Zero is always in a nullspace but is excluded from the definition of an eigenvector.

Assessment · Open book · 18 points

Open book: use books, lesson notes, cited readings, calculators, and relevant free software. Explain your own reasoning, assumptions, units, and checks; identify references or software you use. Attempt the questions before opening the answer key. Suggested study time: 40–60 minutes; this is a self-study guide, not a timed restriction.

Use references and write your own reasoning before opening the answer key. Show each eigenspace equation and direct checks.

  1. For B=[4 2;0 1], find χB, all eigenvalues, and a basis for each eigenspace. Verify the eigenvector for λ=1. (5)
  2. For J=[2 3;0 2], give the algebraic and geometric multiplicities of 2 and its eigenspace. Explain why zero is not an eigenvector. (3)
  3. Let P=diag(0,−2). Compute P(0,−3) and its eigenvalue; explain whether (1,0) is an eigenvector. Can the quarter-turn R=[0 −1;1 0] have a real eigenvalue? Justify. (4)

Application and reasoning · 6 points

Compare Aₛ=[2 s;0 2] for s=0 and s=1: determine the common characteristic polynomial (2) and both eigenspaces with dimensions (2). Separately refute “a sum of eigenvectors is always an eigenvector” with a nonzero sum and explicit matrix multiplication (2).

Complete answer key and scoring rubric
  1. χB=(λ−4)(λ−1)=λ²−5λ+4 (1); roots 4,1 (1). At 4, y=0, so E₄=span{(1,0)} (1). At 1, 3x+2y=0, so E₁=span{(2,−3)} (1). B(2,−3)=(8−6,−3)=(2,−3), verifying λ=1 (1).
  2. χJ=(λ−2)², so algebraic multiplicity 2 (1). J−2I forces 3y=0, hence E₂=span{(1,0)} and geometric multiplicity 1 (1). Zero satisfies the equation for every λ and has no direction, so it is excluded (1).
  3. P(0,−3)=(0,6) (1), equal to −2(0,−3), so λ=−2 (1). P(1,0)=0=0(1,0), so this nonzero vector is an eigenvector for λ=0 (1). For R the polynomial λ²+1 has no real root, hence no real eigenvalue (1).

Application and reasoning · 6 points

Both have χ=(λ−2)², algebraic multiplicity 2 (2). For s=0, E₂=ℝ²; for s=1, y=0 so E₂=span{(1,0)}, dimensions 2 and 1 (1 each). For D=diag(1,2), e₁,e₂ are eigenvectors but D(1,1)=(1,2) is not a scalar multiple of their nonzero sum (1 construction, 1 check).

Scoring: existing questions 12 + application problem 6 = 18 points. Award the stated method and reasoning marks, not only final answers.

Download the eigenspace lab

Download the exact-arithmetic Python lab

Objective: vary A=[2 s;0 k], compare characteristic roots with eigenspace dimensions, and test v=(x,y) directly. Install free Python 3 for Windows, macOS, or Linux from the official link below. Save the file, open a terminal in its folder, and run the commands; Windows may use py -3 instead of python3. No account or additional packages are required; the file works offline after installation. Inputs k,s,x,y lie in [−4,6] in steps of 0.5; negative fractions such as −1/2 are accepted.

python3 ee-eigenvalues.py 3 1 1 1
python3 ee-eigenvalues.py 3 1 0 1
python3 ee-eigenvalues.py 2 1 1 0
python3 ee-eigenvalues.py 2 0 1 1
python3 ee-eigenvalues.py 0 1 1 -2
python3 ee-eigenvalues.py 3 1 0 0

Procedure: first predict χA=(λ−2)(λ−k). For k≠2, E₂=span{(1,0)} and Eₖ=span{(s,k−2)}; check the latter is nonzero and multiply it by A. For k=2, solve sy=0: if s=0 the eigenspace is all ℝ², otherwise it is the first axis. Predict Av and classify the probe, then compare the download with the browser lab. Expected probe results in order: eigenvalue 3 with Av=(3,3); not an eigenvector with Av=(1,3); eigenvalue 2 with only one independent direction; eigenvalue 2 with two independent directions; eigenvalue 0 with Av=(0,0); and excluded zero vector.

Questions and checks: why can equal roots yield different dimensions? The equation sy=0 changes its constraints. Why is the fifth probe valid but the sixth invalid? The fifth input is nonzero; only its image vanishes. Python checks each reported basis vector and every accepted probe exactly with fractions. Browser displays are rounded to six decimals, but classification uses exact binary arithmetic for these bounded half-unit inputs. This fixed triangular family has known real roots; it is not a general numerical eigenvalue solver, a noisy-data multiplicity test, or a physical experiment.

Free primary readings and next step

Read Georgia Tech §5.1 for the definition and eigenspace recipe, then §5.2 for the characteristic polynomial and §5.4.3 for multiplicity definitions and the general inequality. Use MIT’s lecture, summary, and solved exercises for a second explanation. The complex-eigenvalues section is optional preparation; a later lesson will treat eigenvector coordinates and diagonalization. All linked readings are public and require no university account or paid textbook.

Eigenvector lab · Roots, spaces, and a probe

For A=[2 s;0 k], find eigenspaces and test v=(x,y), including repeated roots and zero images.

Free tool built into this page. Use it in your browser without an account or download.

Procedure

Try (k,s,x,y)=(3,1,1,1),(3,1,0,1),(2,1,1,0),(2,0,1,1),(0,1,1,−2),(3,1,0,0). Predict roots, dimensions, and Av. Compare with the Python download.

Expected results and answer check

The six probes give eigenvalue 3; not an eigenvector; eigenvalue 2 with one independent direction; eigenvalue 2 with two; eigenvalue 0; and excluded zero vector. χ=(λ−2)(λ−k). For k≠2 use bases (1,0) and (s,k−2); for k=2 solve sy=0.

Python uses exact fractions. Browser displays are rounded; bounded half-unit products give exact probe classification. This fixed triangular family is not a general eigenvalue solver or a test for multiplicity in noisy measurements.