跳到主要内容

東京大学 新領域創成科学研究科 メディカル情報生命専攻 2018年8月実施 問題8

Author

zephyr

Description

If an n×nn \times n real symmetric matrix A\mathbf{A} satisfies condition vTAv>0\mathbf{v}^T \mathbf{A} \mathbf{v} > 0 for any non-zero nn-dimensional real column vector v\mathbf{v}, A\mathbf{A} is called a positive definite matrix (vT\mathbf{v}^T represents the transpose of v\mathbf{v}). Answer the following questions.

(1) Show the diagonal elements Akk (k=1,,n)A_{kk} \ (k = 1, \ldots, n) of real positive definite matrix A\mathbf{A} are positive.

(2) Show the eigenvalues of real symmetric matrix A\mathbf{A} are real.

(3) Show the eigenvalues of positive definite matrix A\mathbf{A} are positive.

(4) Let S={vRnvTv=1}S = \{\mathbf{v} \in \mathbb{R}^n \mid \mathbf{v}^T \mathbf{v} = 1 \} be the set of non-zero nn-dimensional real column vectors v\mathbf{v} of unit length. Show λ1=maxvSvTAv\lambda_1 = \max_{\mathbf{v} \in S} \mathbf{v}^T \mathbf{A} \mathbf{v} is the largest eigenvalue of positive definite matrix A\mathbf{A}.

(5) Suppose the eigenvectors of positive definite matrix A\mathbf{A} are all different. Furthermore, suppose you know the largest eigenvalue λ1\lambda_1 and its associated eigenvector v1\mathbf{v}_1. Explain how to compute the second largest eigenvalue λ2\lambda_2 using λ1\lambda_1 and v1\mathbf{v}_1 without computing the third largest or smaller eigenvalues.


如果一个 n×nn \times n 实对称矩阵 A\mathbf{A} 满足对于任意非零 nn 维实列向量 v\mathbf{v},有 vTAv>0\mathbf{v}^T \mathbf{A} \mathbf{v} > 0,则称 A\mathbf{A} 为正定矩阵 (vT\mathbf{v}^T 表示 v\mathbf{v} 的转置)。回答以下问题。

(1) 证明实正定矩阵 A\mathbf{A} 的对角元素 Akk (k=1,,n)A_{kk} \ (k = 1, \ldots, n) 是正的。

(2) 证明实对称矩阵 A\mathbf{A} 的特征值是实数。

(3) 证明正定矩阵 A\mathbf{A} 的特征值是正的。

(4) 设 S={vRnvTv=1}S = \{\mathbf{v} \in \mathbb{R}^n \mid \mathbf{v}^T \mathbf{v} = 1 \} 为非零 nn 维实列向量 v\mathbf{v} 的单位长度集合。证明 λ1=maxvSvTAv\lambda_1 = \max_{\mathbf{v} \in S} \mathbf{v}^T \mathbf{A} \mathbf{v} 是正定矩阵 A\mathbf{A} 的最大特征值。

(5) 假设正定矩阵 A\mathbf{A} 的特征向量都不相同。此外,假设你知道最大特征值 λ1\lambda_1 及其关联的特征向量 v1\mathbf{v}_1。解释如何在不计算第三大或更小的特征值的情况下,使用 λ1\lambda_1v1\mathbf{v}_1 计算第二大特征值 λ2\lambda_2

题目描述

n×nn\times n 实对称矩阵 A\mathbf A 对任意非零实列向量 v\mathbf v 都满足

vTAv>0,\mathbf v^T\mathbf A\mathbf v>0,

则称 A\mathbf A 为正定矩阵。回答下列问题:

  1. 证明实正定矩阵的每个对角元 AkkA_{kk}k=1,,nk=1,\ldots,n)均为正。
  2. 证明实对称矩阵的全部特征值均为实数。
  3. 证明正定矩阵的全部特征值均为正数。
  4. S={vRnvTv=1},S=\{\mathbf v\in\mathbb R^n\mid \mathbf v^T\mathbf v=1\},
    证明
    λ1=maxvSvTAv\lambda_1=\max_{\mathbf v\in S}\mathbf v^T\mathbf A\mathbf v
    A\mathbf A 的最大特征值。
  5. 已知最大特征值 λ1\lambda_1 及其特征向量 v1\mathbf v_1,说明如何在不求第三大及更小特征值的情况下计算第二大特征值 λ2\lambda_2。Description 原文称“特征向量都不相同”,而 Kai 将该条件解释为特征值互异;现有资料未进一步消除这一措辞差异。

考点

  • 正定矩阵的谱性质:用标准基向量、特征向量代入二次型,分别推出对角元和特征值为正。
  • 实对称矩阵的特征值:结合共轭转置或谱定理证明特征值为实数,并使用不同特征空间的正交性。
  • Rayleigh 商:在单位球面上展开到正交特征基,证明最大值等于最大特征值,再限制到 v1\mathbf v_1 的正交补求第二大值。

Kai

(1)

Consider the standard basis vector ek\mathbf{e}_k where the kk-th element is 1 and all other elements are 0. Then,

ekTAek=Akk.\mathbf{e}_k^T \mathbf{A} \mathbf{e}_k = A_{kk}.

Since A\mathbf{A} is positive definite, we have:

ekTAek>0.\mathbf{e}_k^T \mathbf{A} \mathbf{e}_k > 0.

Thus,

Akk>0.A_{kk} > 0.

(2)

For a real symmetric matrix A\mathbf{A}, consider its eigenvalue equation:

Ax=λx,\mathbf{A} \mathbf{x} = \lambda \mathbf{x},

where x\mathbf{x} is an eigenvector and λ\lambda is the corresponding eigenvalue. Since A\mathbf{A} is symmetric, we have:

xTAy=yTAx\mathbf{x}^T \mathbf{A} \mathbf{y} = \mathbf{y}^T \mathbf{A} \mathbf{x}

for any vectors x\mathbf{x} and y\mathbf{y}. Setting y=x\mathbf{y} = \mathbf{x}, we get:

xTAx=xT(λx)=λ(xTx).\mathbf{x}^T \mathbf{A} \mathbf{x} = \mathbf{x}^T (\lambda \mathbf{x}) = \lambda (\mathbf{x}^T \mathbf{x}).

Since xTx>0\mathbf{x}^T \mathbf{x} > 0 (as x0\mathbf{x} \neq 0), λ\lambda must be real.

(3)

Let A\mathbf{A} be a positive definite matrix and λ\lambda be an eigenvalue with corresponding eigenvector x\mathbf{x}:

Ax=λx.\mathbf{A} \mathbf{x} = \lambda \mathbf{x}.

Taking the transpose of x\mathbf{x}, we have:

xTAx=λxTx.\mathbf{x}^T \mathbf{A} \mathbf{x} = \lambda \mathbf{x}^T \mathbf{x}.

Since A\mathbf{A} is positive definite, xTAx>0\mathbf{x}^T \mathbf{A} \mathbf{x} > 0 and xTx>0\mathbf{x}^T \mathbf{x} > 0. Thus,

λ>0.\lambda > 0.

(4)

Definitions and Setup

  • Let A\mathbf{A} be an n×nn \times n real symmetric positive definite matrix.
  • The set S={vRnvTv=1}S = \{\mathbf{v} \in \mathbb{R}^n \mid \mathbf{v}^T \mathbf{v} = 1 \} represents the set of unit vectors in Rn\mathbb{R}^n.
  • We aim to show that the maximum value of the quadratic form vTAv\mathbf{v}^T \mathbf{A} \mathbf{v} over the set SS is the largest eigenvalue λ1\lambda_1 of A\mathbf{A}.

Step-by-Step Proof

  1. Spectral Theorem Application: Since A\mathbf{A} is a real symmetric matrix, by the spectral theorem, it can be diagonalized as:
A=QΛQT, \mathbf{A} = \mathbf{Q} \mathbf{\Lambda} \mathbf{Q}^T,

where Q\mathbf{Q} is an orthogonal matrix (i.e., QT=Q1\mathbf{Q}^T = \mathbf{Q}^{-1}) and Λ\mathbf{\Lambda} is a diagonal matrix containing the eigenvalues λ1,λ2,,λn\lambda_1, \lambda_2, \ldots, \lambda_n of A\mathbf{A}, with λ1λ2λn>0\lambda_1 \geq \lambda_2 \geq \cdots \geq \lambda_n > 0 since A\mathbf{A} is positive definite.

  1. Quadratic Form Transformation: For any unit vector vRn\mathbf{v} \in \mathbb{R}^n (i.e., vS\mathbf{v} \in S), we can express v\mathbf{v} in terms of the orthonormal basis formed by the columns of Q\mathbf{Q}:
v=Qy, \mathbf{v} = \mathbf{Q} \mathbf{y},

where y\mathbf{y} is a unit vector (yTy=1\mathbf{y}^T \mathbf{y} = 1) in Rn\mathbb{R}^n. Substituting this into the quadratic form gives:

vTAv=(Qy)TA(Qy)=yTQTAQy=yTΛy. \mathbf{v}^T \mathbf{A} \mathbf{v} = (\mathbf{Q} \mathbf{y})^T \mathbf{A} (\mathbf{Q} \mathbf{y}) = \mathbf{y}^T \mathbf{Q}^T \mathbf{A} \mathbf{Q} \mathbf{y} = \mathbf{y}^T \mathbf{\Lambda} \mathbf{y}.
  1. Maximization over Unit Vectors: The expression yTΛy\mathbf{y}^T \mathbf{\Lambda} \mathbf{y} can be written as:
yTΛy=i=1nλiyi2, \mathbf{y}^T \mathbf{\Lambda} \mathbf{y} = \sum_{i=1}^n \lambda_i y_i^2,

where yiy_i are the components of the vector y\mathbf{y}. Given that i=1nyi2=1\sum_{i=1}^n y_i^2 = 1 (since y\mathbf{y} is a unit vector), we need to maximize the weighted sum of the eigenvalues with respect to yi2y_i^2.

  1. Eigenvalue Maximization:

    To maximize i=1nλiyi2\sum_{i=1}^n \lambda_i y_i^2, note that the maximum value occurs when y12=1y_1^2 = 1 and y22=y32==yn2=0y_2^2 = y_3^2 = \cdots = y_n^2 = 0 (because λ1\lambda_1 is the largest eigenvalue). Hence,

maxyTy=1i=1nλiyi2=λ1. \max_{\mathbf{y}^T \mathbf{y} = 1} \sum_{i=1}^n \lambda_i y_i^2 = \lambda_1.

Therefore,

maxvSvTAv=λ1. \max_{\mathbf{v} \in S} \mathbf{v}^T \mathbf{A} \mathbf{v} = \lambda_1.
  1. Conclusion: The maximum value of the quadratic form vTAv\mathbf{v}^T \mathbf{A} \mathbf{v} over the unit sphere SS is indeed the largest eigenvalue λ1\lambda_1 of the positive definite matrix A\mathbf{A}.

(5)

Given:

  • A\mathbf{A} is a positive definite matrix.
  • A\mathbf{A} has distinct eigenvalues λ1>λ2>>λn>0\lambda_1 > \lambda_2 > \cdots > \lambda_n > 0.
  • The largest eigenvalue λ1\lambda_1 and its associated eigenvector v1\mathbf{v}_1 are known.

We aim to find the second largest eigenvalue λ2\lambda_2 using λ1\lambda_1 and v1\mathbf{v}_1.

Orthogonal Projection Method

  1. Orthogonality of Eigenvectors: Since A\mathbf{A} is symmetric, its eigenvectors corresponding to distinct eigenvalues are orthogonal. Thus, v1\mathbf{v}_1 is orthogonal to all other eigenvectors of A\mathbf{A}.

  2. Defining the Subspace Orthogonal to v1\mathbf{v}_1: Let S1S_1 be the subspace of Rn\mathbb{R}^n consisting of vectors orthogonal to v1\mathbf{v}_1:

S1={vRnvTv1=0}. S_1 = \{\mathbf{v} \in \mathbb{R}^n \mid \mathbf{v}^T \mathbf{v}_1 = 0 \}.
  1. Rayleigh Quotient in the Subspace: The Rayleigh quotient R(v)R(\mathbf{v}) for a vector v\mathbf{v} is given by:
R(v)=vTAvvTv. R(\mathbf{v}) = \frac{\mathbf{v}^T \mathbf{A} \mathbf{v}}{\mathbf{v}^T \mathbf{v}}.

We need to maximize this quotient over the subspace S1S_1.

  1. Projection Method: To find λ2\lambda_2, we consider the effect of v1\mathbf{v}_1 and deflate A\mathbf{A} by projecting it onto the subspace orthogonal to v1\mathbf{v}_1.

    Define the matrix A\mathbf{A}' as:

A=Aλ1v1v1T. \mathbf{A}' = \mathbf{A} - \lambda_1 \mathbf{v}_1 \mathbf{v}_1^T.

This matrix A\mathbf{A}' removes the influence of λ1\lambda_1 and v1\mathbf{v}_1. The matrix A\mathbf{A}' still has the same eigenvectors as A\mathbf{A}, but the eigenvalue λ1\lambda_1 associated with v1\mathbf{v}_1 is replaced with 0.

  1. Finding λ2\lambda_2: The second largest eigenvalue λ2\lambda_2 of A\mathbf{A} will be the largest eigenvalue of A\mathbf{A}' in the subspace orthogonal to v1\mathbf{v}_1.

    To find λ2\lambda_2, consider any vector u\mathbf{u} in S1S_1:

u=v(vTv1)v1. \mathbf{u} = \mathbf{v} - (\mathbf{v}^T \mathbf{v}_1) \mathbf{v}_1.

Here, u\mathbf{u} is the projection of v\mathbf{v} onto the subspace orthogonal to v1\mathbf{v}_1. Since v\mathbf{v} is in S1S_1, u=v\mathbf{u} = \mathbf{v}.

  1. Maximizing the Rayleigh Quotient: The Rayleigh quotient in the subspace S1S_1 for the matrix A\mathbf{A}' becomes:
R(v)=vTAvvTv=vT(Aλ1v1v1T)vvTv. R'(\mathbf{v}) = \frac{\mathbf{v}^T \mathbf{A}' \mathbf{v}}{\mathbf{v}^T \mathbf{v}} = \frac{\mathbf{v}^T (\mathbf{A} - \lambda_1 \mathbf{v}_1 \mathbf{v}_1^T) \mathbf{v}}{\mathbf{v}^T \mathbf{v}}.

Since vv1\mathbf{v} \perp \mathbf{v}_1, we have vTv1=0\mathbf{v}^T \mathbf{v}_1 = 0, and thus:

R(v)=vTAvvTv. R'(\mathbf{v}) = \frac{\mathbf{v}^T \mathbf{A} \mathbf{v}}{\mathbf{v}^T \mathbf{v}}.

Therefore, the maximum value of R(v)R'(\mathbf{v}) in the subspace S1S_1 gives λ2\lambda_2:

λ2=maxvS1vTAvvTv. \lambda_2 = \max_{\mathbf{v} \in S_1} \frac{\mathbf{v}^T \mathbf{A} \mathbf{v}}{\mathbf{v}^T \mathbf{v}}.
  1. Conclusion: By maximizing the Rayleigh quotient in the subspace orthogonal to the eigenvector v1\mathbf{v}_1 associated with λ1\lambda_1, we find the second largest eigenvalue λ2\lambda_2.

Knowledge

正定矩阵 特征值和特征向量 Rayleigh商 正交性

难点思路

计算次大特征值的过程可能是一个难点,尤其是如何正确地使用正交性和 Rayleigh 商。

解题技巧和信息

  • 正定矩阵的定义和性质非常重要,尤其是对特征值的影响。
  • 计算特征值时,Rayleigh 商是一个有效工具。
  • 正交性在分解和简化问题中非常有用。

重点词汇

  • Positive definite matrix 正定矩阵
  • Eigenvalue 特征值
  • Eigenvector 特征向量
  • Rayleigh quotient Rayleigh 商
  • Orthogonal 正交的

参考资料

  1. Linear Algebra and Its Applications by Gilbert Strang, Chapter 6.
  2. Introduction to Linear Algebra by Gilbert Strang, Chapter 7.