跳到主要内容

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

Author

Isidore, 祭音Myyura

Description

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

設問1

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

D=12(11111i1i11111i1i)\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) 行列 GC4×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 の直和であるとする。ベクトル xVx \in V

x=x1+x2,x1W1,x2W2x = x_1 + x_2, \quad x_1 \in W_1, x_2 \in W_2

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

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

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

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

P1BP=(1100)\boldsymbol{P}^{-1} \boldsymbol{B} \boldsymbol{P} = \begin{pmatrix} 1 & & & & & \\ & \ddots & & & & \\ & & 1 & & & \\ & & & 0 & & \\ & & & & \ddots & \\ & & & & & 0 \end{pmatrix}

となることを示せ。

Kai

設問1

(1)

Definition of Unitary Matrix: DHD=ED^{H}D=E, in which EE is identity matrix and DHD^H stands for Hermitian Matrix.

DH=12(11111i1i11111i1i)\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(11111i1i11111i1i)12(11111i1i11111i1i)=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(11111i1i11111i1i)12(11111i1i11111i1i)=14(4000040000400004)=E\begin{align} 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{align}

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(11111i1i11111i1i)(10000i000010000i)12(11111i1i11111i1i)=14(22i02+2i0022i02+2i2+2i022i002+2i022i)\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{align} Bx=x_1 \tag{*} \end{align}

Insert x1=xx2x_1 = x-x_2, we get

Bx=xx2(EB)x=x2Bx=x - x_2 \Rightarrow (E - B)x = x_2

So EBE-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=W1W2V = 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, xV,  B2x=x1=Bx\forall x \in V, \; B^2x= x_1 = Bx, which implies that B2=BB^2 = B.

(3)

Consider the eigenvalues λ\lambda of BB, which satisfies

Bx=λxBx = \lambda x

By (2) we have B2=BB^2 = B, hence every λ\lambda satisfies

λ2=λ\lambda^2 = \lambda

Hence λ=1,0\lambda = 1,0.

Assume that the algebraic multiplicity of λ=1\lambda = 1 is kk, then the algebraic multiplicity of λ=0\lambda = 0 is (nk)(n-k).

Therefore, we can derive

P=[x1x2......xn]P=\begin{bmatrix}x_1 & x_2 & ...... & x_n \end{bmatrix}

in which x1...xkx_1...x_k is the eigenvectors corresponding to λ=1\lambda = 1 and the others is the eigenvectors corresponding to λ=0\lambda = 0.

Consider all the Bxi=λxiBx_i=\lambda x_i, we can get

BP=P[E000]BP = P\begin{bmatrix} E & 0 \\ 0 & 0 \end{bmatrix}

We give a brief check of whether PP is non-singular or not.

When λ=1\lambda = 1,

Bxi=xi(EB)xi=0Bx_i=x_i \Rightarrow (E-B)x_i = 0

So its eigenspace is N(EB)N(E-B). Similarly, λ=0\lambda = 0's eigenspace is N(B)N(B).

Obviously, N(B)=W2N(B) = W_2 and then N(EB)=W1N(E-B) = W_1. Given V=W1W2V = W_1 \oplus W_2, the space spanned by column vectors of PP (which are eigenvectors of BB) is exact VV. Therefore, PP is non-singular. Q.E.D.