📌 Linear Algebra · Chapter 6Spectral Theory · Characteristic equation, trace & determinant relations · Multiplicity, eigenvector independence & A = PDP⁻¹ · Matrix powers, Cayley–Hamilton & systems of ODEs
Under a general linear transformation, vectors typically experience both stretching and rotation. An eigenvector identifies an invariant direction that is purely scaled by a scalar factor known as the eigenvalue. Spectral theory decouples coupled linear systems, enabling explicit computation of matrix powers, Markov processes, and systems of linear differential equations.
Let A \in \mathbb{R}^{n times n}A∈Rn×n. A non-zero vector \( \mathbf{v} \in \mathbb{R}^n \) is an eigenvector of \( A \) corresponding to eigenvalue \( \lambda \in \mathbb{C} \) if: \[ A\mathbf{v} = \lambda \mathbf{v} \quad (\mathbf{v} \neq \mathbf{0}). \]
In its eigenbasis, \(D = \operatorname{diag}(3, 0.5)\) stretches horizontal components by \(\lambda_1 = 3\) and compresses vertical components by \(\lambda_2 = 0.5\).
● Definition 6.1 — Eigenspaces & The Characteristic Polynomial
1. Eigenspace: For a given eigenvalue \( \lambda \), the set of all eigenvectors along with the zero vector forms a subspace of \( \mathbb{R}^n \), the eigenspace \( E_\lambda \): \[ E_\lambda = \operatorname{Null}(A - \lambda I) = \{ \mathbf{v} \in \mathbb{R}^n : (A - \lambda I)\mathbf{v} = \mathbf{0} \}. \]
2. The Characteristic Equation: The homogeneous system \( (A - \lambda I)\mathbf{v} = \mathbf{0} \) has a non-trivial solution \( \mathbf{v} \neq \mathbf{0} \) if and only if \( A - \lambda I \) is singular (non-invertible): \[ p(\lambda) = \det(A - \lambda I) = 0. \] Expanding the determinant yields a degree-\( n \) polynomial in \( \lambda \), the characteristic polynomial.
3. Trace & Determinant Invariants: If \( \lambda_1, \dots, \lambda_n \) are the eigenvalues of \( A \) counted with multiplicity: \[ \sum_{i=1}^n \lambda_i = \operatorname{tr}(A) = \sum_{i=1}^n a_{ii}, \qquad \prod_{i=1}^n \lambda_i = \det(A). \]
◆ Why It Works — First-Principles Derivation (Eigenvalues, Eigenvectors & Diagonalization)
Why Orthogonal Projection & Eigenvalue Characteristic Equations Work: Decompose \(\mathbf{u} = c\mathbf{v} + \mathbf{w}\) where \(\mathbf{w} \perp \mathbf{v}\). Taking the dot product with \(\mathbf{v}\) uses \(\mathbf{w}\cdot\mathbf{v} = 0\) to isolate \(c\):
For eigenvalues, \(A\mathbf{v} = \lambda\mathbf{v}\) with \(\mathbf{v} \ne \mathbf{0}\) is equivalent to \((A - \lambda I)\mathbf{v} = \mathbf{0}\). A homogeneous linear system has a non-trivial nullspace vector \(\mathbf{v} \ne \mathbf{0}\) if and only if the matrix \(A - \lambda I\) is singular, yielding the characteristic polynomial \(\det(A - \lambda I) = 0\).
Level 1 (Foundations) — Worked Example · Computing Eigenvalues, Eigenspaces & Invariant Checks
Problem. Find the eigenvalues and corresponding eigenspace bases for \( A = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} \), and verify the trace and determinant relations.
Worked Example \(B\) — Eigenvalues, Eigenvectors & Diagonalization (Medium Application)
Problem. Consider a linear transformation represented by the diagonal matrix \( A = \begin{pmatrix} 3 & 0 \\ 0 & -2 \end{pmatrix} \). If \( \mathbf{v} = \begin{pmatrix} 1 \\ 0 \end{pmatrix} \) is an eigenvector of \( A \), what is the corresponding eigenvalue?
Fast Matrix & Vector Verification (University Linear Algebra & Matrix Theory): Check every \(2\times 2\) or \(3\times 3\) eigenvalue computation using the trace and determinant invariants: \(\sum \lambda_i = \operatorname{tr}(A)\) (sum of diagonal entries) and \(\prod \lambda_i = \det(A)\).
Level 1 · Foundations
Find the eigenvalues of the upper-triangular matrix: \[ T = \begin{pmatrix} 6 & -2 & 5 \\ 0 & -3 & 1 \\ 0 & 0 & 4 \end{pmatrix}. \]
Since \( T - \lambda I \) is upper-triangular, its determinant is the product of its diagonal entries: \(\det(T - \lambda I) = (6 - \lambda)(-3 - \lambda)(4 - \lambda) = 0\).
💡 Hint 3 of 3
Thus the eigenvalues are the diagonal entries themselves: \(\lambda_1 = 6, \quad \lambda_2 = -3, \quad \lambda_3\).
The characteristic matrix is: \[ T - \lambda I = \begin{pmatrix} 6 - \lambda & -2 & 5 \\ 0 & -3 - \lambda & 1 \\ 0 & 0 & 4 - \lambda \end{pmatrix}. \] Since \( T - \lambda I \) is upper-triangular, its determinant is the product of its diagonal entries: \[ \det(T - \lambda I) = (6 - \lambda)(-3 - \lambda)(4 - \lambda) = 0. \] Thus the eigenvalues are the diagonal entries themselves: \[ \mathbf{\lambda_1 = 6, \quad \lambda_2 = -3, \quad \lambda_3 = 4}. \]
Level 2 · Medium — Linear Independence of Eigenvectors & Matrix Diagonalization
When a matrix has a full set of linearly independent eigenvectors, it can be factored into a product \( A = P D P^{-1} \) where \( D \) is diagonal. This diagonal representation decouples the action of \( A \) into independent 1D scalings along the eigenvector coordinate axes.
● Theorem 6.1 & Analytical Proof · Independence of Eigenvectors for Distinct Eigenvalues
Theorem: Let \( \mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k \) be eigenvectors of \( A \) corresponding to mutually distinct eigenvalues \( \lambda_1, \lambda_2, \dots, \lambda_k \) (i.e. \( \lambda_i \neq \lambda_j \) for \( i \neq j \)). Then the set \( \{ \mathbf{v}_1, \dots, \mathbf{v}_k \} \) is linearly independent.
Proof by Induction: • Base Case (\( k = 1 \)): \( \mathbf{v}_1 \neq \mathbf{0} \) by definition of an eigenvector, so \( \{ \mathbf{v}_1 \} \) is linearly independent. • Inductive Step: Assume the statement holds for \( k - 1 \) eigenvectors. Suppose: \[ c_1 \mathbf{v}_1 + c_2 \mathbf{v}_2 + \dots + c_k \mathbf{v}_k = \mathbf{0}. \quad \text{(Equation 1)} \] Multiply both sides by \( \lambda_k \): \[ c_1 \lambda_k \mathbf{v}_1 + c_2 \lambda_k \mathbf{v}_2 + \dots + c_k \lambda_k \mathbf{v}_k = \mathbf{0}. \quad \text{(Equation 2)} \] Apply the matrix \( A \) to Equation 1, using \( A\mathbf{v}_i = \lambda_i \mathbf{v}_i \): \[ c_1 \lambda_1 \mathbf{v}_1 + c_2 \lambda_2 \mathbf{v}_2 + \dots + c_k \lambda_k \mathbf{v}_k = \mathbf{0}. \quad \text{(Equation 3)} \] Subtract Equation 2 from Equation 3: \[ c_1(\lambda_1 - \lambda_k)\mathbf{v}_1 + c_2(\lambda_2 - \lambda_k)\mathbf{v}_2 + \dots + c_{k-1}(\lambda_{k-1} - \lambda_k)\mathbf{v}_{k-1} + \mathbf{0} = \mathbf{0}. \] By the inductive hypothesis, \( \{ \mathbf{v}_1, \dots, \mathbf{v}_{k-1} \} \) is linearly independent, so each coefficient must be zero: \[ c_i(\lambda_i - \lambda_k) = 0 \quad \text{for } i = 1, \dots, k - 1. \] Because all eigenvalues are distinct, \( \lambda_i - \lambda_k \neq 0 \), forcing \( c_i = 0 \) for all \( i = 1, \dots, k - 1 \). Substituting these zeros back into Equation 1 gives \( c_k \mathbf{v}_k = \mathbf{0} \), which forces \( c_k = 0 \) since \( \mathbf{v}_k \neq \mathbf{0} \). Therefore, all \( c_i = 0 \), proving linear independence. \(\blacksquare\)
● Theorem 6.2 · The Diagonalization Theorem
An \( n \times n \) matrix \( A \) is diagonalizable (there exists invertible \( P \) and diagonal \( D \) such that \( A = P D P^{-1} \)) if and only if \( A \) has \( n \) linearly independent eigenvectors.
In this case: \[ P = [\mathbf{v}_1 \; \mathbf{v}_2 \; \dots \; \mathbf{v}_n], \qquad D = \begin{pmatrix} \lambda_1 & 0 & \dots & 0 \\ 0 & \lambda_2 & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \dots & \lambda_n \end{pmatrix}, \] where column \( j \) of \( P \) is an eigenvector corresponding to the diagonal entry \( \lambda_j \) in \( D \).
Corollaries: • If \( A \) has \( n \) distinct eigenvalues, \( A \) is automatically diagonalizable. • Powers of \( A \): For any integer \( k \ge 1 \), \[ A^k = P D^k P^{-1} = P \begin{pmatrix} \lambda_1^k & & 0 \\ & \ddots & \\ 0 & & \lambda_n^k \end{pmatrix} P^{-1}. \]
⊙ Explorer · Eigenvectors — invariant transformation directions
interactive
The matrix, its eigenvalues, and an eigenvector for each
quantity
value
\(\lambda_{1}\)\(5.000\)
\(\lambda_{2}\)\(2.000\)
The grey curve is the unit circle; indigo is its image ellipse under A. The amber and teal lines represent the real eigenvector directions along which the transformation purely dilates vectors without rotation. When the discriminant tr\((A)^{2} - 4 \det (A) < 0\), eigenvalues become complex and no real invariant line exists.
Eigenspaces of \( A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} \). Vectors lying along \( y = x \) are scaled by \( \lambda_1 = 3 \); vectors along \( y = -x \) are scaled by \( \lambda_2 = 1 \). The directions of the eigenvectors remain invariant under transformation by \( A \).
Level 2 (Medium) — Worked Example · High Matrix Power via Diagonalization
Problem. Compute \( A^{10} \) for \( A = \begin{pmatrix} 1 & 3 \\ 3 & 1 \end{pmatrix} \) using diagonalization.
Explain why the matrix \( A = \begin{pmatrix} 3 & 1 \\ 0 & 3 \end{pmatrix} \) is not diagonalizable.
💡 Hint 1 of 3
· Algebraic Multiplicity: \( A \) is upper-triangular, so its characteristic polynomial is \( p(\lambda) = (3 - \lambda)^2 = 0 \). The only eigenvalue is \( \lambda = 3 \) with algebraic multiplicity \( m_a(3) = 2 \).
This matrix has pivot in column 2, with only one free variable \(x_1 = t\). The eigenvectors are \(v = t \begin{pmatrix} 1 \\ 0 \end{pmatrix}\), so \(\dim(E_3)\).
Step 1 · Algebraic Multiplicity: \( A \) is upper-triangular, so its characteristic polynomial is \( p(\lambda) = (3 - \lambda)^2 = 0 \). The only eigenvalue is \( \lambda = 3 \) with algebraic multiplicity \( m_a(3) = 2 \).
Step 2 · Geometric Multiplicity: Compute the eigenspace \( E_3 = \operatorname{Null}(A - 3I) \): \[ A - 3I = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}. \] This matrix has pivot in column 2, with only one free variable \( x_1 = t \). The eigenvectors are \( \mathbf{v} = t \begin{pmatrix} 1 \\ 0 \end{pmatrix} \), so \( \dim(E_3) = 1 \).
Conclusion: Since the geometric multiplicity \( m_g(3) = 1 \) is strictly less than the algebraic multiplicity \( m_a(3) = 2 \), \( A \) fails to possess 2 linearly independent eigenvectors. Therefore, \( A \) is defective and NOT diagonalizable.
Level 3 · Advanced / University Rigor — The Cayley–Hamilton Theorem & Matrix Differential Equations
The Cayley–Hamilton Theorem asserts that every square matrix satisfies its own characteristic equation, providing a powerful analytic tool for computing inverse matrices and powers. Furthermore, spectral theory solves systems of first-order linear differential equations \( \mathbf{x}'(t) = A\mathbf{x}(t) \) via the matrix exponential.
● Theorem 6.3 & Proof · The Cayley–Hamilton Theorem
Theorem (Cayley–Hamilton): Let \( A \) be an \( n \times n \) matrix with characteristic polynomial \( p(\lambda) = \det(A - \lambda I) = (-1)^n \lambda^n + c_{n-1} \lambda^{n-1} + \dots + c_1 \lambda + c_0 \). Then substituting \( A \) into its own polynomial yields the zero matrix: \[ p(A) = (-1)^n A^n + c_{n-1} A^{n-1} + \dots + c_1 A + c_0 I = 0. \]
Proof via Adjugate Matrix: Recall from Theorem 4.2 that for any square matrix, \( M \operatorname{adj}(M) = \det(M) I \). Setting \( M = A - \lambda I \): \[ (A - \lambda I) \operatorname{adj}(A - \lambda I) = \det(A - \lambda I) I = p(\lambda) I. \] The entries of \( \operatorname{adj}(A - \lambda I) \) are cofactors of \( A - \lambda I \), which are polynomials in \( \lambda \) of degree at most \( n - 1 \). Therefore, \( \operatorname{adj}(A - \lambda I) \) can be expanded as a matrix polynomial: \[ \operatorname{adj}(A - \lambda I) = B_{n-1} \lambda^{n-1} + B_{n-2} \lambda^{n-2} + \dots + B_1 \lambda + B_0, \] where each \( B_k \in \mathbb{R}^{n \times n} \). Substituting into the adjugate identity: \[ (A - \lambda I)(B_{n-1} \lambda^{n-1} + \dots + B_0) = (c_n \lambda^n + c_{n-1} \lambda^{n-1} + \dots + c_0) I. \] Expanding and equating coefficients of \( \lambda^k \) yields a telescoping sequence of matrix equations. Pre-multiplying the \( k \)-th equation by \( A^k \) and summing all equations eliminates all terms on the left side, yielding \( 0 = p(A) \). \(\blacksquare\)
⚠️ Common Traps & University Pitfalls · Eigenvalues & Diagonalization
Row Operations Alter Eigenvalues: Performing elementary row operations \( A \to R \) preserves row space and null space, but completely destroys eigenvalues: \( \det(A - \lambda I) \neq \det(R - \lambda I) \). Never row reduce \( A \) prior to setting up \( \det(A - \lambda I) = 0 \)!
Defective Matrices: Having repeated eigenvalues (\( m_a(\lambda) \ge 2 \)) does NOT automatically mean the matrix is not diagonalizable. For example, \( I_2 \) has \( \lambda = 1 \) with multiplicity 2, but \( E_1 = \mathbb{R}^2 \) has dimension 2, so \( I_2 \) is diagonalizable. A matrix is non-diagonalizable only when \( m_g(\lambda) < m_a(\lambda) \) for some eigenvalue.
Complex Eigenvalues for Real Matrices: A real matrix can have complex conjugate eigenvalues \( a \pm bi \) representing rotation-dilations. A real matrix with complex eigenvalues is not diagonalizable over \( \mathbb{R} \) (though it is diagonalizable over \( \mathbb{C} \)).
Level 3 (Advanced) — Worked Example · Systems of Differential Equations via Diagonalization
Problem. Solve the initial value problem for the coupled linear ODE system: \[ \mathbf{x}'(t) = \begin{pmatrix} 1 & 2 \\ 2 & 1 \end{pmatrix} \mathbf{x}(t), \qquad \mathbf{x}(0) = \begin{pmatrix} 5 \\ 1 \end{pmatrix}. \]
Let \( A = \begin{pmatrix} 2 & 1 \\ 0 & 3 \end{pmatrix} \). Using the Cayley–Hamilton Theorem, express \( A^4 \) and \( A^{-1} \) as linear combinations \( c_1 A + c_0 I \).