AoZai
AoZai

Reading Notice

These are personal study and translation notes for reference only; the original course materials belong to MIT OpenCourseWare and their respective rights holders.

ZoomNotes for Linear Algebra

Gilbert Strang, MIT 18.06 · Ch.6 / 11

Part 6: Eigenvalues and Eigenvectors: Ax=λxAx = \lambda x and Anx=λnxA^n x = \lambda^n x

6.1 Eigenvalues λ\lambda and Eigenvectors xx: Ax=λxAx = \lambda x

An eigenvector xx of a square matrix AA is a nonzero vector that, when multiplied by AA, only scales (does not rotate):

Ax=λxAx = \lambda x

The scalar λ\lambda is the corresponding eigenvalue.

Finding eigenvalues: Solve the characteristic equation:

det(AλI)=0\det(A - \lambda I) = 0

This is a polynomial of degree nn in λ\lambda.

Finding eigenvectors: For each eigenvalue λi\lambda_i, solve:

(AλiI)x=0(A - \lambda_i I) x = 0

The eigenvectors span the eigenspace corresponding to λi\lambda_i.

Key Properties:

  • Trace: trace(A)=i=1naii=i=1nλi\text{trace}(A) = \sum_{i=1}^n a_{ii} = \sum_{i=1}^n \lambda_i
  • Determinant: detA=i=1nλi\det A = \prod_{i=1}^n \lambda_i
  • Inverse: A1x=(1/λ)xA^{-1} x = (1/\lambda) x (if λ0\lambda \neq 0)
  • Powers: Anx=λnxA^n x = \lambda^n x
  • Shift: AcIA - cI has eigenvalues λic\lambda_i - c

Special Cases:

  • Triangular matrices: eigenvalues are the diagonal entries
  • Singular matrix: λ=0\lambda = 0 is an eigenvalue (since detA=0\det A = 0)
  • Identity matrix: λ=1\lambda = 1 (multiplicity nn)

6.2 Diagonalizing a Matrix: X1AX=ΛX^{-1} A X = \Lambda

If AA has nn independent eigenvectors (forming a matrix XX), then:

A=XΛX1A = X \Lambda X^{-1}

where Λ=diag(λ1,,λn)\Lambda = \text{diag}(\lambda_1, \dots, \lambda_n).

Verification: AX=A[x1    xn]=[λ1x1    λnxn]=XΛAX = A[x_1 \; \cdots \; x_n] = [\lambda_1 x_1 \; \cdots \; \lambda_n x_n] = X\Lambda.

Powers are easy when diagonalized:

Ak=XΛkX1A^k = X \Lambda^k X^{-1}

Each eigenvalue is raised to the kk-th power independently.

Similar Matrices: B=M1AMB = M^{-1} A M has the same eigenvalues as AA. The eigenvectors are transformed: if Ax=λxAx = \lambda x, then B(M1x)=λ(M1x)B(M^{-1}x) = \lambda (M^{-1}x).

When is a matrix NOT diagonalizable? When it has repeated eigenvalues but not enough independent eigenvectors. For example, a 2×22 \times 2 Jordan block [λ10λ]\begin{bmatrix} \lambda & 1 \\ 0 & \lambda \end{bmatrix} has only one eigenvector.


6.3 Symmetric Positive Definite Matrices: Five Tests

Symmetric Matrices S=STS = S^T:

  • All eigenvalues are real
  • Eigenvectors for distinct eigenvalues are orthogonal
  • Spectral Theorem: S=QΛQTS = Q \Lambda Q^T where QQ is orthogonal

Positive Definite Matrices: A symmetric matrix SS is positive definite if any of these equivalent conditions holds:

  1. All eigenvalues λi>0\lambda_i > 0
  2. Energy xTSx>0x^T S x > 0 for all nonzero xx
  3. All pivots are positive (from LDLTLDL^T factorization)
  4. All leading principal minors (determinants of upper-left submatrices) are positive
  5. S=ATAS = A^T A for some matrix AA with independent columns

Positive Semidefinite: Conditions above with 0\geq 0 (equality allowed).

Example: The second difference matrix KK (tridiagonal with 2 on diagonal, -1 on off-diagonals) is positive definite. For n=3n=3:

K=[210121012]K = \begin{bmatrix} 2 & -1 & 0 \\ -1 & 2 & -1 \\ 0 & -1 & 2 \end{bmatrix}

Its eigenvalues are λk=22cos(kπ/(n+1))=4sin2(kπ/(2(n+1)))\lambda_k = 2 - 2\cos(k\pi/(n+1)) = 4\sin^2(k\pi/(2(n+1))), all positive.


6.4 Linear Differential Equations du/dt=Audu/dt = Au

Consider a system of linear ODEs:

dudt=Au,u(0)=u0\frac{du}{dt} = A u, \quad u(0) = u_0

Solution via Eigenvectors: Assuming AA is diagonalizable with eigenvectors x1,,xnx_1, \dots, x_n, express u0u_0 as:

u0=c1x1+c2x2++cnxnu_0 = c_1 x_1 + c_2 x_2 + \cdots + c_n x_n

Then:

u(t)=c1eλ1tx1+c2eλ2tx2++cneλntxnu(t) = c_1 e^{\lambda_1 t} x_1 + c_2 e^{\lambda_2 t} x_2 + \cdots + c_n e^{\lambda_n t} x_n

Matrix Exponential:

eAt=I+At+(At)22!+(At)33!+e^{At} = I + At + \frac{(At)^2}{2!} + \frac{(At)^3}{3!} + \cdots

When A=XΛX1A = X\Lambda X^{-1}:

eAt=XeΛtX1=X[eλ1teλnt]X1e^{At} = X e^{\Lambda t} X^{-1} = X \begin{bmatrix} e^{\lambda_1 t} & & \\ & \ddots & \\ & & e^{\lambda_n t} \end{bmatrix} X^{-1}

Stability:

  • Asymptotically stable: u(t)0u(t) \to 0 as tt \to \infty if all Re(λi)<0\text{Re}(\lambda_i) < 0
  • Weakly stable: u(t)u(t) remains bounded if Re(λi)0\text{Re}(\lambda_i) \leq 0 and any λi=0\lambda_i = 0 is semisimple
  • Unstable: Any Re(λi)>0\text{Re}(\lambda_i) > 0

6.5 Matrices in Engineering: Second Differences

Second Difference Matrix KK (discretizes d2u/dx2-d^2u/dx^2):

K=[2112112]K = \begin{bmatrix} 2 & -1 & & \\ -1 & 2 & -1 & \\ & \ddots & \ddots & \ddots \\ & & -1 & 2 \end{bmatrix}

Energy: xTKx=i=1n1(xixi+1)2>0x^T K x = \sum_{i=1}^{n-1} (x_i - x_{i+1})^2 > 0 for nonzero xx, proving KK is positive definite.

Spring-Mass Systems:

  • Steady state: Ku=gKu = g (spring displacements due to gravity)
  • Oscillation: Ku=md2u/dt2-K u = m \, d^2u/dt^2 (free vibrations)

The eigenvalues of KK determine the natural frequencies of vibration: ωk=λk\omega_k = \sqrt{\lambda_k}.

Orthogonal eigenvectors of KK: The eigenvectors of this tridiagonal matrix are discrete sines:

(vk)j=sin(jkπn+1)(v_k)_j = \sin\left(\frac{jk\pi}{n+1}\right)

These are exactly the eigenvectors that diagonalize the second difference operator -- the discrete analogue of Fourier sine series.

Previous Next
© MIT OpenCourseWare  |  18.06 Linear Algebra  |  Gilbert Strang  |  Spring 2010
ocw.mit.edu  ·  CC BY-NC-SA 4.0