STEP/STEP2
2022 STEP 2
12 道题目
Pure MathematicsMechanicsProbability & Statistics
选择题目
点击题号切换,正文区一次只显示一道题
A batch of $N$ USB sticks is to be used on a network. Each stick has the same unknown probability $p$ of being infected with a virus. Each stick is infected, or not, independently of the others.
The network manager decides on an integer value of $T$ with $0 \leqslant T\lt N$. If $T=0$ no testing takes place and the $N$ sticks are used on the network, but if $T>0$, the batch is subject to the following procedure.
• Each of $T$ sticks, chosen at random from the batch, undergoes a test during which it is destroyed.
• If any of these $T$ sticks is infected, all the remaining $N-T$ sticks are destroyed.
• If none of the $T$ sticks is infected, the remaining $N-T$ sticks are used on the network.
If any stick used on the network is infected, the network has to be disinfected at a cost of $D$, where $D>0$. If no stick used on the network is infected, there is a gain of $1$ for each of the $N-T$ sticks. There is no cost to testing or destroying a stick. Find an expression in terms of $N, T, D$ and $q$, where $q=1-p$, for the expected net loss.
2. Let $\alpha=\frac{D T}{N(N-T+D)}$. Show that $0 \leqslant \alpha\lt 1$.
Show that, for fixed values of $N, D$ and $T$, the greatest value of the expected net loss occurs when $q$ satisfies the equation $q^{N-T}=\alpha$.
Show further that this greatest value is $\frac{D(N-T) \alpha^{k}}{N}$, where $k=\frac{T}{N-T}$.
3. For fixed values of $N$ and $D$, show that there is some $\beta>0$ so that for all $p\lt \beta$, the expression for the expected loss found in part (i) is an increasing function of $T$. Deduce that, for small enough values of $p$, testing no sticks minimises the expected net loss.
The network manager decides on an integer value of $T$ with $0 \leqslant T\lt N$. If $T=0$ no testing takes place and the $N$ sticks are used on the network, but if $T>0$, the batch is subject to the following procedure.
• Each of $T$ sticks, chosen at random from the batch, undergoes a test during which it is destroyed.
• If any of these $T$ sticks is infected, all the remaining $N-T$ sticks are destroyed.
• If none of the $T$ sticks is infected, the remaining $N-T$ sticks are used on the network.
If any stick used on the network is infected, the network has to be disinfected at a cost of $D$, where $D>0$. If no stick used on the network is infected, there is a gain of $1$ for each of the $N-T$ sticks. There is no cost to testing or destroying a stick. Find an expression in terms of $N, T, D$ and $q$, where $q=1-p$, for the expected net loss.
2. Let $\alpha=\frac{D T}{N(N-T+D)}$. Show that $0 \leqslant \alpha\lt 1$.
Show that, for fixed values of $N, D$ and $T$, the greatest value of the expected net loss occurs when $q$ satisfies the equation $q^{N-T}=\alpha$.
Show further that this greatest value is $\frac{D(N-T) \alpha^{k}}{N}$, where $k=\frac{T}{N-T}$.
3. For fixed values of $N$ and $D$, show that there is some $\beta>0$ so that for all $p\lt \beta$, the expression for the expected loss found in part (i) is an increasing function of $T$. Deduce that, for small enough values of $p$, testing no sticks minimises the expected net loss.
考场第一眼 / First look
这是 decision under uncertainty:先测试并销毁 $T$ 个样本,再决定剩余 USB 是否上网。最重要的是按流程分层,而不是直接枚举感染个数。只有“前 $T$ 个全无感染”这一事件(概率 $q^T$)会让后续产生收益或消毒损失。
Part 2 固定 $N,D,T$,把 expected net loss 看成 $q$ 的函数。它是两个幂函数之差;求导后会出现 $q^{N-T}=\alpha$。先证明 $0\le\alpha<1$,才能保证该方程在概率区间内有唯一解。
Part 3 改为固定 $p$ 比较相邻测试数 $T,T+1$。计算 finite difference $L_{T+1}-L_T$ 比把 $T$ 当连续变量求导更合适;当 $p\to0$ 时,病毒极罕见,测试销毁的机会成本主导,因此零测试最优。
Part 2 固定 $N,D,T$,把 expected net loss 看成 $q$ 的函数。它是两个幂函数之差;求导后会出现 $q^{N-T}=\alpha$。先证明 $0\le\alpha<1$,才能保证该方程在概率区间内有唯一解。
Part 3 改为固定 $p$ 比较相邻测试数 $T,T+1$。计算 finite difference $L_{T+1}-L_T$ 比把 $T$ 当连续变量求导更合适;当 $p\to0$ 时,病毒极罕见,测试销毁的机会成本主导,因此零测试最优。