東京大学 情報理工学系研究科 コンピュータ科学専攻 2017年2月実施 問題1
Author
kainoj
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 ) .
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 ∈ R n y\in \mathbb{R}^n y ∈ R n be a unit vector:
∣ ∣ x ∣ ∣ 1 = ∣ x ⋅ y ∣ ≤ ∣ ∣ x ∣ ∣ 2 ∣ ∣ y ∣ ∣ 2 = ∣ ∣ x ∣ ∣ 2 1 + 1 + ⋯ + 1 = n ∣ ∣ x ∣ ∣ 2 \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} ∣∣ x ∣ ∣ 1 = ∣ x ⋅ y ∣ ≤ ∣∣ x ∣ ∣ 2 ∣∣ y ∣ ∣ 2 = ∣∣ x ∣ ∣ 2 1 + 1 + ⋯ + 1 = 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, then it can be diagonalized A = Q T Λ Q A=Q^T\Lambda Q A = Q T Λ Q , where Q Q Q is orthogonal matrix (i.e. Q T Q = I Q^T Q = I Q T Q = I ).
Note that
max x ∣ ∣ A x ∣ ∣ p ∣ ∣ x ∣ ∣ p = max x : ∣ ∣ x ∣ ∣ p = 1 ∣ ∣ A x ∣ ∣ p \max_{x} \frac{||Ax||_p}{||x||_p} = \max_{x: ||x||_p = 1} ||Ax||_p x max ∣∣ x ∣ ∣ p ∣∣ A x ∣ ∣ p = x : ∣∣ x ∣ ∣ p = 1 max ∣∣ A x ∣ ∣ p
Let x x x be a unit vector which maximizes the above.
We have:
∣ ∣ A x ∣ ∣ 2 = ( A x ) T ( A x ) = x T Q T Λ Q Q T Λ Q x = x T Q T Λ 2 Q x \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} ∣∣ A x ∣ ∣ 2 = ( A x ) T ( A x ) = x T Q T Λ Q Q T Λ Q x = x T Q T Λ 2 Q x
By substituting y = Q x y = Qx y = Q x :
∣ ∣ A x ∣ ∣ 2 = y T Λ 2 y = ∑ λ i 2 y i 2 ≤ ∑ λ m a x y i 2 = λ m a x ∑ y i 2 = λ m a x y T y = λ m a x \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} ∣∣ A x ∣ ∣ 2 = y T Λ 2 y = ∑ λ i 2 y i 2 ≤ ∑ λ ma x y i 2 = λ ma x ∑ y i 2 = λ ma x y T y = λ ma x
Because y T y = ( Q x ) T ( Q x ) = x T Q T Q x = x T x = 1 y^T y = (Qx)^T(Qx) = x^T Q^T Q x = x^T x = 1 y T y = ( Q x ) T ( Q x ) = x T Q T Q x = x T x = 1 .
On the other hand, let q q q be eigenvector corresponding to λ m a x \lambda_{max} λ ma x .
Of course ∣ ∣ q ∣ ∣ 2 = 1 ||q||_2 =1 ∣∣ q ∣ ∣ 2 = 1 , because Q Q Q is orthogonal.
∣ ∣ A q ∣ ∣ 2 ≥ ∣ ∣ A q ∣ ∣ 2 = ∣ ∣ λ m a x q ∣ ∣ 2 = λ m a x ∣ ∣ q ∣ ∣ 2 = λ m a x \begin{aligned}
||Aq||_2 &\geq ||Aq||_2 \\
&= ||\lambda_{max} q ||_2 \\
&= \lambda_{max} ||q||_2 \\
&= \lambda_{max}
\end{aligned} ∣∣ A q ∣ ∣ 2 ≥ ∣∣ A q ∣ ∣ 2 = ∣∣ λ ma x q ∣ ∣ 2 = λ ma x ∣∣ q ∣ ∣ 2 = λ ma x
(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, the sequence converge to real solution if
∣ ∣ I − A ∣ ∣ < 1 ||I -A|| < 1 ∣∣ I − A ∣∣ < 1
Knowledge
More reading: http://runge.math.smu.edu/Courses/Math3315_Spring10/iterative_linear.pdf