109 年 國立臺灣聯合大學系統(清華、政治、陽明交通、中央四校聯招)研究所電機類《工程數學(B)》

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

第 1 題12 分

  1. (12%) A "mixer" is an RF electric circuit that is commonly used in communication systems to shift the EM wave's frequency to a desired frequency band by multiplying an input sinusoidal wave with another sinusoidal wave. The configuration of a mixer is simply a combination of an electric multiplier and a band-pass filter (BPF) as shown in the following diagram. Assume the input vector space is generated by nn input sinusoidal waves with the same non-zero amplitude AA, but different frequencies, ω1,ω2,⋯ ,ωn\omega_1, \omega_2, \cdots, \omega_n, and the output vector space is generated by these nn "down-converted" sinusoidal waves.
    Note: "down-convert" means the frequency is reduced.
    (a) (5%) Show that the input nn signals are linearly independent.
    (b) (7%) Please verify that if this mixer performs a linear transformation in this system.

🖼️【此處有附圖,請對照原卷】
(方塊圖:輸入 Acos⁡(ωat)A\cos(\omega_a t) 進入乘法器,與由下方輸入的 Bcos⁡(ωbt)B\cos(\omega_b t) 相乘,乘積再通過 BPF 成為輸出(Output);乘法器與 BPF 以虛線框起,合稱 Mixer。)

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

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

這一題的完整詳解

核心觀念

本題考兩個觀念:

  1. 線性獨立:若只有所有係數皆為零,才能使訊號的線性組合在所有時間都等於零,這些訊號便線性獨立。
  2. 線性轉換:轉換 TT 須滿足
    T(αx+βy)=αT(x)+βT(y).T(\alpha x+\beta y)=\alpha T(x)+\beta T(y).

依圖示,混頻器由「乘上固定的本地振盪訊號」及「通過固定的帶通濾波器」組成。以下將各輸入頻率視為互異的正頻率,並假設濾波器保留乘積中的差頻分量。

解題方法

令第 ii 個輸入訊號為

xi(t)=Acos⁡(ωit),i=1,…,n,x_i(t)=A\cos(\omega_i t),\qquad i=1,\ldots,n,

其中 A≠0A\ne 0,且 ωi\omega_i 互異。

(a) 證明輸入訊號線性獨立

假設存在係數 c1,…,cnc_1,\ldots,c_n,使得

∑i=1ncixi(t)=0\sum_{i=1}^{n}c_i x_i(t)=0

對所有 tt 成立。因 A≠0A\ne 0,可將上式除以 AA:

∑i=1ncicos⁡(ωit)=0.\sum_{i=1}^{n}c_i\cos(\omega_i t)=0.

對等式分別取 0,2,…,2(n−1)0,2,\ldots,2(n-1) 階導數,並令 t=0t=0。利用

d2kdt2kcos⁡(ωit)∣t=0=(−1)kωi2k,\left.\frac{d^{2k}}{dt^{2k}}\cos(\omega_i t)\right|_{t=0} =(-1)^k\omega_i^{2k},

得到

∑i=1nciωi2k=0,k=0,1,…,n−1.\sum_{i=1}^{n}c_i\omega_i^{2k}=0,\qquad k=0,1,\ldots,n-1.

這是一個以 ωi2\omega_i^2 為節點的 Vandermonde 線性方程組。由於頻率互異且為正數,ωi2\omega_i^2 也互異,因此其係數矩陣可逆,唯一解為

c1=c2=⋯=cn=0.c_1=c_2=\cdots=c_n=0.

故這 nn 個輸入訊號線性獨立。

(b) 判斷混頻器是否為線性轉換

令固定的本地振盪訊號為

ℓ(t)=Bcos⁡(ωbt).\ell(t)=B\cos(\omega_b t).

乘法器輸出為 x(t)ℓ(t)x(t)\ell(t)。若將訊號寫成 x(t)=∑icixi(t)x(t)=\sum_i c_i x_i(t),則

(∑i=1ncixi(t))ℓ(t)=∑i=1nci(xi(t)ℓ(t)).\left(\sum_{i=1}^{n}c_i x_i(t)\right)\ell(t) =\sum_{i=1}^{n}c_i\bigl(x_i(t)\ell(t)\bigr).

因此,乘上固定的 ℓ(t)\ell(t) 是線性操作。接著通過固定的帶通濾波器;線性濾波器也會保留線性組合:

BPF⁡ ⁣(∑icizi(t))=∑iciBPF⁡ ⁣(zi(t)).\operatorname{BPF}\!\left(\sum_i c_i z_i(t)\right) =\sum_i c_i\operatorname{BPF}\!\left(z_i(t)\right).
🔒

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

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

免費註冊

第 2 題13 分

  1. (13%) Fourier series says that any periodic function can be expressed as a linear combination of infinite harmonic cosine and sine functions.
    (a) (8%) If the period of a set of periodic functions is 2π2\pi, what is the orthonormal basis of the vector space that these periodic functions belong to? You have to show the vectors in the basis are orthonormal to get full credit.
    (b) (5%) From the spectral theorem, find a vector g(x)g(x) in a subspace spanned by only {1,cos⁡(x),cos⁡(2x),sin⁡(x),sin⁡(2x)}\{1, \cos(x), \cos(2x), \sin(x), \sin(2x)\} so that g(x)g(x) has the shortest distance to the function f(x)=xf(x) = x in the interval [−π,π][-\pi, \pi].
    Note: In this problem, you may need: ∫xsin⁡ax dx=−xacos⁡ax+1a2sin⁡ax\int x \sin ax\,dx = -\frac{x}{a}\cos ax + \frac{1}{a^2}\sin ax and ∫xcos⁡ax dx=xasin⁡ax+1a2cos⁡ax\int x \cos ax\,dx = \frac{x}{a}\sin ax + \frac{1}{a^2}\cos ax

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

這一題的完整詳解

核心觀念

週期為 2π2\pi 的平方可積函數,可視為定義在 [−π,π][-\pi,\pi] 上、再作週期延拓的函數。採用內積

⟨u,v⟩=∫−ππu(x)v(x) dx\langle u,v\rangle=\int_{-\pi}^{\pi}u(x)v(x)\,dx

時,傅立葉基底由常數函數、餘弦函數與正弦函數組成。最接近給定函數的子空間向量,是該函數在子空間上的正交投影。

解題方法

(a) 建立正交歸一基底

一組正交歸一基底為

{12π,cos⁡(nx)π,sin⁡(nx)π  :  n=1,2,3,…}.\left\{ \frac{1}{\sqrt{2\pi}}, \frac{\cos(nx)}{\sqrt{\pi}}, \frac{\sin(nx)}{\sqrt{\pi}} \;:\; n=1,2,3,\ldots \right\}.

對正整數 m,nm,n,利用三角函數乘積公式可得

∫−ππcos⁡(mx)cos⁡(nx) dx={π,m=n,0,m≠n,\int_{-\pi}^{\pi}\cos(mx)\cos(nx)\,dx = \begin{cases} \pi,&m=n,\\ 0,&m\ne n, \end{cases} ∫−ππsin⁡(mx)sin⁡(nx) dx={π,m=n,0,m≠n,\int_{-\pi}^{\pi}\sin(mx)\sin(nx)\,dx = \begin{cases} \pi,&m=n,\\ 0,&m\ne n, \end{cases}

且

∫−ππsin⁡(mx)cos⁡(nx) dx=0.\int_{-\pi}^{\pi}\sin(mx)\cos(nx)\,dx=0.

此外,對所有正整數 nn,

∫−ππ1 dx=2π,∫−ππcos⁡(nx) dx=∫−ππsin⁡(nx) dx=0.\int_{-\pi}^{\pi}1\,dx=2\pi,\qquad \int_{-\pi}^{\pi}\cos(nx)\,dx = \int_{-\pi}^{\pi}\sin(nx)\,dx=0.

因此,基底中不同向量的內積皆為 00;每個向量的範數皆為 11。例如,

∥cos⁡(nx)π∥2=1π∫−ππcos⁡2(nx) dx=1,\left\|\frac{\cos(nx)}{\sqrt{\pi}}\right\|^2 =\frac{1}{\pi}\int_{-\pi}^{\pi}\cos^2(nx)\,dx=1,

而常數基底向量的範數平方為

∥12π∥2=12π∫−ππ1 dx=1.\left\|\frac{1}{\sqrt{2\pi}}\right\|^2 =\frac{1}{2\pi}\int_{-\pi}^{\pi}1\,dx=1.

(b) 求最接近 f(x)=xf(x)=x 的向量

子空間的正交基底為

{1,cos⁡x,cos⁡2x,sin⁡x,sin⁡2x}.\left\{1,\cos x,\cos 2x,\sin x,\sin 2x\right\}.

正交投影保留 ff 在各基底方向上的分量。由於 xx 是奇函數,而 1,cos⁡x,cos⁡2x1,\cos x,\cos 2x 是偶函數,

⟨x,1⟩=⟨x,cos⁡x⟩=⟨x,cos⁡2x⟩=0.\langle x,1\rangle = \langle x,\cos x\rangle = \langle x,\cos 2x\rangle=0.

因此,只需計算兩個正弦方向的係數。因為
∫−ππsin⁡2(nx) dx=π\int_{-\pi}^{\pi}\sin^2(nx)\,dx=\pi,正弦項係數為

🔒

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

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

免費註冊

第 3 題25 分

  1. (25%) Which of the following statements is TRUE and which one is FALSE? Justify your answers.
    (a) (5%) The set S≜{A∣A∈Rn×n,AT=−A}\mathcal{S} \triangleq \{\mathbf{A} \mid \mathbf{A} \in \mathbb{R}^{n \times n}, \mathbf{A}^T = -\mathbf{A}\} is not a subspace.
    (b) (5%) Let A,B∈Rn×n\mathbf{A}, \mathbf{B} \in \mathbb{R}^{n \times n}. Suppose the system Ax=0n\mathbf{A}\mathbf{x} = \mathbf{0}_n has infinitely many solutions and Bx=0n\mathbf{B}\mathbf{x} = \mathbf{0}_n has only one solution. This implies the system ABx=0n\mathbf{A}\mathbf{B}\mathbf{x} = \mathbf{0}_n has exactly one solution.
    (c) (5%) If A\mathbf{A} has an eigenvector x\mathbf{x} with eigenvalue λ\lambda, then exp⁡(A)\exp(\mathbf{A}) has x\mathbf{x} as an eigenvector with the eigenvalue exp⁡(λ)\exp(\lambda).
    (d) (5%) If A,B∈Rn×n\mathbf{A}, \mathbf{B} \in \mathbb{R}^{n \times n} and AB−BA=A\mathbf{A}\mathbf{B} - \mathbf{B}\mathbf{A} = \mathbf{A}, then A\mathbf{A} is singular.
    (e) (5%) Consider the following linear equations characterized by A∈Rm×n\mathbf{A} \in \mathbb{R}^{m \times n}:
Ax=b.\mathbf{A}\mathbf{x} = \mathbf{b}.

Then x^=A†b+v\widehat{\mathbf{x}} = \mathbf{A}^{\dagger}\mathbf{b} + \mathbf{v} is a solution to the above linear equations, where A†\mathbf{A}^{\dagger} is the pseudo-inverse of A\mathbf{A} and v∈N(A)\mathbf{v} \in \mathcal{N}(\mathbf{A}) (null space of A\mathbf{A}). If your answer is "False", please describe the physical meaning of Ax^\mathbf{A}\widehat{\mathbf{x}}.

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

這一題的完整詳解

核心觀念

本題考查子空間、齊次線性系統的零空間、矩陣函數對特徵向量的作用、矩陣交換子,以及 Moore–Penrose 偽逆的最小平方意義。

選項分析

(a) 假

反對稱矩陣集合 S\mathcal{S} 是子空間。零矩陣滿足 0T=−00^T=-0,所以 0∈S0\in\mathcal{S}。若 A,B∈S\mathbf{A},\mathbf{B}\in\mathcal{S},且 c,d∈Rc,d\in\mathbb{R},則

(cA+dB)T=cAT+dBT=−cA−dB=−(cA+dB).(c\mathbf{A}+d\mathbf{B})^T =c\mathbf{A}^T+d\mathbf{B}^T =-c\mathbf{A}-d\mathbf{B} =-(c\mathbf{A}+d\mathbf{B}).

因此,S\mathcal{S} 對線性組合封閉,符合子空間條件。題目聲稱它不是子空間,故為假。

(b) 假

Ax=0n\mathbf{A}\mathbf{x}=\mathbf{0}_n 有無限多個解,表示 N(A)\mathcal{N}(\mathbf{A}) 含有非零向量。另一方面,Bx=0n\mathbf{B}\mathbf{x}=\mathbf{0}_n 只有零解;由於 B\mathbf{B} 是方陣,這表示 B\mathbf{B} 可逆。

令 y=Bx\mathbf{y}=\mathbf{B}\mathbf{x},則

ABx=0n⟺Ay=0n.\mathbf{A}\mathbf{B}\mathbf{x}=\mathbf{0}_n \quad\Longleftrightarrow\quad \mathbf{A}\mathbf{y}=\mathbf{0}_n.

因為 B\mathbf{B} 可逆,y∈N(A)\mathbf{y}\in\mathcal{N}(\mathbf{A}) 對應到唯一的 x=B−1y\mathbf{x}=\mathbf{B}^{-1}\mathbf{y}。所以 ABx=0n\mathbf{A}\mathbf{B}\mathbf{x}=\mathbf{0}_n 有無限多個解,不會只有一個解。題目敘述為假。

(c) 真

矩陣指數由冪級數定義:

exp⁡(A)=∑k=0∞Akk!.\exp(\mathbf{A})=\sum_{k=0}^{\infty}\frac{\mathbf{A}^k}{k!}.

若 Ax=λx\mathbf{A}\mathbf{x}=\lambda\mathbf{x},則對每個非負整數 kk,

Akx=λkx.\mathbf{A}^k\mathbf{x}=\lambda^k\mathbf{x}.

因此

exp⁡(A)x=∑k=0∞Akxk!=∑k=0∞λkk!x=exp⁡(λ)x.\exp(\mathbf{A})\mathbf{x} =\sum_{k=0}^{\infty}\frac{\mathbf{A}^k\mathbf{x}}{k!} =\sum_{k=0}^{\infty}\frac{\lambda^k}{k!}\mathbf{x} =\exp(\lambda)\mathbf{x}.

故 x\mathbf{x} 仍是 exp⁡(A)\exp(\mathbf{A}) 的特徵向量,對應特徵值為 exp⁡(λ)\exp(\lambda)。題目敘述為真。

(d) 真

利用跡的循環性 tr⁡(AB)=tr⁡(BA)\operatorname{tr}(\mathbf{A}\mathbf{B})=\operatorname{tr}(\mathbf{B}\mathbf{A}),對等式兩側取跡:

tr⁡(AB−BA)=tr⁡(A).\operatorname{tr}(\mathbf{A}\mathbf{B}-\mathbf{B}\mathbf{A}) =\operatorname{tr}(\mathbf{A}).

左側為零,因此 tr⁡(A)=0\operatorname{tr}(\mathbf{A})=0。但這本身不足以判定 A\mathbf{A} 奇異;要進一步利用原式。反設 A\mathbf{A} 可逆,左乘 A−1\mathbf{A}^{-1},得到

B−A−1BA=I.\mathbf{B}-\mathbf{A}^{-1}\mathbf{B}\mathbf{A}=\mathbf{I}.

兩側取跡。由跡的循環性,

tr⁡(A−1BA)=tr⁡(BAA−1)=tr⁡(B),\operatorname{tr}(\mathbf{A}^{-1}\mathbf{B}\mathbf{A}) =\operatorname{tr}(\mathbf{B}\mathbf{A}\mathbf{A}^{-1}) =\operatorname{tr}(\mathbf{B}),
🔒

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

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

免費註冊

第 4 題16 分

  1. (16%) Consider a vector of dd independent binary random variables a=[a0,a1,⋯ ,ad−1]\mathbf{a} = [a_0, a_1, \cdots, a_{d-1}] in which Pr⁡(aℓ=1)=p1(ℓ)\Pr(a_\ell = 1) = p_1^{(\ell)}, Pr⁡(aℓ=0)=p0(ℓ)\Pr(a_\ell = 0) = p_0^{(\ell)}, and Lℓ=ln⁡(p0(ℓ)p1(ℓ))L_\ell = \ln\left(\frac{p_0^{(\ell)}}{p_1^{(\ell)}}\right) for ℓ=0,1,⋯ ,d−1\ell = 0, 1, \cdots, d-1.
    (a) (6%) Consider a new binary random variable AA which is the binary sum of a1a_1 and a2a_2, i.e., A=a1⊕a2A = a_1 \oplus a_2. Please show that the log-likelihood ratio of AA defined as L(A)=ln⁡(Pr⁡(a=0)Pr⁡(a=1))L(A) = \ln\left(\frac{\Pr(a=0)}{\Pr(a=1)}\right), can be expressed as L(A)=ln⁡(1+exp⁡(L1+L2)exp⁡(L1)+exp⁡(L2))L(A) = \ln\left(\frac{1+\exp(L_1+L_2)}{\exp(L_1)+\exp(L_2)}\right).
    (b) (10%) Please show that the probability that a\mathbf{a} contains an even number of 1s is 12+12∏ℓ=0d−1(1−2p1(ℓ))\frac{1}{2} + \frac{1}{2}\prod_{\ell=0}^{d-1}\left(1 - 2p_1^{(\ell)}\right).

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

這一題的完整詳解

核心觀念

本題考兩個觀念:

  • 獨立事件的聯合機率:若 a1,a2a_1,a_2 獨立,聯合事件機率可由各自機率相乘。
  • 奇偶指示量:對整數 NN,1+(−1)N2\frac{1+(-1)^N}{2} 在 NN 為偶數時等於 11,在 NN 為奇數時等於 00。因此可用 (−1)N(-1)^N 的期望值計算偶數個 1 的機率。

(a) 推導 L(A)L(A)

A=a1⊕a2A=a_1\oplus a_2 為兩個位元的 XOR。A=0A=0 表示兩者相同,A=1A=1 表示兩者不同。利用獨立性:

Pr⁡(A=0)=p0(1)p0(2)+p1(1)p1(2)\Pr(A=0)=p_0^{(1)}p_0^{(2)}+p_1^{(1)}p_1^{(2)} Pr⁡(A=1)=p0(1)p1(2)+p1(1)p0(2)\Pr(A=1)=p_0^{(1)}p_1^{(2)}+p_1^{(1)}p_0^{(2)}

依照題目定義,

L(A)=ln⁡(Pr⁡(A=0)Pr⁡(A=1))L(A)=\ln\left(\frac{\Pr(A=0)}{\Pr(A=1)}\right)

將分子、分母同除以 p1(1)p1(2)p_1^{(1)}p_1^{(2)},並使用 eLℓ=p0(ℓ)p1(ℓ)e^{L_\ell}=\frac{p_0^{(\ell)}}{p_1^{(\ell)}}:

L(A)=ln⁡(p0(1)p1(1)p0(2)p1(2)+1p0(1)p1(1)+p0(2)p1(2))=ln⁡(1+exp⁡(L1+L2)exp⁡(L1)+exp⁡(L2))L(A) =\ln\left( \frac{ \frac{p_0^{(1)}}{p_1^{(1)}}\frac{p_0^{(2)}}{p_1^{(2)}}+1 }{ \frac{p_0^{(1)}}{p_1^{(1)}}+\frac{p_0^{(2)}}{p_1^{(2)}} } \right) =\ln\left(\frac{1+\exp(L_1+L_2)}{\exp(L_1)+\exp(L_2)}\right)

(b) 偶數個 1 的機率

令 N=∑ℓ=0d−1aℓN=\sum_{\ell=0}^{d-1}a_\ell,則 NN 是向量 a\mathbf a 中 1 的總數。用偶數指示量表示偶數個 1 的機率:

Pr⁡(N 為偶數)=E[1+(−1)N2]=12+12E[(−1)N]\Pr(N\text{ 為偶數}) =\mathbb E\left[\frac{1+(-1)^N}{2}\right] =\frac12+\frac12\mathbb E[(-1)^N]

由於 (−1)N=∏ℓ=0d−1(−1)aℓ(-1)^N=\prod_{\ell=0}^{d-1}(-1)^{a_\ell},且各個 aℓa_\ell 相互獨立,因此期望值可分解成乘積:

E[(−1)N]=∏ℓ=0d−1E[(−1)aℓ]\mathbb E[(-1)^N] =\prod_{\ell=0}^{d-1}\mathbb E[(-1)^{a_\ell}]
🔒

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

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

免費註冊

第 5 題17 分

  1. (17%) Consider a Gaussian distributed random variable XX with mean μX\mu_X and variance σX2\sigma_X^2. The moment-generating function of XX is defined as MX(t)=E[etX]M_X(t) = E[e^{tX}].
    (a) (3%) Derive the moment-generating function of XX.
    (b) (3%) If the first moment and second moment of XX are 2 and 20, respectively, find the moment-generating function MZ(t)M_Z(t) of the random variable Z=(X+6)2Z = \frac{(X+6)}{2} based on the result obtained from (a).
    (c) (2%) Based on the result obtained from (b), find the mean and variance of ZZ.
    (d) (4%) Find the correlation coefficient between XX and Z2Z^2.
    (e) (2%) What can you say about the range of the probability of Z≥10Z \geq 10?
    (f) (3%) Assume that Alice try to estimate the mean of ZZ based on a random sample Z1,Z2,⋯ ,ZNZ_1, Z_2, \cdots, Z_N of size NN taken from the distribution of ZZ. Find the minimum sample size required to ensure that the estimation error is smaller than 0.5 with a probability of 0.9.

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

這一題的完整詳解

核心觀念

本題考查常態隨機變數的動差生成函數(moment-generating function, MGF)、線性轉換後的平均數與變異數、相關係數,以及常態母體下樣本平均數的抽樣分布。

若 X∼N(μX,σX2)X\sim N(\mu_X,\sigma_X^2),則

MX(t)=E[etX]=exp⁡(μXt+σX2t22).M_X(t)=E[e^{tX}] =\exp\left(\mu_Xt+\frac{\sigma_X^2t^2}{2}\right).

此外,若 Z=aX+bZ=aX+b,則 MZ(t)=ebtMX(at)M_Z(t)=e^{bt}M_X(at)、E[Z]=aE[X]+bE[Z]=aE[X]+b,且 Var⁡(Z)=a2Var⁡(X)\operatorname{Var}(Z)=a^2\operatorname{Var}(X)。

解題方法與推導

(a) 推導 XX 的動差生成函數

由常態分布的機率密度函數,

MX(t)=12πσX2∫−∞∞exp⁡(tx−(x−μX)22σX2) dx.M_X(t) =\frac{1}{\sqrt{2\pi\sigma_X^2}} \int_{-\infty}^{\infty} \exp\left(tx-\frac{(x-\mu_X)^2}{2\sigma_X^2}\right)\,dx.

將指數中的項配方:

tx−(x−μX)22σX2=−(x−μX−σX2t)22σX2+μXt+σX2t22.tx-\frac{(x-\mu_X)^2}{2\sigma_X^2} = -\frac{(x-\mu_X-\sigma_X^2t)^2}{2\sigma_X^2} +\mu_Xt+\frac{\sigma_X^2t^2}{2}.

因此,積分中與常態密度相同的部分積分為 11,得到

MX(t)=exp⁡(μXt+σX2t22).\boxed{M_X(t)=\exp\left(\mu_Xt+\frac{\sigma_X^2t^2}{2}\right)}.

(b) 求 MZ(t)M_Z(t)

題目給定 E[X]=2E[X]=2、E[X2]=20E[X^2]=20,因此

Var⁡(X)=E[X2]−(E[X])2=20−22=16.\operatorname{Var}(X)=E[X^2]-(E[X])^2=20-2^2=16.

所以

MX(t)=exp⁡(2t+8t2).M_X(t)=\exp(2t+8t^2).

又 Z=(X+6)/2=X/2+3Z=(X+6)/2=X/2+3,使用線性轉換公式:

MZ(t)=e3tMX(t2).M_Z(t)=e^{3t}M_X\left(\frac{t}{2}\right).

代入 MXM_X:

MZ(t)=e3texp⁡(2⋅t2+8(t2)2)=exp⁡(4t+2t2).M_Z(t) =e^{3t}\exp\left(2\cdot\frac{t}{2} +8\left(\frac{t}{2}\right)^2\right) =\exp(4t+2t^2).

故

MZ(t)=exp⁡(4t+2t2).\boxed{M_Z(t)=\exp(4t+2t^2)}.

(c) 求 ZZ 的平均數與變異數

由 Z=X/2+3Z=X/2+3,

E[Z]=12E[X]+3=4,Var⁡(Z)=(12)2Var⁡(X)=4.E[Z]=\frac{1}{2}E[X]+3=4, \qquad \operatorname{Var}(Z)=\left(\frac12\right)^2\operatorname{Var}(X)=4.

因此

E[Z]=4,Var⁡(Z)=4.\boxed{E[Z]=4,\qquad \operatorname{Var}(Z)=4}.

(d) 求 XX 與 Z2Z^2 的相關係數

因為 X=2Z−6X=2Z-6,且乘上正數、加上常數不改變相關係數的正負與大小,

Corr⁡(X,Z2)=Corr⁡(Z,Z2).\operatorname{Corr}(X,Z^2)=\operatorname{Corr}(Z,Z^2).

已知 Z∼N(4,4)Z\sim N(4,4)。令 Y=Z−4Y=Z-4,則 E[Y]=0E[Y]=0、E[Y2]=4E[Y^2]=4,且常態分布的三階中央動差 E[Y3]=0E[Y^3]=0。因此

Cov⁡(Z,Z2)=E[(Z−4)Z2]=E[Y(Y+4)2]=8E[Y2]=32.\operatorname{Cov}(Z,Z^2) =E[(Z-4)Z^2] =E[Y(Y+4)^2] =8E[Y^2] =32.

常態隨機變數的平方變異數為

Var⁡(Z2)=2Var⁡(Z)2+4E[Z]2Var⁡(Z)=2(4)2+4(4)2(4)=288.\operatorname{Var}(Z^2) =2\operatorname{Var}(Z)^2 +4E[Z]^2\operatorname{Var}(Z) =2(4)^2+4(4)^2(4) =288.

所以

Corr⁡(X,Z2)=324⋅288=223≈0.943.\operatorname{Corr}(X,Z^2) =\frac{32}{\sqrt{4\cdot288}} =\boxed{\frac{2\sqrt{2}}{3}} \approx 0.943.

(e) 討論 P(Z≥10)P(Z\geq 10) 的範圍

Z∼N(4,4)Z\sim N(4,4),故標準差為 22。標準化得

P(Z≥10)=P(Z−42≥3)=1−Φ(3)≈0.00135.P(Z\geq10) =P\left(\frac{Z-4}{2}\geq3\right) =1-\Phi(3) \approx 0.00135.

因此,此機率大於 00,約為 0.135%0.135\%。若只用切比雪夫不等式作保守估計,因為 Z≥10Z\geq10 蘊含 ∣Z−4∣≥6|Z-4|\geq6,

🔒

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

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

免費註冊

第 6 題17 分

  1. (17%) Random variables XX and YY have joint probability density function
fXY={5x22,−1≤x≤1, 0≤y≤x20,otherwise.f_{XY} = \begin{cases} \dfrac{5x^2}{2}, & -1 \le x \le 1,\ 0 \le y \le x^2 \\ 0, & \text{otherwise.} \end{cases}

Let A={Y≤14}A = \{Y \le \frac{1}{4}\}.
(a) (4%) Find fX(x)f_X(x).
(b) (4%) Find fXY∣A(x,y)f_{XY|A}(x,y).
(c) (4%) Find fY∣A(y)f_{Y|A}(y).
(d) (5%) Find E[Y∣A]E[Y|A].

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

這一題的完整詳解

核心觀念

聯合機率密度的邊際密度,需對另一個變數在聯合支持範圍內積分:

fX(x)=∫−∞∞fXY(x,y) dy.f_X(x)=\int_{-\infty}^{\infty}f_{XY}(x,y)\,dy.

在事件 AA 下的條件聯合密度為

fXY∣A(x,y)=fXY(x,y)P(A)(當 (x,y) 落在 A 的範圍內).f_{XY\mid A}(x,y) = \frac{f_{XY}(x,y)}{P(A)} \quad\text{(當 $(x,y)$ 落在 $A$ 的範圍內)}.

接著對條件聯合密度積分可得條件邊際密度,再用定義計算條件期望。

解題方法與推導

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

固定 xx 時,yy 的範圍是 0≤y≤x20\le y\le x^2,因此

fX(x)=∫0x25x22 dy=5x22x2=5x42,−1≤x≤1.f_X(x) = \int_0^{x^2}\frac{5x^2}{2}\,dy = \frac{5x^2}{2}x^2 = \frac{5x^4}{2}, \qquad -1\le x\le 1.

所以

fX(x)={5x42,−1≤x≤1,0,其他.f_X(x)= \begin{cases} \dfrac{5x^4}{2},&-1\le x\le1,\\[4pt] 0,&\text{其他}. \end{cases}

(b) 求 fXY∣A(x,y)f_{XY\mid A}(x,y)

事件 A={Y≤14}A=\{Y\le \frac14\} 與原本支持範圍合併後,固定 xx 時的 yy 範圍為

0≤y≤min⁡(x2,14),−1≤x≤1.0\le y\le \min\left(x^2,\frac14\right),\qquad -1\le x\le1.

先計算事件機率。當 ∣x∣≤12|x|\le \frac12 時,x2≤14x^2\le\frac14;當 12<∣x∣≤1\frac12<|x|\le1 時,事件將 yy 的上限截為 14\frac14。因此

P(A)=∫−1/21/2∫0x25x22 dy dx+∫[−1,−1/2]∪[1/2,1]∫01/45x22 dy dx=132+3596=1948.\begin{aligned} P(A) &= \int_{-1/2}^{1/2}\int_0^{x^2}\frac{5x^2}{2}\,dy\,dx + \int_{[-1,-1/2]\cup[1/2,1]}\int_0^{1/4}\frac{5x^2}{2}\,dy\,dx\\ &= \frac{1}{32}+\frac{35}{96} = \frac{19}{48}. \end{aligned}

故事件 AA 下的條件聯合密度為

fXY∣A(x,y)={120x219,−1≤x≤1,0≤y≤min⁡(x2,14),0,其他.f_{XY\mid A}(x,y)= \begin{cases} \dfrac{120x^2}{19}, &-1\le x\le1,\quad 0\le y\le\min\left(x^2,\dfrac14\right),\\[6pt] 0,&\text{其他}. \end{cases}

(c) 求 fY∣A(y)f_{Y\mid A}(y)

若 yy 固定,條件 y≤x2y\le x^2 表示 x≤−yx\le-\sqrt y 或 x≥yx\ge\sqrt y。因此 0≤y≤140\le y\le\frac14 時,

fY∣A(y)=∫−1−y120x219 dx+∫y1120x219 dx=24019∫y1x2 dx=8019(1−y3/2).\begin{aligned} f_{Y\mid A}(y) &= \int_{-1}^{-\sqrt y}\frac{120x^2}{19}\,dx + \int_{\sqrt y}^{1}\frac{120x^2}{19}\,dx\\ &= \frac{240}{19}\int_{\sqrt y}^{1}x^2\,dx\\ &= \frac{80}{19}\left(1-y^{3/2}\right). \end{aligned}

所以

fY∣A(y)={8019(1−y3/2),0≤y≤14,0,其他.f_{Y\mid A}(y)= \begin{cases} \dfrac{80}{19}\left(1-y^{3/2}\right), &0\le y\le\dfrac14,\\[6pt] 0,&\text{其他}. \end{cases}

(d) 求 E[Y∣A]E[Y\mid A]

利用條件邊際密度:

🔒

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

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

免費註冊

其他考古題