High School Mathematics · Grades 10–12
35Continuous Random Variables
Waiting times, physical measurements, proportions: many random quantities take a continuum of values, and no single value has positive probability. Probabilities are then computed by integrating a density. This chapter studies the uniform, exponential and normal distributions, and uses the normal law to quantify the fluctuations of polls and samples.
35.1 Probability densities
Definition 35.1 (Density, continuous random variable)
A probability density on an interval is a continuous, nonnegative function on with (the integral over an unbounded being understood as a limit of integrals over growing bounded intervals). A random variable has density if for all in :
Probabilities are areas under the density curve. In particular for every single value : only intervals carry probability, and .
Definition 35.2 (Expectation and variance)
For with density on :
The rules of Chapters 14–15 (linearity of expectation, additivity of variance for independent variables, Bienaymé–Chebyshev) remain valid; their proofs, with integrals in place of sums, are admitted at this level.
35.2 Uniform distribution
Definition 35.3 (Uniform distribution)
follows the uniform distribution if its density is constant, on . Then for , : probability proportional to length.
Proposition 35.4
If , then and .
35.3 Exponential distribution
Definition 35.5 (Exponential distribution)
For , follows the exponential distribution if its density on is
Then and for .
Proposition 35.6
If : and .
Proof. Integrating by parts on :
using (Theorem 23.4). A second integration by parts gives , whence . ∎
Theorem 35.7 (Memorylessness)
If , then for all :
The exponential distribution is the law of lifetimes without aging (radioactive nuclei, not light bulbs).
Proof.
∎
35.4 Normal distribution
Definition 35.8 (Normal distribution)
follows the standard normal distribution if its density on is
(the bell curve). More generally, if ; then and .
Remark 35.9
The factor makes the total area — a famous computation (the Gaussian integral) done at university. There is no elementary formula for : normal probabilities are read from tables or calculators.
Theorem 35.10 (De Moivre–Laplace, admitted)
Let and (the standardized binomial). Then for all ,
This result is admitted at this level. It explains the universal appearance of the bell curve: a binomial with large is approximately normal — and (central limit theorem, university) so is any sum of many small independent effects.
Method 35.11 (Fluctuation interval at )
Since a normal variable falls within standard deviations of its mean with probability , for large a frequency of a sample satisfies
- Fluctuation interval (testing): if a claimed puts the observed frequency outside this interval, reject the claim at the level.
- Confidence interval (estimating): the simplified interval contains with probability at least (using , see Exercise 34.8).
Example 35.12
A poll of voters gives a candidate . The confidence interval still contains : the poll alone does not establish that the candidate is ahead.
35.5 Exercises
Exercise 35.1 ★
A bus passes every minutes; a traveler arrives at a uniformly random time. Let be the waiting time. Compute , , and .
Solution
Solution of Exercise 35.1.
; ; min; min.
Exercise 35.2 ★
Check that is a density on , and compute and for a variable with this density.
Exercise 35.3 ★
The lifetime (in years) of an electronic component follows .
- Compute the expected lifetime and .
- The component has already worked years. What is the probability it works at least more?
Solution
Solution of Exercise 35.3.
1. years; .
2. By memorylessness (Theorem 35.7), : the three years of service change nothing.
Exercise 35.4 ★★
The half-life of a radioactive atom whose lifetime follows is the median : . Express as a function of and compare with the expectation. Which is larger, and why does that make sense for a skewed distribution?
Solution
Solution of Exercise 35.4.
gives , smaller than . The exponential density has a long right tail: a few atypically long lifetimes pull the mean above the median, the value that half the population exceeds. (This is the half-life of Example 23.9: half the atoms survive it, even though the average lifetime is longer.)
Exercise 35.5 ★★
Heights in a population follow (in cm). Using the –– rule, estimate the proportion of the population with height between and cm, above cm, and below cm.
Solution
Solution of Exercise 35.5.
and : about . : above it lies half of the remaining , so about . : about .
Exercise 35.6 ★★
A machine fills bags labeled g; the mass filled follows . Regulations demand that at most of bags weigh less than g. Using the rule, what minimal setting of complies?
Solution
Solution of Exercise 35.6.
means must sit at least two standard deviations below the mean (the normal leaves below ; with the conventional , the reasoning is identical):
The machine must be set to g on average — the price of the guarantee is g of “free” product per bag.
Exercise 35.7 ★★
A die claimed to be fair is rolled times and shows a six times (as in Exercise 34.7).
- Compute the fluctuation interval for the frequency of sixes of a fair die over rolls.
- Is the observed frequency inside? Compare the strength of this conclusion with the Bienaymé–Chebyshev analysis.
Solution
Solution of Exercise 35.7.
1. With , : , so the fluctuation interval is
2. The observed frequency lies far outside: the fairness hypothesis is rejected at the level. The deviation is about standard deviations — for a normal approximation, a probability of order , far more conclusive than the bound from Bienaymé–Chebyshev (Exercise 34.7).
Exercise 35.8 ★★★
Before an election, a poll of people will estimate the score of a candidate by the observed frequency .
- With the confidence interval of Method 35.11, what sample size guarantees a margin of points?
- The candidates are separated by point in reality. Explain why no realistic poll can reliably call the winner, however well conducted.
Solution
Solution of Exercise 35.8.
1. Margin requires people.
2. To distinguish scores point apart, the margin must be well under point, requiring by the simplified formula — already impractical for most polls. Worse, the statistical margin only accounts for sampling error; systematic biases (unrepresentative samples, non-response, last-minute swings) do not shrink as grows and typically exceed one point. A -point race is genuinely too close to call.
Exercise 35.9 ★★★
Let have density on and let with .
35.6 Problem: Waiting for the bus, measuring the crowd
Problem 35.1
Weekend problem — three densities run the world: total ignorance, memoryless waiting, and the bell of many small causes; plus the paradox that makes your bus always late
Why does your bus always seem to take longer than the timetable promises? Why is the class an average student sits in bigger than the average class? Why do your friends have more friends than you? One sly piece of mathematics — length-biased sampling — answers all three, and it lives in this chapter, between the uniform, exponential and normal distributions (Definition 35.3, Definition 35.5, Definition 35.8). This final problem of the volume puts the three densities to work and ends where the whole series points: the bell curve.
Part I — Three characters.
- A bus arrives at a uniformly random time in the next minutes. Compute , the expected wait, and (Proposition 35.4).
- Check that on is a density, and compute and .
- Phone calls reach a helpline as a memoryless stream: the wait for the next call is exponential with mean minutes. Compute and the median wait — why is the median less than the mean?
- You have already waited minutes. What is (Theorem 35.7)? Interpret in one sentence.
- Match each wait to its right model — uniform, exponential, or neither: (a) the click of a Geiger counter; (b) a metro running every minutes, your arrival unsynchronized; (c) the next call at the helpline; (d) the failure of a light bulb that wears out. Justify (d) with the memorylessness theorem.
Part II — The bell at work. (Use the normal landmarks: within , within , within .)
- Adult heights follow roughly (cm). What fractions lie in , , ?
- Estimate the proportion taller than cm (z-score first; table or calculator).
- IQ scores are calibrated to . What fraction scores above — and roughly one person in how many?
- A machine cuts bolts with lengths mm and the specification is . What share is rejected? Industry celebrates “six sigma” processes, whose specifications sit at : what does that buy, and why do factories chase it?
- De Moivre–Laplace (Theorem 35.10): for fair coin flips, approximate (continuity: ; ). Which wooden machine of Problem 19.1 does this theorem smooth into a curve?
- From Exercise 35.8: a -point margin needs about . Compute the sample needed for points — and conclude, in one sentence, why a race separated by one point cannot be honestly called by any poll.
Part III — The bus paradox.
- Buses arrive as a memoryless stream with mean gap minutes. You reach the stop at an arbitrary moment. Intuition says the expected wait is minutes (half a gap). What does the memorylessness theorem say instead?
- Diagnose the intuition with a toy timetable: gaps alternate and minutes (mean gap ). Compute the probability that a uniformly random arrival lands in a long gap, then the true expected wait — and name the culprit: arrivals sample gaps with probability proportional to their length.
- In the memoryless stream, the gap you land in has expected length minutes — twice the typical gap (the time back to the previous bus and forward to the next are both exponential with mean ). Reconcile this with question 12 and state the inspection paradox in one sentence.
- Same sting on land: a university runs nine classes of students and one of . Compute the average class size, then the class size experienced by the average student. Which number will the brochure quote, and which is the students’ lived truth?
- The friendship paradox — “your friends have, on average, more friends than you” — is the same mathematics. Say in one sentence what plays the role of the long gap.
Part IV — Closing the volume.
- Simulation, the practitioners’ bridge: if is uniform on , show that is exponential with mean (compute ). Every random-waiting simulation in industry runs on this one-line trick.
- An old game programmers’ recipe builds a bell: add twelve independent uniforms on and subtract . Give the mean and variance of the sum, and explain — Galton board in hand — why the result is nearly normal.
- Markets crash harder than the bell allows: the 1987 crash was described as a “ event”, which under normality has probability around . What is the correct conclusion — about the world, or about the model? (One sentence, the statistician’s catechism.)
- Finale, and farewell to the volume: the three characters in one line each — uniform (ignorance within bounds), exponential (hazard without memory), normal (the sum of many small causes); the inspection paradox as the chapter’s sting; and the arc of the whole series — from counting cartons in grade 6 to the bell curve that measures every crowd — with the university volumes waiting where the limits, the integrals and the central limit theorem take over.
Solution
Solution of Problem 35.1.
1. ; min; min.
2. : a density. ; .
3. . Median: : min — less than the mean because the exponential’s long right tail (rare huge waits) drags the mean upward while leaving the median at the “typical” wait.
4. By memorylessness, : the twenty minutes already served buy nothing — the stream does not age.
5. (a) exponential (radioactive decay is the model memorylessness was invented for); (b) uniform on (a schedule with a random offset); (c) exponential; (d) neither: a worn bulb is more likely to fail in the next hour than a new one, so : aging contradicts the memorylessness theorem.
6. , , : the three landmark intervals.
7. : upper tail .
8. : about — roughly one person in .
9. The spec sits at : about pass, rejected — ruinous at scale. At the failure rate drops to about two parts per billion: six-sigma buys the right to mass-produce without mass-inspecting.
10. ; with continuity correction, . The theorem smooths the Galton board of Problem 19.1: the staircase of slots becomes the continuous bell.
11. people — and at that size the non-sampling errors (frame, refusals, lies) dwarf the margin: a one-point race is beyond honest polling, which is why serious institutes then say “too close to call”.
12. Memorylessness: from the moment you arrive, the remaining wait is exponential with mean — the full minutes, not . The timetable’s “mean gap ” misleads: your wait has the same distribution as a whole gap.
13. Random arrivals land proportionally to gap length: . Expected wait: min — more than the naive , though the mean gap is . Culprit: length-biased sampling — long gaps catch more passengers.
14. Backward and forward waits are each exponential with mean (memorylessness runs in both directions from your arrival): the gap containing you averages minutes — twice the typical gap. Inspection paradox in one sentence: the interval you happen to inspect is not a typical interval, because you were more likely to fall into a big one.
15. Average class: students. Student-experienced average: students. The brochure prints ; three in five students sit in the class of and live the .
16. Popular people appear on many friend-lists, so sampling “a friend” is length-biased towards the sociable — your friends are drawn from the long gaps of the social timetable.
17. For : : exactly the exponential’s survival function — one logarithm converts the computer’s uniform noise into any waiting time.
18. Each uniform has mean and variance : the sum of twelve has mean and variance — so the recipe outputs mean , variance . Twelve independent small pushes summed: the Galton mechanism, and by De Moivre–Laplace’s blessing the histogram is already bell-shaped to the eye.
19. About the model: markets are not sums of many independent small causes — panics correlate everything (the 2008 lesson of the previous problem) and produce fat tails no normal density owns. When the data whispers , the statistician’s catechism answers: the model is rejected, not the day.
20. Uniform: all positions equal, the honest “I know only the bounds”. Exponential: the hazard that never ages — decays, arrivals, clicks. Normal: the democratic bell of many small independent causes — heights, errors, averages. Sting: what you sample is biased by how you bumped into it — buses, classes, friends. And the arc: the child who counted juice cartons in grade 6 has, ten volumes of problems later, measured the crowd with a curve; the epsilon, the integral and the central limit theorem are waiting in the university volumes to explain why the bell tolls for everything.