1. Motivation: From Single Equations to Coupled Systems
Linear algebra is often introduced through abstract definitions of vector spaces, linear transformations, and matrices. However, its most compelling intuition arises when solving dynamic problems—specifically, systems of differential equations.
1.1 The Uncoupled Case (A Single Degree of Freedom)
Consider the simplest first-order scalar differential equation:
dtdx=ax,x(0)=x0
wherea∈Ris a constant. We can solve this immediately by separation of variables or an integrating factor:
x(t)=x0eat
The behavior is completely determined by the sign and magnitude ofa:
Ifa>0,x(t)grows exponentially.
Ifa<0,x(t)decays exponentially to zero.
Ifa=0,x(t)remains constant (x(t)=x0).
Now, suppose we have two such independent processes:
Because the equation forx1does not involvex2, and the equation forx2does not involvex1, the system is uncoupled. The solution is simply:
x1(t)=x1,0eat,x2(t)=x2,0ebt
Solving uncoupled equations is straightforward because each variable evolves along its own independent one-dimensional direction.
1.2 The Coupled System
In reality, physical, economic, and biological systems rarely evolve in isolation. Quantities interact: predator and prey populations affect each other, heat diffuses between adjacent compartments, and currents in coupled electrical circuits influence one another.
Consider a simple linear system where the rate of change of each variable depends on both variables:
dtdx1dtdx2=ax1+bx2=cx1+dx2
with initial valuesx1(0)andx2(0).
Here, the equations are coupled wheneverb=0orc=0. We cannot solve forx1(t)without knowingx2(t), nor can we solve forx2(t)without knowingx1(t).
2. The Matrix Representation
We can organize this coupled system into a compact geometric language by grouping the state variables into a vectorx(t)∈R2and the coupling coefficients into a matrixA∈M2(R):
x(t)=(x1(t)x2(t)),A=(acbd)
The system of differential equations is written compactly as:
dtdx=Ax,x(0)=x0
Notice the striking resemblance between:
dtdx=axanddtdx=Ax
IfAis a diagonal matrix (b=c=0):
A=(a00d)
then the system decouples into two scalar equations.
This leads to the fundamental question that drives linear algebra:
Can we change our coordinate system (our basis) so that a coupled systemdtdx=Axtransforms into an uncoupled, diagonal system?
3. Seeking Special Directions: Eigenvalues and Eigenvectors
Let us search for special solutions that retain the simplicity of the one-dimensional exponential growth/decay.
Suppose there exists a non-zero constant vectorv∈R2∖{0}such that the solution trajectory stays along the straight line spanned byv:
x(t)=eλtv
for some scalarλ∈C.
Differentiatingx(t)with respect to time:
dtdx=λeλtv
Substituting into the systemdtdx=Ax:
λeλtv=A(eλtv)=eλtAv
Since the scalar factoreλtis never zero, we divide by it to obtain:
Av=λv
This is the celebrated eigenvalue equation:
The scalarλis called an eigenvalue ofA.
The non-zero vectorvis called an eigenvector ofAcorresponding toλ.
3.1 The Characteristic Equation
RewritingAv=λvwith the identity matrixI:
(A−λI)v=0
For a non-zero vectorvto exist in the null space of(A−λI), the matrix(A−λI)must be singular (non-invertible). Consequently, its determinant must vanish:
det(A−λI)=0
For a2×2matrixA=(acbd):
det(a−λcbd−λ)=(a−λ)(d−λ)−bc=λ2−(a+d)λ+(ad−bc)=0
Introducing the tracetr(A)=a+dand the determinantdet(A)=ad−bc, the characteristic polynomial is:
p(λ)=λ2−tr(A)λ+det(A)=0
4. A Concrete Example: Decoupling a Coupled System
Each eigenvalue-eigenvector pair yields a fundamental solution:
x(1)(t)=e2t(11),x(2)(t)=e3t(21)
Because the differential operatordtd−Ais linear, any linear combination of solutions is also a solution (principle of superposition):
x(t)=c1e2t(11)+c2e3t(21)
The constantsc1,c2are uniquely determined by the initial conditionx(0)=c1v1+c2v2.
5. Change of Coordinates: The Geometry of Diagonalization
Why did finding eigenvectors solve the coupled system? Because the eigenvectorsv1andv2define a new coordinate system in which the action ofAis purely diagonal.
5.1 The Change of Basis Matrix
Construct a matrixPwhose columns are the eigenvectorsv1andv2:
Finally, transforming back to the original coordinates:
x(t)=Py(t)=P(y1(0)e2ty2(0)e3t)
The coupled dynamics have been uncoupled into independent scalar exponential modes.
6. General Theory: Diagonalizability
The procedure above generalizes from2×2systems ton×nmatrices and operators.
6.1 Definition
A square matrixA∈Mn(F)is called diagonalizable over a fieldFif there exists an invertible matrixP∈GLn(F)and a diagonal matrixD∈Mn(F)such that:
P−1AP=Dor equivalentlyA=PDP−1
The transformationA↦P−1APis called a similarity transformation. Two matrices related in this way represent the same linear operator under different choices of basis.
6.2 The Fundamental Characterization Theorem
Theorem (Criterion for Diagonalizability) Ann×nmatrixAis diagonalizable if and only if there exists a basis forFnconsisting entirely of eigenvectors ofA. That is,Apossessesnlinearly independent eigenvectors.
Proof sketch:
(⇒)SupposeP−1AP=D=diag(λ1,…,λn). ThenAP=PD. Ifvjdenotes thej-th column ofP, equating columns gives:Avj=λjvjfor j=1,…,nSincePis invertible, its columns{v1,…,vn}are linearly independent, hence form an eigenbasis.
(⇐)Conversely, ifAhasnlinearly independent eigenvectorsv1,…,vnwith eigenvaluesλ1,…,λn, defineP=(v1⋯vn). Since the columns are linearly independent,Pis invertible, andAP=PD⟹P−1AP=D.■
Theorem (Linear Independence of Eigenvectors) Eigenvectors corresponding to pairwise distinct eigenvalues are linearly independent.
Corollary: If ann×nmatrixAhasndistinct eigenvalues inF, thenAis diagonalizable overF.
6.4 When Does Diagonalization Fail? Multiplicities and Defective Matrices
When an eigenvalue is repeated, diagonalizability is not guaranteed. We must distinguish between two notions of multiplicity:
Algebraic Multiplicity (ma(λ)): The multiplicity ofλas a root of the characteristic polynomialdet(A−λI)=0.
Geometric Multiplicity (mg(λ)): The dimension of the eigenspace corresponding toλ:mg(λ)=dim(ker(A−λI))=n−rank(A−λI)
For any eigenvalueλ, it is always true that:
1≤mg(λ)≤ma(λ)
Theorem (General Diagonalizability Condition) A matrixA∈Mn(F)is diagonalizable if and only if:
The characteristic polynomial splits completely into linear factors overF.
For every eigenvalueλ, its geometric multiplicity equals its algebraic multiplicity:mg(λ)=ma(λ)
Matrices for whichmg(λ)<ma(λ)for someλare called defective (or non-diagonalizable).
7. The Non-Diagonalizable Case: What Happens to the Differential Equation?
To understand what happens physically and mathematically when a matrix fails to be diagonalizable, consider the system:
dtdx1dtdx2=2x1+x2=2x2
The coefficient matrix is a Jordan block:
A=(2012)
Analysis:
The characteristic polynomial isdet(A−λI)=(2−λ)2=0, giving eigenvalueλ=2with algebraic multiplicityma(2)=2.
The eigenspace isker(A−2I):A−2I=(0010)⟹(0010)(v1v2)=(00)⟹v2=0So the only eigenvectors are scalar multiples ofv1=(10).
The geometric multiplicity ismg(2)=1<ma(2)=2. Therefore,Ais not diagonalizable. There is no basis of eigenvectors.
Solving the System:
Notice how the solution behaves:
Fromdtdx2=2x2, we obtain:x2(t)=c2e2t
Substituting this into the first equation:dtdx1−2x1=c2e2t
Using the integrating factore−2t:dtd(x1e−2t)=c2⟹x1(t)e−2t=c1+c2tx1(t)=c1e2t+c2te2t
In vector form:
x(t)=c1e2t(10)+c2e2t[(01)+t(10)]
The termte2t—a secular term—appears precisely because the matrix cannot be fully diagonalized. This motivates the next major structure in linear algebra: the Jordan Canonical Form and generalized eigenvectors.
8. Matrix Exponentials: The Unified Perspective
WhenAis diagonalizable (A=PDP−1), computing functions of matrices becomes effortless. In particular, powers ofAsimplify:
A2=(PDP−1)(PDP−1)=PD2P−1,…Ak=PDkP−1
For a diagonal matrixD=diag(λ1,…,λn), computing powers is trivial:
Dk=λ1k0⋱0λnk
The formal solution todtdx=Axis defined via the matrix exponential:
x(t)=eAtx(0)
where the matrix exponential is defined by the convergent Taylor series:
BecauseDis diagonal, its exponential is simply the exponential of its diagonal entries:
eDt=eλ1t0⋱0eλnt
Thus:
x(t)=Peλ1t0⋱0eλntP−1x(0)
This encapsulates the essence of linear algebra: diagonalization finds the intrinsic coordinate frame where a complex coupled linear transformation acts simply as scalar multiplication along independent axes.