跳到主要内容

東京大学 情報理工学系研究科 コンピュータ科学専攻 2019年2月実施 問題4

Author

kainoj, shuncleopasfang, 祭音Myyura

Description

Consider an nn dimensional linear system Ax=bAx = b, where AA, xx, and bb are an nn dimensional real coefficient matrix, an nn dimensional real vector of unknowns, and an nn dimensional real given vector, respectively. Assume that AA is not singular and b0b \neq 0. The vector norm and the matrix norm used in this problem are the 2-norm and the matrix norm corresponding to the 2-norm, respectively.

Answer the following questions.

(1) Answer the definition of the condition number of AA.

(2) Suppose that x~0\widetilde{x} \neq 0 is an approximate solution of the linear system. Using the residual r=bAx~r = b - A\widetilde{x} and x~\widetilde{x}, find a rank 11 matrix EE which satisfies (A+E)x~=b(A+E)\widetilde{x} = b exactly.

(3) Consider the effect of inaccuracy δA\delta A of AA. Namely, the linear system becomes

(A+δA)(x+δx)=b,(A + \delta A)(x + \delta x) = b,

where δx\delta x is the effect on the solution vector xx. Assume that A+δAA + \delta A is not singular. In addition, δA\delta A has nothing to do with EE in the question (2). By evaluating δx\delta x, prove that the relative inaccuracy of xx is related to that of AA by the inequality:

δxx+δxcond2(A)δAA,\frac{\|\delta x\|}{\| x+\delta x \|} \leq \text{cond}_2(A) \frac{\|\delta A \|}{\| A \|},

where cond2(A)\text{cond}_2(A) is the condition number of AA.

(4) Prove that for any nn dimensional real singular matrix BB, the relation

AB1A1\| A-B \| \geq \frac{1}{\| A^{-1} \|}

is always satisfied. You may use the following fact: when an nn dimensional real matrix CC is singular, there is a non-zero real vector yy such that Cy=0Cy = 0.

题目描述

考虑 nn 维实线性方程组 Ax=bA\boldsymbol{x}=\boldsymbol{b},其中 AA 为非奇异系数矩阵, x\boldsymbol{x} 为未知向量,b0\boldsymbol{b}\ne\boldsymbol0 为给定向量。 本题中的向量范数均为 22-范数,矩阵范数均为其对应的诱导范数。回答下列问题。

(1)给出矩阵 AA 的条件数定义。

(2)设 x~0\widetilde{\boldsymbol{x}}\ne\boldsymbol0 是方程组的近似解,残差为 r=bAx~\boldsymbol{r}=\boldsymbol{b}-A\widetilde{\boldsymbol{x}}。用 r\boldsymbol{r}x~\widetilde{\boldsymbol{x}} 构造一个秩为 11 的矩阵 EE,使

(A+E)x~=b(A+E)\widetilde{\boldsymbol{x}}=\boldsymbol{b}

严格成立。

(3)考虑 AA 的误差 δA\delta A,使方程组变为

(A+δA)(x+δx)=b,(A+\delta A)(\boldsymbol{x}+\delta\boldsymbol{x}) =\boldsymbol{b},

其中 δx\delta\boldsymbol{x} 是解的变化。假设 A+δAA+\delta A 非奇异,且此处 δA\delta A 与第(2)问的 EE 无关。通过估计 δx\delta\boldsymbol{x},证明

δxx+δxcond2(A)δAA.\frac{\|\delta\boldsymbol{x}\|} {\|\boldsymbol{x}+\delta\boldsymbol{x}\|} \le \operatorname{cond}_2(A)\frac{\|\delta A\|}{\|A\|}.

(4)证明对任意 nn 维实奇异矩阵 BB,恒有

AB1A1.\|A-B\|\ge\frac1{\|A^{-1}\|}.

可以使用:若实矩阵 CC 奇异,则存在非零实向量 y\boldsymbol{y} 使 Cy=0C\boldsymbol{y}=0

Kai

(1)

Condition number κ(A)\kappa(A) of AA is:

κ(A)=AA1 \kappa(A) = \|A\| \: \|A^{-1}\|

where \|\cdot \| denotes a norm of a matrix:

A=maxx0Axx=maxx:x=1Ax \|A\| = \max_{x\neq0} \frac{\|Ax\|}{\|x\|} = \max_{x: \|x\|=1} \|Ax\|

(2)

We know Ax=bAx = b and let r=bAx^r = b- A\hat{x}:

(A+E)x^=bAx^+Ex^=bEx^=bAx^Ex^=r\begin{aligned} (A+E)\hat{x} &= b \\ A\hat{x} + E\hat{x} &= b \\ E\hat{x} &= b - A\hat{x} \\ E\hat{x} &= r \end{aligned}

Thus

E=rx^Tx^Tx^E=\frac{r\hat{x}^T}{\hat{x}^T\hat{x}}

The numerator rx^Tr\hat{x}^T is the outer product of two vectors; every column is a scalar multiple of rr. The denominator x^Tx^=x^22\hat{x}^T\hat{x}=\|\hat{x}\|_2^2 is a nonzero scalar, so dividing by it does not change the rank. Moreover,

Ex^=rx^Tx^x^Tx^=r.E\hat{x} =\frac{r\hat{x}^T\hat{x}}{\hat{x}^T\hat{x}} =r.

Thus EE has rank 11 when r0r\neq0 and satisfies (A+E)x^=b(A+E)\hat{x}=b. If r=0r=0 and n2n\geq2, one may instead take E=uvTE=uv^T with u,v0u,v\neq0 and vTx^=0v^T\hat{x}=0. For n=1n=1 and r=0r=0, no rank-11 solution exists; E=0E=0 is the only choice.

(3)

(A+δA)(x+δx)=bAx+A(δx)+δA(x+δx)=b\begin{aligned} (A+ \delta A)(x+ \delta x) = b \\ Ax + A(\delta x) + \delta A(x+ \delta x) = b \end{aligned}

Substituting Ax=bAx = b:

A(δx)+δA(x+δx)=0A(δx)=δA(x+δx)δx=A1(δA)(x+δx)\begin{aligned} A(\delta x) + \delta A(x+ \delta x) &= 0 \\ - A(\delta x) &= \delta A(x+ \delta x) \\ -\delta x &= A^{-1} (\delta A)(x+ \delta x) \end{aligned}

because AA is nonsingular. Taking norms gives

δx=A1[δA(x+δx)]A1δA(x+δx)A1δAx+δx\begin{aligned} \|\delta x \| &= \| A^{-1} \: [\delta A(x+ \delta x) ]\| \\ &\leq \| A^{-1} \| \: \| \delta A(x+ \delta x) \| \\ &\leq \| A^{-1} \| \: \| \delta A \| \: \| x + \delta x \| \end{aligned}
δxx+δxA1δA=A1AAδA=κ(A)δAA\begin{aligned} \frac{\|\delta x \|}{ \| x + \delta x \| } &\leq \| A^{-1} \| \: \| \delta A \| \\ &= \| A^{-1} \| \: \frac{\| A \| }{\| A \|} \| \delta A \| \\ &= \kappa(A) \frac{\|\delta A\|}{\|A\|} \end{aligned}

(4)

When an nn dimensional real matrix C is singular, there is a non-zero, real vector yy such that Cy=0Cy = 0. In particular, we can choose a unit vector y=yyy' = \frac{y}{\|y\|}.

Let xnullspace(B)x \in nullspace(B) be a unit vector i.e. Bx=0Bx = 0 and x=1\|x\| = 1.

AB=ABx(AB)x=AxBx=Ax\begin{aligned} \|A-B\| &= \|A-B\| \: \|x\| \\ &\geq \| (A-B)x \| \\ &= \|Ax - Bx\| \\ &= \|Ax\| \end{aligned}

On the other hand:

1=x=A1(Ax)A1AxAx1A1\begin{aligned} 1 = \|x\| = \| A^{-1} \:(Ax) \| &\leq \| A^{-1} \| \: \|Ax\| \\ \|Ax\| &\geq \frac{1}{\|A^{-1}\|} \end{aligned}

More on condition numbers: https://blogs.mathworks.com/cleve/2017/07/17/what-is-the-condition-number-of-a-matrix/.