跳到主要内容

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

Author

祭音Myyura

Description

Q.1

Suppose that a sequence {xkk is a positive integer}\{x_k \mid k \text{ is a positive integer}\} satisfies the recurrence formula,

x1=1,x2=2,x3=1,xm=axm1axm2+bxm3x_1 = 1, x_2 = 2, x_3 = 1, x_m = a x_{m-1} - a x_{m-2} + b x_{m-3}

where aa and bb are real numbers, and mm is an integer greater than or equal to 4. Let ym=(xm xm1 xm2)T\boldsymbol{y}_m = (x_m \ x_{m-1} \ x_{m-2})^{\mathrm{T}}. Answer the following questions, where nn is an integer greater than or equal to 4. I\mathrm{I} is the identity matrix of order 3, and ATA^{\mathrm{T}} stands for the transpose of a matrix AA.

(1) Find a matrix AA which satisfies ym+1=Aym\boldsymbol{y}_{m+1} = A \boldsymbol{y}_m.

(2) Find aa and bb for which AIA - \mathrm{I} is invertible. For the values aa and bb, determine (AI)1(A - \mathrm{I})^{-1}.

(3) Let a=12a = -\frac{1}{2} and b=14b = \frac{1}{4}. Compute the eigenvalues of AA, and limnAn\lim_{n \to \infty} A^n.

(4) With the same condition as (3), express k=1nxk\sum_{k=1}^n x_k using m=4nym\sum_{m=4}^n \boldsymbol{y}_m, and compute limnk=1nxk\lim_{n \to \infty} \sum_{k=1}^n x_k using the results of (1) – (3).

Q.2

In the following, we assume that all elements of matrices are real numbers. In what follows, a matrix with mm rows and nn columns is called an m×nm \times n matrix. Let Om×n\mathrm{O}_{m \times n} be the zero matrix of mm rows and nn columns, and In\mathrm{I}_n be the identity matrix of order nn. The rank of a matrix MM is denoted by rank(M)\mathrm{rank}(M). Let AA be a k×mk \times m matrix, and BB be an m×nm \times n matrix. Prove each of the following statements (1) to (5) if it holds, or if it does not hold, give a counterexample of a pair (A,B)(A, B) and disprove the statement with it.

(1) rank(AB)rank(B)\mathrm{rank}(AB) \leq \mathrm{rank}(B).

(2) If k=mk = m and AA is non-singular, rank(AB)=rank(B)\mathrm{rank}(AB) = \mathrm{rank}(B).

(3) rank(A)+rank(B)mrank(AB)\mathrm{rank}(A) + \mathrm{rank}(B) - m \leq \mathrm{rank}(AB).

(4) If AB=Ok×nAB = \mathrm{O}_{k \times n}, rank(A)+rank(B)m\mathrm{rank}(A) + \mathrm{rank}(B) \leq m.

(5) If n=kn = k and AB=IkAB = \mathrm{I}_k, rank(A)=k\mathrm{rank}(A) = k.

Kai

Q.1

Let

ym=(xmxm1xm2),xm=axm1axm2+bxm3.\boldsymbol{y}_m= \begin{pmatrix} x_m\\ x_{m-1}\\ x_{m-2} \end{pmatrix}, \qquad x_m=ax_{m-1}-ax_{m-2}+bx_{m-3}.

(1)

ym+1=Aym,\boldsymbol{y}_{m+1}=A\boldsymbol{y}_m,

with

A=(aab100010).\boxed{ A= \begin{pmatrix} a&-a&b\\ 1&0&0\\ 0&1&0 \end{pmatrix} }.

(2)

AI=(a1ab110011),det(AI)=b1.A-I= \begin{pmatrix} a-1&-a&b\\ 1&-1&0\\ 0&1&-1 \end{pmatrix}, \qquad \det(A-I)=b-1.

Therefore,

AI is invertible iff b1.\boxed{A-I\text{ is invertible iff }b\ne1}.

For b1b\neq 1,

(AI)1=1b1(1bab11ab11a1).\boxed{ (A-I)^{-1} = \frac{1}{b-1} \begin{pmatrix} 1&b-a&b\\ 1&1-a&b\\ 1&1-a&1 \end{pmatrix} }.

(3)

For

a=12,b=14,a=-\frac12,\qquad b=\frac14,

the characteristic polynomial is

det(λIA)=(λ+12)(λ212).\det(\lambda I-A) = \left(\lambda+\frac12\right) \left(\lambda^2-\frac12\right).

Hence the eigenvalues are

12,12,12.-\frac12,\qquad \frac1{\sqrt2},\qquad -\frac1{\sqrt2}.

All have absolute value less than 11, so

limnAn=O.\boxed{ \lim_{n\to\infty}A^n=O }.

(4)

Since

ym+1ym=(AI)ym,\boldsymbol{y}_{m+1}-\boldsymbol{y}_m = (A-I)\boldsymbol{y}_m,

we have

m=4nym=(AI)1(yn+1y4).\sum_{m=4}^{n}\boldsymbol{y}_m = (A-I)^{-1} \left(\boldsymbol{y}_{n+1}-\boldsymbol{y}_4\right).

Here,

x4=34,y4=(3412).x_4=\frac34, \qquad \boldsymbol{y}_4= \begin{pmatrix} \frac34\\ 1\\ 2 \end{pmatrix}.

Because yn+10\boldsymbol{y}_{n+1}\to\boldsymbol{0},

m=4nym(AI)1y4.\sum_{m=4}^{n}\boldsymbol{y}_m \longrightarrow -(A-I)^{-1}\boldsymbol{y}_4.

Taking the first component,

limnk=1nxk=4+83.\lim_{n\to\infty}\sum_{k=1}^{n}x_k = 4+\frac83.

Therefore,

limnk=1nxk=203.\boxed{ \lim_{n\to\infty}\sum_{k=1}^{n}x_k = \frac{20}{3} }.

Q.2

Let AA be a k×mk\times m matrix and BB an m×nm\times n matrix.

(1)

Since

Im(AB)=A(ImB),\operatorname{Im}(AB) = A(\operatorname{Im}B),

a linear map cannot increase dimension. Thus,

rank(AB)rank(B).\boxed{ \operatorname{rank}(AB)\le\operatorname{rank}(B) }.

(2)

If k=mk=m and AA is invertible, then

B=A1(AB).B=A^{-1}(AB).

Using part (1) in both directions,

rank(AB)=rank(B).\boxed{ \operatorname{rank}(AB)=\operatorname{rank}(B) }.

(3)

Let U=Im(B)U=\operatorname{Im}(B). Applying rank-nullity to the restriction AUA|_U,

rank(B)=rank(AB)+dim(UkerA).\operatorname{rank}(B) = \operatorname{rank}(AB) + \dim(U\cap\ker A).

Since

dim(UkerA)mrank(A),\dim(U\cap\ker A) \le m-\operatorname{rank}(A),

we get

rank(A)+rank(B)mrank(AB).\boxed{ \operatorname{rank}(A)+\operatorname{rank}(B)-m \le \operatorname{rank}(AB) }.

(4)

If AB=OAB=O, then

Im(B)ker(A).\operatorname{Im}(B)\subseteq\ker(A).

Therefore,

rank(B)mrank(A),\operatorname{rank}(B) \le m-\operatorname{rank}(A),

so

rank(A)+rank(B)m.\boxed{ \operatorname{rank}(A)+\operatorname{rank}(B)\le m }.

(5)

If n=kn=k and AB=IkAB=I_k, then

k=rank(AB)rank(A)k.k=\operatorname{rank}(AB)\le\operatorname{rank}(A)\le k.

Hence,

rank(A)=k.\boxed{ \operatorname{rank}(A)=k }.