Problem 1.13 Easy Free 6 variations

Allocating Identical Units

A fund manager must allocate exactly $50 million among five labelled asset classes (equity options, commodity futures, fixed income, FX, and cryptocurrencies), in whole-million increments, with no restriction on how much (including zero) goes to each class. For example, one allocation (in millions) is (25,15,5,5,0)(25,15,5,5,0). In how many ways can the $50 million be allocated?

Work it out, then compare with the answer.

SolutionShow the worked solution

Write xi≥0x_i\ge 0 for the number of millions placed in class ii. An allocation is then a solution in non-negative integers of

x1+x2+x3+x4+x5=50.x_1+x_2+x_3+x_4+x_5=50 .

Each solution matches exactly one row of 5050 stars and 44 bars. The stars before the first bar count x1x_1. The stars between the first and second bars count x2x_2, and so on. Adjacent bars, or a bar at either end, give a zero allocation. The example (25,15,5,5,0)(25,15,5,5,0) is twenty-five stars, a bar, fifteen stars, a bar, five stars, a bar, five stars and a final bar.

Conversely, every row of 5454 symbols with exactly 44 bars gives one allocation. So we only need to choose which 44 of the 5454 positions hold bars:

(544)=54⋅53⋅52⋅5124=316 251.\binom{54}{4}=\frac{54\cdot 53\cdot 52\cdot 51}{24}=316\,251 .
(544)=316 251\boxed{\binom{54}{4}=316\,251}

Generalisation. nn identical units can be placed in kk labelled boxes in (n+k−1k−1)\binom{n+k-1}{k-1} ways.

Variations

The same idea with a twist. Each solution gives only the changed step.

Variation 1.13a

A fund manager must allocate exactly $75 million among five labelled asset classes (equity options, commodity futures, fixed income, event contracts, and cryptocurrencies), in whole-million increments, with each class receiving at least $5 million. In how many ways can the $75 million be allocated?

Work it out, then compare with the answer.

Solution

First give each class its $5 million floor. That uses $25 million and leaves $50 million with no restriction. Write yi=xi−5≥0y_i=x_i-5\ge 0, so that y1+⋯+y5=50y_1+\dots+y_5=50. This is exactly the main problem:

(544)=316 251\boxed{\binom{54}{4}=316\,251}
Variation 1.13b

In how many ways can 2525 be written as an ordered sum of three positive integers?

Work it out, then compare with the answer.

Solution

Put yi=xi−1≥0y_i=x_i-1\ge 0. Then y1+y2+y3=22y_1+y_2+y_3=22, and stars and bars gives

(242)=276\boxed{\binom{24}{2}=276}
Variation 1.13c

A babysitter has 1212 identical units of food to distribute among 1010 children, but decides to give food to only 44 of them, leaving the other 66 with none. In how many ways can she choose which 44 children receive food and distribute the 1212 units among them so that each of those 44 receives at least 11 unit?

Work it out, then compare with the answer.

Solution

There are (104)=210\binom{10}{4}=210 ways to choose the four children who are fed.

For those four, give each child one unit first. The remaining 88 units are then distributed freely among 44 children, in (113)=165\binom{11}{3}=165 ways.

The two choices are independent, so the total is

210⋅165=34 650\boxed{210\cdot 165=34\,650}
Variation 1.13d

How many solutions in odd non-negative integers (i.e. positive odd integers) are there to x1+x2+x3+x4+x5+x6=96x_1+x_2+x_3+x_4+x_5+x_6=96? Writing the count as (nk)\binom{n}{k} with k<n/2k<n/2, find nknk.

Work it out, then compare with the answer.

Solution

Write each odd variable as xi=2ki+1x_i=2k_i+1 with ki≥0k_i\ge 0. The equation becomes 2(k1+⋯+k6)+6=962(k_1+\dots+k_6)+6=96, that is,

k1+⋯+k6=45.k_1+\dots+k_6=45 .

Stars and bars gives (505)=2 118 760\binom{50}{5}=2\,118\,760 solutions. In this form n=50n=50 and k=5k=5, which satisfies k<n/2k<n/2. Hence

nk=250\boxed{nk=250}
Variation 1.13e

A teacher buys 5050 chicken nuggets to split among four students, Alice, Bob, Carol, and Dave. Bob, Carol, and Dave each want at least 66 nuggets, and Alice wants at least 1818 nuggets; separately, each student is “satisfied” with the split as long as they receive at least 55 nuggets. The teacher partitions the 5050 nuggets into four (possibly empty before accounting for the 55-nugget floor) piles, one per student, with every valid partition equally likely. Given that every student receives at least 55 nuggets, what is the probability that Bob, Carol, and Dave each have at least 66 and Alice has at least 1818? Express the probability as (ab)/(cd)\binom{a}{b}/\binom{c}{d} and find the minimum possible value of a+2b+c+2da+2b+c+2d.

Work it out, then compare with the answer.

Solution

Every ordered split (xA,xB,xC,xD)(x_A,x_B,x_C,x_D) of 5050 into non-negative parts is equally likely. The desired event (Alice ≥18\ge 18, the others ≥6\ge 6) is contained in the conditioning event (everyone ≥5\ge 5). The conditional probability is therefore a ratio of two counts.

  • Everyone at least 55. Remove 4⋅5=204\cdot 5=20 nuggets, leaving 3030 to share freely: (333)=5456\binom{33}{3}=5456 splits.
  • The desired event. Remove 18+3⋅6=3618+3\cdot 6=36 nuggets, leaving 1414 to share freely: (173)=680\binom{17}{3}=680 splits.

So

P=(173)(333)=85682≈0.125.\mathbb{P}=\frac{\binom{17}{3}}{\binom{33}{3}}=\frac{85}{682}\approx 0.125 .

Using the smaller lower index in each binomial gives (a,b,c,d)=(17,3,33,3)(a,b,c,d)=(17,3,33,3). Then

a+2b+c+2d=62\boxed{a+2b+c+2d=62}
Variation 1.13f

Fix an integer N>0N>0 and let X1,X2,X3X_1,X_2,X_3 be independent, each uniform on {0,1,…,N}\{0,1,\dots,N\}. Let pN=P[X1+X2+X3=N]p_N=\mathbb{P}[X_1+X_2+X_3=N]. Find lim⁡N→∞NpN\lim_{N\to\infty} N p_N, or state that it does not exist.

Work it out, then compare with the answer.

Solution

Every non-negative solution of x1+x2+x3=Nx_1+x_2+x_3=N automatically has each xi≤Nx_i\le N. So the favourable outcomes are all of these solutions, and there are (N+22)\binom{N+2}{2} of them. Out of (N+1)3(N+1)^3 equally likely triples,

pN=(N+2)(N+1)2(N+1)3=N+22(N+1)2.p_N=\frac{(N+2)(N+1)}{2(N+1)^3}=\frac{N+2}{2(N+1)^2}.

Multiplying by NN,

NpN=N(N+2)2(N+1)2→12.Np_N=\frac{N(N+2)}{2(N+1)^2}\to\frac12 .

So the limit exists and

lim⁡N→∞NpN=12\boxed{\lim_{N\to\infty}Np_N=\tfrac12}