MathIsimple

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

Question

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

Step-by-step solution

Each kill has three mutually exclusive and exhaustive outcomes: equipment 1 drops (probability p=0.2p=0.2), equipment 2 drops (probability q=0.1q=0.1), or no equipment drops (probability r=0.7r=0.7), and all kills are mutually independent. Define XX as the number of kills needed until the first drop of either equipment 1 or equipment 2, and YY as the number of additional kills needed after obtaining one piece of equipment 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). Step 1. Analysis of the distribution of XX: XX is the number of kills until the first "success," where "success" means dropping equipment 1 or equipment 2, with success probability s=p+q=0.2+0.1=0.3s = p + q = 0.2 + 0.1 = 0.3. Thus XX follows a geometric distribution with parameter s=0.3s=0.3 (defined by P(X=k)=(1s)k1sP(X=k) = (1-s)^{k-1}s, k=1,2,k=1,2,\dots), whose expectation is E[X]=1sE[X] = \frac{1}{s} and variance is Var(X)=1ss2\text{Var}(X) = \frac{1-s}{s^2}. Substituting s=0.3s=0.3 gives E[X]=10.3=103E[X] = \frac{1}{0.3} = \frac{10}{3} and 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}. Step 2. Analysis of E[Y]E[Y] via the law of total expectation: Let ZZ denote the type of equipment obtained first (Z=1Z=1 for equipment 1, Z=2Z=2 for equipment 2). Then P(Z=1)=ps=0.20.3=23P(Z=1) = \frac{p}{s} = \frac{0.2}{0.3} = \frac{2}{3} and 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 the first drop of equipment 2, with per-trial success probability q=0.1q=0.1, so the geometric expectation is 1q\frac{1}{q}; when Z=2Z=2, we need the first drop of equipment 1, with per-trial success probability p=0.2p=0.2, so the geometric expectation is 1p\frac{1}{p}. Thus E[YZ=1]=10.1=10E[Y|Z=1] = \frac{1}{0.1} = 10 and 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}. Step 3. Analysis of Var(Y)\text{Var}(Y) via 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, compute the expected conditional variance: the variance of a geometric distribution is 1psuccesspsuccess2\frac{1 - p_{\mathrm{success}}}{p_{\mathrm{success}}^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 and 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. Thus 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, compute the variance of E[YZ]E[Y|Z]: the possible values of E[YZ]E[Y|Z] are 10 and 5, with probabilities 23\frac{2}{3} and 13\frac{1}{3} respectively. Thus 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}, so 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}. Step 4. E[τ]=103+253=353E[\tau] = \frac{10}{3} + \frac{25}{3} = \frac{35}{3}, and 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 an undergraduate-level mathematics marking scheme based on the official solution.


1. Checkpoints (Total: 7 points)

Choose any one of the following logical chains for grading | Take the highest score among chains; do not combine scores across chains

Chain A: Random Variable Decomposition (τ=X+Y\tau = X + Y, official solution)

  • Phase 1: XX (first acquisition of any equipment)
  • Correctly identifies that XX follows a geometric distribution with parameter p=0.3p=0.3 and obtains E[X]=10/3E[X] = 10/3. [1 point]
  • Correctly computes the variance Var(X)=70/9\text{Var}(X) = 70/9. [1 point]
  • Phase 2: Expectation of YY (obtaining the remaining equipment)
  • Correctly writes the conditional probabilities/weights for entering Phase 2: the probability that equipment 1 is obtained first is 2/32/3 (p1/sp_1/s), and the probability that equipment 2 is obtained first is 1/31/3 (p2/sp_2/s). [1 point]
  • Uses the law of total expectation to compute E[Y]=25/3E[Y] = 25/3, and thereby obtains the total expectation E[τ]=35/3E[\tau] = 35/3. [1 point]
  • Phase 2: Variance of YY (core difficulty)
  • Correctly computes the conditional variances (respectively 90,2090, 20) or the conditional second moments (respectively 190,45190, 45). [1 point]
  • Correctly obtains Var(Y)=650/9\text{Var}(Y) = 650/9.
  • *Grading note: 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 the student only computes the weighted average of conditional variances piVari\sum p_i \text{Var}_i, this point is not awarded.* [1 point]
  • Final result
  • Uses independence Var(τ)=Var(X)+Var(Y)\text{Var}(\tau) = \text{Var}(X) + \text{Var}(Y) to obtain the correct answer 8080. [1 point]

Chain B: Markov Chain / System of Linear Equations

  • System of equations for expectations
  • Correctly sets up 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 points]
  • Solves the system to obtain the correct total expectation 35/335/3. [1 point]
  • System of equations for variance/second moments
  • Correctly sets up the system of equations for the second moments (E[τ2]E[\tau^2]) or variances from each state. [2 points]
  • Solves for the key second-moment values or intermediate quantities. [1 point]
  • Final result
  • Correctly computes Var(τ)=E[τ2](E[τ])2=80\text{Var}(\tau) = E[\tau^2] - (E[\tau])^2 = 80. [1 point]

1.1 Shared Prerequisites (Cross-Chain)

  • [None] The two chains for this problem differ substantially in logic; apply one of the chains above directly.

1.2 Total Score Verification

Total (max 7)


2. Zero-Score Conditions

  • Only states the general formula for the geometric distribution (e.g., E=1/pE=1/p) without performing any concrete computation using the probabilities 0.2,0.1,0.70.2, 0.1, 0.7 from this problem.
  • Incorrectly adds expectations naively: E[τ]=1/0.2+1/0.1E[\tau] = 1/0.2 + 1/0.1 (ignoring mutual exclusivity and the probability of no drop).
  • Merely copies the probability values from the problem statement with no derivation.

3. Deductions

  • Arithmetic errors: For each obvious arithmetic error (not a logical error), deduct 1 point.
  • Misapplication of the law of total variance (logical flaw): When computing Var(Y)\text{Var}(Y), if the student only computes the weighted average of conditional variances (i.e., 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 constitutes a major logical gap. The corresponding checkpoint receives no credit (already reflected in the checkpoints above; if there is score overflow, deduct 1 point, but the total shall not fall below 0).
  • Missing justification of independence: Directly adding the variances of XX and YY without mentioning independence (or the Markov property), but with otherwise correct computations. Given the undergraduate level, no deduction.
Ask AI ✨