StatisticsBinomial and Other Distributions5 of 5
Binomial and Other Distributions · 5

Continuous Random Variables

When we stop counting how many events happen and start measuring a continuous quantity like waiting time, we can no longer put probability on individual whole numbers.

1

Continuous Random Variables and Density Curves

Suppose a bus arrives randomly sometime between 0\wait{0} and 10\wait{10} minutes from now. We want to find the probability that your waiting time X\wait{X} is an exact instant like 4\wait{4} minutes.

Continuous Random Variables and Density Curves
00
11
22
33
4\htmlClass{lc-blue}{4}
55
66
77
88
99
1010
waiting time X\text{waiting time } \htmlClass{lc-blue}{X}
P(X=4)= ?P(\htmlClass{lc-blue}{X} = \htmlClass{lc-blue}{4}) = \,?

Because 100%\area{100\%} of the probability is spread across a continuous number line as an area of 1\area{1} under a density curve, probability is the area over an interval rather than the height at a single point:

P(X=4)=0andP(X<4)=P(X≤4)\displaystyle \begin{aligned} P(\wait{X} = \wait{4}) &= \area{0} \qquad \text{and} \\ P(\wait{X} < \wait{4}) &= P(\wait{X} \le \wait{4}) \end{aligned}

So the probability of waiting exactly 4\wait{4} minutes is 0\area{0}, and including or excluding the boundary line at 4\wait{4} adds zero area and never changes the probability.

As an interval under the density curve narrows toward 4\wait{4}, its shaded area shrinks along with its width and reaches 0\area{0} the instant the two edges meet on a single vertical line.

A slice under the curve needs width to have any area, so a single point has zero probability.
2

The Uniform Distribution

To compute the area of a slice under a density curve, we need the curve's shape. When a continuous waiting time X\wait{X} is equally likely anywhere between two fixed endpoints a\wait{a} and b\wait{b}, like a bus running on a strict loop, the density curve is a flat rectangle called a Uniform distribution.

The Uniform Distribution
00
11
22
33
44
55
66
77
88
99
1010
area=1\htmlClass{lc-green}{\text{area} = 1}
?\htmlClass{lc-blue}{?}

Because the rectangle's total area is 1\area{1}, its height, its balance point (the mean μX\mean{\mu_X}), and its spread (the standard deviation σX\sd{\sigma_X}) all come straight from the endpoints a\wait{a} and b\wait{b}:

Height=1b−a⏟total widthμX=a+b2⏟center of [a,b]σX=b−a12\displaystyle \begin{aligned} &\height{\text{Height}} = \height{\frac{1}{\underbrace{\width{b - a}}_{\width{\text{total width}}}}} \\[4pt] &\underbrace{\mean{\mu_X} = \frac{\wait{a} + \wait{b}}{2}}_{\mean{\text{center of }} [\wait{a}, \wait{b}]} \\[4pt] &\sd{\sigma_X} = \frac{\width{b - a}}{\sqrt{12}} \end{aligned}
120\htmlClass{lc-blue}{\dfrac{1}{20}}
00
a=4\htmlClass{lc-blue}{a = 4}
18\htmlClass{lc-blue}{18}
b=24\htmlClass{lc-blue}{b = 24}
μX=14\htmlClass{lc-violet}{\mu_X = 14}
70%\htmlClass{lc-green}{70\%}
slice width 14\htmlClass{lc-pink}{\text{slice width } 14}
total width 20\htmlClass{lc-pink}{\text{total width } 20}
Text solution
Slice probability from 2 to 6 minutes (on a 0-to-10 minute bus loop)Because the rectangle has a flat top, the area of any slice is simply the slice width divided by the total width.
P(2<X<6)=6−210−0=410=0.40\displaystyle \begin{aligned} P(\wait{2} < \wait{X} < \wait{6}) &= \frac{\width{6 - 2}}{\width{10 - 0}} \\ &= \area{\frac{4}{10}} = \area{0.40} \end{aligned}
70th percentile of train wait times (from a=4\wait{a = 4} to b=24\wait{b = 24} minutes)Take 70%\area{70\%} of the total width and add that distance to the starting point a=4\wait{a = 4}.
4+0.70(24−4)=4+14=18 minutes\displaystyle \begin{aligned} \wait{4} + \area{0.70}\width{(24 - 4)} &= \wait{4} + \width{14} \\ &= \wait{18}\text{ minutes} \end{aligned}
Mean and standard deviation (on a 0-to-10 minute bus loop)Average the two endpoints to find the center where the rectangle balances, and divide the total width by 12\sqrt{12} to measure the spread.
μX=0+102=5 minutesσX=10−012≈2.89 minutes\displaystyle \begin{aligned} \mean{\mu_X} &= \frac{\wait{0} + \wait{10}}{2} = \mean{5}\text{ minutes} \\ \sd{\sigma_X} &= \frac{\width{10 - 0}}{\sqrt{12}} \approx \sd{2.89}\text{ minutes} \end{aligned}

As the upper endpoint b\wait{b} moves farther from a\wait{a} or closer to it, the rectangle's height 1b−a\height{\tfrac{1}{\width{b - a}}} drops or rises so the total area stays 1\area{1}, while the balance point μX\mean{\mu_X} stays halfway between a\wait{a} and b\wait{b}.

Because the rectangle always holds a total area of 1, stretching its base wider forces its height down while its balance point stays centered.
3

The Exponential Distribution: Rate and Average Wait

A flat rectangle works when a schedule forces the wait to end by time b\wait{b}, but it doesn't work when events happen completely at random with no schedule at all. To model the waiting time X\wait{X} until the next random arrival, such as a customer walking in or a shooting star flashing across the sky, we use the Exponential distribution.

The Exponential Distribution: Rate and Average Wait
rate λaverage wait μX= ?\text{rate } \htmlClass{lc-blue}{\lambda} \qquad \text{average wait } \htmlClass{lc-violet}{\mu_X} = \,?
Poisson: rate λ\text{Poisson: rate } \htmlClass{lc-blue}{\lambda}
3 in 1 hour\htmlClass{lc-blue}{3} \text{ in 1 hour}
Exponential: average wait μX=1λ\text{Exponential: average wait } \htmlClass{lc-violet}{\mu_X} = \dfrac{1}{\htmlClass{lc-blue}{\lambda}}
X\htmlClass{lc-blue}{X}
00
1 h1\text{ h}
2 h2\text{ h}
3 h3\text{ h}

Counting arrivals in a fixed window and timing the wait until the next arrival measure the same random process in opposite ways. That makes the Poisson rate λ\rate{\lambda} and the Exponential average wait μX\mean{\mu_X} reciprocals of each other, with a standard deviation equal to the average wait:

μX⏟average wait=1λ⏟rateλ=1μXσX=μX\displaystyle \begin{aligned} \underbrace{\mean{\mu_X}}_{\mean{\text{average wait}}} &= \frac{1}{\underbrace{\rate{\lambda}}_{\rate{\text{rate}}}} \\ \rate{\lambda} &= \frac{1}{\mean{\mu_X}} \\ \sd{\sigma_X} &= \mean{\mu_X} \end{aligned}
Text solution
Match the time unit (6 emails per hour to minutes)Convert the given arrival rate into the same time unit as the waiting time before calculating anything else.
λ\displaystyle \rate{\lambda} =6 emails60 minutes\displaystyle = \frac{\rate{6\text{ emails}}}{60\text{ minutes}} =0.1 per minute\displaystyle = \rate{0.1}\text{ per minute}
Flip the rate for the average wait and standard deviationTake the reciprocal of the per-minute rate to get the average wait in minutes, which also gives the standard deviation.
μX=10.1=10 minutesσX=μX=10 minutes\displaystyle \begin{aligned} \mean{\mu_X} &= \frac{1}{\rate{0.1}} = \mean{10}\text{ minutes} \\ \sd{\sigma_X} &= \mean{\mu_X} = \sd{10}\text{ minutes} \end{aligned}
4

Finding Exponential Probabilities with the Right Tail

Because the Exponential density curve slopes downward forever to the right instead of staying flat, we can't use width times height. Instead, we find areas under the curve using a single formula for the area in the right tail past time t\wait{t}.

Finding Exponential Probabilities with the Right Tail
00
1010
2020
3030
4040
t\htmlClass{lc-blue}{t}
P(X>t)= ?P(\htmlClass{lc-blue}{X} > \htmlClass{lc-blue}{t}) = \,?

The probability that you are still waiting past time t\wait{t} decays exponentially with the number of average waits you have waited:

P(X>t)\displaystyle P(\wait{X} > \wait{t}) =e−λt⏟right tail\displaystyle = \underbrace{\area{e^{-\rate{\lambda} \wait{t}}}}_{\area{\text{right tail}}} =e−t/μX⏟average waits\displaystyle = \area{e^{-\underbrace{\wait{t} / \mean{\mu_X}}_{\scriptstyle\text{average waits}}}}
P(X>20)P(\htmlClass{lc-blue}{X} > \htmlClass{lc-blue}{20})
00
55
μX=10\htmlClass{lc-violet}{\mu_X = 10}
20\htmlClass{lc-blue}{20}
2525
e−2\htmlClass{lc-green}{e^{-2}}
P(X<5)P(\htmlClass{lc-blue}{X} < \htmlClass{lc-blue}{5})
00
5\htmlClass{lc-blue}{5}
μX=10\htmlClass{lc-violet}{\mu_X = 10}
2020
2525
e−0.5\htmlClass{lc-green}{e^{-0.5}}
1−e−0.51 - \htmlClass{lc-green}{e^{-0.5}}
P(5<X<20)P(\htmlClass{lc-blue}{5} < \htmlClass{lc-blue}{X} < \htmlClass{lc-blue}{20})
00
5\htmlClass{lc-blue}{5}
μX=10\htmlClass{lc-violet}{\mu_X = 10}
20\htmlClass{lc-blue}{20}
2525
e−0.5−e−2\htmlClass{lc-green}{e^{-0.5}} - \htmlClass{lc-green}{e^{-2}}
e−2\htmlClass{lc-green}{e^{-2}}
Text solution
Right tail past 20 minutes (λ=0.1\rate{\lambda = 0.1} per minute, μX=10\mean{\mu_X = 10} minutes)Plug t=20\wait{t = 20} directly into the right-tail formula to find the probability of waiting more than 2\rate{2} average waits.
P(X>20)=e−0.1(20)=e−2≈0.135\displaystyle \begin{aligned} P(\wait{X} > \wait{20}) &= \area{e^{-\rate{0.1}(\wait{20})}} \\ &= \area{e^{-2}} \approx \area{0.135} \end{aligned}
Left area within the first 5 minutesFind the right tail past 5\wait{5} minutes and subtract it from the total curve area of 1\area{1}.
P(X<5)=1−e−5/10=1−e−0.5≈1−0.607=0.393\displaystyle \begin{aligned} P(\wait{X} < \wait{5}) &= \area{1} - \area{e^{-\wait{5}/\mean{10}}} \\ &= \area{1} - \area{e^{-0.5}} \\ &\approx \area{1} - \area{0.607} = \area{0.393} \end{aligned}
Slice between 5 and 20 minutesTake the larger right tail starting at 5\wait{5} and subtract the smaller right tail starting at 20\wait{20} that you want to remove.
P(5<X<20)=e−0.5−e−2≈0.6065−0.1353=0.4712\displaystyle \begin{aligned} P(\wait{5} < \wait{X} < \wait{20}) &= \area{e^{-0.5}} - \area{e^{-2}} \\ &\approx \area{0.6065} - \area{0.1353} \\ &= \area{0.4712} \end{aligned}
5

Exponential Median and Percentiles

Now let's go backwards: when we are given a percentage of waits, like the median (50\area{50}th percentile) or the 80\area{80}th percentile, we want to solve for the cutoff time t\wait{t} on the horizontal axis.

Exponential Median and Percentiles
00
2020
3030
4040
μX=10\htmlClass{lc-violet}{\mu_X = 10}
50% ?\htmlClass{lc-green}{50\%\,?}
50% ?\htmlClass{lc-green}{50\%\,?}
median= ?\htmlClass{lc-blue}{\text{median}} = \,?
Text solution
Median wait (λ=0.1\rate{\lambda = 0.1} per minute, 50%\area{50\%} in the right tail)Set the right-tail formula equal to 0.50\area{0.50} and take the natural log of both sides to bring t\wait{t} down out of the exponent.
e−0.1t=0.50  ⟹  −0.1t=ln⁡(0.50)  ⟹  t=ln⁡(0.50)−0.1≈6.93 minutes\displaystyle \begin{aligned} && \area{e^{-\rate{0.1}\wait{t}}} &= \area{0.50} \\ \implies && \rate{-0.1}\wait{t} &= \ln(\area{0.50}) \\ \implies && \wait{t} &= \frac{\ln(\area{0.50})}{\rate{-0.1}} \\ &&& \approx \wait{6.93}\text{ minutes} \end{aligned}
80th percentile wait (20%\area{20\%} in the right tail)Subtract 0.80\area{0.80} from 1\area{1} to get the area in the right tail (0.20\area{0.20}), then set e−0.1t\area{e^{-\rate{0.1}\wait{t}}} equal to 0.20\area{0.20} and take the natural log.
e−0.1t=1−0.80=0.20  ⟹  −0.1t=ln⁡(0.20)  ⟹  t=ln⁡(0.20)−0.1≈16.09 minutes\displaystyle \begin{aligned} && \area{e^{-\rate{0.1}\wait{t}}} &= \area{1} - \area{0.80} = \area{0.20} \\ \implies && \rate{-0.1}\wait{t} &= \ln(\area{0.20}) \\ \implies && \wait{t} &= \frac{\ln(\area{0.20})}{\rate{-0.1}} \\ &&& \approx \wait{16.09}\text{ minutes} \end{aligned}

Because most of the area is piled up near 0\wait{0} and rare long waits stretch out the right tail, the median (6.93\wait{6.93} minutes) always sits well to the left of the average wait (μX=10\mean{\mu_X = 10} minutes).

Because the exponential curve has most of its area near zero, the 50–50 area split happens well to the left of the average wait.
6

The Memoryless Property

What if you have already waited 15\elapsed{15} minutes for a shooting star (μX=10\mean{\mu_X = 10} minutes) and nothing has happened yet? We want to find the conditional probability that you have to wait at least 5\wait{5} more minutes (past 20\wait{20} minutes total).

The Memoryless Property
00
1010
2020
3030
4040
5\htmlClass{lc-blue}{5}
15 min, no star\htmlClass{lc-orange}{\text{15 min, no star}}
μX=10P(X>20∣X>15)= ?\begin{aligned} \htmlClass{lc-violet}{\mu_X} &= \htmlClass{lc-violet}{10} \\ P(\htmlClass{lc-blue}{X} > \htmlClass{lc-blue}{20} \mid \htmlClass{lc-blue}{X} > \htmlClass{lc-orange}{15}) &= \,? \end{aligned}
Text solution
Reset the clock after 15 minutesBecause random arrivals have no schedule, cross out the 15\elapsed{15} minutes you already waited so only the 5\wait{5} additional minutes remain.
P(X>15+5∣X>15)=P(X>5)\displaystyle \begin{aligned} &P(\wait{X} > \elapsed{15} + \wait{5} \mid \wait{X} > \elapsed{15}) \\ &\quad= P(\wait{X} > \wait{5}) \end{aligned}
Right tail for the next 5 minutesCompute the right tail for t=5\wait{t = 5} minutes from the start.
P(X>5)=e−0.1(5)=e−0.5≈0.607\displaystyle \begin{aligned} P(\wait{X} > \wait{5}) &= \area{e^{-\rate{0.1}(\wait{5})}} \\ &= \area{e^{-0.5}} \approx \area{0.607} \end{aligned}

After any amount of time spent waiting, if you cut off the left part you already waited and scale the remaining right tail back up to an area of 1\area{1}, you get the exact same Exponential curve starting at 0\wait{0}.

No matter how long you have already waited for a shooting star, scaling up the remaining curve gives you the exact same shape and chances you started with.

Key concepts

When a problem asks about a continuous waiting time X\wait{X}, first check whether the wait is bounded by a schedule or comes from random arrivals.

Summary: Uniform vs. Exponential Models
Uniform\text{Uniform}
a\htmlClass{lc-blue}{a}
b\htmlClass{lc-blue}{b}
Exponential\text{Exponential}
00
∞\infty

For any continuous random variable, probability is the area of an interval, so a single exact value has zero probability (P(X=4)=0P(\wait{X} = \wait{4}) = \area{0}) and boundary lines never change the answer (P(X<4)=P(X≤4)P(\wait{X} < \wait{4}) = P(\wait{X} \le \wait{4})). From there, look at how the event happens:

Scheduled or evenly spread between two fixed endpoints a\wait{a} and b\wait{b} →\rightarrow Uniform rectangle

Every wait from a\wait{a} to b\wait{b} has height 1b−a\height{\tfrac{1}{\width{b - a}}}, balance point μX=a+b2\mean{\mu_X} = \tfrac{\wait{a} + \wait{b}}{2}, and spread σX=b−a12\sd{\sigma_X} = \tfrac{\width{b - a}}{\sqrt{12}}. A slice's probability is its share of the total width, and a percentile is that same fraction of the width added to a\wait{a}. Because the wait must end by b\wait{b}, the memoryless rule does not apply here.

Waiting time until the next random Poisson arrival →\rightarrow Exponential right tail

Match the time units first, then flip the rate λ\rate{\lambda} to get the average wait and standard deviation, μX=σX=1λ\mean{\mu_X} = \sd{\sigma_X} = \tfrac{1}{\rate{\lambda}}. Every probability and percentile comes from the right tail P(X>t)=e−λt=e−t/μXP(\wait{X} > \wait{t}) = \area{e^{-\rate{\lambda} \wait{t}}} = \area{e^{-\wait{t}/\mean{\mu_X}}}, and any time already spent waiting is forgotten so the clock resets to 0\wait{0}.

7

Practice

1

A shuttle bus runs on a strict 15-minute loop, so if you arrive at the stop at a random time, your wait time X\wait{X} is uniformly distributed from a=0\wait{a = 0} to b=15\wait{b = 15} minutes. What is the height of this density curve, what is P(X=6)P(\wait{X} = \wait{6}), and why does P(3≤X≤9)P(\wait{3} \le \wait{X} \le \wait{9}) equal P(3<X<9)P(\wait{3} < \wait{X} < \wait{9})? Find that probability.

What must the total area of the rectangle equal, and how wide is a single vertical line on a continuous number line?

Because the total area over the 15−0=15\width{15 - 0} = \width{15}-minute base must equal 1\area{1}, the height of the density curve is:
Height\displaystyle \height{\text{Height}} =115−0\displaystyle = \frac{\height{1}}{\width{15 - 0}} =115\displaystyle = \height{\frac{1}{15}}
P(X=6)=0P(\wait{X} = \wait{6}) = \area{0} because a single point on a continuous scale has zero width and therefore zero area. P(3≤X≤9)P(\wait{3} \le \wait{X} \le \wait{9}) and P(3<X<9)P(\wait{3} < \wait{X} < \wait{9}) are equal because the boundary lines at 3\wait{3} and 9\wait{9} have zero area, so including or excluding them changes nothing. (Be careful not to treat continuous minutes like discrete whole numbers by counting 77 integers to get 715≈0.467\tfrac{7}{15} \approx 0.467, or setting P(X=6)=115P(\wait{X} = \wait{6}) = \tfrac{1}{15}.) Dividing the slice width by the total width gives:
P(3≤X≤9)=9−315−0=615=0.40 (40%)\displaystyle \begin{aligned} P(\wait{3} \le \wait{X} \le \wait{9}) &= \frac{\width{9 - 3}}{\width{15 - 0}} = \area{\frac{6}{15}} \\ &= \area{0.40}\area{\text{ (40\%)}} \end{aligned}
2

A drawbridge opens once an hour at a random time uniformly distributed between a=5\wait{a = 5} minutes and b=25\wait{b = 25} minutes past the hour. Find the mean opening time μX\mean{\mu_X}, the standard deviation σX\sd{\sigma_X}, and the 85th percentile of opening times.

Find the total width of the rectangle from 5\wait{5} to 25\wait{25} first, and check where the rectangle starts before marking the 85\area{85}th percentile on the timeline.

The total width of the rectangle is 25−5=20\width{25 - 5} = \width{20} minutes. The mean is the midpoint between the two endpoints (watch out for taking half the width, 202=10\tfrac{20}{2} = 10, which forgets the rectangle starts at 5\wait{5}):
μX=5+252=15 minutes past the hour\displaystyle \begin{aligned} \mean{\mu_X} &= \frac{\wait{5} + \wait{25}}{2} \\ &= \mean{15}\text{ minutes past the hour} \end{aligned}
The standard deviation is the total width divided by 12\sqrt{12}:
σX\displaystyle \sd{\sigma_X} =25−512\displaystyle = \frac{\width{25 - 5}}{\sqrt{12}} =2012≈5.77 minutes\displaystyle = \frac{\width{20}}{\sqrt{12}} \approx \sd{5.77}\text{ minutes}
For the 85\area{85}th percentile, go 85%\area{85\%} of the 20\width{20}-minute width past the starting point a=5\wait{a = 5} (forgetting to add a=5\wait{a = 5} gives 1717 minutes, and taking 85%\area{85\%} of 25\wait{25} directly gives 21.2521.25 minutes):
5+0.85(20)=5+17=22 minutes past the hour\displaystyle \begin{aligned} &\wait{5} + \area{0.85}(\width{20}) \\ &\quad= \wait{5} + \width{17} \\ &\quad= \wait{22}\text{ minutes past the hour} \end{aligned}
3

Calls arrive at a help desk according to a Poisson process at an average rate of 12\rate{12} calls per hour. Convert this rate to calls per minute (λ\rate{\lambda}), find the average wait μX\mean{\mu_X} and standard deviation σX\sd{\sigma_X} in minutes between calls, and find the probability of waiting more than 10\wait{10} minutes for the next call.

Rewrite "1 hour" as "6060 minutes" to get the per-minute rate λ\rate{\lambda}, then flip λ\rate{\lambda} for the average wait.

Dividing 12\rate{12} calls by 6060 minutes gives the per-minute rate:
λ\displaystyle \rate{\lambda} =1260\displaystyle = \frac{\rate{12}}{60} =0.2 calls per minute\displaystyle = \rate{0.2}\text{ calls per minute}
The average wait is the reciprocal of λ\rate{\lambda}, and the standard deviation equals the average wait:
μX=10.2=5 minutesσX=μX=5 minutes\displaystyle \begin{aligned} \mean{\mu_X} &= \frac{1}{\rate{0.2}} = \mean{5}\text{ minutes} \\ \sd{\sigma_X} &= \mean{\mu_X} = \sd{5}\text{ minutes} \end{aligned}
The probability of waiting more than 10\wait{10} minutes is the right tail past 10\wait{10} (don't plug μX=5\mean{\mu_X = 5} in as the rate λ\rate{\lambda} to get e−5(10)=e−50e^{-5(10)} = e^{-50}, and don't subtract from 1\area{1} to get 0.8650.865 since the question already asks for "more than 10\wait{10} minutes"):
P(X>10)=e−0.2×10=e−2≈0.135 (13.5%)\displaystyle \begin{aligned} P(\wait{X} > \wait{10}) &= \area{e^{-\rate{0.2} \times \wait{10}}} \\ &= \area{e^{-2}} \approx \area{0.135}\area{\text{ (13.5\%)}} \end{aligned}
4

The waiting time until the next meteor flashes across a telescope's view follows an Exponential distribution with an average wait of μX=8\mean{\mu_X = 8} minutes. What is the probability that you see a meteor within the first 4\wait{4} minutes?

Which side of t=4\wait{t = 4} does "within the first 4\wait{4} minutes" ask for, and which side does e−t/μX\area{e^{-\wait{t}/\mean{\mu_X}}} give you?

First find the right tail past 4\wait{4} minutes:
P(X>4)\displaystyle P(\wait{X} > \wait{4}) =e−4/8\displaystyle = \area{e^{-\wait{4}/\mean{8}}} =e−0.5≈0.607\displaystyle = \area{e^{-0.5}} \approx \area{0.607}
Because e−0.5≈0.607\area{e^{-0.5}} \approx \area{0.607} is the probability of waiting more than 4\wait{4} minutes, stopping at 0.607\area{0.607} gives the wrong side of the curve. Subtract the right tail from 1\area{1} to get the left area within the first 4\wait{4} minutes:
P(X<4)=1−e−0.5≈1−0.607=0.393 (39.3%)\displaystyle \begin{aligned} P(\wait{X} < \wait{4}) &= \area{1} - \area{e^{-0.5}} \approx \area{1} - \area{0.607} \\ &= \area{0.393}\area{\text{ (39.3\%)}} \end{aligned}
5

Customers walk into a bakery according to a Poisson process at a rate of λ=0.25\rate{\lambda = 0.25} customers per minute. What is the probability that you wait between 2\wait{2} and 8\wait{8} minutes for the next customer?

How can you find the slice between 2\wait{2} and 8\wait{8} using two right tails?

Take the larger right tail starting at 2\wait{2} minutes and subtract the smaller right tail starting at 8\wait{8} minutes (do not subtract the times inside a single exponent, which would compute e−0.25(8−2)=e−1.5≈0.223e^{-0.25(8 - 2)} = e^{-1.5} \approx 0.223, the right tail past 66 minutes):
P(2<X<8)=e−0.25×2−e−0.25×8=e−0.5−e−2≈0.6065−0.1353=0.4712 (47.1%)\displaystyle \begin{aligned} P(\wait{2} < \wait{X} < \wait{8}) &= \area{e^{-\rate{0.25} \times \wait{2}}} - \area{e^{-\rate{0.25} \times \wait{8}}} \\ &= \area{e^{-0.5}} - \area{e^{-2}} \\ &\approx \area{0.6065} - \area{0.1353} \\ &= \area{0.4712}\area{\text{ (47.1\%)}} \end{aligned}
6

Geysers in a thermal basin erupt randomly according to a Poisson process with an average wait of μX=20\mean{\mu_X = 20} minutes (λ=0.05\rate{\lambda = 0.05} per minute). Explain without calculating why the median wait is less than 20\mean{20} minutes, then find both the median wait and the 90th percentile of waiting times.

For the 90\area{90}th percentile, how much area is left in the right tail past t\wait{t}?

Because the Exponential curve is heavily skewed to the right, with most of the area piled up near 0\wait{0} and a long right tail of rare long waits pulling the mean outward, the 50–50\area{50\text{–}50} area split (the median) must sit to the left of the mean of 20\mean{20} minutes.
For the median, 50%\area{50\%} (0.50\area{0.50}) is in the right tail:
e−0.05t=0.50  ⟹  −0.05t=ln⁡(0.50)  ⟹  t=ln⁡(0.50)−0.05≈13.86 minutes\displaystyle \begin{aligned} && \area{e^{-\rate{0.05}\wait{t}}} &= \area{0.50} \\ \implies && \rate{-0.05}\wait{t} &= \ln(\area{0.50}) \\ \implies && \wait{t} &= \frac{\ln(\area{0.50})}{\rate{-0.05}} \\ &&& \approx \wait{13.86}\text{ minutes} \end{aligned}
For the 90\area{90}th percentile, 90%\area{90\%} is on the left, so 1−0.90=0.10\area{1} - \area{0.90} = \area{0.10} (10%\area{10\%}) is in the right tail (plugging 0.90\area{0.90} directly into the equation gives ln⁡(0.90)−0.05≈2.11\tfrac{\ln(0.90)}{-0.05} \approx 2.11 minutes, which is the 10\area{10}th percentile instead of the 90\area{90}th):
e−0.05t=0.10  ⟹  −0.05t=ln⁡(0.10)  ⟹  t=ln⁡(0.10)−0.05≈46.05 minutes\displaystyle \begin{aligned} && \area{e^{-\rate{0.05}\wait{t}}} &= \area{0.10} \\ \implies && \rate{-0.05}\wait{t} &= \ln(\area{0.10}) \\ \implies && \wait{t} &= \frac{\ln(\area{0.10})}{\rate{-0.05}} \\ &&& \approx \wait{46.05}\text{ minutes} \end{aligned}
7

You have already waited 12\elapsed{12} minutes for an event whose average wait is 10\mean{10} minutes. (a) If the event follows an Exponential model with μX=10\mean{\mu_X = 10} minutes, what is the probability that you must wait at least 5\wait{5} more minutes (past 17\wait{17} minutes total)? (b) If instead you are waiting for a scheduled train whose arrival time is uniformly distributed from 0\wait{0} to 20\wait{20} minutes (also μX=10\mean{\mu_X = 10} minutes), why doesn't the memoryless rule apply after waiting 12\elapsed{12} minutes?

Compare what happens after 20\wait{20} minutes in an unscheduled Exponential process versus a Uniform [0,20][\wait{0}, \wait{20}] schedule.

(a)By the memoryless property, the 12\elapsed{12} minutes you already waited are forgotten and the clock resets to 0\wait{0} for the remaining 5\wait{5} minutes (do not plug the 17\wait{17} total minutes into the exponent without resetting the clock, which would give e−17/10≈0.183e^{-17/10} \approx 0.183):
P(X>12+5∣X>12)=P(X>5)=e−5/10=e−0.5≈0.607 (60.7%)\displaystyle \begin{aligned} &P(\wait{X} > \elapsed{12} + \wait{5} \mid \wait{X} > \elapsed{12}) \\ &\quad= P(\wait{X} > \wait{5}) \\ &\quad= \area{e^{-\wait{5}/\mean{10}}} = \area{e^{-0.5}} \\ &\quad\approx \area{0.607}\area{\text{ (60.7\%)}} \end{aligned}
(b)A scheduled Uniform [0,20][\wait{0}, \wait{20}] train has a fixed upper limit at 20\wait{20} minutes, so the schedule "remembers" the 12\elapsed{12} minutes you already waited and guarantees the train must arrive within the remaining 8\width{8} minutes.