113 年 國立臺灣大學電信工程學研究所乙組《工程數學(D)》
第 1 題25 分
At noon on a particular day, an experiment is conducted to record new call attempts at a telephone switchboard. Random variable denotes the arrival time of the first call, as measured by the number of seconds after noon, and random variable denotes the arrival time of the second call. It is found that and are continuous random variables with joint PDF as follows:
where calls/second is a constant.
(a) (6%) Derive the marginal PDFs of the arrival times of the first and second calls, respectively.
(b) (4%) Derive the expected values of the arrival times of the first and second calls, respectively.
(c) (5%) Let be the random variable denoting the time difference between the arrivals of the second call and the first call. Derive the PDF of .
(d) (5%) It is observed that the second call arrives at time , but the arrival time of the first call is unknown. Derive the PDF of the arrival time of the first call under this observation.
(e) (5%) It is observed that the first call arrives at time . At time , , it is also observed that the second call still does not arrive yet. Derive the PDF of the arrival time of the second call under this observation.
登入後即可作答並保存紀錄。
核心觀念
本題考查二維連續型隨機變數的:
- 邊際機率密度函數:
- 期望值:
- 變數轉換求密度函數。
- 條件機率密度:
- 指數分布的無記憶性。
題目給定 ,表示第一通電話必定早於或同時於第二通電話。
(a) 第一通與第二通電話到達時間的邊際 PDF
第一通電話
固定 ,由於 ,因此
計算得
因此
可見 服從參數為 的指數分布。
第二通電話
固定 ,由於 ,因此
因為被積分式與 無關,
因此
此為形狀參數 、速率參數 的 Gamma 分布。
(b) 第一通與第二通電話的期望值
由 ,
利用指數分布的期望值公式,
由 ,
利用
取 得
因此第二通電話的平均到達時間是第一通的兩倍。
(c) 到達時間差 的 PDF
令
取變數轉換
反變換為
其 Jacobian 絕對值為
原本的範圍 轉換為
因此
對 積分:
整理得
所以
因此 也服從參數為 的指數分布。
(d) 已知第二通電話在時間 到達,求第一通電話時間的條件 PDF
根據條件密度公式,
第 2 題7 分
and are identically distributed random variables with expected value and variance . Let be another random variable, where is a constant. Find the range of such that the variance of is greater than or equal to .
登入後即可作答並保存紀錄。
核心觀念
本題考查線性組合的變異數公式:
雖然 與 同分布,因此
但「同分布」不代表「獨立」,所以 不一定為零。
解題方法
令
由 ,可得
題目要求 ,因此
整理得
在 的情況下,令相關係數
則
即
因此 必須位於兩根之外:
第 3 題18 分
Alice participates in a tournament, in which a series of games are played indefinitely until she loses. The scoring rule of the game is that the winner is granted 1 point, the loser is deducted 1 point, and a tie grants both players 0 points. Each game is played independently, and it is known that the game has the probability for Alice to win is 0.5 and to lose is 0.4. Let be the total number of points Alice earns in the tournament.
(a) (8%) Derive the MGF of .
(b) (5%) Derive the variance of .
(c) (5%) Derive an upper bound of the probability that is greater than or equal to 9 times its expected value using the Chebyshev Inequality.
登入後即可作答並保存紀錄。
核心觀念
本題考查:
-
幾何型隨機變數與停止時間。
-
MGF(Moment Generating Function,動差生成函數)的定義:
-
由 MGF 求期望值與變異數:
-
Chebyshev 不等式:
每局 Alice 獲勝的機率為 、落敗的機率為 ,因此和局機率為
Alice 一旦落敗,比賽立即結束。設 為落敗前獲勝的總局數,則 Alice 的總得分為
因為每次獲勝得 分,最後落敗扣 分,和局不影響分數。
解題方法
可從第一局開始建立遞迴:
- 以機率 直接落敗,得分為 ;
- 以機率 獲勝,先得 分,之後重新面對相同的比賽;
- 以機率 和局,得分為 ,之後重新面對相同的比賽。
令 ,則由上述三種情形得到
移項整理:
因此
其定義條件為分母級數可收斂,即
(a) MGF
因此, 的 MGF 為
快速驗算:
符合任何 MGF 必須滿足 。
(b) 變異數
先將 MGF 改寫為較方便微分的形式:
令
則
微分一次:
在 時,,所以
第 4 題5 分
Answer the following questions with “True” or “False”.
(a) The vectors and are dependent.
(b) The vectors , , and are dependent.
(c) If the row space equals the column space, then .
(d) If , then the row space of equals the column space.
(e) and have the same number of pivots.
(Getting 5 points if all answers are correct. Otherwise, 0 point.)
登入後即可作答並保存紀錄。
核心觀念
本題考查以下線性代數觀念:
- 向量組的線性相依與線性獨立。
- 行空間(row space)與列空間(column space)。
- 矩陣轉置、對稱矩陣與斜對稱矩陣。
- 矩陣的秩(rank)與主元個數。
若存在不全為零的係數,使
則這些向量線性相依。
選項分析
(a)
考慮兩個向量
兩個非零向量線性相依,必須互為倍數。由第一個分量可得倍數應為 ,但
因此兩向量不是倍數關係,線性獨立。
判定:False
(b)
令
直接相加:
這是一個係數不全為零的線性組合,因此三個向量線性相依。
判定:True
(c)
「行空間等於列空間」不代表矩陣本身等於其轉置。反例取
因為 為可逆矩陣,所以
第 5 題5 分
Suppose columns of a matrix are vectors in . Answer the following questions with “True” or “False”.
(a) Let be a real matrix. Then is invertible if and only if the columns of are linearly independent.
(b) The equation has a solution if and only if has a pivot position in every row.
(c) Let and . Then is not necessarily solvable.
(d) There exists a diagonal matrix such that
(e) If
then the null space of is
(Getting 5 points if all answers are correct. Otherwise, 0 point.)
登入後即可作答並保存紀錄。
核心觀念
本題考查以下線性代數概念:
- 矩陣欄向量的線性獨立與 的可逆性。
- 方程組 的可解條件與 pivot position。
- 矩陣的 rank、欄空間與解的存在性。
- 對角矩陣的矩陣乘法。
- Null space(零空間)的求法。
設 是 矩陣,則 表示 的欄向量之線性組合。
選項分析
(a) True
考慮任意 :
若 的欄向量線性獨立,則
假設 ,左乘 得
因此 的零空間只有零向量,所以 可逆。
反之,若 的欄向量線性相關,則存在非零向量 使得
因此
這表示 有非零零向量,故不可逆。
所以:
故本選項為 True。
(b) False
「 的每一列都有 pivot」所代表的正確定理是:
但題目只說某一個方程 是否有解,不能只依據 是否每列都有 pivot 判斷,還必須考慮 是否位於 的欄空間中。
反例取
此時
有解,例如 ;但是 沒有 pivot position。
因此「有解」不必然推出「每一列都有 pivot」,本選項為 False。
(c) True
這裡 是 矩陣,因此其 rank 滿足
欄空間 至多是 中的三維子空間,不可能等於整個 。因此必定存在某些 不在 中,使得
無解。
例如取
則 的第四個分量永遠為 ,不可能等於 的第四個分量 ,所以方程無解。
故 不一定有解,本選項為 True。
(d) True
設
則
第 6 題5 分
Answer the following questions.
(a) is solvable when is in which of the four subspaces of ?
(b) As above, the solution is unique when the ____ contains only the zero vector.
(c) The dimension of the subspace of symmetric matrices is ____.
(d) Suppose the kernel of a matrix is one dimensional. What is the dimension of ?
(e) (True or False) Suppose , , and are matrices such that commutes with and commutes with AC$.
(Getting 5 points if all answers are correct. Otherwise, 0 point.)
登入後即可作答並保存紀錄。
核心觀念
本題綜合考察:
- 四大基本子空間與轉置矩陣的關係
- 齊次方程組的解與零空間
- 對稱矩陣的自由度
- 秩-零度定理
- 矩陣乘法的交換律是否具有傳遞性
(a) 可解時, 屬於 的哪個子空間?
矩陣方程
可解的必要且充分條件是: 必須屬於 的欄空間,即
而轉置矩陣的欄空間等於原矩陣的列空間:
因此,
四大子空間逐一判斷
- :一般不是 的欄空間,錯誤。
- :等於 ,正確。
- :描述 的解,與 的可解性無直接關係,錯誤。
- :描述 的解,不是右側向量 所屬的可解空間,錯誤。
(b)何種子空間只含零向量時,解 唯一?
若 與 都是方程式
的解,則相減可得
因此,
要使兩個解必定相同,必須有
所以填空為:
也可稱為 的左零空間(left nullspace)。
判斷
- :解唯一,正確。
- 含有非零向量:若 是一組解,則 也是解,其中 ,因此解不唯一。
(c) 對稱矩陣子空間的維度
對稱矩陣滿足
矩陣中的元素分成兩類:
- 對角線元素:共有 個,可自由指定。
- 非對角線元素:,只需指定上三角或下三角其中一側。
非對角線中獨立元素的數量為
因此總自由度為
故答案為:
例如, 對稱矩陣具有 個獨立元素:
(d) 矩陣 的 kernel 為一維,求 的維度
矩陣 有 個欄,因此其定義域維度為 。由秩-零度定理:
第 7 題5 分
Suppose is the sum of two matrices of rank one:
Answer the following questions.
(a) Which vectors span the column space of ?
(b) Which vectors span the row space of ?
(c) The rank is less than 2 if ____ or if ____.
(d) What is the rank of if
(Getting 5 points if all answers are correct. Otherwise, 0 point.)
登入後即可作答並保存紀錄。
核心觀念
本題考查矩陣的列空間、行空間與秩的基本性質。
對於外積矩陣 :
- 每一個欄向量都是 的倍數,因此其列空間由 張成。
- 每一個列向量都是 的倍數,因此其行空間由 張成。
- 若兩個秩一矩陣相加,總矩陣的列空間受到 控制,行空間受到 控制。
將矩陣寫成乘積形式:
因此由秩的不等式,
解題方法與各小題
(a) 列空間
設 的第 個欄向量為 。由矩陣乘法,
其中 分別是向量 的第 個分量。
所以 的每一個欄向量都是 與 的線性組合,故
因此可用 張成 的列空間:
這兩個向量不一定線性獨立,因此不一定都是列空間的基底。
(b) 行空間
將 寫成轉置形式:
依照 (a) 的相同理由, 的列空間由 張成。又因為 的列空間等於 的行空間,所以
若以行向量的轉置慣例表示,也可寫成「由 張成」。
(c) 秩小於 的條件
由
若 線性相依,則矩陣 的秩小於 ,因此
第 8 題5 分
The matrix
has eigenvalues and . What is the third eigenvalue?
登入後即可作答並保存紀錄。
核心觀念
矩陣的特徵值總和等於矩陣的跡(trace),即主對角線元素之和:
若矩陣的特徵值為 、 與未知的 ,即可利用跡求出第三個特徵值。
解題方法
矩陣為
其跡為主對角線元素的總和:
第 9 題10 分
Let
Calculate the power .
登入後即可作答並保存紀錄。
核心觀念
本題適合使用「低秩矩陣的作用」與「冪次循環」處理。由矩陣的第二欄可見
因此矩陣 的作用可寫成兩個向量的線性組合。
令
則對任意向量 ,
所以 的像空間由 張成。只要研究 對 的作用,即可掌握高次冪。
解題方法
先計算 。由上述表示式,
再計算 :
因此在基底 下, 的作用矩陣為
計算其跡與行列式:
故特徵多項式為
由 Cayley–Hamilton 定理,
因此
第 10 題15 分
Find an orthonormal basis of polynomials on real lines with degree at most 2, where the inner product is given by
登入後即可作答並保存紀錄。
核心觀念
本題考查內積空間中的「正交」與「正規化」,以及 Gram–Schmidt 正交化程序。
多項式空間
的維度為 。題目給定內積
若多項式組 滿足
則稱其為正交組;若進一步滿足
則稱為正交規範組,也就是 orthonormal basis。
解題方法
取 作為 的原始基底,使用 Gram–Schmidt 程序。
第一步:建立第一個正交多項式
令
其長度平方為
因此正規化後得到
第二步:處理一次多項式
令
由於 是奇函數,且積分區間 對稱,
所以
其長度平方為
因此
第三步:處理二次多項式
令
先計算與 的投影係數:
再計算與 的投影係數。因為 是奇函數,
因此