113 年 國立成功大學電腦與通信工程研究所丁組《線性代數與機率》
第 1 題30 分
- (30%) Two coins are simultaneously tossed until one of them comes up a head and the other a tail. The first coin comes up a head with probability , and the second coin comes up a head with probability . All tosses are assumed independent.
(a) Find the probability mass function (PMF) of the number of tosses. (10%)
(b) Find the expected value of the number of tosses. (10%)
(c) What is the probability that the last toss of the first coin is a head? (10%)
登入後即可作答並保存紀錄。
核心觀念
每一輪同時擲兩枚硬幣,停止條件是兩枚硬幣結果不同:
- 第一枚為正面、第二枚為反面:
- 第一枚為反面、第二枚為正面:
因此,每一輪「停止」的機率為
整理得
每一輪結果彼此獨立,因此停止所需的擲骰輪數服從幾何分布。
解題方法
令 表示直到兩枚硬幣出現一正一反為止所需的同時擲幣次數。
在前 次都尚未停止,表示每次結果相同,即出現 或 。每次「繼續」的機率為
由於每次不是停止就是繼續,所以
因此
(a) 的 PMF
事件 表示:
- 前 次兩枚硬幣結果相同;
- 第 次兩枚硬幣結果不同。
故對 ,
所以 服從參數為 的幾何分布:
其中 。
(b) 的期望值
幾何分布在「第一次成功所需次數」的定義下,其期望值為
代入停止機率 :
亦可由遞迴直接推導。第一次擲幣後:
- 以機率 停止,總次數為 ;
- 以機率 繼續,之後還需平均 次。
因此
移項得
因為 ,所以
(c) 最後一次第一枚硬幣為正面的機率
停止發生時,最後一次結果必須是 或 。
「最後一次第一枚硬幣為正面」等同於停止時最後一次結果為 。
第 2 題20 分
- (20%) A dart is equally likely to land at any point inside a circular target of radius 4. Let R be the distance of the landing point from the origin.
(a) Find and plot the probability density function (pdf) of R. (10%)
(b) The 'bull eye' is the central disk in the target of radius 1.
Find the probability that the dart is outside of the bull eye. (10%)
Hint: Let S be a subset of the plane with area A(S) (which means "area of S"]. A point is said to be randomly selected from S if, for any subset T of S with area A(T), the probability that the point selected falls in T is A(T)/A(S), i.e., the ratio of "area of T" to "area of S".
登入後即可作答並保存紀錄。
核心觀念
飛鏢在半徑為 的圓形標靶內均勻落點,表示落在某區域的機率等於該區域面積除以整個標靶面積。
整個標靶面積為
令 表示落點到原點的距離,則 。半徑距離不超過 的事件,對應於半徑為 的圓盤。
解題方法
先求累積分布函數 ,再對 微分得到 pdf:
採用面積比的原因是題目明確給出均勻落點的定義,而距離事件 正好能以圓盤面積表示。
(a) 求 的 pdf 並作圖
當 時,
完整的累積分布函數為
對 微分,得到 的機率密度函數:
端點 的函數值不影響機率,寫成 亦可。
pdf 圖形為一條通過 與 的直線,區間外為 :
第 3 題20 分
- (20%) Mark each of the following statements True (T) or False (F). (Need not to give reasons.)
(a) If the column vectors of a matrix A are linearly independent, then the row vectors of A are also linearly independent.
(b) Let S be a linearly independent set in a vector space V. If u is a vector in V and u S, then SUu is also a linearly independent set.
(c) Let T and S be two linear transformations (operations) on a vector space V, then T² + 2S is also a linear transformation on V.
(d) Let M be a square matrix. We have that M and M² must be linearly independent.
登入後即可作答並保存紀錄。
本題考驗線性代數中的線性獨立性、向量空間、線性轉換等基本概念。
核心觀念:
- 線性獨立性:一組向量線性獨立,是指它們的任何線性組合等於零向量時,所有係數都必須為零。
- 矩陣的秩 (Rank):矩陣的行秩等於列秩,這個值等於該矩陣的列向量(或行向量)的最大線性獨立子集的維度。
- 向量空間的性質:線性組合的封閉性。
- 線性轉換的性質:線性轉換的組合(加法、數乘、複合)仍是線性轉換。
解題步驟:
(a) If the column vectors of a matrix A are linearly independent, then the row vectors of A are also linearly independent.
令 為一個 的矩陣。
如果 的列向量是線性獨立的,這意味著矩陣 的秩 (rank) 等於 (列的數量)。
矩陣的行秩等於列秩,所以 .
如果 , 則 的 個行向量是線性獨立的。
若要使 的行向量也線性獨立,則 必須等於 (行的數量)。
因此,除非 (即 是方陣),否則列向量線性獨立不保證行向量線性獨立。
例如,考慮矩陣 .
列向量 和 是線性獨立的 ()。
行向量 , , 。這三個行向量是線性相關的,因為其中一個是零向量,或者 。
因此,這個敘述是錯誤的。
【答案】F
(b) Let S be a linearly independent set in a vector space V. If u is a vector in V and u S, then SUu is also a linearly independent set.
這句話的敘述有問題。「SUu」通常表示集合的聯集。如果 , 則 . 如果 本身線性獨立,那麼 也線性獨立。
但題目明確說 .
如果 是一個線性獨立的集合,並且 .
要判斷 是否線性獨立,我們需要看是否存在 的線性組合等於 中的某個向量,或者 本身可以被 中的向量線性表示。
如果 可以被 中的向量線性表示,即 對於某些係數 。
那麼我們可以寫成 .
這是一個非零係數的線性組合等於零向量 (因為 不是零向量,且係數 不為零)。
因此,如果 是 的一個線性組合,則 是線性相關的。
例如,在 中,設 . 是線性獨立的。
令 . 顯然 .
.
我們可以找到非零係數的線性組合等於零向量:
.
所以 是線性相關的。
這個敘述只有在 不能被 中的向量線性表示時才成立。但題目沒有這個假設。
因此,這個敘述是錯誤的。
【答案】F
(c) Let T and S be two linear transformations (operations) on a vector space V, then T² + 2S is also a linear transformation on V.
第 4 題30 分
- (30%) Consider a linear transformation T on R³, define by
Find the standard matrix of T. Also, find the inverse of T. (Express your answer as
). What is the rank of T?
登入後即可作答並保存紀錄。
核心觀念
本題考查三個觀念:
- 線性轉換的標準矩陣:矩陣的各欄分別是標準基底向量的像。
- 反矩陣:若標準矩陣可逆,則可利用聯立方程式求出 。
- 線性轉換的秩:等於其標準矩陣的秩;若矩陣可逆,則秩等於矩陣大小,即為 。
令標準基底為
解題方法一:求標準矩陣
對三個標準基底分別作用 :
因此, 的標準矩陣 為
也就是
解題方法二:求反轉換
設
根據題目定義:
將三式聯立:
由 得
所以
同理,
因此
再由 得
因此
故