Task:
On a tiny remote island where the death sentence still exists a man can be granted mercy after receiving the death sentence
He is given 18 red balls and 6 green balls
He must divide them between 3 boxes with at least one ball in each
He is blindfolded and must choose a box at random and then a single ball from within the box. He only receives mercy if a red ball is chosen
Find the probability that he receives mercy when he distributes the balls in the most favorable manner.
Solution:
Suppose that a man placed r1,r2 and r3 red balls in the 1st, 2nd and 3rd boxes respectively. And g1,g2,g3 green balls in the 1st, 2nd and 3rd boxes respectively (gi,ri are non-negative whole numbers). We have that
(1) r1+r2+r3=18,
(2) g1+g2+g3=6.
(3) r1+g2>0,i=1,2,3.
Denote a valid distribution as d, d=d(r1,r2,r3,g1,g2,g3) is defined by r1,r2,r3,g1,g2,g3, for which (1)-(3) are right. The probability that a man receives mercy is P(d)=31r1+g1r1+31r2+g2r2+31r3+g3r3=31(r1+g1r1+r2+g2r2+r3+g3r3).
Call the balls distribution d0 optimal if P(d0)=maxdP(d)=P0.
Then
1) P0≥1110. Proof: P0≥P(d(16,1,1,6,0,0))=31(16+616+1+01+1+01)=31(118+2)=311130=1110.
2) r1,r2,r3≥1, because otherwise P(d0)≤31(1+1+0)=32≤1110.
3) For 1<a≤b, 1<c≤d, ba+dc≤b+d−1a+c−1+1.
Proof: inequality is equivalent to ba(b+d−1)+dc(b+d−1)≤a+b+c+d−2
a+abd−ba+c+cdb−dc≤a+b+c+d−2ba(d−1)+dc(b−1)≤b+d−2
But a≤b and c≤d, therefore, ba(d−1)+dc(b−1)≤d−1+b−1=b+d−2.
Therefore, ba(d−1)+dc(b−1)≤b+d−2 is right and ba+dc≤b+d−1a+c−1+1 is right.
4) Using 3): P(d)=31(r1+g1r1+r2+g2r2+r3+g3r3)≤31(r1+g1r1+r2+g2+r3+g3−1r2+r3−1+1)≤
31(r1+g1+r2+g2+r3+g3−2r1+r2+r3−2+2)=31(16+616+2)=1110.
5) 1) and 4) ⇒P0=1110.
Answer: 1110.
Comments