108 年 國立成功大學電腦與通信工程研究所乙組《通信數學》

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

第 1 題20 分

A transmitter sends information over a noisy channel by the following repetition coding scheme. The information bit takes on 0 or 1 with equal probability, and information bits are mutually independent. The transmitter repeats every information bit five times. In other words, for each information bit, the transmitter sends out 5 repeated coded bits. Specifically, if the information bit is 1, then the 5 coded bits that are sent to channel are 11111. If the information bit is 0, then the 5 coded bits that are sent to channel are 00000. We call each such a group of five coded bits a codeword. The channel changes a coded bit to its complement (i.e., 0→10 \to 1 or 1→01 \to 0) with probability pp, and it does so independently of its treatment of other coded bits. The receiver takes a majority vote of the five received coded bits (that belong to a codeword) to guess at the transmitted information bit.

(a) Find the probability that the receiver makes the wrong decision on the transmitted information bit.
(b) Any advantages of this scheme over the scheme without repetition? Any disadvantages of this scheme over the scheme without repetition? Please comment briefly.

Hints:
i) Example: Let us assume that the information bit is 0 in a particular realization. Then the codeword transmitted is 00000 (i.e., this is the input to the channel). Let us assume that, in a particular channel realization, the corresponding received coded codeword is 00111 (i.e., this is the output of the channel). The outcome of the majority vote (which is the decision) would be 1 since the majority of the received coded bits is 1. In this case, the decision is wrong since the transmitted information bit is 0.
ii) P(making a wrong decision)=P({info. bit=0 and decision=1} or {info. bit=1 and decision=0})P(\text{making a wrong decision}) = P(\{\text{info. bit}=0 \text{ and decision}=1\} \text{ or } \{\text{info. bit}=1 \text{ and decision}=0\}).

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

這一題的完整詳解

核心觀念

本題考查:

  • 二元對稱通道(Binary Symmetric Channel, BSC)的錯誤模型。
  • 重複碼(repetition code)與多數決解碼。
  • 二項分布的應用。
  • 重複傳送對錯誤率、傳輸效率與資源消耗的影響。

每個資訊位元重複傳送 55 次。接收端採用多數決,因此至少需要 33 個接收位元錯誤,才會造成最後判決錯誤。

令單一通道位元發生錯誤的機率為 pp,正確接收的機率為 1−p1-p。


解題方法

(a)接收端判決錯誤的機率

資訊位元為 00 時,傳送碼字為 0000000000。接收端判決錯誤,表示接收到的 11 至少有 33 個,也就是通道錯誤數為 33、44 或 55。

由於每個位元是否錯誤彼此獨立,錯誤位元數 KK 服從二項分布:

K∼Binomial(5,p)K\sim \mathrm{Binomial}(5,p)

因此,

P(判決錯誤∣X=0)=∑k=35(5k)pk(1−p)5−kP(\text{判決錯誤}\mid X=0) = \sum_{k=3}^{5}\binom{5}{k}p^k(1-p)^{5-k}

展開得

P(判決錯誤∣X=0)=(53)p3(1−p)2+(54)p4(1−p)+(55)p5P(\text{判決錯誤}\mid X=0) = \binom{5}{3}p^3(1-p)^2 +\binom{5}{4}p^4(1-p) +\binom{5}{5}p^5 =10p3(1−p)2+5p4(1−p)+p5= 10p^3(1-p)^2+5p^4(1-p)+p^5

資訊位元為 11 時,傳送碼字為 1111111111。要使多數決判成 00,同樣需要至少 33 個位元發生錯誤。因此,

P(判決錯誤∣X=1)=10p3(1−p)2+5p4(1−p)+p5P(\text{判決錯誤}\mid X=1) = 10p^3(1-p)^2+5p^4(1-p)+p^5

由於 P(X=0)=P(X=1)=1/2P(X=0)=P(X=1)=1/2,總錯誤率為

Pe=P(X=0)P(錯誤∣X=0)+P(X=1)P(錯誤∣X=1)=12P(錯誤∣X=0)+12P(錯誤∣X=1)\begin{aligned} P_e &=P(X=0)P(\text{錯誤}\mid X=0) \\ &\quad+P(X=1)P(\text{錯誤}\mid X=1) \\ &=\frac12 P(\text{錯誤}\mid X=0) +\frac12 P(\text{錯誤}\mid X=1) \end{aligned}

兩個條件錯誤率相同,所以

Pe=10p3(1−p)2+5p4(1−p)+p5\boxed{ P_e=10p^3(1-p)^2+5p^4(1-p)+p^5 }

進一步整理:

Pe=10p3−15p4+6p5\boxed{ P_e=10p^3-15p^4+6p^5 }

(b)與不重複傳送相比的優缺點

不使用重複碼時,每個資訊位元只傳送一次,因此接收錯誤率就是

Pe,single=pP_{e,\text{single}}=p

使用五次重複碼後,錯誤率為

Pe,rep=10p3−15p4+6p5P_{e,\text{rep}}=10p^3-15p^4+6p^5

優點

當通道本身較可靠,即

0≤p<120\leq p<\frac12

重複碼配合多數決可降低錯誤率:

🔒

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

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

免費註冊

第 2 題30 分

The joint probability density function (pdf) of random variables X and Y is given by
fX,Y(x,y)={cif x2+y2<r20if elsewheref_{X,Y}(x,y) = \begin{cases} c & \text{if } x^2+y^2 < r^2 \\ 0 & \text{if elsewhere} \end{cases}
where cc is a constant and r>0r>0 is a constant.

(a) Determine the conditional pdf fY∣X(y∣x)f_{Y|X}(y|x) for −r≤x≤r-r \le x \le r. Name this conditional distribution.
(b) Find the conditional expectation E(Y∣X=x)E(Y|X = x) for −r≤x≤r-r \le x \le r.
(c) Find the conditional variance Var(Y∣X=x)\text{Var}(Y|X = x) for −r≤x≤r-r \le x \le r.

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

這一題的完整詳解

這題考驗對聯合機率密度函數的理解、邊緣機率密度函數、條件機率密度函數的計算,以及條件期望值和條件變異數的求法。題目給定一個在圓盤上的均勻分佈。

核心觀念:

  1. 機率密度函數的歸一化 (Normalization)。
  2. 邊緣機率密度函數 (Marginal PDF)。
  3. 條件機率密度函數 (Conditional PDF)。
  4. 條件期望值 (Conditional Expectation)。
  5. 條件變異數 (Conditional Variance)。
  6. 圓座標轉換。

解題步驟:

首先,我們需要確定常數 cc 的值,使聯合機率密度函數 fX,Y(x,y)f_{X,Y}(x,y) 滿足歸一化條件,即在整個定義域上的積分為 1。
∬−∞∞fX,Y(x,y) dx dy=1\iint_{-\infty}^{\infty} f_{X,Y}(x,y) \,dx\,dy = 1
題目給定的 fX,Y(x,y)f_{X,Y}(x,y) 在圓盤 x2+y2<r2x^2+y^2 < r^2 上為常數 cc,在圓盤外為 0。圓盤的面積是 πr2\pi r^2。
∬x2+y2<r2c dx dy=c×(Area of the disk)=c(πr2)\iint_{x^2+y^2 < r^2} c \,dx\,dy = c \times (\text{Area of the disk}) = c (\pi r^2)
因此,c(πr2)=1c (\pi r^2) = 1,所以 c=1πr2c = \frac{1}{\pi r^2}。
聯合機率密度函數為:
fX,Y(x,y)={1πr2if x2+y2<r20if elsewheref_{X,Y}(x,y) = \begin{cases} \frac{1}{\pi r^2} & \text{if } x^2+y^2 < r^2 \\ 0 & \text{if elsewhere} \end{cases}

** Part (a): Determine the conditional pdf fY∣X(y∣x)f_{Y|X}(y|x) for −r≤x≤r-r \le x \le r. Name this conditional distribution. **

條件機率密度函數 fY∣X(y∣x)f_{Y|X}(y|x) 的定義是:
fY∣X(y∣x)=fX,Y(x,y)fX(x)f_{Y|X}(y|x) = \frac{f_{X,Y}(x,y)}{f_X(x)}
其中 fX(x)f_X(x) 是 X 的邊緣機率密度函數。我們首先需要計算 fX(x)f_X(x)。
fX(x)=∫−∞∞fX,Y(x,y) dyf_X(x) = \int_{-\infty}^{\infty} f_{X,Y}(x,y) \,dy
對於 −r<x<r-r < x < r,積分範圍是使得 x2+y2<r2x^2+y^2 < r^2 的 yy 值。這意味著 y2<r2−x2y^2 < r^2 - x^2,即 −r2−x2<y<r2−x2-\sqrt{r^2-x^2} < y < \sqrt{r^2-x^2}。
fX(x)=∫−r2−x2r2−x21πr2 dyf_X(x) = \int_{-\sqrt{r^2-x^2}}^{\sqrt{r^2-x^2}} \frac{1}{\pi r^2} \,dy
fX(x)=1πr2[y]−r2−x2r2−x2=1πr2(r2−x2−(−r2−x2))f_X(x) = \frac{1}{\pi r^2} [y]_{-\sqrt{r^2-x^2}}^{\sqrt{r^2-x^2}} = \frac{1}{\pi r^2} (\sqrt{r^2-x^2} - (-\sqrt{r^2-x^2}))
fX(x)=2r2−x2πr2for −r<x<rf_X(x) = \frac{2\sqrt{r^2-x^2}}{\pi r^2} \quad \text{for } -r < x < r
當 x≤−rx \le -r 或 x≥rx \ge r 時,fX(x)=0f_X(x) = 0。

現在我們可以計算條件機率密度函數 fY∣X(y∣x)f_{Y|X}(y|x):
fY∣X(y∣x)=fX,Y(x,y)fX(x)=1πr22r2−x2πr2for −r2−x2<y<r2−x2f_{Y|X}(y|x) = \frac{f_{X,Y}(x,y)}{f_X(x)} = \frac{\frac{1}{\pi r^2}}{\frac{2\sqrt{r^2-x^2}}{\pi r^2}} \quad \text{for } -\sqrt{r^2-x^2} < y < \sqrt{r^2-x^2}
fY∣X(y∣x)=12r2−x2for −r2−x2<y<r2−x2f_{Y|X}(y|x) = \frac{1}{2\sqrt{r^2-x^2}} \quad \text{for } -\sqrt{r^2-x^2} < y < \sqrt{r^2-x^2}
並且 fY∣X(y∣x)=0f_{Y|X}(y|x) = 0 其他情況。
這個條件機率密度函數定義了一個區間 (−r2−x2,r2−x2)(- \sqrt{r^2-x^2}, \sqrt{r^2-x^2}) 上的均勻分佈。

Name this conditional distribution:
The conditional distribution of YY given X=xX=x is a Uniform distribution on the interval (−r2−x2,r2−x2)(-\sqrt{r^2-x^2}, \sqrt{r^2-x^2}).
The interval has length 2r2−x22\sqrt{r^2-x^2}. The density is 12r2−x2\frac{1}{2\sqrt{r^2-x^2}}, which is consistent with a uniform distribution.

** Part (b): Find the conditional expectation E(Y∣X=x)E(Y|X = x) for −r≤x≤r-r \le x \le r. **

條件期望值 E(Y∣X=x)E(Y|X=x) 是在給定 X=xX=x 的條件下,隨機變數 YY 的期望值。

🔒

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

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

免費註冊

第 3 題20 分

Choose the true statement(s) from the following.
(a) If an n×nn \times n matrix AA has nn distinct non-zero eigenvalues, then the rank of AA is nn.
(b) If all eigenvalues of an n×nn \times n matrix AA are zero, then the rank of AA is 0.
(c) Let TT be a linear transformation (operator) on a vector space VV. Then T+v0T + v_0 is also a linear operator on VV, where v0v_0 is a constant vector in VV.
(d) Suppose that the matrices A,BA, B, and CC satisfy AB=ACAB = AC. If AA is an invertible square matrix, then we have B=CB = C.

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

這一題的完整詳解

這題考驗線性代數中關於矩陣、特徵值、秩、線性變換以及矩陣性質的基礎知識。需要判斷四個敘述的正確性。

核心觀念:

  1. 特徵值 (Eigenvalues) 與矩陣的秩 (Rank)。
  2. 矩陣的性質:可逆性 (Invertibility)。
  3. 線性變換 (Linear Transformation)。

解題步驟:

** Part (a): If an n×nn \times n matrix AA has nn distinct non-zero eigenvalues, then the rank of AA is nn. **

True.
一個 n×nn \times n 的矩陣 AA 如果有 nn 個不同的特徵值,則這個矩陣是可對角化的 (diagonalizable)。
如果這些特徵值都是非零的,那麼矩陣 AA 的 determinant (行列式) 是所有特徵值的乘積。
det⁡(A)=λ1λ2⋯λn\det(A) = \lambda_1 \lambda_2 \cdots \lambda_n。
因為所有的 λi≠0\lambda_i \neq 0,所以 det⁡(A)≠0\det(A) \neq 0。
一個方陣的行列式非零當且僅當該矩陣是可逆的 (invertible)。
一個 n×nn \times n 的可逆矩陣的秩 (rank) 是 nn。
因此,這個敘述是正確的。

** Part (b): If all eigenvalues of an n×nn \times n matrix AA are zero, then the rank of AA is 0. **

False.
如果一個 n×nn \times n 矩陣 AA 的所有特徵值都是零,這意味著 AA 的 characteristic polynomial 是 λn\lambda^n。
根據 Cayley-Hamilton 定理,矩陣 AA 滿足其 characteristic polynomial,即 An=0A^n = 0。
這樣的矩陣稱為冪零矩陣 (nilpotent matrix)。
然而,一個冪零矩陣的秩不一定是 0。
例如,考慮一個 2×22 \times 2 的矩陣 A=(0100)A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}。
它的 characteristic polynomial 是 det⁡(A−λI)=det⁡(−λ10−λ)=(−λ)(−λ)−1⋅0=λ2\det(A - \lambda I) = \det \begin{pmatrix} -\lambda & 1 \\ 0 & -\lambda \end{pmatrix} = (-\lambda)(-\lambda) - 1 \cdot 0 = \lambda^2。
所有特徵值都是 0。
但是,矩陣 AA 的秩是 1,因為第一行(或第二列)是非零的。

🔒

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

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

免費註冊

第 4 題30 分

Suppose that MM is a 4×54 \times 5 matrix with rank 4.

(a) (10%) Is it possible that MTMM^T M an invertible matrix? (Give your reasons.)
(b) (20%) Let II be the 5×55 \times 5 identity matrix. Is (I+MTM)(I + M^T M) an invertible matrix? (Explain you answer.)

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

這一題的完整詳解

核心觀念

已知 MM 是 4×54\times 5 矩陣,且

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

依秩—零度定理,

dim⁡ker⁡(M)=5−4=1.\dim\ker(M)=5-4=1.

因此存在非零向量 x∈R5x\in\mathbb{R}^5,使得

Mx=0.Mx=0.

另外,對任意 x∈R5x\in\mathbb{R}^5,

xTMTMx=(Mx)T(Mx)=∥Mx∥2≥0.x^T M^T Mx=(Mx)^T(Mx)=\|Mx\|^2\ge 0.

所以 MTMM^TM 是半正定矩陣。其可逆性可由零空間判斷:

ker⁡(MTM)=ker⁡(M).\ker(M^TM)=\ker(M).

證明如下:

若 Mx=0Mx=0,則顯然 MTMx=0M^TMx=0。

反之,若 MTMx=0M^TMx=0,則

0=xTMTMx=∥Mx∥2,0=x^TM^TMx=\|Mx\|^2,

故 Mx=0Mx=0。


(a) MTMM^TM 是否可能為可逆矩陣?

矩陣 MTMM^TM 的大小為 5×55\times 5。由上面的結果,

ker⁡(MTM)=ker⁡(M).\ker(M^TM)=\ker(M).

而

dim⁡ker⁡(M)=1,\dim\ker(M)=1,

因此 MTMM^TM 存在非零零向量,必定不可逆。

也可直接取非零向量 x∈ker⁡(M)x\in\ker(M),則

Mx=0Mx=0

且

MTMx=MT(Mx)=MT0=0.M^TMx=M^T(Mx)=M^T0=0.

所以 MTMM^TM 有非平凡零空間。

【答案】不可能。MTMM^TM 必定不可逆。


(b) I+MTMI+M^TM 是否為可逆矩陣?

🔒

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

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

免費註冊

其他考古題