第 32 章
第三次测验复习:按题型整理的特征值专题
把第六章的内容压成四类题型:微分方程与反对称矩阵、由谱反推矩阵性质、SVD 的正用与反用、对称正交矩阵;每类给出可复用的判断顺序。
Quiz 3 Review: Eigenvalue Topics Organized by Problem Type
Chapter six compressed into four reusable problem types: differential equations and skew-symmetric matrices, inferring matrix properties from spectrum, SVD in both directions, and symmetric orthogonal matrices.
篇内目录
- What this review covers
- Timeline
- Type one: differential equations and skew-symmetric matrices
- Problem shape
- Solution order
- The worked example
- Periodicity
- The matrix exponential
- Type two: inferring matrix properties from spectrum
- Problem shape
- The decision chain
- Reusable table
- Type three: SVD, forward and backward
- Forward: matrix to factorization
- Backward: factorization to matrix
- Where the sign problem comes from
- Type four: symmetric and orthogonal matrices
- Problem shape
- The eigenvalue range
- Statement by statement
- Proving is a projection
- A checklist for the quiz
- Check your understanding
- How this connects to the course
这一讲覆盖什么
第三次测验覆盖第六章:特征值与特征向量、微分方程组、对称矩阵、正定矩阵、相似矩阵、SVD。第七章的线性变换不在此次范围,留到期末。
复习不是重讲定义,而是用旧题演示看到某种条件时应该先想到什么。下面按题型整理。
时间轴
| 时间 | 内容 |
|---|---|
| 0:07 | 第三次小测的覆盖范围 |
| 1:34 | 第一题:微分方程 |
| 2:46 | 回顾对称矩阵与正定性 |
| 3:21 | 相似矩阵的幂与递推 |
| 5:45 | 解的结构:特征值与特征向量 |
| 6:56 | 奇异矩阵与零特征值 |
| 8:38 | 求三次特征多项式 |
| 11:02 | 解何时趋于零、何时振荡 |
| 13:13 | 哪些矩阵满足 |
| 15:00 | 对称矩阵与正交矩阵都满足 |
| 18:28 | 由特征值与特征向量反推矩阵 |
| 20:33 | 对称矩阵的实例与参数 |
| 23:22 | 何时成为投影矩阵 |
| 26:42 | SVD 复习: |
| 29:24 | 奇异值的选择与符号 |
| 31:36 | 符号错误的修正方法 |
| 34:01 | 由给定奇异值构造矩阵 |
| 36:23 | 由矩阵判断零空间 |
| 39:38 | 两类最重要的矩阵:对称与正交 |
| 42:04 | 正交矩阵保持长度 |
| 44:04 | 既对称又正交的矩阵 |
题型一:微分方程组与反对称矩阵
题目结构
给定一个 矩阵 ,求 的通解,并判断解的长期行为与周期性。
解题顺序
- 先看矩阵是否奇异。若有线性相关的行或列,立即得到一个特征值 。
- 求其余特征值。解 。
- 写通解:
- 用初值定常数。
例题
第一行与第三行互为相反数,行列式为零,所以 。
这个矩阵满足
是反对称矩阵。反对称矩阵的特征值一定是纯虚数,因此另外两个特征值形如 。
直接计算特征多项式:
所以
通解中, 不增不减; 的模长恒为 ,在单位圆上转动。因此解既不爆炸也不衰减,而是振荡。
周期性
若存在 使所有 ,解就回到初值。对 :
这也是为什么反对称矩阵对应「能量守恒」的振荡系统: 时, 对时间求导为零。
补充:若想得到实的解,可把 组合成 与 ;这与纯虚特征值的结论一致。
矩阵指数
通解也可以写成
若 可对角化,,则
其中 只是对角元取 的对角矩阵。注意这个公式依赖「有足够多特征向量」;不可对角化时不能直接用。
题型二:由特征值与特征向量反推矩阵性质
题目结构
给出一个 矩阵的特征值与特征向量(其中一个特征值含未知参数 ),问:是否可对角化?何时对称?是否正定?是否 Markov? 是否投影矩阵?
核心判断链
特征向量是否足够,决定可对角化。 题目给出的三个特征向量正交,因而线性无关。所以无论 取什么值,矩阵都可对角化。
特征向量正交 + 特征值全为实数,等价于对称。 题目已给正交特征向量,所以只要 是实数,矩阵就是对称的。
正定性看特征值是否全为正。 这里有一个特征值为 ,所以永远不可能正定;若 ,最多是半正定。
Markov 矩阵的特征值满足 ,且有一个特征值等于 。 题目中有一个特征值为 ,所以永远不是 Markov 矩阵。
投影矩阵的特征值只能是 或 ,且 、。 问 是否为投影,就是问 的特征值除以 后是否只落在 。因此 或 时成立。
可复用的判断表
| 问题 | 看什么 |
|---|---|
| 可对角化 | 是否有 个线性无关特征向量 |
| 对称 | 特征值全实且特征向量可取正交 |
| 正定 | 所有特征值 |
| 半正定 | 所有特征值 |
| Markov | 特征值满足 ,且 是特征值 |
| 投影 | 特征值只取 ,且矩阵对称 |
题型三:SVD 的正用与反用
正用:给矩阵,求分解
- 算 ;
- 求它的特征值与特征向量,归一化得到 与 ;
- 由 求 (这正是修正符号的正确做法);
- 也可以用 的特征向量求 ,但符号必须用 核对。
反用:给分解,问矩阵
- 若 ,两个奇异值都非零,矩阵可逆,秩为 。
- 若 ,矩阵奇异,秩为 ,零空间由 张成,左零空间由 张成。
- 若出现负的「奇异值」,那不是 SVD——奇异值按定义非负。
符号问题的根源
只确定 的每一列到一个符号。任取一个符号后, 必须由
确定,而不是独立地对 取特征向量。否则 可能整体差一个符号。
题型四:对称且正交的矩阵
题目结构
设 既对称又正交,判断一系列命题,并证明 是投影矩阵。
特征值的范围
- 对称 特征值为实数;
- 正交 特征值模长为 。
两者结合:
逐条判断
| 命题 | 判断 | 理由 |
|---|---|---|
| 一定正定 | 否 | 可能有特征值 |
| 没有重特征值 | 否 | 维数大于 时必然重复 |
| 可对角化 | 是 | 对称矩阵总有完整的正交特征向量 |
| 非奇异 | 是 | 正交矩阵行列式为 |
证明 是投影
投影矩阵需要两个性质:对称,以及平方等于自身。
对称性显然。平方:
因为 正交,;又因为 对称,,所以
代入:
所以它确实是投影矩阵。
补充:用特征值看更直接。 的特征值是 ,则 的特征值是 或 ,除以 后是 或 ——正是投影矩阵的特征值。
复习清单
考前可以按这个顺序自查:
- 看到微分方程,先问矩阵是否奇异、是否对称/反对称。
- 看到「特征向量正交」,立刻想到对称、投影、SVD 的可能。
- 看到「是否正定」,先看有没有零或负特征值,再考虑主元与行列式。
- 看到 SVD,先写 ,再用 定符号。
- 看到「对称 + 正交」,特征值只能是 。
理解检验
1. 为什么反对称矩阵的特征值一定是纯虚数?解的模长为什么不变?
参考答案:设 ,,。左乘 :
对左边取共轭转置(它是标量,等于自身的共轭):
所以 是纯虚数(或零),而 ,故 是纯虚数。模长不变看能量:,而 是标量且 ,所以它恒为零。因此 是常数,解在球面上运动,既不爆炸也不衰减。
2. 一个矩阵有 个正交特征向量,能否推出它对称?还需要什么条件?
参考答案:还不能,必须加上「全部特征值为实数」。若 个特征向量两两正交(可再单位化),把它们作为列组成正交矩阵 ,则 。此时 ;只有当 是实对角矩阵时 ,才有 。若特征值含复数,, 一般不对称(实矩阵甚至不可能有实正交特征向量对应复特征值)。所以完整条件组合是:对称 有 个正交特征向量且特征值全为实(谱定理)。
3. 为什么 中出现负数就说明分解写错了?
参考答案:奇异值定义为 ,,所以 或 ,按定义不可能为负;标准形式还要求 。若计算中出现负「奇异值」,通常是把 某列的符号处理错了: 只确定 到相差一个符号,改变 的符号时,应同时改变 的符号以保持 ,而不是把 变成负数。负号属于 或 ,不属于 。
4. 若 对称且正交, 的特征值是什么? 的秩是多少?
参考答案:对称给出实特征值,正交给出模长为 ,所以 的特征值是 。于是 的特征值是 (对应 )或 (对应 ), 的特征值是 或 。它是投影矩阵:对称,且
用了 正交且对称导致的 。投影矩阵的秩等于迹,也等于特征值 的个数,所以 等于 的特征值 的重数(若 则为 ,若 则为 )。
5. 已知 ,如何直接从 与 读出 ,而不解 ?
参考答案:对每个 的列,直接用
这是因为 ,且 时除法有意义;这样得到的 自动为单位向量(),并且自动与 的符号配套,不会出现符号不一致的问题。对 ()的列,,无法由此确定 ,需要在左零空间中任取一组标准正交基补齐,使 成为 正交矩阵。
与前后课程的关系
这一讲把第六章的题型集中演练。下一讲处理左逆、右逆与伪逆,把 SVD 用于非方阵的「求逆」;最后一讲做全课程总结,并把第七章的线性变换纳入期末范围。
What this review covers
The third quiz covers Chapter 6: eigenvalues and eigenvectors, systems of differential equations, symmetric matrices, positive definiteness, similar matrices, and SVD. Chapter 7 on linear transformations appears only on the final.
The review does not restate definitions. It works old exam problems to show what to look for first given a certain condition. Below, the problems are grouped by type.
Timeline
| Time | Topic |
|---|---|
| 0:07 | What the third quiz covers |
| 1:34 | Problem one: the equation |
| 2:46 | Review of symmetry and definiteness |
| 3:21 | Powers of similar matrices |
| 5:45 | Solution structure via eigenvalues |
| 6:56 | Singular matrices and a zero eigenvalue |
| 8:38 | Computing a cubic characteristic polynomial |
| 11:02 | When solutions decay and when they oscillate |
| 13:13 | Which matrices satisfy |
| 15:00 | Symmetric and orthogonal matrices both qualify |
| 18:28 | Reconstructing a matrix from spectral data |
| 20:33 | A symmetric example with parameter |
| 23:22 | When is a projection |
| 26:42 | SVD review: |
| 29:24 | Choosing singular values and signs |
| 31:36 | How to fix a sign mistake |
| 34:01 | Building a matrix from given singular values |
| 36:23 | Reading the nullspace off a matrix |
| 39:38 | The two key classes: symmetric and orthogonal |
| 42:04 | Orthogonal matrices preserve length |
| 44:04 | Matrices both symmetric and orthogonal |
Type one: differential equations and skew-symmetric matrices
Problem shape
Given a matrix , find the general solution of , then describe its long-term behavior and periodicity.
Solution order
- Check whether is singular. Dependent rows or columns immediately give an eigenvalue .
- Find the remaining eigenvalues from .
- Write the general solution:
- Match the initial condition.
The worked example
The first and third rows are negatives of each other, so the determinant is zero and .
The matrix satisfies
so it is skew-symmetric. Eigenvalues of a skew-symmetric matrix are purely imaginary, so the other two have the form .
Computing directly:
Hence
In the solution, neither grows nor decays; has magnitude one and moves around the unit circle. The solution neither blows up nor decays; it oscillates.
Periodicity
If some makes every , the solution returns to its initial value. For :
This is why skew-symmetric matrices describe conservative oscillation: when , the derivative of is zero.
Background: real solutions are obtained by combining into and , consistent with purely imaginary eigenvalues.
The matrix exponential
The solution can also be written
If is diagonalizable, , then
where is diagonal with entries . The formula requires enough eigenvectors; it does not apply to non-diagonalizable matrices.
Type two: inferring matrix properties from spectrum
Problem shape
A matrix is given by its eigenvalues (one containing a parameter ) and its eigenvectors. Ask: diagonalizable? symmetric? positive definite? Markov? Is a projection?
The decision chain
Enough eigenvectors determine diagonalizability. The three given eigenvectors are orthogonal, hence independent. So the matrix is diagonalizable for every .
Orthogonal eigenvectors with all-real eigenvalues means symmetric. Since the eigenvectors are already orthogonal, any real makes the matrix symmetric.
Positive definiteness requires all eigenvalues positive. One eigenvalue is zero, so the matrix is never positive definite; if , it is at most positive semidefinite.
A Markov matrix has and an eigenvalue equal to . Here one eigenvalue is , so it is never Markov.
A projection matrix has eigenvalues only or , and satisfies , . Asking whether is a projection means asking whether halving the eigenvalues leaves only and . So or .
Reusable table
| Question | What to check |
|---|---|
| Diagonalizable | Are there independent eigenvectors? |
| Symmetric | Real eigenvalues and orthogonally choosable eigenvectors |
| Positive definite | Every eigenvalue |
| Positive semidefinite | Every eigenvalue |
| Markov | $ |
| Projection | Eigenvalues only , and the matrix symmetric |
Type three: SVD, forward and backward
Forward: matrix to factorization
- Compute .
- Find its eigenvalues and eigenvectors; normalize to get and .
- Get from — this is also the correct way to fix signs.
- One may instead use eigenvectors of , but the signs must be checked against .
Backward: factorization to matrix
- If , both singular values are nonzero: the matrix is invertible with rank .
- If , the matrix is singular with rank ; the null space is spanned by and the left null space by .
- A negative "singular value" is not an SVD at all — singular values are nonnegative by definition.
Where the sign problem comes from
determines each column of only up to sign. Once a sign is chosen, must be fixed by
not chosen independently as eigenvectors of . Otherwise may differ by an overall sign.
Type four: symmetric and orthogonal matrices
Problem shape
Let be both symmetric and orthogonal. Decide several statements and prove that is a projection.
The eigenvalue range
- Symmetric implies real eigenvalues.
- Orthogonal implies eigenvalues of magnitude .
Together:
Statement by statement
| Statement | Verdict | Reason |
|---|---|---|
| Must be positive definite | False | An eigenvalue is possible |
| Has no repeated eigenvalues | False | In dimension above two, repetition is forced |
| Diagonalizable | True | Symmetric matrices always have a full orthogonal eigenbasis |
| Nonsingular | True | An orthogonal matrix has determinant |
Proving is a projection
A projection needs two properties: symmetry and idempotence.
Symmetry is immediate. For the square:
Because is orthogonal, ; because it is symmetric, . Hence
Substituting:
So it is indeed a projection.
Background: eigenvalues give a shorter view. The eigenvalues of are , so those of are or , and halving gives or — exactly the spectrum of a projection.
A checklist for the quiz
- For a differential equation, first ask whether the matrix is singular and whether it is symmetric or skew-symmetric.
- On seeing "orthogonal eigenvectors", think of symmetric matrices, projections, and SVD.
- On seeing "positive definite", check for zero or negative eigenvalues before pivots or determinants.
- For SVD, compute first, then fix signs with .
- For "symmetric and orthogonal", the eigenvalues can only be .
Check your understanding
1. Why are the eigenvalues of a skew-symmetric matrix purely imaginary, and why is the solution's norm constant?
Reference answer: Let , with . Left-multiply by :
Take the conjugate transpose of the scalar :
Hence is purely imaginary (or zero), while , so is purely imaginary. For the norm, ; and is a scalar satisfying , so it vanishes identically. Thus is constant: the solution moves on a sphere, neither growing nor decaying.
2. If a matrix has orthogonal eigenvectors, does that alone imply symmetry? What else is needed?
Reference answer: Not alone — one also needs all eigenvalues to be real. If the eigenvectors are orthogonal (and can be normalized), use them as columns of an orthogonal matrix , so . Then , and only when is a real diagonal matrix, giving . With complex eigenvalues, and is generally not symmetric (a real matrix cannot even have real orthogonal eigenvectors for complex eigenvalues). The full statement of the spectral theorem is: symmetric orthogonal eigenvectors with real eigenvalues.
3. Why does a negative number in prove the factorization is wrong?
Reference answer: Singular values are defined as with , so by definition or and can never be negative; the standard form also orders . A negative "singular value" in a computation usually means the sign of a column of was mishandled: fixes each only up to sign, and when is negated one must negate as well to preserve , rather than turning negative. The sign belongs to or , never to .
4. If is symmetric and orthogonal, what are the eigenvalues of , and what is the rank of ?
Reference answer: Symmetry gives real eigenvalues and orthogonality gives modulus , so the eigenvalues of are . Hence has eigenvalues (from ) or (from ), and has eigenvalues or . It is a projection: it is symmetric, and
using , which follows from orthogonality plus symmetry. The rank of a projection equals its trace, i.e. the number of eigenvalues equal to ; so is the multiplicity of as an eigenvalue of (namely if , and if ).
5. Given , how do you read directly from and without diagonalizing ?
Reference answer: For each column with , set
This is valid because and ; the resulting is automatically a unit vector, since , and it automatically carries the sign that matches , so no sign inconsistency can arise. For the columns with (), gives no information about ; complete by choosing any orthonormal basis of the left null space so that becomes an orthogonal matrix.
How this connects to the course
This review drills the problem types of Chapter 6. The next lecture treats left inverses, right inverses, and the pseudoinverse, using SVD to "invert" non-square matrices; the final lecture synthesizes the course and brings Chapter 7's linear transformations into the final exam.