Suppose you have the board below, which starts with a row with six pins (and five slots), followed by a row with five pins (and six slots), and then back to six pins in an alternating pattern. Balls are only allowed to enter through the middle three slots on top.
Your goal is to create a trapezoidal distribution along one of the rows with six slots, which have been highlighted with dotted lines in the diagram above. More precisely, the frequency of balls passing through the six slots from left to right should be x−y,x,x+y,x+y,x,x−y, for some values of x and y with x≥y.
Suppose the ratio by which you drop balls into the top three middle slots, from left to right, is a:b:c, with a+b+c=1. Find all ordered triples (a,b,c) that result in a trapezoidal distribution in at least one row with six slots.
As opposed to the classic bean machine, let's go back to assuming that beans have an equal probability of going either to the left or the right. In this case, given that we want to end up with a symmetric probability distribution, we can reasonably deduce that a=c. In this case, we then can reduce the dimensionality by also recognizing that a+b+c=2a+b=1, that is, b=1−2a.
Let's define π(k)i as the probability of a bean passing through ith slot from the left on the kth dotted line row from the top. We can set up a recurrence formula by going through the various routes from one row to the next. In particular, we get π(k+1)1=12π(k)1+14π(k)2π(k+1)2=12π(k)1+12π(k)2+14π(k)3π(k+1)3=14π(k)2+12π(k)3+14π(k)4π(k+1)4=14π(k)3+12π(k)4+14π(k)5π(k+1)5=14π(k)4+12π(k)5+12π(k)6π(k+1)6=14π(k)5+12π(k)6
For the first dotted line, given ordered triples of (a,1−2a,a), we have π(1)=(0,a2,1−a2,1−a2,a2,0).
Going further, we get π(4)=(8a+7128,5a+22128,35−13a128,35−13a128,5a+22128,8a+7128).
Therefore, the only possible ordered triples that result in a trapezoidal distribution are (13,13,13) and (16,23,16).
No comments:
Post a Comment