東京大学 情報理工学系研究科 コンピュータ科学専攻 2017年2月実施 問題1
Author
kainoj , 祭音Myyura
Description
For a positive integer p p p , the p p p -norm ∥ x ∥ p \|\boldsymbol{x}\|_p ∥ x ∥ p of an n n n -dimensional real vector
x = ( x 1 x 2 ⋮ x n ) \boldsymbol{x} =
\begin{pmatrix}
x_1 \\
x_2 \\
\vdots \\
x_n
\end{pmatrix} x = x 1 x 2 ⋮ x n
is defined by
∥ x ∥ p : = ( ∑ j = 1 n ∣ x j ∣ p ) 1 / p . \|\boldsymbol{x}\|_p := \left( \sum_{j=1}^n |x_j|^p \right)^{1/p}. ∥ x ∥ p := ( j = 1 ∑ n ∣ x j ∣ p ) 1/ p .
Answer the following questions
(1) Prove that
∥ x ∥ 2 ≤ ∥ x ∥ 1 ≤ n ∥ x ∥ 2 \|\boldsymbol{x}\|_2 \le \|\boldsymbol{x}\|_1 \le \sqrt{n} \|\boldsymbol{x}\|_2 ∥ x ∥ 2 ≤ ∥ x ∥ 1 ≤ n ∥ x ∥ 2
holds for every n n n -dimensional real vector x \boldsymbol{x} x . You may use the Cauchy-Schwarz inequality:
∣ x ⋅ y ∣ ≤ ∥ x ∥ 2 ∥ y ∥ 2 |\boldsymbol{x} \cdot \boldsymbol{y}| \le \|\boldsymbol{x}\|_2 \|\boldsymbol{y}\|_2 ∣ x ⋅ y ∣ ≤ ∥ x ∥ 2 ∥ y ∥ 2
for any n n n -dimensional real vectors x \boldsymbol{x} x and y \boldsymbol{y} y . Here x ⋅ y \boldsymbol{x} \cdot \boldsymbol{y} x ⋅ y stands for the inner product of vectors x \boldsymbol{x} x and y \boldsymbol{y} y .
(2) Define the p p p -norm ∥ A ∥ p \|A\|_p ∥ A ∥ p of an n × n n \times n n × n real matrix A A A by
∥ A ∥ p : = max x ≠ 0 ∥ A x ∥ p ∥ x ∥ p , \|A\|_p := \max_{\boldsymbol{x} \neq \boldsymbol{0}} \frac{\|Ax\|_p}{\|\boldsymbol{x}\|_p}, ∥ A ∥ p := x = 0 max ∥ x ∥ p ∥ A x ∥ p ,
where x \boldsymbol{x} x ranges over the set of n n n -dimensional real vectors.
(2.1) Prove that if ∥ A ∥ p < 1 \|A\|_p < 1 ∥ A ∥ p < 1 then lim k → ∞ ∥ A k x 0 ∥ p = 0 \lim_{k \to \infty} \|A^k x_0\|_p = 0 lim k → ∞ ∥ A k x 0 ∥ p = 0 for every n n n -dimensional real vector x 0 x_0 x 0 .
(2.2) Suppose that A A A is an n × n n \times n n × n real symmetric matrix. Prove that ∥ A ∥ 2 \|A\|_2 ∥ A ∥ 2 is the maximum of the absolute values of the eigenvalues of A A A .
(3) Consider solving an n n n -dimensional linear system A x = b A \boldsymbol{x} = \boldsymbol{b} A x = b , where A A A is a non-singular real symmetric matrix, and x \boldsymbol{x} x and b \boldsymbol{b} b are unknown and constant real vectors, respectively.
Given an initial vector x ( 0 ) \boldsymbol{x}^{(0)} x ( 0 ) , the vector x ( j ) \boldsymbol{x}^{(j)} x ( j ) ( j = 1 , 2 , … ) (j = 1, 2, \ldots) ( j = 1 , 2 , … ) is computed by
x ( j ) = b + ( I − A ) x ( j − 1 ) , \boldsymbol{x}^{(j)} = \boldsymbol{b} + (I - A)\boldsymbol{x}^{(j-1)}, x ( j ) = b + ( I − A ) x ( j − 1 ) ,
where I I I stands for the identity matrix.
Give a necessary and sufficient condition on A A A such that the sequence x ( 1 ) , x ( 2 ) , … \boldsymbol{x}^{(1)}, \boldsymbol{x}^{(2)}, \ldots x ( 1 ) , x ( 2 ) , … converges to the true solution for every initial vector x ( 0 ) \boldsymbol{x}^{(0)} x ( 0 ) .
题目描述
对正整数 p p p ,定义 n n n 维实向量
x = ( x 1 , … , x n ) T \boldsymbol{x}=(x_1,\ldots,x_n)^\mathsf{T} x = ( x 1 , … , x n ) T 的 p p p -范数为
∥ x ∥ p : = ( ∑ j = 1 n ∣ x j ∣ p ) 1 / p . \|\boldsymbol{x}\|_p
:=\left(\sum_{j=1}^n|x_j|^p\right)^{1/p}. ∥ x ∥ p := ( j = 1 ∑ n ∣ x j ∣ p ) 1/ p .
回答下列问题。
(1)证明任意 n n n 维实向量 x \boldsymbol{x} x 均满足
∥ x ∥ 2 ≤ ∥ x ∥ 1 ≤ n ∥ x ∥ 2 . \|\boldsymbol{x}\|_2\le \|\boldsymbol{x}\|_1
\le \sqrt n\,\|\boldsymbol{x}\|_2. ∥ x ∥ 2 ≤ ∥ x ∥ 1 ≤ n ∥ x ∥ 2 .
可以使用柯西—施瓦茨不等式
∣ x ⋅ y ∣ ≤ ∥ x ∥ 2 ∥ y ∥ 2 , |\boldsymbol{x}\cdot\boldsymbol{y}|
\le\|\boldsymbol{x}\|_2\|\boldsymbol{y}\|_2, ∣ x ⋅ y ∣ ≤ ∥ x ∥ 2 ∥ y ∥ 2 ,
其中“⋅ \cdot ⋅ ”表示内积。
(2)定义实矩阵 A ∈ R n × n A\in\mathbb{R}^{n\times n} A ∈ R n × n 的诱导 p p p -范数为
∥ A ∥ p : = max x ≠ 0 ∥ A x ∥ p ∥ x ∥ p . \|A\|_p
:=\max_{\boldsymbol{x}\ne\boldsymbol 0}
\frac{\|A\boldsymbol{x}\|_p}{\|\boldsymbol{x}\|_p}. ∥ A ∥ p := x = 0 max ∥ x ∥ p ∥ A x ∥ p .
(2.1)证明:若 ∥ A ∥ p < 1 \|A\|_p<1 ∥ A ∥ p < 1 ,则对任意初始向量
x 0 \boldsymbol{x}_0 x 0 ,都有
lim k → ∞ ∥ A k x 0 ∥ p = 0 \lim_{k\to\infty}\|A^k\boldsymbol{x}_0\|_p=0 lim k → ∞ ∥ A k x 0 ∥ p = 0 。
(2.2)设 A A A 为实对称矩阵,证明 ∥ A ∥ 2 \|A\|_2 ∥ A ∥ 2 等于 A A A 的各特征值绝对值中的最大值。
(3)考虑求解 n n n 维线性方程组
A x = b A\boldsymbol{x}=\boldsymbol{b} A x = b ,其中 A A A 是非奇异实对称矩阵,
x \boldsymbol{x} x 为未知向量,b \boldsymbol{b} b 为给定实向量。给定初值
x ( 0 ) \boldsymbol{x}^{(0)} x ( 0 ) ,按
x ( j ) = b + ( I − A ) x ( j − 1 ) ( j = 1 , 2 , … ) \boldsymbol{x}^{(j)}
=\boldsymbol{b}+(I-A)\boldsymbol{x}^{(j-1)}
\qquad(j=1,2,\ldots) x ( j ) = b + ( I − A ) x ( j − 1 ) ( j = 1 , 2 , … )
生成迭代序列。给出关于 A A A 的充要条件,使该序列对任意
x ( 0 ) \boldsymbol{x}^{(0)} x ( 0 ) 都收敛到方程组的真解。
Kai
(1)
∣ ∣ x ∣ ∣ 2 = ∑ i = 1 n x i 2 ≤ ∑ i = 1 n x i 2 = ∑ i = 1 n ∣ x i ∣ = ∣ ∣ x ∣ ∣ 1 ||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} ∣∣ x ∣ ∣ 2 = i = 1 ∑ n x i 2 ≤ i = 1 ∑ n x i 2 = i = 1 ∑ n ∣ x i ∣ = ∣∣ x ∣ ∣ 1
On the other hand, let y i = sgn ( x i ) y_i=\operatorname{sgn}(x_i) y i = sgn ( x i ) , with y i = 0 y_i=0 y i = 0 when x i = 0 x_i=0 x i = 0 . Since
∥ y ∥ 2 2 = ∑ i = 1 n y i 2 ≤ n , \|y\|_2^2=\sum_{i=1}^n y_i^2\leq n, ∥ y ∥ 2 2 = i = 1 ∑ n y i 2 ≤ n ,
we have
∣ ∣ x ∣ ∣ 1 = x ⋅ y ≤ ∣ ∣ x ∣ ∣ 2 ∣ ∣ y ∣ ∣ 2 ≤ n ∣ ∣ x ∣ ∣ 2 . \begin{aligned}
||x||_1 = x \cdot y &\leq ||x||_{2} ||y||_{2} \\
&\leq \sqrt{n} ||x||_{2}.
\end{aligned} ∣∣ x ∣ ∣ 1 = x ⋅ y ≤ ∣∣ x ∣ ∣ 2 ∣∣ y ∣ ∣ 2 ≤ n ∣∣ x ∣ ∣ 2 .
The first inequality comes from Cauchy-Schwarz inequality: ∣ x y ∣ ≤ ∣ ∣ x ∣ ∣ 2 ∣ ∣ y ∣ ∣ 2 |xy| \leq ||x||_2 ||y||_2 ∣ x y ∣ ≤ ∣∣ x ∣ ∣ 2 ∣∣ y ∣ ∣ 2 .
(2)
(2.1)
Matrix A A A defines some transformation and ∣ ∣ A ∣ ∣ p ||A||_p ∣∣ A ∣ ∣ p measures how original vector will be stretched by the transformation.
If ∣ ∣ A ∣ ∣ p < 1 ||A||_p < 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:
0 ≤ lim k → ∞ ∣ ∣ A k x 0 ∣ ∣ p ≤ lim k → ∞ ∣ ∣ A k ∣ ∣ p ∣ ∣ x 0 ∣ ∣ p = ∣ ∣ x 0 ∣ ∣ p lim k → ∞ ∣ ∣ A k ∣ ∣ p = ∣ ∣ x 0 ∣ ∣ p 0 = 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} 0 ≤ k → ∞ lim ∣∣ A k x 0 ∣ ∣ p ≤ k → ∞ lim ∣∣ A k ∣ ∣ p ∣∣ x 0 ∣ ∣ p = ∣∣ x 0 ∣ ∣ p k → ∞ lim ∣∣ A k ∣ ∣ p = ∣∣ x 0 ∣ ∣ p 0 = 0
First equality holds because norm is always non-negative,
second is a property of a norm.
Moreover, limit lim k → ∞ ∣ ∣ A k ∣ ∣ p = 0 \lim_{k \to \infty} ||A^k||_p = 0 lim k → ∞ ∣∣ A k ∣ ∣ p = 0 , because:
lim k → ∞ ∣ ∣ A k ∣ ∣ p ≤ lim k → ∞ ( ∣ ∣ A ∣ ∣ p ) k = 0 \lim_{k \to \infty} ||A^k||_p \leq \lim_{k \to \infty} (||A||_p)^k =0 k → ∞ lim ∣∣ A k ∣ ∣ p ≤ k → ∞ lim ( ∣∣ A ∣ ∣ p ) k = 0
NB: ∣ ∣ A B ∣ ∣ p ≤ ∣ ∣ A ∣ ∣ p ∣ ∣ B ∣ ∣ p ||AB||_p \leq ||A||_p ||B||_p ∣∣ A B ∣ ∣ p ≤ ∣∣ A ∣ ∣ p ∣∣ B ∣ ∣ p for any matrices A , B ∈ R n × n A,B \in \mathbb{R}^{n\times n} A , B ∈ R n × n .
(2.2)
Since A A A is symmetric, A = Q Λ Q T A=Q\Lambda Q^T A = Q Λ Q T for an orthogonal Q Q Q . Put y = Q T x y=Q^Tx y = Q T x . For ∥ x ∥ 2 = 1 \|x\|_2=1 ∥ x ∥ 2 = 1 , orthogonality gives
∥ y ∥ 2 2 = y T y = x T Q Q T x = x T x = 1. \|y\|_2^2=y^Ty=x^TQQ^Tx=x^Tx=1. ∥ y ∥ 2 2 = y T y = x T Q Q T x = x T x = 1.
Therefore
∥ A x ∥ 2 2 = ∥ Λ y ∥ 2 2 = ∑ i λ i 2 y i 2 ≤ ( max i ∣ λ i ∣ ) 2 . \|Ax\|_2^2=\|\Lambda y\|_2^2
=\sum_i\lambda_i^2y_i^2
\leq \left(\max_i|\lambda_i|\right)^2. ∥ A x ∥ 2 2 = ∥Λ y ∥ 2 2 = i ∑ λ i 2 y i 2 ≤ ( i max ∣ λ i ∣ ) 2 .
Equality holds when x x x is a unit eigenvector corresponding to an eigenvalue of maximum absolute value. Hence ∥ A ∥ 2 = max i ∣ λ i ∣ \|A\|_2=\max_i|\lambda_i| ∥ A ∥ 2 = max i ∣ λ i ∣ .
(3)
Let e ( j ) = x ( j ) − x e^{(j)} = x^{(j)} - x e ( j ) = x ( j ) − x be the error vector.
We want lim j → ∞ e ( j ) = 0 \lim_{j\to \infty} e^{(j)} = 0 lim j → ∞ e ( j ) = 0 .
In other words, we want e ( j + 1 ) < e ( j ) e^{(j+1)} < e^{(j)} e ( j + 1 ) < e ( j ) for all sufficiently big j j j .
e ( j + 1 ) = x ( j + 1 ) − x = b − x + ( I − A ) x ( j ) = A x − x + ( I − A ) x ( j ) = − ( I − A ) x + ( I − A ) x ( j ) = ( I − A ) ( 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} e ( j + 1 ) = x ( j + 1 ) − x = b − x + ( I − A ) x ( j ) = A x − x + ( I − A ) x ( j ) = − ( I − A ) x + ( I − A ) x ( j ) = ( I − A ) ( x ( j ) − x )
Here, we obtain: e ( j + 1 ) = ( I − A ) e ( j ) e^{(j+1)} = (I -A) e^{(j)} e ( j + 1 ) = ( I − A ) e ( j ) .
Taking a norm both sides:
∣ ∣ e ( j + 1 ) ∣ ∣ = ∣ ∣ ( I − A ) e ( j ) ∣ ∣ ≤ ∣ ∣ I − A ∣ ∣ ∣ ∣ e ( j ) ∣ ∣ \begin{aligned}
||e^{(j+1)}|| &= ||(I -A) e^{(j)}|| \\
&\leq ||I -A|| \: || e^{(j)}||
\end{aligned} ∣∣ e ( j + 1 ) ∣∣ = ∣∣ ( I − A ) e ( j ) ∣∣ ≤ ∣∣ I − A ∣∣ ∣∣ e ( j ) ∣∣
Thus e ( j ) = ( I − A ) j e ( 0 ) e^{(j)}=(I-A)^je^{(0)} e ( j ) = ( I − A ) j e ( 0 ) . Since I − A I-A I − A is symmetric, this tends to zero for every e ( 0 ) e^{(0)} e ( 0 ) iff
max i ∣ 1 − λ i ( A ) ∣ < 1 , \max_i|1-\lambda_i(A)|<1, i max ∣1 − λ i ( A ) ∣ < 1 ,
or equivalently, iff every eigenvalue of A A A satisfies 0 < λ i ( A ) < 2 0<\lambda_i(A)<2 0 < λ i ( A ) < 2 .
Knowledge
More reading: http://runge.math.smu.edu/Courses/Math3315_Spring10/iterative_linear.pdf