115 年 國立中正大學通訊工程學系碩士班通訊甲組《線性代數與機率》

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

第 1 題

Consider the following system of linear equations:
x1+x2+x3=2x_1 + x_2 + x_3 = 2
x2+2x3=1x_2 + 2x_3 = 1
(a2−9)x3=a−2(a^2 - 9)x_3 = a - 2

Based on the parameter aa, answer the following questions and explain your reasoning:
(a) (3%) For which condition(s) of aa does the system have exactly one solution?
(b) (3%) For which value(s) of aa does the system have zero solutions?
(c) (3%) For which value(s) of aa does the system have infinitely many solutions?

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

這一題的完整詳解

核心觀念

本題考察含參數線性方程組的解之分類:

  • 唯一解:每個未知數都能被唯一決定。
  • 無解:化簡後出現矛盾,例如 0=c0=c,其中 c≠0c\neq 0。
  • 無限多解:化簡後出現至少一個自由變數,且沒有矛盾。

此方程組呈現階梯形式,前兩式可依序解出 x1,x2x_1,x_2;因此關鍵在第三式:

(a2−9)x3=a−2.(a^2-9)x_3=a-2.

解題方法與推導

由第三式開始分類討論。

情況一:a2−9≠0a^2-9\neq 0

此時可直接除以 a2−9a^2-9,得到

x3=a−2a2−9.x_3=\frac{a-2}{a^2-9}.

接著由第二式:

x2+2x3=1x_2+2x_3=1

可得

x2=1−2x3.x_2=1-2x_3.

再由第一式:

x1+x2+x3=2x_1+x_2+x_3=2

可得

x1=2−x2−x3.x_1=2-x_2-x_3.

因此三個未知數皆能被唯一決定,系統具有唯一解。

條件為

a2−9≠0a^2-9\neq 0

即

(a−3)(a+3)≠0,(a-3)(a+3)\neq 0,

所以

a≠3, −3.a\neq 3,\,-3.

情況二:a2−9=0a^2-9=0

由

a2−9=0a^2-9=0

可得

a=3或a=−3.a=3\quad\text{或}\quad a=-3.
🔒

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

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

免費註冊

第 2 題

Let WW be the plane with equation x+2y−3z=0x + 2y - 3z = 0.
(a) (3%) Find a basis for WW.
(b) (6%) Find the standard matrix for the orthogonal projection onto WW.
(c) (3%) Use the matrix obtained in (b) to find the orthogonal projection of a point P0(x0,y0,z0)P_0(x_0, y_0, z_0) onto WW.
(d) (3%) Find the distance between the point P0(−1,1,−1)P_0(-1, 1, -1) and the plane WW, and check your result.

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

這一題的完整詳解

本題考查向量空間的基底、正交投影矩陣的求解與應用,以及點到平面的距離。

平面 WW 的方程為 x+2y−3z=0x + 2y - 3z = 0。這個方程可以寫成向量形式:
[12−3]⋅[xyz]=0\begin{bmatrix} 1 \\ 2 \\ -3 \end{bmatrix} \cdot \begin{bmatrix} x \\ y \\ z \end{bmatrix} = 0。
這表示向量 n=[12−3]\mathbf{n} = \begin{bmatrix} 1 \\ 2 \\ -3 \end{bmatrix} 是平面 WW 的一個法向量。

(a) 尋找 WW 的一個基底:
平面 WW 是 R3\mathbb{R}^3 的一個子空間,其維度為 2 (因為是平面)。我們要找兩個線性獨立的向量,它們屬於 WW 且線性組合能生成 WW。
我們可以從方程 x+2y−3z=0x + 2y - 3z = 0 出發。令 yy 和 zz 為自由變數,則 x=−2y+3zx = -2y + 3z。
向量 [xyz]\begin{bmatrix} x \\ y \\ z \end{bmatrix} 可以寫成:
[−2y+3zyz]=y[−210]+z[301]\begin{bmatrix} -2y + 3z \\ y \\ z \end{bmatrix} = y \begin{bmatrix} -2 \\ 1 \\ 0 \end{bmatrix} + z \begin{bmatrix} 3 \\ 0 \\ 1 \end{bmatrix}。
因此,向量 v1=[−210]\mathbf{v}_1 = \begin{bmatrix} -2 \\ 1 \\ 0 \end{bmatrix} 和 v2=[301]\mathbf{v}_2 = \begin{bmatrix} 3 \\ 0 \\ 1 \end{bmatrix} 是 WW 的一個基底。這兩個向量顯然線性獨立。

【答案】{[−210],[301]}\left\{ \begin{bmatrix} -2 \\ 1 \\ 0 \end{bmatrix}, \begin{bmatrix} 3 \\ 0 \\ 1 \end{bmatrix} \right\}。

(b) 尋找 WW 上的標準正交投影矩陣:
設 WW 是 Rn\mathbb{R}^n 的一個 kk 維子空間,其基底為 {u1,…,uk}\{\mathbf{u}_1, \dots, \mathbf{u}_k\}。
如果 {u1,…,uk}\{\mathbf{u}_1, \dots, \mathbf{u}_k\} 是正交基底,則投影矩陣為 PW=U(UTU)−1UTP_W = U(U^T U)^{-1} U^T,其中 UU 的列向量是基底向量。
如果 {u1,…,uk}\{\mathbf{u}_1, \dots, \mathbf{u}_k\} 是標準正交基底,則 PW=UUTP_W = UU^T。

在本題中,我們找到的基底 {v1,v2}\{\mathbf{v}_1, \mathbf{v}_2\} 並非標準正交基底。
首先,我們需要將基底向量標準化,或者直接使用投影矩陣公式。
設 UU 的列向量是 WW 的基底,即 U=[−231001]U = \begin{bmatrix} -2 & 3 \\ 1 & 0 \\ 0 & 1 \end{bmatrix}。
則投影矩陣 PWP_W 為 PW=U(UTU)−1UTP_W = U(U^T U)^{-1} U^T。

計算 UTUU^T U:
UT=[−210301]U^T = \begin{bmatrix} -2 & 1 & 0 \\ 3 & 0 & 1 \end{bmatrix}
UTU=[−210301][−231001]=[(−2)(−2)+1(1)+0(0)(−2)(3)+1(0)+0(1)3(−2)+0(1)+1(0)3(3)+0(0)+1(1)]=[5−6−610]U^T U = \begin{bmatrix} -2 & 1 & 0 \\ 3 & 0 & 1 \end{bmatrix} \begin{bmatrix} -2 & 3 \\ 1 & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} (-2)(-2)+1(1)+0(0) & (-2)(3)+1(0)+0(1) \\ 3(-2)+0(1)+1(0) & 3(3)+0(0)+1(1) \end{bmatrix} = \begin{bmatrix} 5 & -6 \\ -6 & 10 \end{bmatrix}

計算 (UTU)−1(U^T U)^{-1}:
det⁡(UTU)=5(10)−(−6)(−6)=50−36=14\det(U^T U) = 5(10) - (-6)(-6) = 50 - 36 = 14
(UTU)−1=114[10665](U^T U)^{-1} = \frac{1}{14} \begin{bmatrix} 10 & 6 \\ 6 & 5 \end{bmatrix}

計算 PW=U(UTU)−1UTP_W = U(U^T U)^{-1} U^T:
PW=[−231001]114[10665][−210301]P_W = \begin{bmatrix} -2 & 3 \\ 1 & 0 \\ 0 & 1 \end{bmatrix} \frac{1}{14} \begin{bmatrix} 10 & 6 \\ 6 & 5 \end{bmatrix} \begin{bmatrix} -2 & 1 & 0 \\ 3 & 0 & 1 \end{bmatrix}
PW=114[−231001][10(−2)+6(3)10(1)+6(0)10(0)+6(1)6(−2)+5(3)6(1)+5(0)6(0)+5(1)]P_W = \frac{1}{14} \begin{bmatrix} -2 & 3 \\ 1 & 0 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} 10(-2)+6(3) & 10(1)+6(0) & 10(0)+6(1) \\ 6(-2)+5(3) & 6(1)+5(0) & 6(0)+5(1) \end{bmatrix}
PW=114[−231001][−2106365]P_W = \frac{1}{14} \begin{bmatrix} -2 & 3 \\ 1 & 0 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} -2 & 10 & 6 \\ 3 & 6 & 5 \end{bmatrix}
PW=114[(−2)(−2)+3(3)(−2)(10)+3(6)(−2)(6)+3(5)1(−2)+0(3)1(10)+0(6)1(6)+0(5)0(−2)+1(3)0(10)+1(6)0(6)+1(5)]P_W = \frac{1}{14} \begin{bmatrix} (-2)(-2)+3(3) & (-2)(10)+3(6) & (-2)(6)+3(5) \\ 1(-2)+0(3) & 1(10)+0(6) & 1(6)+0(5) \\ 0(-2)+1(3) & 0(10)+1(6) & 0(6)+1(5) \end{bmatrix}
PW=114[4+9−20+18−12+15−2106365]=114[13−23−2106365]P_W = \frac{1}{14} \begin{bmatrix} 4+9 & -20+18 & -12+15 \\ -2 & 10 & 6 \\ 3 & 6 & 5 \end{bmatrix} = \frac{1}{14} \begin{bmatrix} 13 & -2 & 3 \\ -2 & 10 & 6 \\ 3 & 6 & 5 \end{bmatrix}

另一種方法:
平面 WW 的法向量是 n=[12−3]\mathbf{n} = \begin{bmatrix} 1 \\ 2 \\ -3 \end{bmatrix}。
對於 Rn\mathbb{R}^n 的一個子空間 WW,其法向量為 n\mathbf{n},則投影到 WW 的矩陣為 PW=I−PW⊥P_W = I - P_{W^\perp},其中 PW⊥P_{W^\perp} 是投影到 n\mathbf{n} 所生成子空間的投影矩陣。
投影到向量 v\mathbf{v} 的矩陣是 vvTvTv\frac{\mathbf{v}\mathbf{v}^T}{\mathbf{v}^T\mathbf{v}}。
在這裡,我們投影到法向量 n\mathbf{n}。
nnT=[12−3][12−3]=[12−324−6−3−69]\mathbf{n}\mathbf{n}^T = \begin{bmatrix} 1 \\ 2 \\ -3 \end{bmatrix} \begin{bmatrix} 1 & 2 & -3 \end{bmatrix} = \begin{bmatrix} 1 & 2 & -3 \\ 2 & 4 & -6 \\ -3 & -6 & 9 \end{bmatrix}。

🔒

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

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

免費註冊

第 3 題

Consider the bases B={u1,u2,u3}B = \{\mathbf{u}_1, \mathbf{u}_2, \mathbf{u}_3\} and B′={v1,v2,v3}B' = \{\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3\} for R3\mathbb{R}^3, where
u1=[100],u2=[010],u3=[001]\mathbf{u}_1 = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}, \quad \mathbf{u}_2 = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}, \quad \mathbf{u}_3 = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}
v1=[110],v2=[102],v3=[02−2]\mathbf{v}_1 = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}, \quad \mathbf{v}_2 = \begin{bmatrix} 1 \\ 0 \\ 2 \end{bmatrix}, \quad \mathbf{v}_3 = \begin{bmatrix} 0 \\ 2 \\ -2 \end{bmatrix}
(a) (6%) Find the transition matrix PB′←BP_{B' \leftarrow B} from BB to B′B'.
(b) (6%) Find the transition matrix PB←B′P_{B \leftarrow B'} from B′B' to BB.
(c) (2%) Compute the coordinate matrix [w]B′[\mathbf{w}]_{B'} where w=[002]\mathbf{w} = \begin{bmatrix} 0 \\ 0 \\ 2 \end{bmatrix}.

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

這一題的完整詳解

核心觀念

本題考查「基底轉換矩陣」與「向量在不同基底下的座標表示」。

令

A=[v1v2v3]=[11010202−2].A=\begin{bmatrix}\mathbf v_1&\mathbf v_2&\mathbf v_3\end{bmatrix} =\begin{bmatrix} 1&1&0\\ 1&0&2\\ 0&2&-2 \end{bmatrix}.

由於 BB 是 R3\mathbb R^3 的標準基底,因此對任意向量 x\mathbf x,

x=A[x]B′.\mathbf x =A[\mathbf x]_{B'}.

因此有

[x]B′=A−1[x]B.[\mathbf x]_{B'}=A^{-1}[\mathbf x]_B.

所以

PB′←B=A−1,PB←B′=A.P_{B'\leftarrow B}=A^{-1}, \qquad P_{B\leftarrow B'}=A.

解題方法

(a)求 PB′←BP_{B'\leftarrow B}

先求矩陣 AA 的反矩陣。其行列式為

det⁡(A)=1∣022−2∣−1∣120−2∣=−4−(−2)=−2≠0.\det(A) = 1\begin{vmatrix}0&2\\2&-2\end{vmatrix} - 1\begin{vmatrix}1&2\\0&-2\end{vmatrix} =-4-(-2)=-2\neq 0.

因此 AA 可逆。

透過高斯消去法:

[11010010201002−2001]⟶[10−20100121−100022−21].\left[ \begin{array}{ccc|ccc} 1&1&0&1&0&0\\ 1&0&2&0&1&0\\ 0&2&-2&0&0&1 \end{array} \right] \longrightarrow \left[ \begin{array}{ccc|ccc} 1&0&-2&0&1&0\\ 0&1&2&1&-1&0\\ 0&0&2&2&-2&1 \end{array} \right].

繼續化簡得

A−1=[2−1−1−111−1112].A^{-1} = \begin{bmatrix} 2&-1&-1\\ -1&1&1\\ -1&1&\frac12 \end{bmatrix}.

故

PB′←B=[2−1−1−111−1112].\boxed{ P_{B'\leftarrow B} = \begin{bmatrix} 2&-1&-1\\ -1&1&1\\ -1&1&\frac12 \end{bmatrix} }.

其意義是:將 BB-座標向量乘上此矩陣,即可得到同一向量的 B′B'-座標。


(b)求 PB←B′P_{B\leftarrow B'}

由定義,PB←B′P_{B\leftarrow B'} 的第 jj 欄就是 vj\mathbf v_j 在基底 BB 下的座標。

因為 BB 是標準基底,所以直接將 v1,v2,v3\mathbf v_1,\mathbf v_2,\mathbf v_3 作為欄向量:

PB←B′=[v1v2v3]=[11010202−2].P_{B\leftarrow B'} = \begin{bmatrix} \mathbf v_1&\mathbf v_2&\mathbf v_3 \end{bmatrix} = \begin{bmatrix} 1&1&0\\ 1&0&2\\ 0&2&-2 \end{bmatrix}.

因此

🔒

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

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

免費註冊

第 4 題

M=[023020101]M = \begin{bmatrix} 0 & 2 & 3 \\ 0 & 2 & 0 \\ 1 & 0 & 1 \end{bmatrix}
(a) (6%) Find a diagonalization M=PDP−1M = PDP^{-1} and use it to compute the matrix power M7M^7.
(b) (6%) Compute a QR-decomposition of MM; that is, find a matrix QQ whose columns form an orthonormal set and an upper triangular matrix RR such that M=QRM = QR.

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

這一題的完整詳解

核心觀念

本題考查兩個重要工具:

  1. 矩陣對角化
    若矩陣 MM 有 33 個相異特徵值,則可對角化為

    M=PDP−1,M=PDP^{-1},

    其中 DD 的對角元素是特徵值,PP 的各列向量是對應的特徵向量。因此

    M7=PD7P−1.M^7=PD^7P^{-1}.
  2. QR 分解
    將矩陣的各個列向量利用 Gram–Schmidt 正交化,可得到

    M=QR,M=QR,

    其中 QQ 的列向量為正交單位向量,RR 為上三角矩陣。


(a) 對角化與計算 M7M^7

令特徵值為 λ\lambda,則

M−λI=[−λ2302−λ0101−λ].M-\lambda I= \begin{bmatrix} -\lambda & 2 & 3\\ 0 & 2-\lambda & 0\\ 1 & 0 & 1-\lambda \end{bmatrix}.

其特徵多項式為

det⁡(M−λI)=(2−λ)∣−λ311−λ∣=(2−λ)[(−λ)(1−λ)−3]=(2−λ)(λ2−λ−3).\begin{aligned} \det(M-\lambda I) &=(2-\lambda) \begin{vmatrix} -\lambda & 3\\ 1 & 1-\lambda \end{vmatrix}\\ &=(2-\lambda)\left[(-\lambda)(1-\lambda)-3\right]\\ &=(2-\lambda)(\lambda^2-\lambda-3). \end{aligned}

因此三個特徵值為

λ1=2,λ2=1+132,λ3=1−132.\lambda_1=2,\qquad \lambda_2=\frac{1+\sqrt{13}}{2},\qquad \lambda_3=\frac{1-\sqrt{13}}{2}.

三個特徵值相異,所以 MM 可對角化。

求特徵向量

對應 λ1=2\lambda_1=2

解

(M−2I)v=0.(M-2I)v=0.

由第三列得 x−z=0x-z=0,第一列得 −2x+2y+3z=0-2x+2y+3z=0,可取

v1=[2−12].v_1= \begin{bmatrix} 2\\-1\\2 \end{bmatrix}.

令

α=1+132,β=1−132.\alpha=\frac{1+\sqrt{13}}{2},\qquad \beta=\frac{1-\sqrt{13}}{2}.

對應 λ=α\lambda=\alpha 或 λ=β\lambda=\beta

由第二列可得 y=0y=0,第三列可得

x+(1−λ)z=0,x+(1-\lambda)z=0,

故可取特徵向量

v(λ)=[λ−101].v(\lambda)= \begin{bmatrix} \lambda-1\\0\\1 \end{bmatrix}.

因此

v2=[α−101],v3=[β−101].v_2= \begin{bmatrix} \alpha-1\\0\\1 \end{bmatrix}, \qquad v_3= \begin{bmatrix} \beta-1\\0\\1 \end{bmatrix}.

取

P=[2α−1β−1−100211],D=[2000α000β].P= \begin{bmatrix} 2 & \alpha-1 & \beta-1\\ -1 & 0 & 0\\ 2 & 1 & 1 \end{bmatrix}, \qquad D= \begin{bmatrix} 2&0&0\\ 0&\alpha&0\\ 0&0&\beta \end{bmatrix}.

其中 α−β=13\alpha-\beta=\sqrt{13},可得

P−1=[0−101133+13131+13213−11313−31313−1213].P^{-1}= \begin{bmatrix} 0&-1&0\\ \dfrac{1}{\sqrt{13}}& \dfrac{3+\sqrt{13}}{\sqrt{13}}& \dfrac{1+\sqrt{13}}{2\sqrt{13}}\\ -\dfrac{1}{\sqrt{13}}& \dfrac{\sqrt{13}-3}{\sqrt{13}}& \dfrac{\sqrt{13}-1}{2\sqrt{13}} \end{bmatrix}.

所以

M=PDP−1.M=PDP^{-1}.

利用對角化計算 M7M^7

由於

M7=PD7P−1,M^7=PD^7P^{-1},

且

D7=[27000α7000β7],D^7= \begin{bmatrix} 2^7&0&0\\ 0&\alpha^7&0\\ 0&0&\beta^7 \end{bmatrix},

即可直接計算。不過為了得到整數矩陣,可利用特徵多項式:

(M−2I)(M2−M−3I)=0.(M-2I)(M^2-M-3I)=0.

因此

M3=3M2+M−6I.M^3=3M^2+M-6I.

依此遞迴可得

M7=186M2−89M−438I.M^7=186M^2-89M-438I.

先計算

M2=[343040124].M^2= \begin{bmatrix} 3&4&3\\ 0&4&0\\ 1&2&4 \end{bmatrix}.

所以

🔒

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

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

免費註冊

第 5 題

The number NN of packet arrivals in tt seconds at a multiplexer is a Poisson random variable with arrival rate of λ\lambda packets per second.
(a) (5%) Find the mean of NN in tt seconds.
(b) (5%) Find the probability that there are no packet arrivals in tt seconds.
(c) (5%) Let ZZ be the time until the first packet arrival. What is the probability that Z<tZ < t?
(d) (5%) Find the mean of packet interarrival times.

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

這一題的完整詳解

本題考查 Poisson 分佈的性質及其相關概念,包括平均值、機率計算、以及與指數分佈的關係。

Poisson 分佈的機率質量函數 (PMF) 為:
P(N=k)=e−μμkk!P(N=k) = \frac{e^{-\mu} \mu^k}{k!}, 其中 k=0,1,2,…k = 0, 1, 2, \dots。
μ\mu 是平均到達數。

(a) 尋找 tt 秒內平均到達數 NN 的期望值:
Poisson 分佈的參數是平均到達率 λ\lambda (每秒的到達數)。
在 tt 秒內,平均到達數 μ\mu 是到達率 λ\lambda 乘以時間 tt。
所以,μ=λt\mu = \lambda t。
對於 Poisson 分佈,期望值等於其參數 μ\mu。
因此,在 tt 秒內,平均到達數 NN 的期望值是 E[N]=λtE[N] = \lambda t。

【答案】E[N]=λtE[N] = \lambda t。

(b) 尋找 tt 秒內沒有封包到達的機率:
這相當於求 P(N=0)P(N=0)。
使用 Poisson 分佈的 PMF,令 k=0k=0:
P(N=0)=e−μμ00!=e−λt(1)1=e−λtP(N=0) = \frac{e^{-\mu} \mu^0}{0!} = \frac{e^{-\lambda t} (1)}{1} = e^{-\lambda t}。

【答案】e−λte^{-\lambda t}。

🔒

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

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

免費註冊

第 6 題

Let Y=eXY = e^X, where XX is a random variable.
(a) (5%) Find the cumulative distribution function (cdf) of YY in terms of the cdf of XX.
(b) (4%) Find the probability density function (pdf) of YY in terms of the pdf of XX.
(c) (5%) Find the pdf of YY when XX is a Gaussian random variable with mean mm and variance σ2\sigma^2.
(d) (8%) Now let Y=e−XY = e^{-X} rather than Y=eXY = e^X. Find the pdf of YY when XX is an exponential random variable with parameter λ\lambda. What random variable is YY?

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

這一題的完整詳解

核心觀念

本題考「隨機變數的函數轉換」:

  • 累積分布函數定義:

    FY(y)=P(Y≤y)F_Y(y)=P(Y\le y)

  • 若 Y=g(X)Y=g(X) 且 gg 為嚴格遞增函數,則可利用不等式反解。

  • 若 gg 可微且為一對一函數,連續型隨機變數的 pdf 轉換公式為

    fY(y)=fX(g−1(y))∣ddyg−1(y)∣f_Y(y)=f_X\bigl(g^{-1}(y)\bigr)\left|\frac{d}{dy}g^{-1}(y)\right|

本題的指數函數 exe^x 嚴格遞增,反函數為自然對數 ln⁡y\ln y。


(a) 求 Y=eXY=e^X 的 cdf

由於 exe^x 是嚴格遞增函數,且 Y>0Y>0,分兩種情況討論。

當 y≤0y\le 0 時,Y=eXY=e^X 不可能小於或等於 yy,因此

FY(y)=P(Y≤y)=0.F_Y(y)=P(Y\le y)=0.

當 y>0y>0 時,

FY(y)=P(Y≤y)=P(eX≤y).\begin{aligned} F_Y(y) &=P(Y\le y)\\ &=P(e^X\le y). \end{aligned}

因為指數函數為遞增函數,可對不等式取自然對數:

eX≤y⟺X≤ln⁡y.e^X\le y \quad\Longleftrightarrow\quad X\le \ln y.

因此

FY(y)=P(X≤ln⁡y)=FX(ln⁡y).F_Y(y)=P(X\le \ln y)=F_X(\ln y).

所以

FY(y)={0,y≤0,FX(ln⁡y),y>0.\boxed{ F_Y(y)= \begin{cases} 0, & y\le 0,\\[4pt] F_X(\ln y), & y>0. \end{cases} }

(b) 以 XX 的 pdf 表示 YY 的 pdf

對 y>0y>0,由 (a) 得

FY(y)=FX(ln⁡y).F_Y(y)=F_X(\ln y).

對 yy 微分:

fY(y)=ddyFY(y)=fX(ln⁡y)⋅ddy(ln⁡y)=fX(ln⁡y)⋅1y.\begin{aligned} f_Y(y) &=\frac{d}{dy}F_Y(y)\\ &=f_X(\ln y)\cdot\frac{d}{dy}(\ln y)\\ &=f_X(\ln y)\cdot\frac{1}{y}. \end{aligned}

由於 Y=eX>0Y=e^X>0,當 y≤0y\le 0 時 pdf 為 00。因此

fY(y)={1yfX(ln⁡y),y>0,0,y≤0.\boxed{ f_Y(y)= \begin{cases} \dfrac{1}{y}f_X(\ln y), & y>0,\\[8pt] 0, & y\le 0. \end{cases} }

這也符合一般變數轉換公式。令

y=ex,x=ln⁡y,y=e^x, \qquad x=\ln y,

則

dxdy=1y,\frac{dx}{dy}=\frac{1}{y},

故

fY(y)=fX(ln⁡y)∣1y∣=1yfX(ln⁡y).f_Y(y)=f_X(\ln y)\left|\frac{1}{y}\right| =\frac{1}{y}f_X(\ln y).

(c) X∼N(m,σ2)X\sim N(m,\sigma^2) 時,求 YY 的 pdf

若 XX 為平均數 mm、變異數 σ2\sigma^2 的 Gaussian 隨機變數,則

fX(x)=12πσexp⁡[−(x−m)22σ2],−∞<x<∞.f_X(x)=\frac{1}{\sqrt{2\pi}\sigma} \exp\left[-\frac{(x-m)^2}{2\sigma^2}\right], \qquad -\infty<x<\infty.

將 x=ln⁡yx=\ln y 代入 (b) 的公式:

fY(y)=1yfX(ln⁡y)=1y12πσexp⁡[−(ln⁡y−m)22σ2].\begin{aligned} f_Y(y) &=\frac{1}{y}f_X(\ln y)\\ &=\frac{1}{y} \frac{1}{\sqrt{2\pi}\sigma} \exp\left[-\frac{(\ln y-m)^2}{2\sigma^2}\right]. \end{aligned}

因此

fY(y)={1y2πσexp⁡[−(ln⁡y−m)22σ2],y>0,0,y≤0.\boxed{ f_Y(y)= \begin{cases} \dfrac{1}{y\sqrt{2\pi}\sigma} \exp\left[-\dfrac{(\ln y-m)^2}{2\sigma^2}\right], & y>0,\\[10pt] 0, & y\le 0. \end{cases} }

此時 Y=eXY=e^X 服從對數常態分布:

Y∼Lognormal⁡(m,σ2).\boxed{Y\sim \operatorname{Lognormal}(m,\sigma^2)}.

其中 mm 與 σ2\sigma^2 是 ln⁡Y=X\ln Y=X 的平均數與變異數,並非 YY 本身的平均數與變異數。


(d) Y=e−XY=e^{-X} 且 X∼Exponential⁡(λ)X\sim\operatorname{Exponential}(\lambda)

解題方法

指數分布的 pdf 為

fX(x)={λe−λx,x≥0,0,x<0,λ>0.f_X(x)= \begin{cases} \lambda e^{-\lambda x}, & x\ge 0,\\ 0, & x<0, \end{cases} \qquad \lambda>0.

令

Y=e−X.Y=e^{-X}.

由於 X≥0X\ge 0,所以

🔒

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

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

免費註冊

第 7 題

Let XX be a standard normal random variable.
(a) (5%) Find the characteristic function (c.f.) of XX.
(b) (3%) Find the c.f. of Y=σX+mY = \sigma X + m, where σ≠0\sigma \neq 0 and mm are real numbers.

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

這一題的完整詳解

核心觀念

特徵函數定義為隨機變數的複指數期望:

φX(t)=E ⁣[eitX],t∈R.\varphi_X(t)=\mathbb{E}\!\left[e^{itX}\right],\qquad t\in\mathbb{R}.

若 X∼N(0,1)X\sim N(0,1),其機率密度函數為 fX(x)=12πe−x2/2f_X(x)=\frac{1}{\sqrt{2\pi}}e^{-x^2/2}。線性轉換 Y=σX+mY=\sigma X+m 的特徵函數可直接利用期望定義計算。

解題方法

(a) 標準常態的特徵函數

由定義,

φX(t)=∫−∞∞eitx12πe−x2/2 dx.\varphi_X(t) =\int_{-\infty}^{\infty} e^{itx}\frac{1}{\sqrt{2\pi}}e^{-x^2/2}\,dx.

可對 tt 微分,並利用常態密度滿足 fX′(x)=−xfX(x)f_X'(x)=-x f_X(x):

φX′(t)=E ⁣[iXeitX]=i∫−∞∞xeitxfX(x) dx=−i∫−∞∞eitxfX′(x) dx=−tφX(t).\begin{aligned} \varphi_X'(t) &=\mathbb{E}\!\left[iX e^{itX}\right]\\ &=i\int_{-\infty}^{\infty}x e^{itx}f_X(x)\,dx\\ &=-i\int_{-\infty}^{\infty}e^{itx}f_X'(x)\,dx\\ &=-t\varphi_X(t). \end{aligned}

最後一步使用分部積分;邊界項為零,因為常態密度在無窮遠處趨近於零。配合 φX(0)=E[1]=1\varphi_X(0)=\mathbb{E}[1]=1,解微分方程 φX′(t)=−tφX(t)\varphi_X'(t)=-t\varphi_X(t),得到

🔒

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

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

免費註冊

其他考古題

115 年中正大學的其他科目

其他學校的通訊系考古題