Question
During a roof test, three automatic sprinklers switch on independently. Sprinkler A activates with probability 1/2 and wets panels 1, 2 and 3. Sprinkler B activates with probability 2/5 and wets panels 3 and 4. Sprinkler C activates with probability 1/4 and wets panels 2, 4 and 5.
A contractor pays the maintenance team $20 for each of the five panels that gets wet at least once. A panel hit by two sprinklers still earns only $20. What is the team's expected total payment?
Get hint
Hint 1
Assign a separate indicator to each panel: it equals one if at least one sprinkler covering that panel is switched on.
Check your answer
Solution
Let \(I_j=1\) when panel \(j\) becomes wet at least once. The total payment is \(20\sum_{j=1}^5 I_j\). Linearity of expectation gives \(E[\text{payment}]=20\sum_j\Pr(I_j=1)\), without needing the panel-wetting events themselves to be independent.
Panel 1 is covered only by A, so its wet probability is \(1/2\). Panel 2 is covered by A and C, so its wet probability is \(1-(1-1/2)(1-1/4)=1-3/8=5/8\). Panel 3 is covered by A and B, with probability \(1-(1/2)(3/5)=7/10\). Panel 4 is covered by B and C, giving \(1-(3/5)(3/4)=11/20\). Panel 5 is covered only by C, with probability \(1/4\).
Thus the expected number of different panels wetted is
\[\frac12+\frac58+\frac7{10}+\frac{11}{20}+\frac14=\frac{21}{8}=2.625,\]
and expected payment equals \(20(21/8)=\boxed{\$52.50}\). It would be wrong to add the numbers of panels in the three sprinkler lists, since that would pay twice for overlapped coverage.
For a direct check over the eight independent activation combinations (A,B,C), the expected number of unique covered panels also equals \(\sum_{a,b,c\in\{0,1\}}\Pr(A=a)\Pr(B=b)\Pr(C=c)|S_a\cup S_b\cup S_c|\), where an inactive sprinkler contributes the empty set. This enumeration yields the same \(21/8\).
Assumptions
Sprinkler activations A, B and C are mutually independent Bernoulli events.
Each active sprinkler covers exactly its specified panels; an inactive one covers none.
Payment is per distinct wetted panel, not per sprinkler-panel encounter.
Final Answer
$52.50 in expected total payment.