Unfinished learning resource · Units 1–8 available

Unit 5. Eigenvectors, diagonalization and repeated change

Unfinished learning resource · TMP-SCI-132. Units 1–8 are available; whole-course validation remains unfinished. This is not a completed semester, registered course, degree credit or accreditation. The teaching has received bounded assistant review, not subject-specialist or learner validation. Workload estimates and rubrics remain unpiloted. All application data are fictional. No account, installation, purchase or private upload is needed.

Study route

A matrix can mix coordinates so that repeated multiplication seems to require a growing calculation. Sometimes there is a basis in which the same map only scales each coordinate. The special basis vectors are eigenvectors. Finding a polynomial's roots is only the first step: we must check whether there are enough independent eigenvectors and specify whether our scalars are real or complex.

Preparation: solve homogeneous systems, find bases and dimensions, multiply matrices in the right order, compute small determinants, and interpret S⁻¹AS from Units 1–4. Quadratic factorization is needed; a short complex-number bridge is included rather than assumed. No calculus, differential equations, probability theory or general spectral theorem is required.

The retained two-week plan allocates 16 hours: five for teaching/guided work, four for independent practice/corrections, two for homework, two for the quiz and delayed task, and three for the project. These are unpiloted design allocations, not observed completion times. Pause between four sessions. Attempt each task before consulting the explained answers and retain the first attempt beside its correction. Written, typed or recorded explanations with a transcript are acceptable. Diagrams have full text descriptions; neither colour nor a drawing is required.

Outcomes

Readiness

R1. Find a basis of the solution set of [0 1;0 1]x=0, and state its dimension.

R2. Expand and factor (z−2)(z−3). Find its real zeros and explain why zero product, not division by a possibly zero factor, is the appropriate argument.

R3. For D=[2 0;0 −1], compute D³ and D⁰. Explain why a matrix raised to the zeroth power is the identity of its size.

R4. Show that (1,1),(1,−1) is a basis of R² and give the coordinates of (6,2) in that order.

If R1/R4 are insecure, revisit kernel and basis work. If R2 is insecure, review quadratic factorization before characteristic polynomials. R3 is a definition and multiplication exercise, not yet a theorem about arbitrary powers.

Session A. Directions a map does not mix

A1. Eigenvectors are nonzero

For a square matrix A acting on Fⁿ, where F is R unless explicitly changed to C, an eigenvector v is a nonzero vector satisfying Av=λv for some scalar λ in F. The scalar is its eigenvalue. The condition v≠0 matters: A0=λ0 for every λ, so allowing zero would identify nothing. A zero eigenvalue is allowed; its eigenvectors are nonzero kernel vectors.

Over R, an eigenvector's line is preserved. A positive eigenvalue keeps the direction along that line, a negative value reverses it, and zero collapses that line to the origin. This is about a line, not a requirement that every point be fixed. For A=[3 1;1 3],

A(1,1)=4(1,1),     A(1,−1)=2(1,−1).

But A(1,0)=(3,1), which is not a scalar multiple of (1,0). A map may have an eigenbasis without every vector being an eigenvector.

For a proposed λ, rearrange to (A−λI)v=0. The eigenspace E_λ=ker(A−λI) is a subspace including zero. Its nonzero vectors are the eigenvectors for λ. Thus λ is an eigenvalue exactly when this kernel has positive dimension. If λ is not an eigenvalue, the kernel is {0}; some authors reserve the word eigenspace for actual eigenvalues. We will state when λ qualifies.

A2. The characteristic polynomial locates candidates

Unit 4 proves a square matrix is singular exactly when its determinant vanishes. Therefore

λ is an eigenvalue ⇔ det(λI−A)=0.

We use the convention p_A(z)=det(zI−A). Using det(A−zI) instead multiplies it by (−1)ⁿ and has the same roots, but mixing conventions mid-calculation changes signs unnecessarily. This unit uses only small determinants. For A=[3 1;1 3],

p_A(z)=(z−3)²−1=z²−6z+8=(z−4)(z−2).

At λ=4, solve [−1 1;1 −1]v=0 to obtain E₄=span{(1,1)}. At λ=2, solve [1 1;1 1]v=0 to obtain E₂=span{(1,−1)}. The determinant supplied the values; the kernels supplied the vectors. Merely listing the roots does not produce an eigenbasis.

A zero root means A has a nonzero kernel, hence is not invertible. Conversely a noninvertible square A has eigenvalue zero. For triangular matrices p_A(z) is the product of z minus each diagonal entry, by the triangular determinant rule. For a general matrix, simply reading its diagonal is not valid.

Diagram A, text equivalent. In the plane, the line y=x is stretched by 4 and the line y=−x by 2 under this A. A point on the horizontal axis usually leaves that axis. The two invariant lines give a useful basis, not two separate maps.

G1. For A=[3 1;1 3], classify (2,2), (−3,3), (1,0) and (0,0) as eigenvectors or not, giving the eigenvalue when applicable. Distinguish E₂ from its eigenvectors.

G2. For B=[2 1;0 3], compute p_B, find both eigenspaces, and verify one nonzero vector from each directly.

Session B. When an eigenbasis exists

B1. The basis equation explains diagonalization

Suppose v₁,…,vₙ are a basis and Av_j=λ_jv_j. Form S with these vectors as columns and D=diag(λ₁,…,λₙ), in the same order. Column by column,

AS=SD, hence S⁻¹AS=D and A=SDS⁻¹.

S is invertible because its columns form a basis. Conversely, if A=SDS⁻¹ with S invertible and D diagonal, AS=SD shows that the columns of S are an eigenbasis. This proves: A is diagonalizable over F exactly when Fⁿ has a basis of eigenvectors of A. The entries of S, D and the eigenvectors must belong to the stated field. Moving a diagonal entry without moving its corresponding column generally breaks the equation.

For the worked A, use S=[1 1;1 −1], S⁻¹=(1/2)[1 1;1 −1], D=diag(4,2). Direct multiplication verifies AS=SD. This is a coordinate change describing the same map. Row-reducing A is a different operation: left multiplication may change eigenvalues and eigenvectors. For example, row-reducing [2 0;0 3] gives I₂, whose eigenvalues are different.

B2. Why distinct eigenvalues help

Eigenvectors belonging to distinct eigenvalues are linearly independent. Here is a proof. If there were a dependent such list, choose a shortest dependent sublist v₁,…,v_r and a relation Σc_jv_j=0 with every c_j nonzero; otherwise it would not be shortest. A one-vector list cannot be dependent because eigenvectors are nonzero, so r≥2. Apply A−λ_rI to the relation:

Σ from j=1 to r−1 of c_j(λ_j−λ_r)v_j=0.

All displayed coefficients are nonzero because the eigenvalues differ. This is a shorter dependence, a contradiction. Consequently n distinct eigenvalues in F guarantee diagonalizability. Distinctness is sufficient, not necessary.

The same argument shows that bases chosen from different eigenspaces can be joined without new dependence. Group a proposed relation into vectors w_j in distinct eigenspaces. Discard zero groups. If any nonzero groups remained, they would be eigenvectors with distinct eigenvalues and hence independent; each group must instead be zero, and independence within each chosen basis forces all original coefficients to vanish.

B3. Repeated roots: count dimensions, not appearances

The algebraic multiplicity a_λ is the number of times (z−λ) occurs as a factor of p_A. The geometric multiplicity g_λ=dim E_λ counts independent eigenvectors for that λ. For an actual eigenvalue, 1≤g_λ≤a_λ.

Here is why the upper bound holds. Take a basis of E_λ with g vectors and extend it to a basis of Fⁿ, using Unit 2's extension theorem. In that basis the first g columns are λ times the corresponding coordinate vectors, so the matrix has block form

[ λI_g  C ; 0  B ].

Its characteristic polynomial is (z−λ)^g det(zI−B). For a block upper triangular array, the determinant factors this way: a nonzero permutation term must assign the bottom rows to bottom columns, leaving the top rows their top columns; the permutation sum then factors into the two diagonal-block determinants. If g=n, there is no lower block and the polynomial is simply (z−λ)^n. Similarity preserves the characteristic polynomial because

det(zI−S⁻¹AS)=det(S⁻¹(zI−A)S)=det(zI−A).

Thus (z−λ)^g divides the original p_A and g≤a_λ.

If p_A splits into linear factors over F, its multiplicities sum to n. The independent eigenspace bases above therefore give an eigenbasis exactly when g_λ=a_λ for every eigenvalue. If it does not split over F, A cannot have a diagonal representation over F: a diagonal matrix would supply n linear factors. This is a test with two requirements, not permission to assume all real polynomials have real roots.

Contrast C=2I₂ with J=[2 1;0 2]. Both have p(z)=(z−2)². For C, E₂=R², so g₂=2 and C is already diagonal. For J, (J−2I)v=0 forces the second coordinate to zero, so E₂=span{(1,0)}, g₂=1. There is no eigenbasis. J is defective, meaning not diagonalizable over a field in which its characteristic polynomial splits. Repeating an eigenvector or taking two nonzero multiples does not repair the missing dimension.

G3. For C and J above, list a₂ and g₂, and explain why “a repeated eigenvalue always prevents diagonalization” and “two roots counting repetition always give two independent eigenvectors” are both false.

G4. For T=[2 0 0;0 2 1;0 0 3], compute the two eigenspaces. Construct S,D and check AS=SD with A=T. Explain why the repeated root is harmless here.

Session C. Powers and the modes an initial state activates

C1. Repeated multiplication in an eigenbasis

For A=SDS⁻¹, adjacent S⁻¹S factors cancel in A² and then in every nonnegative integer power:

A^k=SD^kS⁻¹,     x_k=A^kx₀=Σ c_j λ_j^k v_j,

where x₀=Σc_jv_j and k is an integer ≥0. The k=0 statement uses A⁰=D⁰=I. If λ_j=0, handle k=0 by the identity rather than silently evaluating 0⁰; that component equals c_jv_j initially and vanishes after one step. The formula follows by induction or by applying A to each eigenvector repeatedly.

Each term is a mode, an eigenvector direction with a scalar coefficient. For real eigenvalues and k→∞:

These statements concern active modes. A matrix having an eigenvalue larger than 1 does not mean every initial state grows. A statement about every trajectory requires the eigenbasis and all mode possibilities to be considered.

C2. A complete two-compartment model

A fictional divisible quantity is stored in two compartments. Each step retains three quarters of each compartment and transfers one quarter to the other, with no creation, removal or outside input. With column vectors,

M=(1/4)[3 1;1 3],     x_{k+1}=Mx_k.

The columns sum to 1, so the sum of the two entries is unchanged. Every entry of M is nonnegative, so nonnegative inputs stay nonnegative. These are checks of the declared model, not findings about an actual device. Fractions refer to divisible amounts, not claims that an indivisible object has been split.

M has eigenvalue 1 with v₁=(1,1), and 1/2 with v₂=(1,−1). For x₀=(10,2),

x₀=6v₁+4v₂,
x_k=(6+4·2^(−k), 6−4·2^(−k)).

At k=0 this gives the input; at k=1 it gives (8,4), agreeing with multiplication. The total 12 stays fixed, the difference decays, and the limit is (6,6). Equilibrium here means Mx=x, the eigenvalue-1 space; the initial total selects one equilibrium on that line. An equilibrium is not automatically attracting: we also needed the other mode's decay.

Diagram B, text equivalent. A point starts at (10,2) on the line x+y=12. Successive points (8,4),(7,5),(13/2,11/2) approach (6,6) along that same line. The stationary direction (1,1) and changing direction (1,−1) are distinct. No observed record is assumed; these are exact model outputs.

C3. Failure to diagonalize does not stop all reasoning

A defective matrix can still be multiplied or analyzed directly. Let J_r=[r 1;0 r]=rI+N, where N=[0 1;0 0] and N²=0. For r≠0 and integer k≥1, induction gives

J_r^k = r^k I + k r^(k−1)N.

Multiplying the k expression by rI+N yields r^(k+1)I+(k+1)r^kN because the N² term vanishes. The base k=1 is immediate. This is a proved formula for this family, not a general Jordan-form theorem.

At r=1, the off-diagonal entry grows like k even though both eigenvalues are 1. At r=1/2 it is k·2^(1−k), which tends to zero: for a_k=k/2^k, a_{k+1}/a_k=(k+1)/(2k)≤3/4 for k≥2, giving a decaying geometric upper bound. Thus this defective example's powers tend to the zero matrix. Eigenvalues alone do not license every trajectory claim without examining structure and initial conditions.

G5. Use M from C2 with x₀=(0,8). Decompose it in the two eigenvectors, predict x₂ and its limit, then verify x₂ by two multiplications.

G6. For D=diag(−1/2,3/2), compare trajectories starting at (4,0) and (4,1). Give formulas and explain what the second initial condition activates.

Session D. The field matters: real rotation and complex coordinates

D1. A real map can lack real eigenvectors

For the quarter-turn R=[0 −1;1 0], p_R(z)=z²+1. There are no real roots, so no nonzero real eigenvectors and no real eigenbasis. This does not make R singular: det R=1 and R⁻¹=−R. Nor does it prevent powers: R²=−I, R³=−R and R⁴=I, so they repeat in a four-step cycle.

Geometrically every nonzero real vector turns ninety degrees, rather than staying on its original line. The complex extension below gives a different coordinate tool; it does not turn imaginary coordinates into physical points in the original real plane.

D2. A minimal complex-number bridge

A complex number is a+bi with a,b real and i²=−1. Addition combines real and imaginary parts. Multiplication distributes and replaces i² by −1:

(a+bi)(c+di)=(ac−bd)+(ad+bc)i.

Equality requires both parts equal. A nonzero a+bi has inverse (a−bi)/(a²+b²), since its product with a−bi is a²+b²>0. Thus division by a nonzero complex scalar is legitimate. The powers i,−1,−i,1 repeat. We extend real matrices to act on Cⁿ by the same row formulas, now allowing complex vector entries and scalars. Vector-space, elimination, determinant and eigenbasis arguments above continue over C; they use field arithmetic, not an ordering of scalars. “Positive eigenvalue” is not a description of a nonreal number.

For R the complex eigenvalues are i and −i:

R(1,−i)=(i,1)=i(1,−i),
R(1,i)=(−i,1)=−i(1,i).

S=[1 1;−i i] has determinant 2i≠0, so its columns are a complex basis. With D=diag(i,−i), RS=SD and R=SDS⁻¹ over C. This establishes complex diagonalizability in this example; it does not claim every complex matrix is diagonalizable. J from Session B remains defective even over C.

A real vector (a,b) has complex coefficients α=(a+ib)/2, β=(a−ib)/2 in these columns. The conjugate-paired terms combine back into real coordinates. For e₁, α=β=1/2; after two steps both eigenvalue squares are −1, giving −e₁ exactly as the real calculation. We have not changed the original matrix or its real trajectory.

G7. Compute (2+i)(1−2i), 1/(1+i), i³ and i⁴. Verify the division result by multiplication.

G8. Check the two complex eigenvector equations for R and det S. Recover the complex coordinates of (2,4), then use D once and convert back to verify the real output R(2,4).

Independent practice

I1. For A=[4 2;0 1], find p_A, every eigenspace and a diagonalization. Verify AS=SD. Do not merely quote distinct roots.

I2. For K=[0 1;1 0], find an eigenbasis and a formula for K^k(7,3) for every integer k≥0. Does this trajectory converge? Which initial real states would converge?

I3. For J=[3 1;0 3], distinguish algebraic and geometric multiplicity and decide diagonalizability over R and over C. Explain why invertibility does not settle that decision.

I4. For A=diag(0,2,2), find each eigenspace, multiplicities and an eigenbasis. Decide diagonalizability and invertibility separately.

I5. Let A=[2 1;0 3] and S=[1 0;1 1]. Compute B=S⁻¹AS and verify the common characteristic polynomial. If Bv=λv with v≠0, prove that Sv is an eigenvector of A for the same λ. Exhibit this correspondence for λ=2.

I6. For W=[1 2;0 1], prove W^k=[1 2k;0 1] by induction for integers k≥0. Compare W and I₂: same eigenvalues and algebraic multiplicities, but what happens to e₂ under their powers?

I7. For C=[0 −2;2 0], find the real and complex eigenvalue answers, give a complex eigenbasis and compute C⁴. State whether C is invertible and whether it is diagonalizable over R or C.

I8. For A=diag(1/2,0) and x₀=(6,4), give x_k for k=0 and separately for integers k≥1. Find the limit and explain the zero-eigenvalue mode without using an unexplained 0⁰.

Homework: reasoning and exceptions

H1. Write the shortest-dependence proof for eigenvectors with distinct eigenvalues in your own words. Identify exactly where nonzero eigenvectors and distinct eigenvalues are used.

H2. Explain why, when the characteristic polynomial splits over the chosen field, A has an eigenbasis exactly when every geometric multiplicity equals its algebraic multiplicity. Include why eigenspace bases for different eigenvalues can be combined. Use 2I₂ and [2 1;0 2] to show why repeated roots alone are insufficient.

H3. Prove the displayed J_r power formula for r≠0 by induction. Specialize to r=1/2 and use the ratio bound to justify decay. Explain why you did not need to pretend an eigenbasis exists.

H4. Critique “the largest eigenvalue controls every trajectory, so one successful predicted record proves the real process follows this matrix.” Give a concrete counterexample to the first clause and explain what is missing from the second.

Formative quiz: 30 points

The changed matrices rehearse taught methods. This is not a validated unseen-transfer measure; its score is separate from the project and not automatically a semester mark.

Q1 (8). For A=[5 2;0 3], find p_A and both eigenspaces, construct S,D and verify AS=SD with S invertible.

Q2 (8). For J=[−1 1;0 −1], find algebraic/geometric multiplicity and decide diagonalizability over R and C. Compare it with −I₂ and explain why a repeated root cannot decide either case alone.

Q3 (8). Let M=(1/10)[7 3;3 7] and x₀=(9,1). Find an eigenbasis, derive x_k for all k≥0, calculate x₂ and the limit, and explain the conserved quantity under the stated model.

Q4 (6). For R=[0 −3;3 0], find its eigenvalues over R and over C, verify one complex eigenvector and determine the real vector R²(1,0). Explain why no real eigenbasis does not mean no real trajectory.

Formative project: unequal exchange, 40 points

A fictional divisible amount is updated at integer times. From compartment 1, four fifths stays and one fifth transfers to compartment 2. From compartment 2, three tenths transfers to compartment 1 and seven tenths stays. There is no outside input, removal or loss in the declared model, and the fractions are fixed exactly. Let x_k be the column of the two amounts, initially x₀=(20,0).

P1 (10). Construct the update matrix M from those verbal rules. Explain its column meanings. Prove total conservation and preservation of nonnegativity for every allowed input, rather than checking one example. Find p_M, both eigenspaces and an eigenbasis.

P2 (10). Express x₀ in that eigenbasis and derive an exact formula for x_k for every k≥0. Verify the first two steps both by the formula and by repeated multiplication. Determine the equilibrium selected by this initial state, explaining why the unequal exchange rates need not give equal limiting amounts.

P3 (10). Find the least integer k≥0 for which the first amount differs from its limiting value by at most 1/2. Prove both that this k works and that smaller integers fail. Describe all nonnegative equilibria and determine which one is compatible with a total of 20. Explain what a zero coefficient of the decaying mode would mean.

P4 (10). A record says x₁=(16,4), then x₂=(15,6). Test both against the exact model and total conservation. What contradiction is established, and what real cause is not established? Explain whether the eigenbasis calculation alone validates the fixed fractions, exact observations, absence of outside input or long-term physical reliability.

Delayed follow-through

D1. After a pause, use N=[9/10 2/5;1/10 3/5] and x₀=(0,10). Find an eigenbasis, predict x₂ and the limit, and assess a reported x₂=(7,3). Its total is 10: is that sufficient to validate it? State the precise failed condition without diagnosing a cause. This is changed-data near transfer, not measured transfer. D2. Correct an unsupported step in your own work, retaining the original version. If none occurred, critique “zero is an eigenvector for every eigenvalue, so every matrix has an eigenbasis.” Provide the correct definitions and an example that lacks a real eigenbasis.

Feedback and next step

Locate the first error: zero vector allowed, determinant root treated as a vector, wrong field, algebraic multiplicity substituted for dimension, dependent columns in S, column/diagonal order mismatch, row reduction mistaken for similarity, missing initial coefficient, or an unsupported model claim. Correct the reason and then try changed data.

Unit 6, orthogonality, projections and least squares, is available in this reader. This unit does not prove the real symmetric spectral theorem, develop general Jordan form or certify numerical conditioning. Specialist review, actual learner attempts/timing, rubric consistency, rendered reading/navigation and device/assistive-technology checks remain unperformed for this unit.