Problem Solution. I initially solved this problem by simple counting; there are nine possible ways to have four empty spots adjacent to each other (0,1,…,8 to the left of the empty spaces) and ways to arrange the four empty parking spaces, leaving us with
as our probability, and indicating that this parking arrangement is slightly surprising. However, I assume that the problem is desired to be solved through the use of runs analysis, and of course, I would also like to understand it tha way. As I have been experiencing in my study for this course, there seems to always be more than one way to get the answer to a problem and nice little conversions between the ways that further one’s understanding. Awesome.
Looking at it from the perspective of runs, we have, in the language of Feller, four a’s and eight b’s with which we will always have a run of four a’s and nothing else. The different possible sequences in which we can have a run of four a’s amongst the b’s is three in number, corresponding to the a’s being all the way to the left, all the way to the right, and neither of those. 1 The number of distributions that result in these three scenarios is given by the following, making use Feller’s formula in II.5 for non-empty cell distributions.
Thus we see, as above, our probability will again be 0.018182
Solution. Assuming that we are not concerned with the distribution of the twelve tickets across the weekday on an individual basis, then we can examine the situation according to the counts of the tickets as they fall on the various days of the week. Thus we use what we learned from the discussion on ocupancy problems of II section five.
We think of the r = 12 tickets as the balls being placed in the n = 7 bins. As such, we have that the number of combinations are as follows (and I love Feller’s proof of this for the beauty of its simplicity, boiling it down to a simple arrangement of pipes and asterisks).
Furthermore, since we don’t care to distinguish between the individual tickets, then we need to count the number of possible different distributions of the twelve tickets falling on only Tuesday and Thursday. The numbers are so small they can just straight-up be counted (my initial approach), but we can also recognize that this is just another case of the number of distributions of r balls among n bins, i.e. r = 12 tickets among n = 2 days. That is, there are
ways to receive the tickets as specified, and thus a
probability of this situation happening to the professor.
Asking whether the professor’s renting a garage on the Tuesday and Thursdays is a little subjective, being dependent on how much the professor values his money and/or time (among other things, although there two seem most likely to me). It could simply cost less to just get the tickets than to always rent a garage, or similarly, the professor’s time could be so valuable that a closer, more financially costly, parking space could be worth the time gain that a cheaper farther away parking garage. It all depends on multiple (not specified here) variables.
Solution. The probability of getting at least one ace when rolling four dice is simply one minus the probability of getting no ace at all. That is,
since there are 54 ways to not roll any ones and 64 possible different outcomes.
Similarly, the probability of getting at least one snake-eyes in twenty-four rolls of two dice is one minus the probability of never getting a snake-eyes in twenty-four rolls of two dice. That is,
since one roll of two dice results in snake-eyes thrity-five out of thrity-six times and we do that twenty-four times (thus we raising to the twenty-fourth).
Solution. Here again, as in the second problem, we are evaluating distributions. Hopefully being less winded: The total number of distribution of aces among the four players is for r = 4 (balls,aces) and n = 4 (bins,players) which results in
combinations. Thus for k aces being distributed among the North and South players together, we have that
is the probability such a distribution occurs, where the binomial is the number of distributions with k aces between North and South and is the number of distributions with the 4 - k remaining aces between East and West. Thus for k = 0,1,2,3,4 we have the probabilities , , , , and , respectively. Supporting our argument is the fact that the previous probabilities sum to one.
(b) for large N this probability may be approximated by (5.3). Conclude that the r misprints are distributed in the n pages approximately in accordance with a random distribution of r balls in n cells.
A:
For the ith page, i ∈{1,2,,n} there are N characters from which to “choose” to be misprints. Hence
possible combinations of misprints. Thus over the n pages there are
different misprints resulting in the occupancy numbers r1,r2,,rn. Since we know that there are a total of r = r1 + r2 + + rn misprints over the n pages, each with N characters, this yields a total of
possible combinations of misprints. Hence we see that the occupany numbers of r1,r2,…,rn can arise with probability
B:
Problem Solution. We first note that, since we are replacing with each pick, the probability of choosing a red element each time is np∕n = p and similarly for black elements, nq∕n = q. Hence for a given sequence of r elements, the probability of choosing such a sequence is the probability of choosing the first times the probability of choosing the second times... etc. However, because of the commutivity of multiplication, we can simply count the number of red elements that were chosen, k, and the number of black elements, r -k and multiply that many p’s times that many q’s. Thus ALL sequences of choices that have the same number of red elements is a possible result with the same probability, namely pkqr-k for k red elements. Finally, multiplying this probability by the number of ways to choose the k red elements of the r choosen gives us
and the answer for which we were looking.
Problem Solution. From 4.5 of Feller chapter two, we get the following form of the binomial formula.
Thus we can attempt to maximize this equation in order to find k that yields the greatest probability. Our normal approach here would be to simply take the derivative, and we’re off to the plug-and-chug races, however, we’re in discrete world here. Hence we use a finite difference approximation to the derivative to find the maximum value, looking for where the slope of the difference is near zero. We take our difference magnitude here to be one since we are dealing with integers. Great! That makes it easier on us. So for the backward approximation we have
In a similar manner the forward difference approximation results in the following equation
which of course, along with the previous result of the backward approximation, we get our nice result of the maximum of pk result for k such that 2
Problem Solution. With Feller’s equation 4.5 in hand we evaluate what happens to
as both n and r approach infinity, but “at the same speed”, i.e. λ = r∕n is constant as mentioned in the problem. Expanding the above expression, we get the more clunky form of
Here we can see that an expansion of (r)k∕nk will result in
the trailing terms of which we don’t really care about as they will of powers of r less than k being divided by nk, i.e. they “disappear”. Hence our form has dwindled to the following.
At this point we can nix the right-most term of the denominator since it will be one, which results in
Now with a little trickery and mathemagic, we can simplify this term further. Knowing that
we can morph (1 - 1∕n)r into
leaving us with our final form of the initial term,
Problem Solution. We can expand the numerator and denomenators to result in the following since they are a common result of diving some factorial of a number by the factorial of a lesser number, neglecting the reverse-ordering-trick with which Feller tried to “git us”.
At this point, the direction of our simplification depends on the relative values of a and b. If a < b then we have this (minus the a!) b - a-factored-numerator term
| (9.1) |
or if b < a then our result is this term with, not counting the b!, a - b factors in the numerator
| (9.2) |
Thus equation 9.1 contains a product in the numerator that is always greater than or equal to na-b and equation 9.2 contains a product in its denominator which is always greater than or equal to nb-a. Hence we are given the following inequalities.
which of course gives us that
with its degree of similarity only being governed by the magnitude of the difference between a and b.