特征值与谱分解Eigenvalues & Spectral Decomposition
哪些方向在矩阵变换后仍保持在同一条直线上?Which directions remain on the same line after a matrix transformation?
前置知识:Prerequisites: A01:基与秩;A02:协方差与相关性。A01: bases and rank; A02: covariance and correlation.
复习前置:Review prerequisites: A01 · 基、线性方程与秩Bases, Linear Systems & Rank · A02 · 协方差与相关性Covariance & Correlation
学完后你能:After this lesson you can: 识别特征方向与对称谱分解的适用条件。Identify eigen-directions and conditions for symmetric spectral decomposition.
动手观察Explore
调整对称矩阵并比较两个特征值;切换到旋转反例,观察没有实特征方向的情况。Adjust a symmetric matrix and compare its eigenvalues; switch to a rotation to see a matrix without real eigen-directions.
从观察到解释From observation to explanation
保持方向的向量Directions that stay on their line
若 Av=λv 且 v 非零,变换后仍在 v 所在直线上;λ 表示带符号的缩放。负特征值使箭头反向,零特征值把该方向压到原点。If Av=λv for nonzero v, the transformed vector stays on the line through v; λ is a signed scale factor. A negative eigenvalue reverses the arrow, and a zero eigenvalue collapses that direction to the origin.
对称矩阵有正交特征基Symmetric matrices have an orthogonal eigenbasis
实对称矩阵可以分解为 QΛQᵀ,其中 Q 的列互相垂直且长度为 1。重复特征值允许多个特征方向;不能把这个结论直接套给所有方阵。A real symmetric matrix can be decomposed as QΛQᵀ with mutually orthogonal unit columns in Q. A repeated eigenvalue permits multiple eigen-directions; this conclusion does not apply directly to every square matrix.
连接协方差主轴Connect to covariance axes
协方差矩阵是实对称且半正定的,其特征向量给出数据变化的正交主轴,特征值表示相应方向上的方差。一般矩阵甚至可能没有实特征方向,例如平面 90° 旋转。A covariance matrix is real symmetric and positive semidefinite. Its eigenvectors give orthogonal axes of variation and eigenvalues the corresponding variances. A general matrix may have no real eigen-direction, such as a 90° rotation in the plane.
公式与符号Formula and symbols
A 是方阵,v 是非零特征向量,λ 是其特征值;对于实对称矩阵,可用正交矩阵 Q 的列作为特征向量,Λ 的对角线是对应特征值。A is square, v a nonzero eigenvector, and λ its eigenvalue. For real symmetric A, the columns of orthogonal Q can be eigenvectors and the diagonal of Λ contains their eigenvalues.
留意这个区别Watch for this
特征向量必须非零;一般矩阵不一定可正交对角化,也不一定有实特征值。An eigenvector must be nonzero. A general matrix need not be orthogonally diagonalizable or have real eigenvalues.
继续探索Explore further
课后练习
检验你的理解