Problem 8.23 Easy Free 2 variations

Maximum of Uniforms in an Interval

Let X1,X2,X3,X4X_1,X_2,X_3,X_4 be independent Unif(0,4)\mathrm{Unif}(0,4) random variables. Find the probability that max⁡(X1,X2,X3,X4)\max(X_1,X_2,X_3,X_4) lies in the interval (2,3](2,3].

Work it out, then compare with the answer.

SolutionShow the worked solution

Let M=max⁡(X1,X2,X3,X4)M=\max(X_1,X_2,X_3,X_4). The event {M≤x}\{M\le x\} is the event that every Xi≤xX_i\le x. For 0≤x≤40\le x\le 4, independence gives

P(M≤x)=∏i=14P(Xi≤x)=(x4)4.\mathbb{P}(M\le x)=\prod_{i=1}^4\mathbb{P}(X_i\le x)=\left(\frac{x}{4}\right)^4 .

Since {M≤2}⊆{M≤3}\{M\le 2\}\subseteq\{M\le 3\},

P(2<M≤3)=P(M≤3)−P(M≤2)=34−2444=81−16256.\mathbb{P}(2<M\le 3)=\mathbb{P}(M\le 3)-\mathbb{P}(M\le 2)=\frac{3^4-2^4}{4^4}=\frac{81-16}{256}.
65256≈0.254\boxed{\dfrac{65}{256}\approx 0.254}

Key idea. The CDF of a maximum of i.i.d. variables is the common CDF raised to the nn-th power. The probability of an interval is therefore a difference of two such powers.

Variations

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

Variation 8.23a

You and two friends each receive a stick of gum from a dispenser that produces a length uniformly and independently distributed on [0,3][0,3]. You are given the shortest of the three sticks. Find the probability that your stick’s length lies between 11 and 22.

Work it out, then compare with the answer.

Solution

Let L=min⁡(Y1,Y2,Y3)L=\min(Y_1,Y_2,Y_3) with YiY_i i.i.d. Unif(0,3)\mathrm{Unif}(0,3). The event {L>x}\{L>x\} is the event that every Yi>xY_i>x. For 0≤x≤30\le x\le 3 this gives P(L>x)=(3−x3)3\mathbb{P}(L>x)=\left(\frac{3-x}{3}\right)^3.

Endpoints carry zero probability because LL is continuous. Hence

P(1<L<2)=P(L>1)−P(L>2)=(23)3−(13)3=8−127.\mathbb{P}(1<L<2)=\mathbb{P}(L>1)-\mathbb{P}(L>2)=\left(\tfrac{2}{3}\right)^3-\left(\tfrac{1}{3}\right)^3=\frac{8-1}{27}.
727≈0.259\boxed{\dfrac{7}{27}\approx 0.259}
Variation 8.23b

Three fair six-sided dice are rolled independently. Find the probability that the largest value shown is exactly 44.

Work it out, then compare with the answer.

Solution

Let MM be the largest of the three values. By independence, P(M≤k)=(k/6)3\mathbb{P}(M\le k)=(k/6)^3. Since MM is integer-valued,

P(M=4)=P(M≤4)−P(M≤3)=43−3363=64−27216.\mathbb{P}(M=4)=\mathbb{P}(M\le 4)-\mathbb{P}(M\le 3)=\frac{4^3-3^3}{6^3}=\frac{64-27}{216}.
37216≈0.171\boxed{\dfrac{37}{216}\approx 0.171}