MathIsimple

Probability Theory – Problem 56: Find the expectation and variance of

Question

In a certain game, killing a particular monster has a fixed "drop rate" for producing items 1,21,2. Suppose that after killing the monster, item 11 drops with probability 0.20.2, item 22 drops with probability 0.10.1, and no item drops with probability 0.70.7. Let τ\tau denote the minimum number of kills required to collect both items 11 and 22. Find the expectation and variance of τ\tau.

Step-by-step solution

Each kill of the monster has three mutually exclusive and exhaustive outcomes: drop of item 1 (probability p=0.2p=0.2), drop of item 2 (probability q=0.1q=0.1), and no drop (probability r=0.7r=0.7), with each kill being independent. Define XX as the number of kills until the first drop of either item 1 or item 2, and YY as the number of additional kills needed after obtaining one item to obtain the other. Clearly τ=X+Y\tau = X + Y, and XX and YY are independent, so E[τ]=E[X]+E[Y]E[\tau] = E[X] + E[Y] and Var(τ)=Var(X)+Var(Y)\text{Var}(\tau) = \text{Var}(X) + \text{Var}(Y). Analysis of the distribution of XX: XX is the number of kills until the first "success," where "success" means dropping item 1 or item 2, with success probability s=p+q=0.2+0.1=0.3s = p + q = 0.2 + 0.1 = 0.3. XX follows a geometric distribution with parameter s=0.3s=0.3 (defined as P(X=k)=(1s)k1sP(X=k) = (1-s)^{k-1}s, k=1,2,k=1,2,\dots), with expectation E[X]=1sE[X] = \frac{1}{s} and variance Var(X)=1ss2\text{Var}(X) = \frac{1-s}{s^2}. Substituting s=0.3s=0.3: E[X]=10.3=103E[X] = \frac{1}{0.3} = \frac{10}{3}, Var(X)=10.30.32=0.70.09=709\text{Var}(X) = \frac{1-0.3}{0.3^2} = \frac{0.7}{0.09} = \frac{70}{9}. Analysis of the expectation of YY: We use the law of total expectation. Let ZZ denote the type of the first item obtained (Z=1Z=1 for item 1, Z=2Z=2 for item 2). Then P(Z=1)=ps=0.20.3=23P(Z=1) = \frac{p}{s} = \frac{0.2}{0.3} = \frac{2}{3}, P(Z=2)=qs=0.10.3=13P(Z=2) = \frac{q}{s} = \frac{0.1}{0.3} = \frac{1}{3}. When Z=1Z=1, we need to obtain item 2 for the first time, with success probability q=0.1q=0.1 per trial, giving geometric expectation 1q\frac{1}{q}; when Z=2Z=2, we need to obtain item 1 for the first time, with success probability p=0.2p=0.2 per trial, giving geometric expectation 1p\frac{1}{p}. Thus E[YZ=1]=10.1=10E[Y|Z=1] = \frac{1}{0.1} = 10, E[YZ=2]=10.2=5E[Y|Z=2] = \frac{1}{0.2} = 5. By the law of total expectation: E[Y]=10×23+5×13=20+53=253E[Y] = 10 \times \frac{2}{3} + 5 \times \frac{1}{3} = \frac{20 + 5}{3} = \frac{25}{3}. Analysis of the variance of YY: We use the law of total variance Var(Y)=E[Var(YZ)]+Var(E[YZ])\text{Var}(Y) = E[\text{Var}(Y|Z)] + \text{Var}(E[Y|Z]). First, the expectation of the conditional variance: the variance of a geometric distribution is 1success prob.success prob.2\frac{1-\text{success prob.}}{\text{success prob.}^2}, so Var(YZ=1)=1qq2=10.10.12=90\text{Var}(Y|Z=1) = \frac{1-q}{q^2} = \frac{1-0.1}{0.1^2} = 90, Var(YZ=2)=1pp2=10.20.22=20\text{Var}(Y|Z=2) = \frac{1-p}{p^2} = \frac{1-0.2}{0.2^2} = 20. Substituting: E[Var(YZ)]=90×23+20×13=180+203=2003E[\text{Var}(Y|Z)] = 90 \times \frac{2}{3} + 20 \times \frac{1}{3} = \frac{180 + 20}{3} = \frac{200}{3}. Next, the variance of E[YZ]E[Y|Z]: E[YZ]E[Y|Z] takes values 10 and 5 with probabilities 23\frac{2}{3} and 13\frac{1}{3}, respectively. So E[(E[YZ])2]=102×23+52×13=200+253=75E[(E[Y|Z])^2] = 10^2 \times \frac{2}{3} + 5^2 \times \frac{1}{3} = \frac{200 + 25}{3} = 75, and (E[Y])2=(253)2=6259(E[Y])^2 = \left(\frac{25}{3}\right)^2 = \frac{625}{9}. Hence Var(E[YZ])=756259=6756259=509\text{Var}(E[Y|Z]) = 75 - \frac{625}{9} = \frac{675 - 625}{9} = \frac{50}{9}. Therefore Var(Y)=2003+509=600+509=6509\text{Var}(Y) = \frac{200}{3} + \frac{50}{9} = \frac{600 + 50}{9} = \frac{650}{9}. E[τ]=103+253=353E[\tau] = \frac{10}{3} + \frac{25}{3} = \frac{35}{3}, Var(τ)=709+6509=7209=80\text{Var}(\tau) = \frac{70}{9} + \frac{650}{9} = \frac{720}{9} = 80.

Final answer

Expectation: 353\dfrac{35}{3}, Variance: 8080

Marking scheme

The following is the grading rubric based on the official solution.


1. Checkpoints (max 7 pts total)

Select any one logical chain for grading | take the highest score among chains; do not add points across chains.

Chain A: Random Variable Decomposition Method (τ=X+Y\tau = X + Y, Official Solution)

  • Phase 1: XX (first item obtained)
  • Correctly identifying that XX follows a geometric distribution with parameter p=0.3p=0.3, and obtaining E[X]=10/3E[X] = 10/3. [1 pt]
  • Correctly computing the variance Var(X)=70/9\text{Var}(X) = 70/9. [1 pt]
  • Phase 2: Expectation of YY (obtaining the remaining item)
  • Correctly writing the conditional probabilities/weights for entering the second phase: probability 2/32/3 (p1/sp_1/s) of first obtaining item 1, probability 1/31/3 (p2/sp_2/s) of first obtaining item 2. [1 pt]
  • Using the law of total expectation to compute E[Y]=25/3E[Y] = 25/3, and hence the total expectation E[τ]=35/3E[\tau] = 35/3. [1 pt]
  • Phase 2: Variance of YY (core difficulty)
  • Correctly computing the conditional variances (90 and 20, respectively) or the conditional second moments (190 and 45, respectively). [1 pt]
  • Correctly obtaining Var(Y)=650/9\text{Var}(Y) = 650/9.
  • *Grading criterion: Must use the law of total variance (including the Var(E[YZ])\text{Var}(E[Y|Z]) term) or compute via E[Y2](E[Y])2E[Y^2] - (E[Y])^2. If only the weighted average of conditional variances piVari\sum p_i \text{Var}_i is computed, no credit for this item.* [1 pt]
  • Final result
  • Using independence Var(τ)=Var(X)+Var(Y)\text{Var}(\tau) = \text{Var}(X) + \text{Var}(Y) to obtain the correct answer 8080. [1 pt]

Chain B: Markov Chain / System of Linear Equations Method

  • Expectation equations
  • Correctly writing the system of linear equations for the expected number of steps from each state (e.g., E0,E1,E2E_0, E_1, E_2). [2 pts]
  • Solving the system to obtain the correct total expectation 35/335/3. [1 pt]
  • Variance / second moment equations
  • Correctly writing the system of equations for the second moments (E[τ2]E[\tau^2]) or variances from each state. [2 pts]
  • Solving for the key second moment values or intermediate variables. [1 pt]
  • Final result
  • Correctly computing Var(τ)=E[τ2](E[τ])2=80\text{Var}(\tau) = E[\tau^2] - (E[\tau])^2 = 80. [1 pt]

1.1 Shared Prerequisites (Cross-Chain)

  • [None] The two paths have substantially different logic; apply one of the above chains directly.

1.2 Total Score Verification

Total (max 7)


2. Zero-credit items

  • Only listing the general geometric distribution formula (e.g., E=1/pE=1/p) without performing specific computations using the probabilities 0.2,0.1,0.70.2, 0.1, 0.7 from this problem.
  • Incorrectly adding expectations directly: E[τ]=1/0.2+1/0.1E[\tau] = 1/0.2 + 1/0.1 (ignoring mutual exclusivity and the probability of no drop).
  • Merely copying the probability values from the problem with no derivation.

3. Deductions

  • Arithmetic error: Each obvious arithmetic error (not a logical error): deduct 1 pt.
  • Law of total variance misuse (logical flaw): When computing Var(Y)\text{Var}(Y), if the student only computes the weighted average of conditional variances (E[Var(YZ)]E[\text{Var}(Y|Z)]) and omits the "variance of the conditional expectation" term (Var(E[YZ])\text{Var}(E[Y|Z])), yielding Var(Y)=600/9\text{Var}(Y)=600/9 or a similar value: this is a major logical flaw; no credit for that step (already reflected in the Checkpoints; if there is score overflow, deduct 1 pt, but the minimum is 0).
  • Missing independence justification: Directly adding the variances of XX and YY without mentioning independence (or the Markov property), but the computation is otherwise correct. Given the undergraduate level, no deduction.
Ask AI ✨