跳到主要内容

東京大学 情報理工学系研究科 コンピュータ科学専攻 2016年2月実施 問題1

Author​

kainoj, 祭音Myyura

Description​

A unit lower triangular matrix is a lower triangular matrix whose diagonal elements are all equal to 11.

Answer the following questions.

(1) Suppose that LL and L′L' are n×nn \times n lower triangular matrices. Prove that the product of them, LL′LL', is also a lower triangular matrix.

(2) Suppose that LL and L′L' are n×nn \times n unit lower triangular matrices. Prove that LL′LL' is also a unit lower triangular matrix.

(3) Compute the inverse matrices of

L1=(1021)andL2=(100210321),L_1 = \begin{pmatrix} 1 & 0 \\ 2 & 1 \end{pmatrix} \quad \text{and} \quad L_2 = \begin{pmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 3 & 2 & 1 \end{pmatrix},

respectively.

(4) Suppose that an n×nn \times n invertible matrix AA is decomposed in two ways as A=LU=L′U′A = LU = L'U', where UU and U′U' are upper triangular matrices, and LL and L′L' are unit lower triangular matrices. Prove that L=L′L = L' and U=U′U = U'.

You can use the following facts:

  • (i) The inverse of an upper triangular matrix, if it exists, is also an upper triangular matrix.
  • (ii) The inverse of a unit lower triangular matrix always exists, and it is also a unit lower triangular matrix.

题目描述​

若一个下三角矩阵的所有对角元都等于 11,则称其为单位下三角矩阵。回答下列问题。

(1)设 L,L′L,L' 是两个 n×nn\times n 下三角矩阵,证明乘积 LL′LL' 仍是下三角矩阵。

(2)设 L,L′L,L' 是两个 n×nn\times n 单位下三角矩阵,证明 LL′LL' 仍是单位下三角矩阵。

(3)分别求下列矩阵的逆矩阵:

L1=(1021),L2=(100210321).L_1=\begin{pmatrix}1&0\\2&1\end{pmatrix},\qquad L_2=\begin{pmatrix}1&0&0\\2&1&0\\3&2&1\end{pmatrix}.

(4)设可逆矩阵 A∈Rn×nA\in\mathbb{R}^{n\times n} 有两种分解

A=LU=L′U′,A=LU=L'U',

其中 U,U′U,U' 为上三角矩阵,L,L′L,L' 为单位下三角矩阵。证明 L=L′L=L' 且 U=U′U=U'。

可直接使用以下事实:

  • 可逆上三角矩阵的逆矩阵仍为上三角矩阵;
  • 单位下三角矩阵一定可逆,且其逆矩阵仍为单位下三角矩阵。

Kai​

(1)​

A lower triangular matrix MM has Mi,j=0M_{i,j} = 0 for i<ji < j. Let L,L′∈Rn×nL, L' \in \mathbb{R}^{n\times n} be a lower triangular matrices. Let's look closer at entries above diagonal of LL′LL', i.e. (LL′)i,j(LL')_{i,j} for i<ji<j:

(LL′)i,j=∑k=1nLi,k⋅Lk,j′(LL')_{i,j} = \sum_{k=1}^{n} L_{i,k} \cdot L'_{k,j}

Every item of the summation yields either i<ki<k or k<jk<j. Thus, (LL′)i,j=0(LL')_{i,j} = 0 for i<ji<j.

The same another way:

(LL′)i,j=∑k=1nLi,k⋅Lk,j′=∑k=1j−1Li,k⋅Lk,j′+∑k=jnLi,k⋅Lk,j′=∑k=1j−1Li,k⋅0+∑k=jn0⋅Lk,j′=0\begin{aligned} (LL')_{i,j} &= \sum_{k=1}^{n} L_{i,k} \cdot L'_{k,j} \\ &= \sum_{k=1}^{j-1} L_{i,k} \cdot L'_{k,j} + \sum_{k=j}^{n} L_{i,k} \cdot L'_{k,j} \\ &= \sum_{k=1}^{j-1} L_{i,k} \cdot 0 + \sum_{k=j}^{n} 0 \cdot L'_{k,j} \\ &= 0 \end{aligned}

(2)​

Let L,L′∈Rn×nL, L' \in \mathbb{R}^{n\times n} be a unit lower triangular matrices, i.e Li,j=Li,j′=1L_{i,j} = L'_{i,j} = 1 for i=ji = j. We know from question (1), that LL′LL' is lower triangular.

Let's examine diagonal items, (LL′)i,i(LL')_{i,i}:

For k<ik<i, Lk,i′=0L'_{k,i}=0, and for k>ik>i, Li,k=0L_{i,k}=0. Hence

(LL′)i,i=∑k=1nLi,kLk,i′=Li,iLi,i′=1.(LL')_{i,i} =\sum_{k=1}^{n}L_{i,k}L'_{k,i} =L_{i,i}L'_{i,i}=1.

(3)​

Inverse of a unit lower triangular matrix is also unit lower triangular. So, we need to find only one entry of the inverse of L1L1, such that:

L1L1−1=(1021)⋅(10x1)=(1001)L_1 L_1^{-1} = \begin{pmatrix} 1 & 0\\ 2 & 1 \end{pmatrix} \cdot \begin{pmatrix} 1 & 0\\ x & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Obviously, x=−2x=-2. Simillary, L2L_2:

L2L2−1=(100210321)⋅(100a10bc1)=(100010001)L_2 L_2^{-1} = \begin{pmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 3 & 2 & 1 \end{pmatrix} \cdot \begin{pmatrix} 1 & 0 & 0 \\ a & 1 & 0 \\ b & c & 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}

Here, a=−2a = -2, b=1b = 1, c=−2c = -2.

(4)​

Prove that if AA has two different LU decomposition, that is A=LU=L1U1A = LU = L_1U_1 and L,L1L, L_1 are lower unit matrices, then L=L1L=L_1 and U=U1U=U_1.

Since AA is invertible and L,L1L,L_1 are unit lower triangular, U=L−1AU=L^{-1}A and U1=L1−1AU_1=L_1^{-1}A are invertible. Start with A=LU=L1U1=AA= LU = L_1 U_1 = A and multiply right-hand by U−1U^{-1} and left-hand by L1−1L_1^{-1}:

LU=L1U1L1−1LUU−1=L1−1L1U1U−1L1−1L=U1U−1\begin{aligned} LU &= L_1 U_1 \\ L_1^{-1} L U U^{-1} &= L_1^{-1} L_1 U_1 U^{-1} \\ L_1^{-1} L &= U_1 U^{-1} \\ \end{aligned}

We know from question (2) that left-hand side of the last equation is lower unit triangular matrix. In similar manner, we can show that right-hand is upper triangular. Lower and upper triangular matrices can be equal iff they are both diagonal. Moreover, since L1−1LL_1^{-1} L has ones on diagonal, so U1U−1U_1 U^{-1} must have. We conclude:

L1−1L=Id=U1U−1L_1^{-1} L = Id = U_1 U^{-1}

That is, L=L1L = L_1 and U=U1U = U_1.