跳到主要内容

京都大学 情報学研究科 知能情報学専攻 2023年8月実施 情報学基礎 F1-1

Author​

Isidore, 祭音Myyura

Description​

大学公表の原題 以下の設問において ii は虚数単位を, C\mathbb{C} は複素数全体の集合を表す。 また、行列 A\boldsymbol{A} に対して、 AH\boldsymbol{A}^H は A\boldsymbol{A} の共役転置(エルミート転置)を、 A−1\boldsymbol{A}^{-1} は A\boldsymbol{A} の逆行列をそれぞれ表す。

設問1​

行列 D∈C4×4\boldsymbol{D} \in \mathbb{C}^{4 \times 4} を次で定義する。

D=12(11111−i−1i1−11−11i−1−i)\boldsymbol{D} = \frac{1}{2} \begin{pmatrix} 1 & 1 & 1 & 1 \\ 1 & -i & -1 & i \\ 1 & -1 & 1 & -1 \\ 1 & i & -1 & -i \end{pmatrix}

このとき、以下の問いに答えよ。

(1) D\boldsymbol{D} がユニタリ行列であることを示せ。

(2) 行列 G∈C4×4\boldsymbol{G} \in \mathbb{C}^{4 \times 4} を

G=(10000i000010000i)G = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & i & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & i \end{pmatrix}

で定義するとき、 DHGD\boldsymbol{D}^H \boldsymbol{G} \boldsymbol{D} の逆行列を導出せよ。

設問2​

nn 次元ベクトル空間 VV が2つの部分空間 W1,W2W_1, W_2 の直和であるとする。ベクトル x∈Vx \in V が

x=x1+x2,x1∈W1,x2∈W2x = x_1 + x_2, \quad x_1 \in W_1, x_2 \in W_2

と分解されるとき、 xx を x1x_1 に写す一次変換を考える。 この一次変換を表す VV のある基底に関する行列を B\boldsymbol{B} とする。このとき、以下の問いに答えよ。

(1) xx を x2x_2 に写す一次変換を表す上述の基底に関する行列を導出せよ。

(2) B2=B\boldsymbol{B}^2 = \boldsymbol{B} が成り立つことを示せ。

(3) 適当な nn 次正則行列 P\boldsymbol{P} をとれば

P−1BP=(1⋱10⋱0)\boldsymbol{P}^{-1} \boldsymbol{B} \boldsymbol{P} = \begin{pmatrix} 1 & & & & & \\ & \ddots & & & & \\ & & 1 & & & \\ & & & 0 & & \\ & & & & \ddots & \\ & & & & & 0 \end{pmatrix}

となることを示せ。

题目描述​

以下 ii 表示虚数单位,C\mathbb{C} 表示复数集;对矩阵 A\boldsymbol{A},AH\boldsymbol{A}^H 表示共轭转置(Hermitian 转置), A−1\boldsymbol{A}^{-1} 表示逆矩阵。回答以下两题。

  1. 定义
D=12(11111−i−1i1−11−11i−1−i)∈C4×4.\boldsymbol{D} =\frac12 \begin{pmatrix} 1&1&1&1\\ 1&-i&-1&i\\ 1&-1&1&-1\\ 1&i&-1&-i \end{pmatrix} \in\mathbb{C}^{4\times4}.
  1. 证明 D\boldsymbol{D} 是酉矩阵。
  2. 定义
G=(10000i000010000i)∈C4×4.\boldsymbol{G} = \begin{pmatrix} 1&0&0&0\\ 0&i&0&0\\ 0&0&1&0\\ 0&0&0&i \end{pmatrix} \in\mathbb{C}^{4\times4}.

求矩阵 DHGD\boldsymbol{D}^H\boldsymbol{G}\boldsymbol{D} 的逆矩阵。

  1. 设 nn 维向量空间 VV 是两个子空间的直和:
V=W1⊕W2.V=W_1\oplus W_2.

每个 x∈V\boldsymbol{x}\in V 都唯一分解为

x=x1+x2,x1∈W1,x2∈W2.\boldsymbol{x}=\boldsymbol{x}_1+\boldsymbol{x}_2, \qquad \boldsymbol{x}_1\in W_1,\quad \boldsymbol{x}_2\in W_2.

考虑把 x\boldsymbol{x} 映到 x1\boldsymbol{x}_1 的线性变换,并用 B\boldsymbol{B} 表示它在 VV 的某一组基下的矩阵。完成:

  1. 求把 x\boldsymbol{x} 映到 x2\boldsymbol{x}_2 的线性变换在同一组基下的矩阵。
  2. 证明 B2=B\boldsymbol{B}^2=\boldsymbol{B}。
  3. 证明可以选取某个 nn 阶可逆矩阵 P\boldsymbol{P},使
P−1BP=(1⋱10⋱0),\boldsymbol{P}^{-1}\boldsymbol{B}\boldsymbol{P} = \begin{pmatrix} 1&&&&&\\ &\ddots&&&&\\ &&1&&&\\ &&&0&&\\ &&&&\ddots&\\ &&&&&0 \end{pmatrix},

即 B\boldsymbol{B} 相似于一个对角元只含 11 和 00 的对角矩阵。

Kai​

設問1​

(1)​

Definition of Unitary Matrix: DHD=ED^{H}D=E , in which EE is identity matrix and DHD^H denotes the conjugate transpose of DD.

DH=12(11111i−1−i1−11−11−i−1i)\begin{aligned} D^{H} &= \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&i&-1&-i\\ 1&-1&1&-1\\ 1&-i&-1&i \end{pmatrix} \end{aligned}
DDH=12(11111−i−1i1−11−11i−1−i)12(11111i−1−i1−11−11−i−1i)=14(4000040000400004)=E\begin{aligned} DD^{H} &= \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&-i&-1&i\\ 1&-1&1&-1\\ 1&i&-1&-i \end{pmatrix} \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&i&-1&-i\\ 1&-1&1&-1\\ 1&-i&-1&i \end{pmatrix} = \frac{1}{4} \begin{pmatrix} 4&0&0&0\\ 0&4&0&0\\ 0&0&4&0\\ 0&0&0&4 \end{pmatrix} = E \end{aligned}
DHD=12(11111i−1−i1−11−11−i−1i)12(11111−i−1i1−11−11i−1−i)=14(4000040000400004)=E\begin{aligned} D^{H}D &= \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&i&-1&-i\\ 1&-1&1&-1\\ 1&-i&-1&i \end{pmatrix} \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&-i&-1&i\\ 1&-1&1&-1\\ 1&i&-1&-i \end{pmatrix} = \frac{1}{4} \begin{pmatrix} 4&0&0&0\\ 0&4&0&0\\ 0&0&4&0\\ 0&0&0&4 \end{pmatrix} = E \end{aligned}

Therefore, DD is a unitary matrix.

(2)​

With a process similar to question (1), we know that GG is a unitary matrix.

Hence,

(DHGD)−1=(DHGD)H=DHGHD=12(11111i−1−i1−11−11−i−1i)(10000−i000010000−i)12(11111−i−1i1−11−11i−1−i)=14(2−2i02+2i002−2i02+2i2+2i02−2i002+2i02−2i)\begin{aligned} (D^{H}GD)^{-1} &= (D^{H}GD)^{H} = D^{H}G^{H}D \\ &= \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&i&-1&-i\\ 1&-1&1&-1\\ 1&-i&-1&i \end{pmatrix} \begin{pmatrix} 1&0&0&0\\ 0&-i&0&0\\ 0&0&1&0\\ 0&0&0&-i \end{pmatrix} \frac{1}{2} \begin{pmatrix} 1&1&1&1\\ 1&-i&-1&i\\ 1&-1&1&-1\\ 1&i&-1&-i \end{pmatrix}\\ &=\frac{1}{4}\begin{pmatrix} 2-2i & 0 & 2+2i & 0 \\ 0 & 2-2i & 0 & 2+2i \\ 2+2i & 0 & 2-2i & 0 \\ 0 & 2+2i & 0 & 2-2i \end{pmatrix} \end{aligned}

設問2​

(1)​

According to the question, the linear transformation BB maps xx to x1x_1 , so

Bx=x1(*)\begin{aligned} Bx=x_1 \tag{*} \end{aligned}

Insert x1=x−x2x_1 = x-x_2 , we get

Bx=x−x2⇒(E−B)x=x2Bx=x - x_2 \Rightarrow (E - B)x = x_2

So E−BE-B is the answer.

(2)​

Insert x=x1+x2x=x_1 + x_2 into equation (*),

Bx1+Bx2=x1Bx_1 + Bx_2 = x_1

Given V=W1⊕W2V = W_1 \oplus W_2 , by the properties of Projection Matrix we have

Bx1=x1,Bx2=0Bx_1 = x_1, Bx_2 = 0

Then we have

B2x1=Bx1=x1,B2x2=Bx2=0B^2x_1 = Bx_1 = x_1, B^2x_2 = Bx_2 = 0

Therefore, ∀x∈V,  B2x=x1=Bx\forall x \in V, \; B^2x= x_1 = Bx , which implies that B2=BB^2 = B .

(3)​

Choose a basis u1,…,uku_1,\ldots,u_k of W1W_1 and a basis v1,…,vn−kv_1,\ldots,v_{n-k} of W2W_2. Since V=W1⊕W2V=W_1\oplus W_2, their union is a basis of VV. Let PP have these vectors as its columns, expressed in the original basis. Then PP is invertible.

By the definition of the projection, Buj=ujBu_j=u_j and Bvj=0Bv_j=0. Therefore

BP=P(Ik000n−k),P−1BP=(Ik000n−k).BP=P\begin{pmatrix}I_k&0\\0&0_{n-k}\end{pmatrix}, \qquad P^{-1}BP=\begin{pmatrix}I_k&0\\0&0_{n-k}\end{pmatrix}.

This also covers W1={0}W_1=\{0\} or W2={0}W_2=\{0\}, with the corresponding block absent.