115 年 國立臺灣大學資料科學碩士學位學程《工程數學(D)》

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

第 1 題2 分

  1. (2%) Let FF be a vector space, which of the following is not a consequence?
    (a) If a,b∈Fa, b \in F, then a−b∈Fa-b \in F.
    (b) If a∈Fa \in F, then a+a=2⋅aa+a = 2 \cdot a.
    (c) If a,b∈Fa, b \in F, then a⋅b∈Fa \cdot b \in F.
    (d) If a,b,c∈Fa, b, c \in F, then (a+b)+c=a+(c+b)(a+b)+c = a+(c+b).

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

這一題的完整詳解

核心觀念

向量空間 FF 必須滿足:

  • 對向量加法封閉,且每個向量都有加法反元素;
  • 純量乘法定義於純量與向量之間;
  • 向量加法具有交換律與結合律。

題目要求判斷哪一項不是向量空間公理或其直接推論。

解題方法

逐一檢查各選項是否能由向量空間的基本性質推出。

選項分析

(a) 若 a,b∈Fa,b\in F,則 a−b∈Fa-b\in F。

由向量空間對加法封閉,且 −b∈F-b\in F,可得

a−b=a+(−b)∈F.a-b=a+(-b)\in F.

因此此敘述正確,是向量空間性質的直接推論。


(b) 若 a∈Fa\in F,則 a+a=2⋅aa+a=2\cdot a。

純量 22 可寫成 1+11+1,利用純量乘法對純量加法的分配律:

2⋅a=(1+1)⋅a=1⋅a+1⋅a=a+a.2\cdot a=(1+1)\cdot a =1\cdot a+1\cdot a =a+a.

因此此敘述正確。


(c) 若 a,b∈Fa,b\in F,則 a⋅b∈Fa\cdot b\in F。

一般向量空間只定義:

🔒

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

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

免費註冊

第 2 題2 分

  1. (2%) Which of the following is not able to serve as a vector space over the field of real numbers RR?
    (a) The complex numbers CC.
    (b) The set of all real numbers xx such that x2≤0x^2 \le 0.
    (c) The functions f:R→Rf: R \to R that are differentiable.
    (d) The lattice ZnZ^n where nn is an integer greater than 2026.
    (e) The set {x∈R:x>0}\{x \in R : x > 0\} where we use xyxy as x+yx+y and c⋅xc \cdot x as xcx^c.

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

這一題的完整詳解

核心觀念

判斷一個集合是否為實數域 R\mathbb{R} 上的向量空間,必須檢查:

  1. 向量加法下封閉;
  2. 實數純量乘法下封閉;
  3. 含有零向量;
  4. 每個向量都有加法反元素;
  5. 加法與純量乘法滿足向量空間公理。

本題的關鍵是:即使某集合具有加法結構,只要對任意實數純量 cc 不封閉,就不是 R\mathbb{R} 上的向量空間。


解題方法

逐一檢查各選項是否能定義成 R\mathbb{R} 上的向量空間,特別注意純量乘法是否對所有 c∈Rc\in\mathbb{R} 都成立。


選項分析

(a) 複數集合 C\mathbb{C}

將複數視為向量,定義通常的複數加法與實數純量乘法:

c(a+bi)=ca+cbi,c∈R.c(a+bi)=ca+cbi,\qquad c\in\mathbb{R}.

若 z1,z2∈Cz_1,z_2\in\mathbb{C},則 z1+z2∈Cz_1+z_2\in\mathbb{C};若 c∈Rc\in\mathbb{R},則 cz∈Ccz\in\mathbb{C}。零向量為 00,zz 的加法反元素為 −z-z。

事實上,C\mathbb{C} 可寫成

C={a+bi:a,b∈R},\mathbb{C}=\{a+bi:a,b\in\mathbb{R}\},

因此它是 R\mathbb{R} 上的二維向量空間,基底可取 {1,i}\{1,i\}。

所以 (a) 可以作為 R\mathbb{R} 上的向量空間。


(b) 滿足 x2≤0x^2\le 0 的所有實數 xx

對任意實數 xx,皆有

x2≥0.x^2\ge 0.

因此 x2≤0x^2\le 0 只有在 x=0x=0 時成立,集合為

{x∈R:x2≤0}={0}.\{x\in\mathbb{R}:x^2\le 0\}=\{0\}.

單元素集合 {0}\{0\} 是平凡向量空間:

  • 零向量是 00;
  • 0+0=00+0=0,加法封閉;
  • 對任意 c∈Rc\in\mathbb{R},c⋅0=0c\cdot 0=0,純量乘法封閉。

所以 (b) 可以作為 R\mathbb{R} 上的向量空間。


(c) 所有可微函數 f:R→Rf:\mathbb{R}\to\mathbb{R}

令 f,gf,g 為可微函數,c∈Rc\in\mathbb{R}。定義逐點運算:

(f+g)(x)=f(x)+g(x),(f+g)(x)=f(x)+g(x), (cf)(x)=cf(x).(cf)(x)=c f(x).

因為可微函數的和仍可微,且常數倍仍可微:

(f+g)′(x)=f′(x)+g′(x),(f+g)'(x)=f'(x)+g'(x), (cf)′(x)=cf′(x).(cf)'(x)=c f'(x).

零向量是零函數

0(x)=0,0(x)=0,

而 ff 的加法反元素為 −f-f,其中

(−f)(x)=−f(x).(-f)(x)=-f(x).

因此所有 R→R\mathbb{R}\to\mathbb{R} 的可微函數構成 R\mathbb{R} 上的向量空間。

🔒

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

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

免費註冊

第 3 題2 分

  1. (2%) According to the most strict definition of linear transformation, which of the following is not a linear transformation?
    (a) L(x)=−xL(x) = -x.
    (b) (1001)\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}
    (c) The sum of another two linear transformations.
    (d) Mapping any vector zz to the real number 0∈C0 \in C.

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

這一題的完整詳解

線性變換 T:V→WT:V\to W 必須滿足

T(u+v)=T(u)+T(v),T(αv)=α T(v)(∀u,v∈V,  α∈F)T(u+v)=T(u)+T(v),\qquad T(\alpha v)=\alpha\,T(v)\quad(\forall u,v\in V,\;\alpha\in\mathbb{F})


(a) L(x)=−xL(x)=-x

L(u+v)=−(u+v)=−u+(−v)=L(u)+L(v),L(αv)=−(αv)=α(−v)=αL(v)L(u+v)=-(u+v)=-u+(-v)=L(u)+L(v),\qquad L(\alpha v)=-(\alpha v)=\alpha(-v)=\alpha L(v)

兩條性質皆成立 → 線性。

(b) (1001)\displaystyle\begin{pmatrix}1&0\\0&1\end{pmatrix}

此為恆等映射 I(v)=vI(v)=v,顯然滿足加法與純量乘法 → 線性。

(c) 兩個線性變換 T1,T2T_1,T_2 的和 T(v)=T1(v)+T2(v)T(v)=T_1(v)+T_2(v)

🔒

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

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

免費註冊

第 4 題2 分

  1. (2%) Which of the following can be used as the definition of the rank of a matrix M?
    (a) The width of M if M is invertible.
    (b) The dimension of the right null space {v:Mv=0}\{v: Mv = 0\}.
    (c) The number of basis vectors of the column space of M.
    (d) The number of 1's in the reduced row echelon form of M.

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

這一題的完整詳解

核心觀念

矩陣 MM 的 rank(秩)定義為其 column space 的維度:

rank⁡(M)=dim⁡(Col⁡(M)).\operatorname{rank}(M)=\dim(\operatorname{Col}(M)).

因此,rank 也等於:

  • column space 中基底向量的數目;
  • reduced row echelon form(RREF)中的 pivot 數目;
  • RREF 中 leading 11 的數目;
  • 線性獨立行或列的最大數目。

另外,右零空間的維度是 nullity(零度),由 rank-nullity theorem 可得:

rank⁡(M)+dim⁡(Null⁡(M))=欄數.\operatorname{rank}(M)+\dim(\operatorname{Null}(M))=\text{欄數}.

解題方法

逐一檢查各選項是否符合 rank 的一般定義。特別注意:RREF 中應計算的是 pivot 的數目,而不是所有數值等於 11 的元素。

選項分析

(a) The width of MM if MM is invertible.

錯誤。

若 MM 為可逆矩陣,則 MM 必為 n×nn\times n 方陣,且

rank⁡(M)=n.\operatorname{rank}(M)=n.

此時矩陣的 width(欄數)確實等於 rank。然而,這只適用於可逆方陣,不能用來定義一般矩陣的 rank。不可逆矩陣或非方陣的 rank 並不等於其 width。

(b) The dimension of the right null space {v:Mv=0}\{v: Mv = 0\}.

錯誤。

集合

{v:Mv=0}\{v:Mv=0\}
🔒

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

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

免費註冊

第 5 題2 分

  1. (2%) Professor Gilbert Strang wrote the textbook Introduction to Linear Algebra for undergraduate students. The book is almost 600 pages long. Which of the following topics is on page 58?
    (a) Pseudo inverse.
    (b) Matrix multiplication.
    (c) Positive semi-definite.
    (d) Singular value decomposition.

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

這一題的完整詳解

核心觀念

本題考查對 Gilbert Strang《Introduction to Linear Algebra》內容編排的熟悉程度,並非要求實際計算矩陣。該書約 600 頁,前半部先介紹向量、線性方程組與矩陣基本運算,再進入正定矩陣、廣義逆矩陣與奇異值分解等進階主題。

第 58 頁位於矩陣基本運算的早期章節,主題是 矩陣乘法(Matrix multiplication)。

矩陣乘法的定義為:若

A∈Rm×n,B∈Rn×p,A\in\mathbb{R}^{m\times n},\qquad B\in\mathbb{R}^{n\times p},

則乘積 ABAB 存在,且

AB∈Rm×p,AB\in\mathbb{R}^{m\times p},

其第 i,ji,j 個元素為

(AB)ij=∑k=1naikbkj.(AB)_{ij}=\sum_{k=1}^{n}a_{ik}b_{kj}.

矩陣乘法的核心條件是:前一個矩陣的欄數必須等於後一個矩陣的列數。

解題方法

依照該書的內容順序判斷:

  1. 矩陣乘法屬於線性代數的基礎運算,通常在全書前段介紹。
  2. Pseudo inverse、positive semi-definite、singular value decomposition 都屬於後續的進階矩陣主題。
  3. 因此第 58 頁所對應的主題應是矩陣乘法。

選項分析

(a) Pseudo inverse

Pseudo inverse,即「廣義逆矩陣」,通常記為 A+A^+,用於矩陣不可逆或非方陣的情形,並與最小平方解及奇異值分解密切相關。這是較後段的進階主題,不是第 58 頁的內容。

🔒

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

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

免費註冊

第 6 題2 分

  1. (2%) On page 187 of Introduction to Linear Algebra, we can see a picture very similar to the following that explains the four fundamental subspaces:
    🖼️【此處有附圖,請對照原卷】
    (a) row space
    (b) null space
    (c) column space
    (d) rank space

Which of the (a), (b), (c), and (d) is labeled incorrectly?

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 1 頁原卷第 2 頁

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

這一題的完整詳解

核心觀念

矩陣 AA 的四個基本子空間為:

  1. 列空間(row space)Row⁡(A)\operatorname{Row}(A)
  2. 零空間(null space)N⁡(A)\operatorname{N}(A)
  3. 行空間(column space)Col⁡(A)\operatorname{Col}(A)
  4. 左零空間(left null space)N⁡(AT)\operatorname{N}(A^T)

其中「rank space」不是線性代數中四個基本子空間的正式名稱。矩陣的 rank 是秩,代表列空間或行空間的維度,並不是一個獨立的基本子空間。

選項分析

  • (a) row space:正確。
    列空間由矩陣 AA 的所有列向量所張成,是四個基本子空間之一。

  • (b) null space:正確。
    零空間定義為
    N⁡(A)={x:Ax=0},\operatorname{N}(A)=\{x:Ax=0\},
    也是四個基本子空間之一。

🔒

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

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

免費註冊

第 7 題2 分

  1. (2%) Choose one incorrect statement regarding the augmented matrix [A∣b][A|b].
    (a) bb is a column vector.
    (b) AA is a matrix that is at least 2 columns wide.
    (c) It can be used to determine if the system Ax=bAx = b has a solution.
    (d) It can be used to determine if the system Ax=bAx = b has more than one solutions.

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

這一題的完整詳解

核心觀念

  1. 增廣矩陣(Augmented Matrix)的定義
    對於包含 mm 個方程式、nn 個未知數的線性方程組 Ax=bAx = b:

    • 係數矩陣 AA 的維度為 m×nm \times n(其中 m≥1,n≥1m \ge 1, n \ge 1)。
    • 未知數向量 xx 為 n×1n \times 1 的行向量(column vector)。
    • 常數向量 bb 為 m×1m \times 1 的行向量(column vector)。
    • 增廣矩陣表示為 [A∣b][A \mid b],其維度為 m×(n+1)m \times (n+1),是將向量 bb 作為最後一行(column)附加於矩陣 AA 右側所構成。
  2. 線性系統解的判定(Rouché–Capelli 定理)
    透過對增廣矩陣 [A∣b][A \mid b] 進行基本列運算(Elementary Row Operations)化簡為列梯形矩陣(Row Echelon Form),可比較 rank(A)\text{rank}(A) 與 rank([A∣b])\text{rank}([A \mid b]) 來判定解的結構:

    • 無解(Inconsistent):rank(A)<rank([A∣b])\text{rank}(A) < \text{rank}([A \mid b])(增廣矩陣最後一行的常數行出現軸元 pivot)。
    • 恰有一解(Unique Solution):rank(A)=rank([A∣b])=n\text{rank}(A) = \text{rank}([A \mid b]) = n(無自由變數)。
    • 無限多解(Infinitely Many Solutions):rank(A)=rank([A∣b])<n\text{rank}(A) = \text{rank}([A \mid b]) < n(存在 n−rank(A)n - \text{rank}(A) 個自由變數)。

解題方法

本題要求選出關於增廣矩陣 [A∣b][A \mid b] 的「錯誤敘述」。
解題切入點在於:

  1. 檢驗矩陣與向量的基本維度定義(矩陣行數 nn 與向量 bb 的形式)。
🔒

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

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

免費註冊

第 8 題3 分

  1. (3%) How many 3×33 \times 3 matrices are made of the numbers 0 and 1?
    (a) About 10.
    (b) About 20.
    (c) About 50.
    (d) About 100.
    (e) About 200.
    (f) About 500.
    (g) About 1000.

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

這一題的完整詳解

核心觀念

3×33\times 3 矩陣共有

3×3=93\times 3=9

個位置。每個位置都可以獨立填入 00 或 11,因此每個位置有 22 種選擇。

根據乘法原理,矩陣總數為

29=512.2^9=512.

解題方法

將矩陣視為 99 個獨立位置:

(□□□□□□□□□).\begin{pmatrix} \Box & \Box & \Box\\ \Box & \Box & \Box\\ \Box & \Box & \Box \end{pmatrix}.

每個 □\Box 有 22 種填法,因此

2×2×⋯×2⏟9 個=29=512.\underbrace{2\times 2\times\cdots\times 2}_{9\text{ 個}} =2^9=512.

512512 約等於 500500,所以選擇 (f)。

選項分析

🔒

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

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

免費註冊

第 9 題3 分

  1. (3%) What is the determinant of the following matrix?
(005540705190067057851932847234110063920)\begin{pmatrix} 0 & 0 & 55 & 4 & 0 \\ 7 & 0 & 51 & 90 & 0 \\ 67 & 0 & 57 & 85 & 19 \\ 32 & 84 & 72 & 34 & 11 \\ 0 & 0 & 63 & 92 & 0 \end{pmatrix}

(a) About 10710^7.
(b) About 2⋅1072 \cdot 10^7.
(c) About 5⋅1075 \cdot 10^7.
(d) About 10810^8.
(e) About 2⋅1082 \cdot 10^8.
(f) About 5⋅1085 \cdot 10^8.
(g) About 10910^9.

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

這一題的完整詳解

核心觀念

本題考查行列式的拉普拉斯展開(按某一行或某一列展開):

det⁡(A)=∑i=1naijCij,Cij=(−1)i+jMij,\det(A)=\sum_{i=1}^{n}a_{ij}C_{ij}, \qquad C_{ij}=(-1)^{i+j}M_{ij},

其中 MijM_{ij} 是刪去第 ii 列、第 jj 欄後所得的子矩陣行列式。

題目中的第 22 欄只有一個非零元素,第 55 欄在刪除後也只有一個非零元素,因此適合連續使用降階展開。


解題方法

原矩陣記為 AA:

A=(005540705190067057851932847234110063920).A= \begin{pmatrix} 0 & 0 & 55 & 4 & 0 \\ 7 & 0 & 51 & 90 & 0 \\ 67 & 0 & 57 & 85 & 19 \\ 32 & 84 & 72 & 34 & 11 \\ 0 & 0 & 63 & 92 & 0 \end{pmatrix}.

沿第 22 欄展開。第 22 欄只有第 44 列的元素 8484 非零,因此

det⁡(A)=(−1)4+284∣0554075190067578519063920∣.\det(A) = (-1)^{4+2}84 \begin{vmatrix} 0 & 55 & 4 & 0 \\ 7 & 51 & 90 & 0 \\ 67 & 57 & 85 & 19 \\ 0 & 63 & 92 & 0 \end{vmatrix}.

因為 (−1)6=1(-1)^6=1,所以

det⁡(A)=84∣0554075190067578519063920∣.\det(A) = 84 \begin{vmatrix} 0 & 55 & 4 & 0 \\ 7 & 51 & 90 & 0 \\ 67 & 57 & 85 & 19 \\ 0 & 63 & 92 & 0 \end{vmatrix}.

對上述 4×44\times4 行列式沿第 44 欄展開。第 44 欄只有第 33 列的元素 1919 非零:

∣0554075190067578519063920∣=(−1)3+419∣05547519006392∣.\begin{vmatrix} 0 & 55 & 4 & 0 \\ 7 & 51 & 90 & 0 \\ 67 & 57 & 85 & 19 \\ 0 & 63 & 92 & 0 \end{vmatrix} = (-1)^{3+4}19 \begin{vmatrix} 0 & 55 & 4 \\ 7 & 51 & 90 \\ 0 & 63 & 92 \end{vmatrix}.

由於 (−1)7=−1(-1)^7=-1,得

=−19∣05547519006392∣.= -19 \begin{vmatrix} 0 & 55 & 4 \\ 7 & 51 & 90 \\ 0 & 63 & 92 \end{vmatrix}.

接著沿第 11 欄展開,只有第 22 列的元素 77 非零:

∣05547519006392∣=(−1)2+17∣5546392∣.\begin{vmatrix} 0 & 55 & 4 \\ 7 & 51 & 90 \\ 0 & 63 & 92 \end{vmatrix} = (-1)^{2+1}7 \begin{vmatrix} 55 & 4 \\ 63 & 92 \end{vmatrix}.

因此

=−7(55⋅92−4⋅63).= -7(55\cdot92-4\cdot63).

計算 2×22\times2 行列式:

55⋅92−4⋅63=5060−252=4808.55\cdot92-4\cdot63 = 5060-252 = 4808.

所以

🔒

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

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

免費註冊

第 10 題3 分

  1. (3%) Let AA be a square matrix. Let aija_{ij} be the entry on the iith row and jjth column of AA. Let pj=∑i≠j∣aij∣p_j = \sum_{i \neq j} |a_{ij}|. Let GjG_j be the Gershgorin disk {z∈C:∣z−ajj∣<pj}\{z \in C : |z - a_{jj}| < p_j\}. The Gershgorin circle theorem states that every eigenvalue of AA lies inside at least one of the Gershgorin disks. Consider the matrix
A=(−10−1−3230−30−13200030−40)A = \begin{pmatrix} -10 & -1 & -3 & 2 \\ 3 & 0 & -3 & 0 \\ -1 & 3 & 20 & 0 \\ 0 & 3 & 0 & -40 \end{pmatrix}

Accordingly, which of the following is not an eigenvalue of the matrix?
(a) -40.0001427912351045
(b) -11.1008990913169226
(c) 21.1196676389242784
(d) 28.9813742436277487

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

這一題的完整詳解

核心觀念

本題考查 Gershgorin 圓盤定理。若以第 jj 欄計算,

pj=∑i≠j∣aij∣,p_j=\sum_{i\ne j}|a_{ij}|,

則第 jj 個 Gershgorin 圓盤為

Gj={z∈C:∣z−ajj∣<pj}.G_j=\{z\in\mathbb C:|z-a_{jj}|<p_j\}.

Gershgorin 圓盤定理指出:矩陣的每一個特徵值,至少會落在一個 Gershgorin 圓盤內。因此,若某個數值落在所有圓盤之外,便確定不是特徵值。


解題方法

矩陣為

A=(−10−1−3230−30−13200030−40).A= \begin{pmatrix} -10&-1&-3&2\\ 3&0&-3&0\\ -1&3&20&0\\ 0&3&0&-40 \end{pmatrix}.

依題目定義計算各欄的 pjp_j:

p1=∣3∣+∣−1∣+∣0∣=4,p_1=|3|+|-1|+|0|=4, p2=∣−1∣+∣3∣+∣3∣=7,p_2=|-1|+|3|+|3|=7, p3=∣−3∣+∣−3∣+∣0∣=6,p_3=|-3|+|-3|+|0|=6, p4=∣2∣+∣0∣+∣0∣=2.p_4=|2|+|0|+|0|=2.

所以四個 Gershgorin 圓盤為

G1: ∣z+10∣<4,G_1:\ |z+10|<4, G2: ∣z∣<7,G_2:\ |z|<7, G3: ∣z−20∣<6,G_3:\ |z-20|<6, G4: ∣z+40∣<2.G_4:\ |z+40|<2.

由於所有選項皆為實數,可直接比較其與各圓心的距離:

  • G1G_1 覆蓋實軸區間 (−14,−6)(-14,-6);
  • G2G_2 覆蓋實軸區間 (−7,7)(-7,7);
  • G3G_3 覆蓋實軸區間 (14,26)(14,26);
  • G4G_4 覆蓋實軸區間 (−42,−38)(-42,-38)。

選項分析

(a) −40.0001427912351045-40.0001427912351045

其與 −40-40 的距離為

∣−40.0001427912351045+40∣=0.0001427912351045<2.|-40.0001427912351045+40| =0.0001427912351045<2.

因此落在 G4G_4 內,符合特徵值的位置。

(a) 正確為特徵值。


(b) −11.1008990913169226-11.1008990913169226

其與 −10-10 的距離為

🔒

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

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

免費註冊

第 11 題3 分

  1. (3%) The power method refers to the following iterative process to find the dominant eigenvalue of a matrix T: Let uu be an initial guess. Then repeat the following steps multiple times:
    • v=uTv = uT,
    • u=v/v1u = v/v_1, where v1v_1 is the first component of vv.
    Eventually, vv will be very close to the dominant eigenvalue of TT. Now consider the matrix
T=(0002i2i002i02i02i002i2i)T = \begin{pmatrix} 0 & 0 & 0 & 2i \\ 2i & 0 & 0 & 2i \\ 0 & 2i & 0 & 2i \\ 0 & 0 & 2i & 2i \end{pmatrix}

It is known that the dominant eigenvalue of TT is 3.8512395096585i3.8512395096585i. What is the missing digit?
(a) 0
(b) 1
(c) 2
(d) 3
(e) 4
(f) 5
(g) 6
(h) 7 (i) 8 (j) 9
For this problem, we recommend using u=[1,2,4,8]u = [1, 2, 4, 8] as the initial guess and repeat the steps 10 times.

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

這一題的完整詳解

解題重點

  1. 令 uu 為列向量,依題目迭代

v=uT,u=vv1v = uT,\qquad u = \frac{v}{v_{1}}

其中 v1v_{1} 為 vv 的第一個分量。
2. 若 TT 的支配特徵值為 λmax⁡\lambda_{\max },則在每一步正規化後,v1v_{1} 會收斂至 λmax⁡\lambda_{\max }。
3. 矩陣

T=2i(0001100101010011)=2iAT =2i\begin{pmatrix} 0&0&0&1\\ 1&0&0&1\\ 0&1&0&1\\ 0&0&1&1 \end{pmatrix}=2iA

因此只要找出 AA 的最大實根 α\alpha,則

λmax⁡=2iα.\lambda_{\max}=2i\alpha .

  1. 計算 AA 的特徵多項式(展開 det⁡(A−αI)\det(A-\alpha I))得到

p(α)=α4−α3−α2−α−1=0.p(\alpha)=\alpha^{4}-\alpha^{3}-\alpha^{2}-\alpha-1=0 .

以牛頓法求根,收斂至

α=1.9256197548  (10−12 的相對誤差)\alpha = 1.9256197548\; (10^{-12}\text{ 的相對誤差})

因而

λmax⁡=2iα=3.8512395096585 i.\lambda_{\max}=2i\alpha = 3.8512395096585\,i .

🔒

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

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

免費註冊

第 12 題3 分

  1. (3%) Jensen is playing with orthogonal matrices, that is, matrices OO such that OTO=IO^TO = I. He wants to characterize all real matrices KK such that, for a very small real number ϵ\epsilon, the matrix O+ϵOKO + \epsilon OK is still orthogonal up to small error terms. More precisely, he wants that
    (O+ϵOK)T(O+ϵOK)−I(O + \epsilon OK)^T (O + \epsilon OK) - I
    is a matrix whose entries are all multiples of ϵ2\epsilon^2 with no ϵ1\epsilon^1 or ϵ0\epsilon^0 terms. Which of the following conditions should KK satisfy?
    (a) KK is orthogonal.
    (b) KK is orthonormal.
    (c) KK is vertible.
    (d) KK is invertible.
    (e) KK is symmetric.
    (f) KK is skew-symmetric.

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

這一題的完整詳解

核心觀念

正交矩陣 OO 滿足

OTO=I.O^T O=I.

題目考察的是正交矩陣的「一階擾動」。若矩陣在微小變化下仍維持正交性至一階,則一階變化量必須滿足

KT+K=0,K^T+K=0,

這正是 KK 為斜對稱矩陣(skew-symmetric matrix)的條件。


解題方法

將題目中的矩陣因式分解:

O+ϵOK=O(I+ϵK).O+\epsilon OK=O(I+\epsilon K).

因此

(O+ϵOK)T(O+ϵOK)=(O(I+ϵK))TO(I+ϵK)=(I+ϵK)TOTO(I+ϵK).\begin{aligned} (O+\epsilon OK)^T(O+\epsilon OK) &=(O(I+\epsilon K))^T O(I+\epsilon K)\\ &=(I+\epsilon K)^T O^T O(I+\epsilon K). \end{aligned}

由於 OTO=IO^T O=I,可得

(O+ϵOK)T(O+ϵOK)=(I+ϵK)T(I+ϵK)=(I+ϵKT)(I+ϵK)=I+ϵK+ϵKT+ϵ2KTK=I+ϵ(KT+K)+ϵ2KTK.\begin{aligned} (O+\epsilon OK)^T(O+\epsilon OK) &=(I+\epsilon K)^T(I+\epsilon K)\\ &=(I+\epsilon K^T)(I+\epsilon K)\\ &=I+\epsilon K+\epsilon K^T+\epsilon^2K^TK\\ &=I+\epsilon(K^T+K)+\epsilon^2K^TK. \end{aligned}

所以

(O+ϵOK)T(O+ϵOK)−I=ϵ(KT+K)+ϵ2KTK.(O+\epsilon OK)^T(O+\epsilon OK)-I = \epsilon(K^T+K)+\epsilon^2K^TK.

題目要求沒有 ϵ1\epsilon^1 項,因此必須有

KT+K=0.K^T+K=0.

等價於

KT=−K.K^T=-K.

故 KK 必須是斜對稱矩陣。

此時

(O+ϵOK)T(O+ϵOK)−I=ϵ2KTK,(O+\epsilon OK)^T(O+\epsilon OK)-I = \epsilon^2K^TK,

其每個元素確實都是 ϵ2\epsilon^2 的倍數,符合題目要求。


選項分析

(a) KK is orthogonal

錯誤。正交矩陣滿足 KTK=IK^TK=I,但題目要求的是

KT=−K.K^T=-K.

兩者是不同條件。例如

🔒

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

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

免費註冊

第 13 題3 分

  1. (3%) Lights Out is an electronic game where your goal is to turn off all the lights by pressing switches. In the following diagram, switches are represented by rectangles and lights are represented by circles. Pressing a switch toggles the on/off state of the lights connected to the switch.
    🖼️【此處有附圖,請對照原卷】
    (a)
    (b)
    (c)
    (d)
    (e)
    XXIXXI
    (off) On) off (off) (On

Which set of switches turn off all the lights if each is pressed once?

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 3 頁

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

這一題的完整詳解
將開關與燈泡由左至右分別編號:開關:a,b,c,d,e燈泡:L1,L2,L3,L4,L5\begin{aligned} &\text{將開關與燈泡由左至右分別編號:} \\ &\text{開關:} a, b, c, d, e \\ &\text{燈泡:} L_1, L_2, L_3, L_4, L_5 \end{aligned}

1. 初始狀態與連接關係

根據圖中線路,各開關控制的燈泡集合如下:

  • 開關 aa 控制:{L1,L2}\{L_1, L_2\}
  • 開關 bb 控制:{L1,L3}\{L_1, L_3\}
  • 開關 cc 控制:{L2,L3,L4}\{L_2, L_3, L_4\}
  • 開關 dd 控制:{L3,L5}\{L_3, L_5\}
  • 開關 ee 控制:{L4,L5}\{L_4, L_5\}

定義 xi∈{0,1}x_i \in \{0, 1\} 表示開關 ii 是否被按下(11 表示按下,00 表示不按下)。
燈泡的初始狀態為:

(L1,L2,L3,L4,L5)=(0,1,0,0,1)(其中 0 代表 off,1 代表 On)(L_1, L_2, L_3, L_4, L_5) = (0, 1, 0, 0, 1) \quad (\text{其中 0 代表 off,1 代表 On})

2. 建立二元一次方程組

若要使所有燈泡最終皆為關閉狀態(00),在模 2 餘數系統(F2\mathbb{F}_2)下須滿足:

🔒

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

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

免費註冊

第 14 題3 分

  1. (3%) A binary linear block code CC is generated by the following matrix
G=(100110010101001011)G = \begin{pmatrix} 1 & 0 & 0 & 1 & 1 & 0 \\ 0 & 1 & 0 & 1 & 0 & 1 \\ 0 & 0 & 1 & 0 & 1 & 1 \end{pmatrix}

The code CC is said to be maximum distance separable (MDS) if all 3×33 \times 3 minors of GG are odd numbers. However, CC is not MDS. Which three columns of GG give rise to an even minor?
(a) {1,2,3} (b) {1,2,4} (c) {1,2,5} (d) {1,2,6} (e) {1,3,4} (f) {1,3,5} (g) {1,3,6} (h) {1,4,5} (i) {1,4,6} (j) {1,5,6} (k) {2,3,4} (l) {2,3,5} (m) {2,3,6} (n) {2,4,5} (o) {2,4,6} (p) {2,5,6} (q) {3,4,5} (r) {3,4,6} (s) {3,5,6} (t) {4,5,6}

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

這一題的完整詳解

核心觀念

對二元線性區塊碼而言,生成矩陣 GG 的所有 3×33\times 3 子矩陣,其行列式若為奇數,等價於在模 22 下行列式為 11。題目所稱的 MDS 條件為:

det⁡(Gi,j,k)≡1(mod2)\det(G_{i,j,k})\equiv 1\pmod 2

其中 Gi,j,kG_{i,j,k} 表示取第 i,j,ki,j,k 欄所形成的 3×33\times 3 矩陣。

因此,只要三個欄向量在 F2\mathbb{F}_2 上線性相關,其行列式即為偶數,該三欄便會產生偶數 minor。

將各欄記為

c1=(1,0,0)T,c2=(0,1,0)T,c3=(0,0,1)T,c4=(1,1,0)T,c5=(1,0,1)T,c6=(0,1,1)T.\begin{aligned} c_1&=(1,0,0)^T, & c_2&=(0,1,0)^T, & c_3&=(0,0,1)^T,\\ c_4&=(1,1,0)^T, & c_5&=(1,0,1)^T, & c_6&=(0,1,1)^T. \end{aligned}

解題方法

直接觀察欄向量間的二元關係:

c4=c1+c2,c_4=c_1+c_2,

因此

c1+c2+c4=0,c_1+c_2+c_4=0,

三欄 c1,c2,c4c_1,c_2,c_4 線性相關,所以其行列式為 00,是偶數。

同理,

c5=c1+c3⟹c1+c3+c5=0,c_5=c_1+c_3 \quad\Longrightarrow\quad c_1+c_3+c_5=0,

故 c1,c3,c5c_1,c_3,c_5 產生偶數 minor。

此外,

c6=c2+c3⟹c2+c3+c6=0,c_6=c_2+c_3 \quad\Longrightarrow\quad c_2+c_3+c_6=0,

故 c2,c3,c6c_2,c_3,c_6 也產生偶數 minor。

最後,

c4+c5+c6=(1,1,0)+(1,0,1)+(0,1,1)=(0,0,0)(mod2),c_4+c_5+c_6 =(1,1,0)+(1,0,1)+(0,1,1) =(0,0,0)\pmod 2,

所以 c4,c5,c6c_4,c_5,c_6 亦線性相關。其整數行列式為

det⁡(110101011)=−2,\det \begin{pmatrix} 1&1&0\\ 1&0&1\\ 0&1&1 \end{pmatrix} =-2,

同樣是偶數。

選項分析

🔒

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

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

免費註冊

第 15 題3 分

  1. (3%) The board game Set uses a deck of 27 cards.
    Each card has three attributes:
    • Its shape can be ., *, or #.
    • Its size can be small, medium, or large.
    • Its number can be one, two, or three.
    A triple in this game is three cards such that
    • either all shapes are the same or all different,
    • either all sizes are the same or all different, and
    • either all numbers are the same or all different.
    For instance,
    🖼️【此處有附圖,請對照原卷】
    is a triple because all shapes are different, all sizes are the same (small), and all numbers are different. A subset of cards is said to be triple-fruitful if for any two cards in the subset, the third card that forms a triple with them is also in the subset. What are the possible sizes of a triple-fruitful subset of cards?
    (a) 1
    (b) 3
    (c) 5
    (d) 7
    (e) 9
    (f) 11
    (g) 13
    (h) 15 (i) 17 (j) 19 (k) 21 (l) 23 (m) 25 (n) 27 (o) 29
🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 3 頁

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

這一題的完整詳解

在將卡片屬性編碼後,可將此遊戲的 27 張卡片對應至體 F3\mathbb{F}_3 上的三維仿射空間 AG(3,3)≅F33AG(3, 3) \cong \mathbb{F}_3^3 中的點。

在此空間中,三張卡片 x,y,zx, y, z 組成一個 triple,若且唯若它們在仿射空間中三點共線,即滿足:
x+y+z=0(mod3)x + y + z = 0 \pmod 3

根據定義,子集 S⊆F33S \subseteq \mathbb{F}_3^3 稱為 triple-fruitful,代表若 x,y∈Sx, y \in S(且 x≠yx \neq y),則唯一與其共線的第三點 z=−x−yz = -x-y 亦屬於 SS。這表示 SS 在幾何上「包含通過其中任意兩點的整條直線」。

🔒

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

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

免費註冊

第 16 題4 分

  1. (4%) Let SS be a symmetric matrix with real entries. Reorder the following choices to build a proof of the property that SS has real eigenvalues.
    (a) Since SS is symmetric, L=U∗SU=U∗S∗U=(U∗SU)∗=L∗L = U^*SU = U^*S^*U = (U^*SU)^* = L^*.
    (b) Since LL is lower-triangular as well as upper-triangular, it must be diagonal.
    (c) Let ULU∗ULU^* be the Schur decomposition of SS, where LL is lower triangular and UU is unitary.
    (d) Therefore, the diagonals of LL are the eigenvalues of SS, and they are equal to their complex conjugates.

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

這一題的完整詳解

核心觀念

本題考查三個觀念:

  1. Schur 分解:任意複數方陣皆可寫成
    S=ULU∗,S=ULU^*,
    其中 UU 為 unitary matrix,LL 為三角矩陣。本題採用下三角形式。

  2. 實對稱矩陣也是 Hermitian 矩陣:因為 SS 為實矩陣且對稱,
    ST=S,S∗=ST=S.S^T=S,\qquad S^*=S^T=S.

  3. 三角矩陣的對角線元素就是特徵值:三角矩陣的特徵多項式為
    det⁡(λI−L)=∏i=1n(λ−lii),\det(\lambda I-L)=\prod_{i=1}^n(\lambda-l_{ii}),
    因此其對角線元素即為全部特徵值。


解題方法

先對 SS 作 Schur 分解:
S=ULU∗,S=ULU^*,
其中 LL 為下三角矩陣、UU 為 unitary matrix。兩側左乘 U∗U^*、右乘 UU,得到
L=U∗SU.L=U^*SU.

由於 SS 為實對稱矩陣,所以 S=S∗S=S^*。因此
L=U∗SU=U∗S∗U.L=U^*SU=U^*S^*U.

另一方面,

(U∗SU)∗=U∗S∗U,(U^*SU)^* =U^*S^*U,

故
L=(U∗SU)∗=L∗.L=(U^*SU)^*=L^*.

因為 LL 原本是下三角矩陣,而 L∗L^* 是其共軛轉置,必為上三角矩陣。又由 L=L∗L=L^* 可知 LL 同時是下三角與上三角矩陣,因此 LL 必為對角矩陣。

最後,S=ULU∗S=ULU^* 表示 SS 與 LL unitary 相似,兩者具有相同特徵值;而 LL 的對角線元素就是其特徵值。又因為
L=L∗,L=L^*,
所以每個對角元素滿足
lii=lii‾,l_{ii}=\overline{l_{ii}},
故 liil_{ii} 為實數。因此 SS 的所有特徵值皆為實數。


🔒

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

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

免費註冊

第 17 題4 分

  1. (4%) Recall that, in Gaussian elimination, we find a row with a nonzero entry on the first column, move this row to the top, and use this row to eliminate all the other entries in the first column. We then ignore the first row and the first column and repeat the same process. In numerical linear algebra, we often do pivoting to reduce rounding errors. That is, when choosing the next row to move to the top, we choose the row with the largest (after taking absolute value) entry on the first column. Let's apply pivoting to the following matrix:
    🖼️【此處有附圖,請對照原卷】
    (a) -3 9 -2 4
    (b) 3 -3 6 2
    (c) 6 2 4 2
    (d) -3 1 6 4
    Reorder the choices above to indicate their order of being selected as the row that maximizes the absolute value of the pivot.
🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 4 頁

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

這一題的完整詳解

核心觀念

本題考查數值線性代數(Numerical Linear Algebra)中的部分樞紐高斯消去法(Gaussian Elimination with Partial Pivoting)。

  • 高斯消去法(Gaussian Elimination):透過列運算(Row Operations)將矩陣化簡為上三角矩陣(Upper Triangular Matrix)。
  • 部分樞紐(Partial Pivoting):在每一步消去前,於目前考慮的樞紐行(Pivot Column)中,尋找從目前列至底部的所有元素中「絕對值最大者」,將該列交換(Row Swap)至目前的主列位置作為樞紐列,藉此降低浮點數運算時的捨入誤差(Rounding Error),避免除以極小數值產生數值不穩定。

解題方法

給定題目中的 4 條列向量,構成 4×44 \times 4 矩陣:

A=[−39−243−3626242−3164]A = \begin{bmatrix} -3 & 9 & -2 & 4 \\ 3 & -3 & 6 & 2 \\ 6 & 2 & 4 & 2 \\ -3 & 1 & 6 & 4 \end{bmatrix}

題目給予四個列的代號分別為:

  • (a) [−39−24]\begin{bmatrix} -3 & 9 & -2 & 4 \end{bmatrix}
  • (b) [3−362]\begin{bmatrix} 3 & -3 & 6 & 2 \end{bmatrix}
  • (c) [6242]\begin{bmatrix} 6 & 2 & 4 & 2 \end{bmatrix}
  • (d) [−3164]\begin{bmatrix} -3 & 1 & 6 & 4 \end{bmatrix}

要求依據 Partial Pivoting 依序選取樞紐列的先後順序進行排序。

步驟 1:選擇第 1 個樞紐列(第 1 行消去)

觀察第 1 行(Column 1)的所有元素:

  • 列 (a):∣−3∣=3|-3| = 3
  • 列 (b):∣3∣=3|3| = 3
  • 列 (c):∣6∣=6|6| = 6
  • 列 (d):∣−3∣=3|-3| = 3

第一行中絕對值最大者為列 (c) 的 66。因此第 1 個被選為樞紐列的是 (c)。
將列 (c) 交換至第 1 列,並使用列 (c) 作為樞紐對其餘列進行消去:

  • 對列 (a):Ra←Ra−(−36)Rc=Ra+0.5RcR_a \leftarrow R_a - \left(\frac{-3}{6}\right) R_c = R_a + 0.5 R_c [−39−24]+0.5[6242]=[01005]\begin{bmatrix} -3 & 9 & -2 & 4 \end{bmatrix} + 0.5 \begin{bmatrix} 6 & 2 & 4 & 2 \end{bmatrix} = \begin{bmatrix} 0 & 10 & 0 & 5 \end{bmatrix}
  • 對列 (b):Rb←Rb−(36)Rc=Rb−0.5RcR_b \leftarrow R_b - \left(\frac{3}{6}\right) R_c = R_b - 0.5 R_c [3−362]−0.5[6242]=[0−441]\begin{bmatrix} 3 & -3 & 6 & 2 \end{bmatrix} - 0.5 \begin{bmatrix} 6 & 2 & 4 & 2 \end{bmatrix} = \begin{bmatrix} 0 & -4 & 4 & 1 \end{bmatrix}
  • 對列 (d):Rd←Rd−(−36)Rc=Rd+0.5RcR_d \leftarrow R_d - \left(\frac{-3}{6}\right) R_c = R_d + 0.5 R_c [−3164]+0.5[6242]=[0285]\begin{bmatrix} -3 & 1 & 6 & 4 \end{bmatrix} + 0.5 \begin{bmatrix} 6 & 2 & 4 & 2 \end{bmatrix} = \begin{bmatrix} 0 & 2 & 8 & 5 \end{bmatrix}

步驟 2:選擇第 2 個樞紐列(第 2 行消去)

排除已固定的列 (c),觀察剩餘列 (a)、(b)、(d) 在第 2 行(Column 2)的數值:

  • 列 (a):∣10∣=10|10| = 10
  • 列 (b):∣−4∣=4|-4| = 4
  • 列 (d):∣2∣=2|2| = 2
🔒

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

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

免費註冊

第 18 題4 分

  1. (4%) Strassen is a famous algorithm for matrix multiplication. Let AA and BB be two 2×22 \times 2 matrices. And let CC be ABAB, that is,
C11=A11B11+A12B21C21=A21B11+A22B21C12=A11B12+A12B22C22=A21B12+A22B22\begin{aligned} C_{11} &= A_{11} B_{11} + A_{12} B_{21} \\ C_{21} &= A_{21} B_{11} + A_{22} B_{21} \\ C_{12} &= A_{11} B_{12} + A_{12} B_{22} \\ C_{22} &= A_{21} B_{12} + A_{22} B_{22} \end{aligned}

Note that the preceding equations require eight multiplications. Strassen, instead, recommends computing the following seven products:

M1=(A11+A22)(B11+B22)M2=(A21+A22)B11M3=A11(B12−B22)M4=A22(B21−B11)M5=(A11+A12)B22M6=(A21−A11)(B11+B12)M7=(A12−A22)(B21+B22)\begin{aligned} M_1 &= (A_{11}+A_{22})(B_{11}+B_{22}) \\ M_2 &= (A_{21}+A_{22})B_{11} \\ M_3 &= A_{11}(B_{12}-B_{22}) \\ M_4 &= A_{22}(B_{21}-B_{11}) \\ M_5 &= (A_{11}+A_{12})B_{22} \\ M_6 &= (A_{21}-A_{11})(B_{11}+B_{12}) \\ M_7 &= (A_{12}-A_{22})(B_{21}+B_{22}) \end{aligned}

(a) Express C11C_{11} as a linear combination of M1,M2,…,M7M_1, M_2, \dots, M_7.
(b) Express C12C_{12} as a linear combination of M1,M2,…,M7M_1, M_2, \dots, M_7.
(c) Express C21C_{21} as a linear combination of M1,M2,…,M7M_1, M_2, \dots, M_7.
(d) Express C22C_{22} as a linear combination of M1,M2,…,M7M_1, M_2, \dots, M_7.

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

這一題的完整詳解

(a)

C11=M1+M4−M5+M7C_{11}=M_{1}+M_{4}-M_{5}+M_{7}

(b)

C12=M3+M5C_{12}=M_{3}+M_{5}

(c)

C21=M2+M4C_{21}=M_{2}+M_{4}

(d)

C22=M1−M2+M3+M6C_{22}=M_{1}-M_{2}+M_{3}+M_{6}

🔒

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

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

免費註冊

第 19 題5 分

  1. Denote the bus waiting time by a continuous random variable XX. On a rainy day, the bus waiting time is uniformly distributed on the interval [2,7][2, 7]. On a non-rainy day, the bus waiting time is uniformly distributed on the interval [2,12][2, 12]. The probability that a given day is rainy is 0.40.4.
    (a) (5%) Derive the PDF fX(x)f_X(x). (Please express your answer in fractional form for full credit.)
    (b) (5%) Compute E[X]E[X].
    (c) (5%) Compute Var(X)Var(X). (Please express your answer in fractional form for full credit.)

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

這一題的完整詳解

核心觀念

本題考查「混合型連續隨機變數」:

  • 雨天與非雨天分別具有不同的條件機率密度函數。

  • 利用全機率法則求 XX 的邊際 PDF:

    fX(x)=P(R)fX∣R(x)+P(Rc)fX∣Rc(x)f_X(x)=P(R)f_{X\mid R}(x)+P(R^c)f_{X\mid R^c}(x)

  • 期望值使用全期望公式:

    E[X]=E[E(X∣R)]E[X]=E[E(X\mid R)]

  • 變異數使用全變異數公式:

Var⁡(X)=E[Var⁡(X∣R)]+Var⁡(E[X∣R])\operatorname{Var}(X)=E[\operatorname{Var}(X\mid R)] +\operatorname{Var}(E[X\mid R])

其中 RR 表示下雨。


解題方法

雨天機率為

P(R)=0.4=25,P(R)=0.4=\frac25,

非雨天機率為

P(Rc)=0.6=35.P(R^c)=0.6=\frac35.

(a) 求 PDF fX(x)f_X(x)

雨天時,

X∣R∼U[2,7],X\mid R\sim U[2,7],

因此

fX∣R(x)={17−2=15,2≤x≤7,0,其他.f_{X\mid R}(x)= \begin{cases} \dfrac{1}{7-2}=\dfrac15, & 2\le x\le 7,\\ 0, & \text{其他}. \end{cases}

非雨天時,

X∣Rc∼U[2,12],X\mid R^c\sim U[2,12],

因此

fX∣Rc(x)={112−2=110,2≤x≤12,0,其他.f_{X\mid R^c}(x)= \begin{cases} \dfrac{1}{12-2}=\dfrac1{10}, & 2\le x\le 12,\\ 0, & \text{其他}. \end{cases}

依照 xx 的範圍分段:

當 2≤x≤72\le x\le 7

兩種天氣皆可能,因此

fX(x)=25⋅15+35⋅110=225+350=750.\begin{aligned} f_X(x) &=\frac25\cdot\frac15+\frac35\cdot\frac1{10}\\ &=\frac{2}{25}+\frac{3}{50}\\ &=\frac7{50}. \end{aligned}

當 7<x≤127<x\le 12

雨天不可能等待超過 77,只有非雨天有密度:

fX(x)=35⋅110=350.f_X(x)=\frac35\cdot\frac1{10}=\frac3{50}.

其他範圍

fX(x)=0.f_X(x)=0.

所以

fX(x)={750,2≤x≤7,350,7<x≤12,0,其他.\boxed{ f_X(x)= \begin{cases} \dfrac7{50}, & 2\le x\le 7,\\[4pt] \dfrac3{50}, & 7<x\le 12,\\[4pt] 0, & \text{其他}. \end{cases}}

端點的函數值不影響連續型隨機變數的機率。


(b) 求 E[X]E[X]

均勻分布 U[a,b]U[a,b] 的期望值為

E[X]=a+b2.E[X]=\frac{a+b}{2}.

雨天的條件期望:

E[X∣R]=2+72=92.E[X\mid R]=\frac{2+7}{2}=\frac92.

非雨天的條件期望:

E[X∣Rc]=2+122=7.E[X\mid R^c]=\frac{2+12}{2}=7.

使用全期望公式:

🔒

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

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

免費註冊

第 20 題5 分

  1. (5%) YY is a Poisson random variable with mean 5. Please compute E[3Y]E[3^Y].

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

這一題的完整詳解

核心觀念

若 Y∼Poisson⁡(λ)Y\sim\operatorname{Poisson}(\lambda),其機率質量函數為

P(Y=y)=e−λλyy!,y=0,1,2,…P(Y=y)=e^{-\lambda}\frac{\lambda^y}{y!},\qquad y=0,1,2,\ldots

本題要求計算 E[3Y]E[3^Y],可使用 Poisson 隨機變數的機率生成函數:

GY(t)=E[tY]=eλ(t−1).G_Y(t)=E[t^Y]=e^{\lambda(t-1)}.

題目給定平均數為 55,因此 λ=5\lambda=5。

解題方法

直接代入 Poisson 分配的機率生成函數:

E[3Y]=GY(3)=e5(3−1)=e10.E[3^Y]=G_Y(3) =e^{5(3-1)} =e^{10}.

也可由期望值定義驗證:

🔒

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

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

免費註冊

第 21 題5 分

  1. The joint PMF of M and J is given as
PM,J(m,j)=0.25(0.75)m−1m⋅jP_{M,J}(m, j) = \frac{0.25 (0.75)^{m-1}}{m \cdot j}

for m=1,2,…m = 1, 2, \dots and j=1,…,mj = 1, \dots, m. Otherwise, PM,J(m,j)=0P_{M,J}(m, j) = 0. Let AA denote the event that M≥5M \ge 5.
(a) (5%) Derive the marginal PMF PM(m)P_M(m).
(b) (5%) Derive the conditional PMF PM∣A(m)=P(M=m∣A)P_{M|A}(m) = P(M=m | A).
(c) (5%) Derive E[M∣A]E[M | A].

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

這一題的完整詳解

(a) 邊際 PMF

PM(m)=∑j=1mPM,J(m,j)=0.25 (0.75) m−1m∑j=1m1j=0.25 (0.75) m−1m Hm,m=1,2,…P_M(m)=\sum_{j=1}^{m}P_{M,J}(m,j) =\frac{0.25\,(0.75)^{\,m-1}}{m}\sum_{j=1}^{m}\frac1j =\frac{0.25\,(0.75)^{\,m-1}}{m}\,H_m, \qquad m=1,2,\dots

其中 Hm=∑j=1m1jH_m=\displaystyle\sum_{j=1}^{m}\frac1j 為第 mm 個調和數。

(b) 條件 PMF 於事件 A={M≥5}A=\{M\ge5\}

PM∣A(m)=P(M=m∣A)=PM(m)P(A),m≥5,P_{M|A}(m)=P(M=m\mid A)=\frac{P_M(m)}{P(A)},\qquad m\ge5,

P(A)=∑k=5∞PM(k)=0.25∑k=5∞(0.75)k−1k Hk.P(A)=\sum_{k=5}^{\infty}P_M(k) =0.25\sum_{k=5}^{\infty}\frac{(0.75)^{k-1}}{k}\,H_k.

因此

 PM∣A(m)=(0.75) m−1 Hm/m∑k=5∞(0.75)k−1 Hk/k ,m≥5.\boxed{\,P_{M|A}(m)=\dfrac{(0.75)^{\,m-1}\,H_m/m}{\displaystyle\sum_{k=5}^{\infty}(0.75)^{k-1}\,H_k/k}\,,\qquad m\ge5.}

(c) 條件期望 E[M∣A]E[M\mid A]

🔒

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

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

免費註冊

第 22 題5 分

  1. (5%) Mike and Tom have an appointment this afternoon. Mike arrives uniformly at random between 2:00 PM and 3:00 PM, and Tom arrives uniformly at random between 2:30 PM and 3:30 PM. Assume their arrival times are independent. The person who arrives first will wait for at most 15 minutes for the other person before leaving. Find the probability that Mike and Tom meet (i.e., that they are both present at the same time). You can express your answer in fractional form.

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

這一題的完整詳解

解題步驟

  1. 設 M∼Uniform[0,60]M\sim\text{Uniform}[0,60] 為 Mike 到達的分鐘數(以 2:00 為 0),
    T∼Uniform[30,90]T\sim\text{Uniform}[30,90] 為 Tom 到達的分鐘數(以 2:00 為 0)。
    兩變數獨立,樣本空間為長方形
    R={(M,T)∣0≤M≤60,  30≤T≤90},\mathcal R=\{(M,T)\mid 0\le M\le 60,\;30\le T\le 90\},
    面積 ∣R∣=60⋅60=3600|\mathcal R|=60\cdot60=3600。

  2. 先到者最多等 1515 分鐘,等同於兩人相差不超過 1515 分鐘:
    ∣M−T∣≤15.|M-T|\le 15.

  3. 對每個 MM,允許的 TT 範圍為
    T∈[max⁡(30,M−15),  min⁡(90,M+15)].T\in\bigl[\max(30,M-15),\;\min(90,M+15)\bigr].
    於 0≤M≤600\le M\le60 分段計算可得

🔒

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

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

免費註冊

第 23 題5 分

  1. Let T1,T2,T3T_1, T_2, T_3 be i.i.d. exponential random variables with mean 2. Let U=T1+2T2+3T3U = T_1 + 2T_2 + 3T_3.
    (a) (5%) Derive the MGF ϕU(s)=E[esU]\phi_U(s) = E[e^{sU}], and state the valid range of ss.
    (b) (5%) Compute Var(U)Var(U).

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

這一題的完整詳解

核心觀念

本題考查:

  • 指數分布的參數轉換與 MGF。
  • 獨立隨機變數和的 MGF:
    ϕX+Y(s)=ϕX(s)ϕY(s).\phi_{X+Y}(s)=\phi_X(s)\phi_Y(s).
  • 線性組合的變異數:
Var⁡(∑iaiXi)=∑iai2Var⁡(Xi),\operatorname{Var}\left(\sum_i a_iX_i\right) =\sum_i a_i^2\operatorname{Var}(X_i),

其中各隨機變數彼此獨立。

已知 TiT_i 為平均數 22 的指數隨機變數,因此其速率參數為

λ=12.\lambda=\frac{1}{2}.

所以

Ti∼Exp⁡(12),E[Ti]=2,Var⁡(Ti)=1λ2=4.T_i\sim\operatorname{Exp}\left(\frac12\right), \qquad E[T_i]=2, \qquad \operatorname{Var}(T_i)=\frac{1}{\lambda^2}=4.

解題方法

(a) 求 UU 的 MGF 與有效範圍

指數分布 Ti∼Exp⁡(λ)T_i\sim\operatorname{Exp}(\lambda) 的 MGF 為

ϕTi(s)=E[esTi]=λλ−s,s<λ.\phi_{T_i}(s)=E[e^{sT_i}] =\frac{\lambda}{\lambda-s}, \qquad s<\lambda.

代入 λ=12\lambda=\frac12,得到

ϕTi(s)=1212−s=11−2s,s<12.\phi_{T_i}(s) =\frac{\frac12}{\frac12-s} =\frac{1}{1-2s}, \qquad s<\frac12.

由

U=T1+2T2+3T3U=T_1+2T_2+3T_3

且 T1,T2,T3T_1,T_2,T_3 相互獨立,因此

ϕU(s)=E[es(T1+2T2+3T3)].\phi_U(s) =E\left[e^{s(T_1+2T_2+3T_3)}\right].

將指數拆開:

ϕU(s)=E[esT1e2sT2e3sT3]=ϕT1(s)ϕT2(2s)ϕT3(3s).\phi_U(s) =E[e^{sT_1}e^{2sT_2}e^{3sT_3}] =\phi_{T_1}(s)\phi_{T_2}(2s)\phi_{T_3}(3s).

分別計算:

ϕT1(s)=11−2s,\phi_{T_1}(s)=\frac{1}{1-2s}, ϕT2(2s)=11−2(2s)=11−4s,\phi_{T_2}(2s)=\frac{1}{1-2(2s)} =\frac{1}{1-4s},
🔒

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

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

免費註冊

其他考古題

115 年臺灣大學的其他科目

臺灣大學《工程數學》其他年度