111 年 國立成功大學電機工程學系碩士班已組《線性代數》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題24 分

  1. (24 pts) Make each statement True or False and JUSTIFY each answer. 3 pts for each question.
    (Correct answer for 2 pts and suitable justification for 1 pts.)
    (a). A is n×nn \times n matrix. If λ+5\lambda+5 is a factor of the characteristic polynomial of AA, then 55 is an eigenvalue of AA.
    (b). If AA is 3×33 \times 3, with columns a1,a2a_1, a_2, and a3a_3, then det⁡A\det A equals the volume of the parallelepiped determined by a1,a2a_1, a_2 and a3a_3.
    (c). If uu is in the row space and the column space of an n×nn \times n matrix AA, then u=0u = 0. AA is n×nn \times n matrix and AA is diagonalizable if A=PDP−1A = PDP^{-1} for some matrix DD and some invertible matrix PP.
    (d). If AA is similar to BB, then A2A^2 is similar to B2B^2.
    (e). The best approximation to yy by elements of a subspace WW is given by the vector y−projWyy - \text{proj}_W y.
    (f). Not every orthogonal set in Rn\mathbb{R}^n is linearly independent.
    (g). If zz is orthogonal to u1u_1 and to u2u_2 and if W=Span{u1;u2}W = \text{Span}\{u_1; u_2\}, then zz must be in W⊥W^\perp.
    (h). If bb is in the column space of AA, then every solution of Ax=bAx = b is a least-squares solution.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題綜合考查:

  • 特徵多項式與特徵值的關係
  • 行列式與平行六面體體積
  • 行空間、列空間與正交補空間
  • 相似矩陣及其多項式運算
  • 正交投影與最佳逼近
  • 正交集合與線性獨立
  • 最小平方法與精確解

判斷是非題時,須直接對照定義、定理,並以公式或反例佐證。


(a)

判斷:False

核心觀念

若 λ+5\lambda+5 是矩陣 AA 的特徵多項式之因式,則

λ+5=0\lambda+5=0

所對應的根為

λ=−5.\lambda=-5.

特徵多項式的根就是矩陣的特徵值。

選項分析

題目聲稱 55 是 AA 的特徵值,但由 λ+5=0\lambda+5=0 得到的特徵值是 −5-5,不是 55。

例如特徵多項式為

pA(λ)=λ+5,p_A(\lambda)=\lambda+5,

其唯一根為 −5-5。

解題技巧

看到因式 λ−c\lambda-c,特徵值就是 cc;看到 λ+c\lambda+c,特徵值就是 −c-c。符號不可忽略。


(b)

判斷:False

核心觀念

三階矩陣 A=[a1 a2 a3]A=[a_1\ a_2\ a_3] 的行列式代表由三個列向量所張成之平行六面體的「有向體積」:

det⁡A\det A

但幾何上的體積必須為非負,因此實際體積為

Vol⁡=∣det⁡A∣.\operatorname{Vol}=\left|\det A\right|.

選項分析

題目直接說 det⁡A\det A 等於體積,這不一定正確。

例如

A=[010100001].A= \begin{bmatrix} 0&1&0\\ 1&0&0\\ 0&0&1 \end{bmatrix}.

此時

det⁡A=−1.\det A=-1.

但平行六面體的體積為

∣det⁡A∣=1.|\det A|=1.

由於行列式可以為負,而體積不可能為負,因此原敘述錯誤。

解題技巧

  • 行列式:有向體積,可正可負。
  • 體積:幾何量,必須取絕對值。
  • 若題目寫成 ∣det⁡A∣\left|\det A\right| 等於體積,才是正確敘述。

(c)

判斷:False

核心觀念

對一般矩陣而言,行空間與列空間並不一定只在零向量相交。

若 uu 同時屬於 AA 的行空間與列空間,不能因此推出 u=0u=0。

選項分析

取

A=In.A=I_n.

則

Row⁡(A)=Rn,Col⁡(A)=Rn.\operatorname{Row}(A)=\mathbb{R}^n, \qquad \operatorname{Col}(A)=\mathbb{R}^n.

因此任意非零向量,例如

u=[10⋮0],u= \begin{bmatrix} 1\\ 0\\ \vdots\\ 0 \end{bmatrix},

同時屬於行空間與列空間,但 u≠0u\neq 0。

所以原敘述為假。

題目後半段所附的敘述:

AA is diagonalizable if A=PDP−1A=PDP^{-1} for some matrix DD and some invertible matrix PP.

若其中 DD 為對角矩陣,這是可對角化矩陣的標準定義;但它與前面的行空間、列空間敘述沒有直接關係。

解題技巧

不要把「行空間」與「零空間」混淆。正確且常用的關係是:

Row⁡(A)=Null⁡(A)⊥.\operatorname{Row}(A)=\operatorname{Null}(A)^\perp.

題目談的是行空間與列空間,兩者沒有必然只交於零向量。


(d)

判斷:True

核心觀念

若 AA 相似於 BB,則存在可逆矩陣 PP 使得

A=PBP−1.A=PBP^{-1}.

相似關係會保留矩陣多項式的形式,因此也會保留平方矩陣。

解題方法

由

A=PBP−1,A=PBP^{-1},

可得

A2=(PBP−1)(PBP−1).A^2=(PBP^{-1})(PBP^{-1}).

利用 P−1P=IP^{-1}P=I:

A2=PB(P−1P)BP−1=PB2P−1.A^2 =PB(P^{-1}P)BP^{-1} =PB^2P^{-1}.

因此 A2A^2 與 B2B^2 相似。

選項分析

題目敘述正符合上述推導,因此為真。

解題技巧

若 A=PBP−1A=PBP^{-1},則對任意正整數 kk:

Ak=PBkP−1.A^k=PB^kP^{-1}.

更一般地,對任意多項式 qq:

q(A)=Pq(B)P−1.q(A)=Pq(B)P^{-1}.

(e)

判斷:False

核心觀念

向量 yy 在子空間 WW 中的最佳逼近,是 yy 在 WW 上的正交投影:

proj⁡Wy.\operatorname{proj}_W y.

而

y−proj⁡Wyy-\operatorname{proj}_W y

是逼近誤差,也就是垂直於 WW 的殘差向量,屬於 W⊥W^\perp。

選項分析

題目把最佳逼近寫成

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題10 分

  1. (a). (5 pts) Compute the following determinants:
    A=(19999005005090390070)A = \begin{pmatrix} 1 & 9 & 9 & 9 \\ 9 & 0 & 0 & 5 \\ 0 & 0 & 5 & 0 \\ 9 & 0 & 3 & 9 \\ 0 & 0 & 7 & 0 \end{pmatrix}
    (b). (10 pts) Find E2022E^{2022} where
    E=(102−1)E = \begin{pmatrix} 1 & 0 \\ 2 & -1 \end{pmatrix}

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

  • n×nn\times n 方陣才有定義良好的行列式。
  • 矩陣乘冪可利用矩陣乘法與冪次法則計算;若矩陣滿足 E2=IE^2=I,則偶次方皆等於單位矩陣。

解題方法

(a) 判斷行列式是否有定義

題目所給矩陣為

A=(19999005005090390070).A= \begin{pmatrix} 1&9&9&9\\ 9&0&0&5\\ 0&0&5&0\\ 9&0&3&9\\ 0&0&7&0 \end{pmatrix}.

此矩陣共有 55 列、44 欄,因此 AA 是 5×45\times 4 矩形矩陣,而不是方陣。

行列式只對 n×nn\times n 方陣定義,所以

det⁡(A)\det(A)

在題目目前所給的資料下不存在,無法計算數值。題目若原意是要求某個 4×44\times4 子矩陣的行列式,則必須補充指定刪除哪一列;若原意是 5×55\times5 矩陣,則必須補上缺少的欄。

(b) 求 E2022E^{2022}

給定

E=(102−1).E= \begin{pmatrix} 1&0\\ 2&-1 \end{pmatrix}.

先計算 E2E^2:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題15 分

  1. (15 points) Let W=Span{x1,x2}W = \text{Span}\{x_1, x_2\}, where x1=(−1−20)x_1 = \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix} and x2=(−13−1)x_2 = \begin{pmatrix} -1 \\ 3 \\ -1 \end{pmatrix}.
    (a). (8 points) Use the Gram-Schmidt process to find an orthogonal basis {u1,u2}\{u_1, u_2\} for WW.
    (b). (7 points) Let y=(2−41)y = \begin{pmatrix} 2 \\ -4 \\ 1 \end{pmatrix}. Decompose yy as y=y^+zy = \hat{y} + z, where y^\hat{y} is in WW and zz is in W⊥W^\perp.

登入後即可作答並保存紀錄。

這一題的完整詳解

本題考查 Gram-Schmidt 正交化過程以及向量在子空間上的投影。

(a) 使用 Gram-Schmidt 過程尋找子空間 WW 的一組正交基 {u1,u2}\{u_1, u_2\}。
子空間 WW 由向量 x1x_1 和 x2x_2 張成。
Gram-Schmidt 過程如下:
令 u1=x1u_1 = x_1。
u1=(−1−20)u_1 = \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix}。

接下來,計算 u2u_2:
u2=x2−proju1x2=x2−x2⋅u1u1⋅u1u1u_2 = x_2 - \text{proj}_{u_1} x_2 = x_2 - \frac{x_2 \cdot u_1}{u_1 \cdot u_1} u_1。

計算點積:
x2⋅u1=(−1)(−1)+(3)(−2)+(−1)(0)=1−6+0=−5x_2 \cdot u_1 = (-1)(-1) + (3)(-2) + (-1)(0) = 1 - 6 + 0 = -5。
u1⋅u1=(−1)2+(−2)2+02=1+4+0=5u_1 \cdot u_1 = (-1)^2 + (-2)^2 + 0^2 = 1 + 4 + 0 = 5。

所以,
u2=(−13−1)−−55(−1−20)=(−13−1)−(−1)(−1−20)u_2 = \begin{pmatrix} -1 \\ 3 \\ -1 \end{pmatrix} - \frac{-5}{5} \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix} = \begin{pmatrix} -1 \\ 3 \\ -1 \end{pmatrix} - (-1) \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix}
u2=(−13−1)+(−1−20)=(−1+(−1)3+(−2)−1+0)=(−21−1)u_2 = \begin{pmatrix} -1 \\ 3 \\ -1 \end{pmatrix} + \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix} = \begin{pmatrix} -1 + (-1) \\ 3 + (-2) \\ -1 + 0 \end{pmatrix} = \begin{pmatrix} -2 \\ 1 \\ -1 \end{pmatrix}。

因此,子空間 WW 的一組正交基是 {u1,u2}={(−1−20),(−21−1)}\{u_1, u_2\} = \left\{ \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix}, \begin{pmatrix} -2 \\ 1 \\ -1 \end{pmatrix} \right\}。

驗證 u1u_1 和 u2u_2 是否正交:
u1⋅u2=(−1)(−2)+(−2)(1)+(0)(−1)=2−2+0=0u_1 \cdot u_2 = (-1)(-2) + (-2)(1) + (0)(-1) = 2 - 2 + 0 = 0。
它們確實正交。

【答案】u1=(−1−20)u_1 = \begin{pmatrix} -1 \\ -2 \\ 0 \end{pmatrix}, u2=(−21−1)u_2 = \begin{pmatrix} -2 \\ 1 \\ -1 \end{pmatrix}。

(b) 將向量 yy 分解為 y=y^+zy = \hat{y} + z,其中 y^∈W\hat{y} \in W 且 z∈W⊥z \in W^\perp。
根據投影定理,向量 yy 在子空間 WW 上的投影 y^\hat{y} 是 yy 在 WW 上的最佳近似。
y^=projWy=proju1y+proju2y\hat{y} = \text{proj}_W y = \text{proj}_{u_1} y + \text{proj}_{u_2} y。
其中 u1u_1 和 u2u_2 是從 (a) 部分得到的正交基。

計算 proju1y\text{proj}_{u_1} y:
proju1y=y⋅u1u1⋅u1u1\text{proj}_{u_1} y = \frac{y \cdot u_1}{u_1 \cdot u_1} u_1。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題46 分

  1. (46 pts) Let
    A=(710055)A = \begin{pmatrix} 7 & 1 \\ 0 & 0 \\ 5 & 5 \end{pmatrix}
    Find
    (a) Find the LU factorization of A. (5 pts)
    (b) Find the QR factorization of A. (5 pts)
    (c) Diagonalize ATAA^T A. (5 pts)
    (d) Find the maximum value of the quadratic form xT(ATA)xx^T (A^T A) x subject to the constraint xTx=5x^T x = 5 and find a unit vector at which this maximum value is attained. (5 pts)
    (e) Find a singular value of decomposition (SVD) of A. (5 pts)
    (f) Find an orthonormal basis for (Col A)⊥(\text{Col } A)^\perp. (5 pts)
    (g) Find A+A^+ (reduced SVD of A). (6 pts)
    (h) Find the least-squares solution for Ax=(101)Ax = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}. (5 pts)
    (i) Find the orthogonal projection of b=(101)b = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} on Col AA. (5 pts)

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題綜合考查:

  • LULU 分解:利用消去法將矩陣寫成 A=LUA=LU。
  • QRQR 分解:以 Gram–Schmidt 正交化取得正交歸一基底。
  • 對稱矩陣 ATAA^TA 的特徵值與特徵向量。
  • Rayleigh quotient:二次型在固定長度下的最大值。
  • 奇異值分解 A=UΣVTA=U\Sigma V^T。
  • 銷空間與欄空間的正交補。
  • Moore–Penrose 廣義反矩陣 A+A^+。
  • 最小平方法與正交投影。

令

A=(710055)=(a1a2),A= \begin{pmatrix} 7&1\\ 0&0\\ 5&5 \end{pmatrix} = \begin{pmatrix} a_1&a_2 \end{pmatrix},

其中

a1=(705),a2=(105).a_1= \begin{pmatrix} 7\\0\\5 \end{pmatrix}, \qquad a_2= \begin{pmatrix} 1\\0\\5 \end{pmatrix}.

(a) LULU 分解

以第一列第一個元素 77 作為主元素,消去第三列第一欄:

m31=57.m_{31}=\frac{5}{7}.

因此

R3←R3−57R1,R_3\leftarrow R_3-\frac57R_1,

得到

U=(71000307).U= \begin{pmatrix} 7&1\\ 0&0\\ 0&\frac{30}{7} \end{pmatrix}.

將消去倍數放入下三角矩陣:

L=(1000105701).L= \begin{pmatrix} 1&0&0\\ 0&1&0\\ \frac57&0&1 \end{pmatrix}.

所以

A=(1000105701)(71000307)\boxed{ A= \begin{pmatrix} 1&0&0\\ 0&1&0\\ \frac57&0&1 \end{pmatrix} \begin{pmatrix} 7&1\\ 0&0\\ 0&\frac{30}{7} \end{pmatrix} }

直接相乘即可驗證 LU=ALU=A。


(b) QRQR 分解

第一步:求 q1q_1

∥a1∥=72+52=74,\|a_1\|=\sqrt{7^2+5^2}=\sqrt{74},

因此

q1=a1∥a1∥=174(705).q_1=\frac{a_1}{\|a_1\|} = \frac1{\sqrt{74}} \begin{pmatrix} 7\\0\\5 \end{pmatrix}.

第二步:正交化 a2a_2

先計算投影係數:

q1Ta2=7+2574=3274.q_1^Ta_2 = \frac{7+25}{\sqrt{74}} = \frac{32}{\sqrt{74}}.

因此

u2=a2−(q1Ta2)q1.u_2=a_2-(q_1^Ta_2)q_1.

代入得

u2=(105)−3274(705)=137(−750105).u_2= \begin{pmatrix} 1\\0\\5 \end{pmatrix} -\frac{32}{74} \begin{pmatrix} 7\\0\\5 \end{pmatrix} = \frac1{37} \begin{pmatrix} -75\\0\\105 \end{pmatrix}.

可提出公因數:

u2=1537(−507).u_2=\frac{15}{37} \begin{pmatrix} -5\\0\\7 \end{pmatrix}.

而

∥(−507)∥=74,\left\| \begin{pmatrix} -5\\0\\7 \end{pmatrix} \right\| =\sqrt{74},

所以

∥u2∥=157437=3074.\|u_2\|=\frac{15\sqrt{74}}{37} =\frac{30}{\sqrt{74}}.

因此

q2=174(−507).q_2= \frac1{\sqrt{74}} \begin{pmatrix} -5\\0\\7 \end{pmatrix}.

取薄型 QQ:

Q=174(7−50057).Q= \frac1{\sqrt{74}} \begin{pmatrix} 7&-5\\ 0&0\\ 5&7 \end{pmatrix}.

上三角矩陣 RR 的元素為

r11=74,r12=3274,r22=3074.r_{11}=\sqrt{74},\qquad r_{12}=\frac{32}{\sqrt{74}},\qquad r_{22}=\frac{30}{\sqrt{74}}.

故

A=174(7−50057)(74327403074)\boxed{ A= \frac1{\sqrt{74}} \begin{pmatrix} 7&-5\\ 0&0\\ 5&7 \end{pmatrix} \begin{pmatrix} \sqrt{74}&\frac{32}{\sqrt{74}}\\ 0&\frac{30}{\sqrt{74}} \end{pmatrix} }

即 A=QRA=QR。


(c) 對角化 ATAA^TA

先計算:

ATA=(705)(710055)=(74323226).A^TA= \begin{pmatrix} 7&0&5 \end{pmatrix} \begin{pmatrix} 7&1\\ 0&0\\ 5&5 \end{pmatrix} = \begin{pmatrix} 74&32\\ 32&26 \end{pmatrix}.

特徵方程式為

det⁡(ATA−λI)=∣74−λ323226−λ∣.\det(A^TA-\lambda I) = \begin{vmatrix} 74-\lambda&32\\ 32&26-\lambda \end{vmatrix}.

因此

(74−λ)(26−λ)−322=0,(74-\lambda)(26-\lambda)-32^2=0, λ2−100λ+900=0.\lambda^2-100\lambda+900=0.

解得

λ1=90,λ2=10.\lambda_1=90,\qquad \lambda_2=10.

對應於 λ1=90\lambda_1=90

(ATA−90I)v=0(A^TA-90I)v=0

給出

−16x+32y=0,-16x+32y=0,

所以可取特徵向量 (2,1)T(2,1)^T。單位化後:

v1=15(21).v_1=\frac1{\sqrt5} \begin{pmatrix} 2\\1 \end{pmatrix}.

對應於 λ2=10\lambda_2=10

(ATA−10I)v=0(A^TA-10I)v=0

給出

64x+32y=0,64x+32y=0,

所以可取特徵向量 (1,−2)T(1,-2)^T。單位化後:

v2=15(1−2).v_2=\frac1{\sqrt5} \begin{pmatrix} 1\\-2 \end{pmatrix}.

令

V=15(211−2),D=(900010).V= \frac1{\sqrt5} \begin{pmatrix} 2&1\\ 1&-2 \end{pmatrix}, \qquad D= \begin{pmatrix} 90&0\\ 0&10 \end{pmatrix}.

則

ATA=VDVT\boxed{ A^TA=VDV^T }

(d) 二次型的最大值

欲求

xT(ATA)xx^T(A^TA)x

在

xTx=5x^Tx=5

下的最大值。

對稱矩陣 ATAA^TA 的最大特徵值為 9090。由 Rayleigh quotient 定理:

max⁡xTx=5xT(ATA)x=5λmax⁡=5(90)=450.\max_{x^Tx=5}x^T(A^TA)x = 5\lambda_{\max} = 5(90)=450.

最大值在最大特徵值所對應的特徵向量方向取得,因此可取單位向量

u=15(21)\boxed{ u=\frac1{\sqrt5} \begin{pmatrix} 2\\1 \end{pmatrix} }

以及其相反方向 −u-u。

注意:題目的限制為 xTx=5x^Tx=5,所以真正達到最大值的向量為

x=5 u=(21)x=\sqrt5\,u= \begin{pmatrix} 2\\1 \end{pmatrix}

或其相反向量。


(e) AA 的奇異值分解

AA 的奇異值為 ATAA^TA 特徵值的平方根:

σ1=90=310,σ2=10.\sigma_1=\sqrt{90}=3\sqrt{10}, \qquad \sigma_2=\sqrt{10}.

右奇異向量為

v1=15(21),v2=15(1−2).v_1=\frac1{\sqrt5} \begin{pmatrix} 2\\1 \end{pmatrix}, \qquad v_2=\frac1{\sqrt5} \begin{pmatrix} 1\\-2 \end{pmatrix}.

求左奇異向量

由

ui=Aviσiu_i=\frac{Av_i}{\sigma_i}

可得

Av1=15(15015),Av_1 = \frac1{\sqrt5} \begin{pmatrix} 15\\0\\15 \end{pmatrix},

所以

u1=12(101).u_1= \frac1{\sqrt2} \begin{pmatrix} 1\\0\\1 \end{pmatrix}.

同理,

Av2=15(50−5),Av_2 = \frac1{\sqrt5} \begin{pmatrix} 5\\0\\-5 \end{pmatrix},

所以

u2=12(10−1).u_2= \frac1{\sqrt2} \begin{pmatrix} 1\\0\\-1 \end{pmatrix}.

欄空間為所有第二個分量為 00 的向量,因此可取

u3=(010).u_3= \begin{pmatrix} 0\\1\\0 \end{pmatrix}.

令

U=(1212000112−120),U= \begin{pmatrix} \frac1{\sqrt2}&\frac1{\sqrt2}&0\\ 0&0&1\\ \frac1{\sqrt2}&-\frac1{\sqrt2}&0 \end{pmatrix},
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題