114 年 國立臺灣大學資料科學碩士學位學程《工程數學(D)》

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

第 1 題5 分

Let A be an arbitrary n×nn \times n matrix over the field of real numbers R\mathbb{R}, and let ATA^T denotes the transpose. Answer the following questions with "True" or "False".
(a) If A is diagonalizable, then A has n distinct eigenvalues.
(b) If A has n distinct eigenvalues, then A is diagonalizable.
(c) The nullity of A equals the nullity of ATA^T.
(d) det⁡A=det⁡ATA\det A = \det \sqrt{A^T A}, where 'det' denotes the determinant.
(e) If there exists an n×nn \times n matrix B satisfying AB=InAB = I_n (where InI_n denotes the n×nn \times n identity matrix), then A is invertible.
(Getting 5 points if all answers are correct. Otherwise, 0 point.)

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

這一題的完整詳解

核心觀念

本題考查以下線性代數基本定理:

  1. 矩陣可對角化不代表特徵值必須互異。
  2. n×nn\times n 矩陣若有 nn 個相異特徵值,則必可對角化。
  3. 矩陣與其轉置矩陣具有相同的秩,因此具有相同的零度。
  4. ATA\sqrt{A^T A} 的行列式等於 ∣det⁡A∣|\det A|,不一定等於 det⁡A\det A。
  5. 方陣若存在右逆矩陣,則該方陣必為可逆矩陣。

選項分析

(a) If AA is diagonalizable, then AA has nn distinct eigenvalues.

答案:False

矩陣可對角化的定義是:存在可逆矩陣 PP 與對角矩陣 DD,使得

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

對角矩陣中的對角元素不必彼此相異。例如

A=In.A=I_n.

此矩陣本身就是對角矩陣,因此可對角化,但其唯一的特徵值是 11,代數重數為 nn,並沒有 nn 個相異特徵值。

因此,可對角化不代表具有 nn 個相異特徵值。


(b) If AA has nn distinct eigenvalues, then AA is diagonalizable.

答案:True

定理指出:若 n×nn\times n 矩陣具有 nn 個相異特徵值,則對應的特徵向量線性獨立。

設這些相異特徵值為

λ1,λ2,…,λn,\lambda_1,\lambda_2,\ldots,\lambda_n,

對應的特徵向量分別為

v1,v2,…,vn.v_1,v_2,\ldots,v_n.

由於特徵值相異,v1,…,vnv_1,\ldots,v_n 線性獨立,因此可組成可逆矩陣

P=[v1v2⋯vn].P=\begin{bmatrix}v_1&v_2&\cdots&v_n\end{bmatrix}.

令

D=diag⁡(λ1,λ2,…,λn),D=\operatorname{diag}(\lambda_1,\lambda_2,\ldots,\lambda_n),

則

AP=PD,AP=PD,

進而得到

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

所以 AA 可對角化。


(c) The nullity of AA equals the nullity of ATA^T.

答案:True

由基本定理,

nullity⁡(A)+rank⁡(A)=n.\operatorname{nullity}(A)+\operatorname{rank}(A)=n.

矩陣與轉置矩陣具有相同的秩:

rank⁡(AT)=rank⁡(A).\operatorname{rank}(A^T)=\operatorname{rank}(A).

因此

nullity⁡(AT)=n−rank⁡(AT)=n−rank⁡(A)=nullity⁡(A).\begin{aligned} \operatorname{nullity}(A^T) &=n-\operatorname{rank}(A^T)\\ &=n-\operatorname{rank}(A)\\ &=\operatorname{nullity}(A). \end{aligned}

故 AA 與 ATA^T 的零度相等。


🔒

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

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

免費註冊

第 2 題5 分

Answer the following questions with "True" or "False".
(a) A nonzero subspace of Rn\mathbb{R}^n has a generating set.
(b) A nonzero subspace of Rn\mathbb{R}^n has a basis.
(c) A nonzero subspace of Rn\mathbb{R}^n has a unique generating set.
(d) A nonzero subspace of Rn\mathbb{R}^n has a unique basis.
(e) Suppose S is a linearly independent set with size being equal the dimension of a nonzero subspace V. Then, S is a basis for V.
(Getting 5 points if all answers are correct. Otherwise, 0 point.)

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

這一題的完整詳解

核心觀念

本題考查「生成集(generating set)」、「線性獨立」、「基底」與「維度」的定義及基本定理。

設 VV 是有限維向量空間:

  • 生成集:集合 SS 的線性組合可以表示 VV 中每一個向量,即
    span⁡(S)=V.\operatorname{span}(S)=V.
  • 線性獨立:SS 中向量的線性組合若等於零向量,則所有係數皆為零。
  • 基底:同時滿足「生成」與「線性獨立」的集合。
  • 維度:VV 的任一組基底所含向量個數,記為 dim⁡V\dim V。

由於 VV 是 Rn\mathbb{R}^n 的子空間,因此 VV 必為有限維向量空間,且必存在基底。


解題方法

逐項檢查各敘述是否符合上述定義與定理,並用簡單反例判斷「唯一性」敘述。


選項分析

(a) A nonzero subspace of Rn\mathbb{R}^n has a generating set.

判斷:True

任何 Rn\mathbb{R}^n 的子空間 VV 都是有限維向量空間,因此存在一組基底。基底本身一定是生成集,所以 VV 必定有生成集。

事實上,即使不限制 VV 非零,零子空間 {0}\{0\} 也有生成集,例如空集合或 {0}\{0\}。

因此此敘述正確。


(b) A nonzero subspace of Rn\mathbb{R}^n has a basis.

判斷:True

有限維向量空間的基本定理指出,每個有限維向量空間都存在基底。由於 V⊆RnV\subseteq \mathbb{R}^n,所以 VV 為有限維,必定存在基底。

例如,若

V=span⁡{(1,0,0),(0,1,0)}⊆R3,V=\operatorname{span}\{(1,0,0),(0,1,0)\}\subseteq\mathbb{R}^3,

則

{(1,0,0),(0,1,0)}\{(1,0,0),(0,1,0)\}

就是 VV 的一組基底。

因此此敘述正確。


(c) A nonzero subspace of Rn\mathbb{R}^n has a unique generating set.

判斷:False

生成集通常不唯一,因為生成集可以包含多餘向量,也可以替換其中的向量。

例如令

V=span⁡{(1,0)}⊆R2.V=\operatorname{span}\{(1,0)\}\subseteq\mathbb{R}^2.

以下兩個集合都能生成 VV:

S1={(1,0)},S_1=\{(1,0)\},

以及

S2={(1,0),(0,0)}.S_2=\{(1,0),(0,0)\}.

因為加入零向量不會改變線性包:

span⁡(S1)=span⁡(S2)=V.\operatorname{span}(S_1)=\operatorname{span}(S_2)=V.
🔒

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

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

免費註冊

第 3 題5 分

Answer the following questions with "True" or "False".
(a) Let U be a subset of a subspace V of Rn\mathbb{R}^n. Let U⊥U^\perp be the orthogonal complement of U. Then, (U⊥)⊥=U(U^\perp)^\perp = U.
(b) U⊥U^\perp is a subspace of Rn\mathbb{R}^n.
(c) The intersection of a subspace U and its orthogonal complement U⊥U^\perp is an empty set.
(d) Let T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m be a linear transformation. Then, the null space of T equals the (rangeT)⊥(range T)^\perp, where range denotes the range space.
(e) If two vectors are orthogonal, they are linearly independent.
(Getting 5 points if all answers are correct. Otherwise, 0 point.)

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

這一題的完整詳解

核心觀念

本題考查內積、正交補空間、子空間、零空間與值域之間的關係。

對 U⊆RnU\subseteq\mathbb{R}^n,其正交補定義為

U⊥={x∈Rn: x⋅u=0, ∀u∈U}.U^\perp=\{x\in\mathbb{R}^n:\ x\cdot u=0,\ \forall u\in U\}.

重要性質如下:

  1. U⊥U^\perp 一定是 Rn\mathbb{R}^n 的子空間。
  2. (U⊥)⊥=span⁡(U)(U^\perp)^\perp=\operatorname{span}(U);若 UU 本身是子空間,才有 (U⊥)⊥=U.(U^\perp)^\perp=U.
  3. 若 UU 是子空間,則 U∩U⊥={0}.U\cap U^\perp=\{0\}.
  4. 對線性轉換 T:Rn→RmT:\mathbb{R}^n\to\mathbb{R}^m, Null⁡(T∗)=(Range⁡T)⊥,\operatorname{Null}(T^*)=(\operatorname{Range}T)^\perp, 而不是一般所寫的 Null⁡(T)=(Range⁡T)⊥\operatorname{Null}(T)=(\operatorname{Range}T)^\perp。
  5. 兩個非零且互相正交的向量必定線性獨立;若其中一個是零向量,則不成立。

解題方法

逐項檢查敘述是否符合上述定義與定理,特別注意:

  • 題目是否明確假設 UU 是子空間;
  • 正交補與零空間所在的環境空間是否相同;
  • 正交向量是否包含零向量。

選項分析

(a) False

題目只說 UU 是子空間 VV 的子集合,並沒有說 UU 本身是子空間。

一般而言,

(U⊥)⊥=span⁡(U).(U^\perp)^\perp=\operatorname{span}(U).

只有在 UU 本身是子空間時,才可得到

(U⊥)⊥=U.(U^\perp)^\perp=U.

例如取

U={(1,0),(0,1)}⊆R2.U=\{(1,0),(0,1)\}\subseteq\mathbb{R}^2.

則

span⁡(U)=R2,\operatorname{span}(U)=\mathbb{R}^2,

但 U≠R2U\neq\mathbb{R}^2,因此

(U⊥)⊥=R2≠U.(U^\perp)^\perp=\mathbb{R}^2\neq U.

故敘述錯誤。


(b) True

由定義,

U⊥={x∈Rn:x⋅u=0, ∀u∈U}.U^\perp=\{x\in\mathbb{R}^n:x\cdot u=0,\ \forall u\in U\}.

證明其為子空間:

  • 零向量滿足 0⋅u=0,0\cdot u=0, 所以 0∈U⊥0\in U^\perp。
  • 若 x,y∈U⊥x,y\in U^\perp,則對所有 u∈Uu\in U, (x+y)⋅u=x⋅u+y⋅u=0+0=0,(x+y)\cdot u=x\cdot u+y\cdot u=0+0=0, 因此 x+y∈U⊥x+y\in U^\perp。
  • 若 c∈Rc\in\mathbb{R} 且 x∈U⊥x\in U^\perp,則 (cx)⋅u=c(x⋅u)=c⋅0=0,(cx)\cdot u=c(x\cdot u)=c\cdot 0=0,
🔒

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

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

免費註冊

第 4 題5 分

Let A be an n×nn \times n matrix over the field of real numbers R\mathbb{R} satisfying A2+A=0A^2 + A = 0. Determine all possible values of the determinant of A for any nn, respectively.

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

這一題的完整詳解

核心觀念

由條件

A2+A=0A^2+A=0

可因式分解為

A(A+I)=0.A(A+I)=0.

這表示 AA 的最小多項式整除

x(x+1).x(x+1).

因為 xx 與 x+1x+1 沒有重根,故 AA 可對角化;其所有特徵值只能是 00 或 −1-1。

行列式等於所有特徵值的乘積,因此關鍵在於判斷 00 與 −1-1 出現的情形。

解題方法

設 λ\lambda 為 AA 的任一特徵值,取對應的非零特徵向量 vv,則

Av=λv.Av=\lambda v.

將條件 A2+A=0A^2+A=0 作用在 vv 上:

(A2+A)v=0,(A^2+A)v=0,

因此

λ2v+λv=(λ2+λ)v=0.\lambda^2v+\lambda v=(\lambda^2+\lambda)v=0.

由 v≠0v\neq 0,得到

λ2+λ=0,\lambda^2+\lambda=0,

即

λ(λ+1)=0.\lambda(\lambda+1)=0.

所以每個特徵值皆為

λ=0或λ=−1.\lambda=0\quad\text{或}\quad \lambda=-1.

分情況討論:

  1. 若 00 是 AA 的特徵值,則

    det⁡(A)=0.\det(A)=0.
  2. 若 00 不是特徵值,則 AA 的全部 nn 個特徵值皆為 −1-1,因此

    det⁡(A)=(−1)n.\det(A)=(-1)^n.
🔒

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

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

免費註冊

第 5 題5 分

Let

A=(−212−1)A = \begin{pmatrix} -2 & 1 \\ 2 & -1 \end{pmatrix}

Find a general form of AkA^k for any integer kk.

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

這一題的完整詳解

核心觀念

本題考查矩陣冪次 AkA^k 的計算,以及利用矩陣滿足的低次多項式關係來建立一般式。

先計算行列式:

det⁡A=(−2)(−1)−(1)(2)=2−2=0.\det A=(-2)(-1)-(1)(2)=2-2=0.

因此 AA 是奇異矩陣,不可逆;負整數次方 AkA^k(k<0k<0)沒有定義。


解題方法

直接計算 A2A^2:

A2=(−212−1)(−212−1)=(6−3−63).A^2= \begin{pmatrix} -2 & 1\\ 2 & -1 \end{pmatrix} \begin{pmatrix} -2 & 1\\ 2 & -1 \end{pmatrix} = \begin{pmatrix} 6 & -3\\ -6 & 3 \end{pmatrix}.

比較原矩陣 AA:

−3A=−3(−212−1)=(6−3−63).-3A =-3 \begin{pmatrix} -2 & 1\\ 2 & -1 \end{pmatrix} = \begin{pmatrix} 6 & -3\\ -6 & 3 \end{pmatrix}.

所以

A2=−3A.A^2=-3A.

對於 k≥1k\geq 1,可用數學歸納法推導。假設

Ak=(−3)k−1A,A^k=(-3)^{k-1}A,

則

Ak+1=AkA=((−3)k−1A)A=(−3)k−1A2.A^{k+1} =A^kA =\left((-3)^{k-1}A\right)A =(-3)^{k-1}A^2.

利用 A2=−3AA^2=-3A:

Ak+1=(−3)k−1(−3A)=(−3)kA.A^{k+1} =(-3)^{k-1}(-3A) =(-3)^kA.
🔒

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

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

免費註冊

第 6 題15 分

Consider a 2×22 \times 2 matrix over the field of real numbers R\mathbb{R}.

A=[1ba1]A = \begin{bmatrix} 1 & b \\ a & 1 \end{bmatrix}

(a) (5%) Determine the eigenvalues of A.
(b) (5%) Determine a basis for each eigenspace of A.
(c) (5%) Under what conditions is A diagonalizable?

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

這一題的完整詳解

核心觀念

本題考查實數體 R\mathbb{R} 上 2×22 \times 2 矩陣的特徵值、特徵空間(Eigenspace)及其可對角化(Diagonalizability)條件。涉及之核心理論如下:

  1. 特徵方程式(Characteristic Equation):
    矩陣 AA 的特徵值 λ\lambda 滿足 det⁡(A−λI)=0\det(A - \lambda I) = 0。對於 2×22 \times 2 矩陣,亦可利用跡數與行列式表示為: λ2−tr⁡(A)λ+det⁡(A)=0\lambda^2 - \operatorname{tr}(A)\lambda + \det(A) = 0
  2. 特徵空間基底(Basis for Eigenspace):
    對應特徵值 λ\lambda 的特徵空間為齊次線性方程組 (A−λI)v=0(A - \lambda I)\mathbf{v} = \mathbf{0} 的解空間 Null⁡(A−λI)\operatorname{Null}(A - \lambda I)。求其非零解即得對應之特徵向量與基底。
  3. 實數體上的可對角化定理(Diagonalizability over R\mathbb{R}):
    矩陣 A∈R2×2A \in \mathbb{R}^{2 \times 2} 在 R\mathbb{R} 上可對角化的充要條件為:
    • 特徵方程式的所有根皆落在實數體 R\mathbb{R} 內(即無嚴格複數共軛根)。
    • 每個特徵值的幾何重數(Geometric Multiplicity,即對應特徵空間的維度)等於其代數重數(Algebraic Multiplicity)。

解題方法與推導

(a) 求 AA 的特徵值

計算 AA 的特徵多項式:

det⁡(A−λI)=det⁡[1−λba1−λ]=(1−λ)2−ab=0\det(A - \lambda I) = \det \begin{bmatrix} 1 - \lambda & b \\ a & 1 - \lambda \end{bmatrix} = (1 - \lambda)^2 - ab = 0

展開並求解:

(1−λ)2=ab  ⟹  λ=1±ab(1 - \lambda)^2 = ab \implies \lambda = 1 \pm \sqrt{ab}

由於題目明確指定矩陣定義於實數體 R\mathbb{R} 上,特徵值必須為實數,因此必須根據實數乘積 abab 的正負性質進行討論:

  • 當 ab>0ab > 0 時:存在兩個相異實數特徵值 λ1=1+ab\lambda_1 = 1 + \sqrt{ab} 與 λ2=1−ab\lambda_2 = 1 - \sqrt{ab}。
  • 當 ab=0ab = 0 時:存在單一重根特徵值 λ=1\lambda = 1(代數重數為 2)。
  • 當 ab<0ab < 0 時:特徵值為共軛複數 1±i∣ab∣∉R1 \pm i\sqrt{|ab|} \notin \mathbb{R},在實數體 R\mathbb{R} 上無特徵值。

(b) 求各特徵空間的基底

特徵向量 v=[xy]≠0\mathbf{v} = \begin{bmatrix} x \\ y \end{bmatrix} \neq \mathbf{0} 滿足 (A−λI)v=0(A - \lambda I)\mathbf{v} = \mathbf{0},即:

[1−λba1−λ][xy]=[00]\begin{bmatrix} 1 - \lambda & b \\ a & 1 - \lambda \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}

依 abab 的狀況分類討論:

  1. 當 ab>0ab > 0 時:

    • 對於 λ1=1+ab\lambda_1 = 1 + \sqrt{ab}:
      代入得方程組: [−abba−ab][xy]=[00]\begin{bmatrix} -\sqrt{ab} & b \\ a & -\sqrt{ab} \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} 兩列線性相依,由第一列 −ab x+by=0-\sqrt{ab}\,x + by = 0 可取特徵向量: v1=[ba](若 a>0,b>0)\mathbf{v}_1 = \begin{bmatrix} \sqrt{b} \\ \sqrt{a} \end{bmatrix} \quad (\text{若 } a > 0, b > 0) 為統一適用正負號(無論 a,b>0a, b > 0 或 a,b<0a, b < 0),取通用形式: v1=[bab](或等價表示為 [aba])\mathbf{v}_1 = \begin{bmatrix} b \\ \sqrt{ab} \end{bmatrix} \quad \left(\text{或等價表示為 } \begin{bmatrix} \sqrt{ab} \\ a \end{bmatrix}\right) 故特徵空間 Eλ1E_{\lambda_1} 的基底為: B1={[bab]}\mathcal{B}_1 = \left\{ \begin{bmatrix} b \\ \sqrt{ab} \end{bmatrix} \right\}
    • 對於 λ2=1−ab\lambda_2 = 1 - \sqrt{ab}:
      代入得方程組: [abbaab][xy]=[00]\begin{bmatrix} \sqrt{ab} & b \\ a & \sqrt{ab} \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} 由第一列 ab x+by=0\sqrt{ab}\,x + by = 0,得特徵空間 Eλ2E_{\lambda_2} 的基底為: B2={[−bab]}\mathcal{B}_2 = \left\{ \begin{bmatrix} -b \\ \sqrt{ab} \end{bmatrix} \right\}
  2. 當 ab=0ab = 0 時(特徵值 λ=1\lambda = 1):
    方程式化簡為:

🔒

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

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

免費註冊

第 7 題10 分

Let A be an n×nn \times n matrix of the following form:

A=[n+2n+2n+2…n+2131…1113…1⋮⋮⋮⋱⋮111…3]A = \begin{bmatrix} n+2 & n+2 & n+2 & \dots & n+2 \\ 1 & 3 & 1 & \dots & 1 \\ 1 & 1 & 3 & \dots & 1 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 1 & 1 & 1 & \dots & 3 \end{bmatrix}

Calculate det⁡A\det A.

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

這一題的完整詳解

先將 AA 分塊寫成

A=[n+2(n+2)1 ⁣T1B],B=[31⋯113⋯1⋮⋮⋱⋮11⋯3](n−1)×(n−1).A=\begin{bmatrix} n+2 & (n+2)\mathbf{1}^{\!T}\\[2pt] \mathbf{1} & B \end{bmatrix}, \qquad B=\begin{bmatrix} 3 & 1 & \cdots & 1\\ 1 & 3 & \cdots & 1\\ \vdots & \vdots & \ddots & \vdots\\ 1 & 1 & \cdots & 3 \end{bmatrix}_{(n-1)\times(n-1)} .

注意 B=2In−1+Jn−1B=2I_{n-1}+J_{n-1},其中 JJ 為全 11 矩陣。
對於形如 aI+bJaI+bJ(m×mm\times m)有

(aI+bJ)−1=1aI−ba(a+bm)J.(aI+bJ)^{-1}= \frac1a I-\frac{b}{a(a+bm)}J .

取 a=2,  b=1,  m=n−1a=2,\;b=1,\;m=n-1,得

B−1=12I−12(n+1)J.B^{-1}= \frac12 I-\frac1{2(n+1)}J .

🔒

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

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

免費註冊

第 8 題25 分

A gacha game announces a new character, Monty Hall, who can be summoned by collecting 100 Monty Hall coins. To obtain Monty Hall coins, players buy lottery tickets for 10 emeralds each. (Emerald is the in-game currency.) Each ticket has a 50% chance of winning one Monty Hall coin, and a 50% chance of winning nothing.

(a) (3%) Compute the average cost, in emeralds, of summoning Monty Hall.
(b) (4%) To avoid players quitting the game due to bad luck, the game developers hold a meeting. They plan to give out one Monty Hall coin for every three losing tickets (a losing ticket is a lottery ticket that does not win any Monty Hall coin). Compute the new average cost, in emeralds, of each Monty Hall coin.
(c) (5%) Estimate the new average cost, in emeralds, of summoning Monty Hall. Round your answer to the nearest integer.
(Hint: A player might have 3k +1 or 3k+2 losing ticket when Monty Hall is summoned. The extra one or two losing tickets will be deleted by the system.)
(d) (6%) One of the game developers, Simpson, believes that the new plan is too generous because it gives out Monty Hall coins even when players are not frustrated. For example, a player who buys five tickets may get the following outcomes: lose, win, lose, lose, lose. Now, because the fifth ticket is the third losing ticket, the player would be given a coin. But the player may not feel frustrated because the fourth ticket is a win.
Simpson proposes to give out one Monty Hall coin for every three consecutive losing tickets. That is, lose, win, lose, lose, lose will not be given extra coins. But lose, lose, lose, lose, lose, lose will be given one extra coin after the third ticket and the other after the sixth ticket. Note that, once the player is given a coin, the count of losing tickets resets. For example, lose, lose, lose, lose, lose, lose will be given two extra coins, one after the third ticket and the other after the sixth ticket.
Estimate the average cost, in emeralds, of each Monty Hall coin assuming Simpson's plan.
(e) (7%) Due to miscommunication, the programmer, Bertrand, implements Simpson's proposal incorrectly. Instead of resetting the counter when a coin is given, Bertrand's implementation gives out four Monty Hall coins for lose, lose, lose, lose, lose, lose, one after the third ticket, one after the fourth ticket, one after the fifth ticket, and one after the sixth ticket. Estimate the average cost, in emeralds, of summoning Monty Hall assuming Bertrand's incorrect implementation that does not reset the counter. Round your answer to the nearest integer.

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

這一題的完整詳解

(a) 每張票以 p=0.5p=0.5 獲得一枚硬幣,期望需要的票數為

E[N]=100p=1000.5=200 張E[N]=\frac{100}{p}= \frac{100}{0.5}=200\text{ 張}

平均花費

200×10=2000  emeralds200\times10=2000\;\text{emeralds}

(b) 每張輸的票在三張中會額外產生 1/31/3 枚硬幣。
每張票的期望硬幣數

E[C]=0.5⋅1+0.5⋅13=23E[C]=0.5\cdot1+0.5\cdot\frac13=\frac23

每枚硬幣的平均成本

10E[C]=102/3=15  emeralds\frac{10}{E[C]}=\frac{10}{2/3}=15\;\text{emeralds}

(c) 以 (b) 的期望硬幣率 23\frac23,取得 100 枚硬幣的期望票數

E[N]=1002/3=150 張E[N]=\frac{100}{2/3}=150\text{ 張}

平均召喚成本

150×10=1500  emeralds150\times10=1500\;\text{emeralds}

(d) Simpson 方案:連續三張失敗才給硬幣,失敗計數在給幣後重置。
將一個「循環」視為從狀態 00(無連續失敗)返回 00 的過程,可得

P(循環長=1)=0.5  (W)P(循環長=2)=0.5⋅0.5=0.25  (L ⁣W)P(循環長=3 且 W)=0.53=0.125  (LLW)P(循環長=3 且 C)=0.53=0.125  (LLL)\begin{aligned} P(\text{循環長}=1)&=0.5\;(W)\\ P(\text{循環長}=2)&=0.5\cdot0.5=0.25\;(L\!W)\\ P(\text{循環長}=3\text{ 且 }W)&=0.5^3=0.125\;(LLW)\\ P(\text{循環長}=3\text{ 且 }C)&=0.5^3=0.125\;(LLL) \end{aligned}

每個循環均獲得 1 枚硬幣,故平均硬幣率

🔒

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

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

免費註冊

其他考古題

114 年臺灣大學的其他科目

臺灣大學《工程數學》其他年度