跳到主要内容

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

Author

kainoj

Description

For a positive integer pp, the pp-norm xp\|\boldsymbol{x}\|_p of an nn-dimensional real vector

x=(x1x2xn)\boldsymbol{x} = \begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{pmatrix}

is defined by

xp:=(j=1nxjp)1/p.\|\boldsymbol{x}\|_p := \left( \sum_{j=1}^n |x_j|^p \right)^{1/p}.

Answer the following questions

(1) Prove that

x2x1nx2\|\boldsymbol{x}\|_2 \le \|\boldsymbol{x}\|_1 \le \sqrt{n} \|\boldsymbol{x}\|_2

holds for every nn-dimensional real vector x\boldsymbol{x}. You may use the Cauchy-Schwarz inequality:

xyx2y2|\boldsymbol{x} \cdot \boldsymbol{y}| \le \|\boldsymbol{x}\|_2 \|\boldsymbol{y}\|_2

for any nn-dimensional real vectors x\boldsymbol{x} and y\boldsymbol{y}. Here xy\boldsymbol{x} \cdot \boldsymbol{y} stands for the inner product of vectors x\boldsymbol{x} and y\boldsymbol{y}.

(2) Define the pp-norm Ap\|A\|_p of an n×nn \times n real matrix AA by

Ap:=maxx0Axpxp,\|A\|_p := \max_{\boldsymbol{x} \neq \boldsymbol{0}} \frac{\|Ax\|_p}{\|\boldsymbol{x}\|_p},

where x\boldsymbol{x} ranges over the set of nn-dimensional real vectors.

  • (2.1) Prove that if Ap<1\|A\|_p < 1 then limkAkx0p=0\lim_{k \to \infty} \|A^k x_0\|_p = 0 for every nn-dimensional real vector x0x_0.
  • (2.2) Suppose that AA is an n×nn \times n real symmetric matrix. Prove that A2\|A\|_2 is the maximum of the absolute values of the eigenvalues of AA.

(3) Consider solving an nn-dimensional linear system Ax=bA \boldsymbol{x} = \boldsymbol{b}, where AA is a non-singular real symmetric matrix, and x\boldsymbol{x} and b\boldsymbol{b} are unknown and constant real vectors, respectively.

Given an initial vector x(0)\boldsymbol{x}^{(0)}, the vector x(j)\boldsymbol{x}^{(j)} (j=1,2,)(j = 1, 2, \ldots) is computed by

x(j)=b+(IA)x(j1),\boldsymbol{x}^{(j)} = \boldsymbol{b} + (I - A)\boldsymbol{x}^{(j-1)},

where II stands for the identity matrix.

Give a necessary and sufficient condition on AA such that the sequence x(1),x(2),\boldsymbol{x}^{(1)}, \boldsymbol{x}^{(2)}, \ldots converges to the true solution for every initial vector x(0)\boldsymbol{x}^{(0)}.

Kai

(1)

x2=i=1nxi2i=1nxi2=i=1nxi=x1 ||x||_2 = \sqrt{\sum_{i=1}^{n} x_{i}^2} \leq \sum_{i=1}^{n} \sqrt{x_{i}^2} = \sum_{i=1}^{n} |x_{i}| = ||x||_{1}

On the other hand, let yRny\in \mathbb{R}^n be a unit vector:

x1=xyx2y2=x21+1++1=nx2\begin{aligned} ||x||_1 = | x \cdot y | &\leq ||x||_{2} ||y||_{2} \\ &= ||x||_{2} \sqrt{1+1+\dots+1} \\ &= \sqrt{n} ||x||_{2} \end{aligned}

The first inequality comes from Cauchy-Schwarz inequality: xyx2y2|xy| \leq ||x||_2 ||y||_2.

(2)

(2.1)

Matrix AA defines some transformation and Ap||A||_p measures how original vector will be stretched by the transformation. If Ap<1||A||_p < 1 then the transformation \textit{shrinks} the vector. By applying the transformation multiple times, we will shrink the vector more and more. In particular, applying it infinitely many times will shrink the vector to zero. Formally:

0limkAkx0plimkAkpx0p=x0plimkAkp=x0p0=0\begin{aligned} 0 &\leq \lim_{k \to \infty} ||A^k x_0||_p \\ &\leq \lim_{k \to \infty} ||A^k||_p || x_0||_p \\ &= || x_0||_p \lim_{k \to \infty} ||A^k||_p \\ &= || x_0||_p \: 0 \\ &= 0 \end{aligned}

First equality holds because norm is always non-negative, second is a property of a norm. Moreover, limit limkAkp=0\lim_{k \to \infty} ||A^k||_p = 0, because:

limkAkplimk(Ap)k=0\lim_{k \to \infty} ||A^k||_p \leq \lim_{k \to \infty} (||A||_p)^k =0

NB: ABpApBp||AB||_p \leq ||A||_p ||B||_p for any matrices A,BRn×nA,B \in \mathbb{R}^{n\times n}.

(2.2)

Since AA is symmetric, then it can be diagonalized A=QTΛQA=Q^T\Lambda Q, where QQ is orthogonal matrix (i.e. QTQ=IQ^T Q = I ). Note that

maxxAxpxp=maxx:xp=1Axp\max_{x} \frac{||Ax||_p}{||x||_p} = \max_{x: ||x||_p = 1} ||Ax||_p

Let xx be a unit vector which maximizes the above. We have:

Ax2=(Ax)T(Ax)=xTQTΛQQTΛQx=xTQTΛ2Qx\begin{aligned} ||Ax||_2 &= (Ax)^T (Ax) \\ &= x^T Q^T \Lambda Q Q^T \Lambda Q x \\ &= x^T Q^T \Lambda^2 Q x \end{aligned}

By substituting y=Qxy = Qx:

Ax2=yTΛ2y=λi2yi2λmaxyi2=λmaxyi2=λmaxyTy=λmax\begin{aligned} ||Ax||_2 &= y^T \Lambda^2 y \\ &= \sum \lambda_i^2 y_i^2 \\ &\leq \sum \lambda_{max} y_i^2 \\ &=\lambda_{max} \sum y_i^2 \\ &= \lambda_{max} \: y^T y \\ &= \lambda_{max} \end{aligned}

Because yTy=(Qx)T(Qx)=xTQTQx=xTx=1y^T y = (Qx)^T(Qx) = x^T Q^T Q x = x^T x = 1. On the other hand, let qq be eigenvector corresponding to λmax\lambda_{max}. Of course q2=1||q||_2 =1, because QQ is orthogonal.

Aq2Aq2=λmaxq2=λmaxq2=λmax\begin{aligned} ||Aq||_2 &\geq ||Aq||_2 \\ &= ||\lambda_{max} q ||_2 \\ &= \lambda_{max} ||q||_2 \\ &= \lambda_{max} \end{aligned}

(3)

Let e(j)=x(j)xe^{(j)} = x^{(j)} - x be the error vector. We want limje(j)=0\lim_{j\to \infty} e^{(j)} = 0. In other words, we want e(j+1)<e(j)e^{(j+1)} < e^{(j)} for all sufficiently big jj.

e(j+1)=x(j+1)x=bx+(IA)x(j)=Axx+(IA)x(j)=(IA)x+(IA)x(j)=(IA)(x(j)x)\begin{aligned} e^{(j+1)} = x^{(j+1)} - x &= b - x + (I -A) x^{(j)} \\ &= Ax - x + (I -A) x^{(j)} \\ &= -(I-A)x + (I -A) x^{(j)} \\ &= (I -A)(x^{(j)} - x) \\ \end{aligned}

Here, we obtain: e(j+1)=(IA)e(j)e^{(j+1)} = (I -A) e^{(j)}. Taking a norm both sides:

e(j+1)=(IA)e(j)IAe(j)\begin{aligned} ||e^{(j+1)}|| &= ||(I -A) e^{(j)}|| \\ &\leq ||I -A|| \: || e^{(j)}|| \end{aligned}

Thus, the sequence converge to real solution if

IA<1 ||I -A|| < 1

Knowledge

More reading: http://runge.math.smu.edu/Courses/Math3315_Spring10/iterative_linear.pdf