
interpret the probability of an outcome of a continuous random variable as an area under its density curve, and compute probabilities for uniform and exponential distributions.
Instruction
In RLP Statistics A, random variables took separate values: 0, 1, 2 rainy days. Many quantities are continuous: a waiting time, a temperature, an amount of rain. A continuous random variable can take any value in an interval, so we cannot list its values with probabilities. Instead we use a density curve.
Density curves (PS.4). A density curve lies on or above the horizontal axis and has a total area of exactly 1 underneath it. The probability that X falls between a and b is the area under the curve between a and b. Two consequences follow. First, P(X = a) = 0 for any single value, because a line has no area, so P(X < a) and P(X ≤ a) are equal. Second, the height of the curve is not a probability. It is a density: probability per unit of x.
Think of a density curve as the limit of a relative-frequency histogram. As you collect more data and narrow the bins, a histogram scaled so its total area is 1 settles toward a smooth curve.
The uniform distribution. A bus comes every 12 minutes, and you arrive at a random moment. Your wait W is equally likely to be anywhere from 0 to 12 minutes. Its density is a rectangle of width 12. For the area to be 1, the height must be 1/12. Then:
- P(W > 9) = (12 − 9)(1/12) = 3/12 = 0.25
- P(3 < W < 5) = 2/12 ≈ 0.167
- The mean is the balance point, 6 minutes.
The exponential distribution (PS.7). Some waiting times are better described by a curve that starts high and decays: the time until the next call to a help line, or the next customer at a counter, when events happen at random at a steady average rate. The exponential density with mean μ is
f(x) = (1/μ) e−x/μ, x ≥ 0, so P(X > t) = e−t/μ
(This area formula comes from calculus. You can verify it numerically by adding thin rectangles in a spreadsheet.) Illustrative example: if calls to a help line arrive at random, on average every 4 minutes, then the wait X for the next call is exponential with μ = 4:
- P(X > 6) = e−6/4 = e−1.5 ≈ 0.223
- P(X < 2) = 1 − e−0.5 ≈ 0.393
- The median m solves e−m/4 = 0.5, so m = 4 ln 2 ≈ 2.77 minutes, less than the mean of 4. The long right tail pulls the mean up, just as with skewed data in RLP Statistics A.
The exponential has a surprising property. If you have already waited 2 minutes, the chance of waiting more than 6 more is still e−1.5. It has no memory. This fits truly random arrivals, but not a bus on a schedule, which is why the bus used the uniform model.
Choosing a model. A density curve is a model of a process, not a fact about it. You choose one from the context (is every value equally likely? do events arrive at random?) and then check it against data. The most important continuous model, the normal distribution, is next.
📖 Read for this lesson
The reading opens over the lesson; close it to come back to exactly where you were. The checks below draw on it.
Formative check
Work through these before moving on. They are not graded — they tell you whether the standard below has landed yet.
For a continuous random variable X, what is P(X = 5)?
A wait uniformly distributed from 0 to 12 minutes has density height ; P(wait > 9) = .
For an exponential waiting time with mean 4 minutes, the median wait is also 4 minutes.
Sketch the exponential density with mean 4 and shade P(2 < X < 6). Compute it with the formula (e^(−2/4) − e^(−6/4)). Then check it in a spreadsheet by adding the areas of 40 thin rectangles of width 0.1 from 2 to 6 under f(x) = 0.25e^(−x/4). Explain in two sentences why the rectangle sum is close but not exact.
How confident are you that you can read probabilities as areas under a density curve and compute them for uniform and exponential models?
Practice
Work these on paper or in your notebook, then open Check your answer. Aim for all of Fluency and Application; try at least one Challenge.
Printable version: this unit’s practice workbook (PDF)
Fluency
Build speed and accuracy with the core skill.
- A wait W is uniformly distributed from 0 to 20 minutes. Find the height of the density, P(W > 15), P(5 < W < 8) and the mean wait.
Check your answer
Answer: Height 1/20; P(W > 15) = 0.25; P(5 < W < 8) = 0.15; mean 10 minutes.Areas of rectangles. - For the same uniform wait, find P(W = 7).
Check your answer
Answer: 0.A single value has no area. - A waiting time is exponential with mean 5 minutes. Find P(X > 5).
Check your answer
Answer: e^(−1) ≈ 0.368.P(X > t) = e^(−t/μ). - For the same exponential wait (mean 5), find P(X < 2).
Check your answer
Answer: 1 − e^(−0.4) ≈ 0.330. - Find the median of an exponential distribution with mean 5.
Check your answer
Answer: 5 ln 2 ≈ 3.47 minutes.Solve e^(−m/5) = 0.5. - An exponential wait has mean 10 minutes. Find P(X > 20).
Check your answer
Answer: e^(−2) ≈ 0.135. - Can a density curve have height greater than 1 anywhere? Explain.
Check your answer
Answer: Yes. Height is density, not probability; only the total area must be 1 (for example, uniform on 0 to 0.5 has height 2). - A density curve is symmetric about 12. What is P(X < 12)?
Check your answer
Answer: 0.5.
Application
Use the skill in context. Show your reasoning.
- (Illustrative) Calls to a school’s attendance line arrive at random, on average every 3 minutes. What is the probability of waiting more than 6 minutes for the next call? More than 9 minutes, given that 3 minutes have already passed?
Check your answer
Answer: P(X > 6) = e^(−2) ≈ 0.135. Given 3 minutes have passed, P(X > 9 | X > 3) = P(X > 6) ≈ 0.135, by the memoryless property. - A light-rail train arrives exactly every 15 minutes, and you arrive at a random time. Which model fits your wait, uniform or exponential? Find P(wait > 10).
Check your answer
Answer: Uniform on 0-15 (arrivals are scheduled, not random); P(wait > 10) = 5/15 ≈ 0.333.The exponential fits random arrivals, not scheduled ones. - For an exponential wait with mean 4 minutes, find P(2 < X < 6) and explain why the mean exceeds the median.
Check your answer
Answer: e^(−0.5) − e^(−1.5) ≈ 0.383. The distribution is skewed right; the long right tail pulls the mean (4) above the median (≈ 2.77).
Challenge
Stretch problems. Expect to think before you write.
- The density f(x) = cx on 0 ≤ x ≤ 2 (and 0 elsewhere) is a valid density curve for one value of c. Find c, then find P(X < 1).
Check your answer
Answer: The area is a triangle: ½ · 2 · 2c = 2c = 1, so c = 0.5. P(X < 1) = ½ · 1 · 0.5 = 0.25.Area under a straight-line density is a triangle.
Review
Keep earlier skills sharp.
- X ~ Binomial(n = 14, p = 0.75). Find P(X = 12), P(X ≤ 12), and the mean and standard deviation of X.
Check your answer
Answer: P(X = 12) ≈ 0.1802; P(X ≤ 12) ≈ 0.8990; mean 10.50; SD ≈ 1.620P(X = k) = C(14, k) pk(1 − p)n−k. - A game pays −5 with probability 1/3; 5 with probability 2/5; 25 with probability 4/15. Find the expected value.
Check your answer
Answer: 7 ≈ 7.00Multiply each value by its probability and add.
Two Real Quantities from the Earthquake Catalog: One Uniform, One Close to Exponential
USGS Earthquake Catalog (ComCat) via the FDSN event web service: earthquakes of magnitude 3.0 and above, latitude 35.0-37.5 N, longitude 91.5-88.5 W (the New Madrid Seismic Zone region), 1990-01-01 to 2025-12-31 (101 events), and magnitude 2.5 and above for the clustering check; the rectangle-sum table is SLS original; retrieved 2026-11-10 · Public domain (works of the United States government), with an SLS original worked table
Why this reading. The lesson ends with a rule: a density curve is a model of a process, not a fact about it; choose one from the context and then check it against data. It then gives you no data to check anything against, and its bus and help-line examples are invented. Below are two real quantities from the U.S. Geological Survey’s earthquake catalog for the New Madrid region, where Missouri, Arkansas, Tennessee and Kentucky meet: one that a uniform model describes well (the minute of the hour at which an earthquake occurs) and one that an exponential model describes surprisingly well (the days between earthquakes of magnitude 3.0 or greater). The 40-rectangle sum from the open question is also worked in full, so that question needs no spreadsheet.
Table 1. Earthquakes of magnitude 3.0 or greater, New Madrid region, 1990–2025
USGS Earthquake Catalog (ComCat), searched 2026-11-10 for events of magnitude 3.0 and above, latitude 35.0° to 37.5°N, longitude 91.5° to 88.5°W, January 1, 1990 through December 31, 2025, type “earthquake”. The box is a rectangle around the New Madrid Seismic Zone, so it also takes in parts of Arkansas, Tennessee and Kentucky. It returns 101 events. The eight strongest:
| # | Date (UTC) | Magnitude | Place, as cataloged |
|---|---|---|---|
| 1 | 1990-09-26 | 4.8 | 4 km SE of Chaffee, Missouri |
| 2 | 1991-05-04 | 4.5 | 2 km NNW of Risco, Missouri |
| 3 | 1994-02-05 | 4.2 | 2 km WNW of Dongola, Illinois |
| 4 | 2005-05-01 | 4.2 | 5 km SSE of Manila, Arkansas |
| 5 | 2005-02-10 | 4.1 | 3 km NNW of Etowah, Arkansas |
| 6 | 2003-04-30 | 4.0 | 1 km N of Blytheville, Arkansas |
| 7 | 2003-06-06 | 4.0 | 1 km NE of Bardwell, Kentucky |
| 8 | 2005-06-02 | 4.0 | 12 km S of Ridgely, Tennessee |
101 events give 100 waiting times. Mean gap 128.1 days, median 75.6 days, standard deviation 160.7 days. The mean is well above the median and the SD is about as large as the mean: right skew, which is what an exponential model predicts (for an exponential, the SD equals the mean). So try one.
Check the exponential model with mean μ = 128.1 days
For an exponential distribution, P(X > t) = e−t/μ. Compare with the fraction of the 100 observed gaps that exceed t:
| t (days) | Model P(gap > t) = e−t/128.1 | Observed fraction of the 100 gaps above t |
|---|---|---|
| 15 | 0.890 | 87/100 = 0.870 |
| 45 | 0.704 | 58/100 = 0.580 |
| 90 | 0.495 | 42/100 = 0.420 |
| 180 | 0.245 | 25/100 = 0.250 |
| 365 | 0.058 | 6/100 = 0.060 |
| 730 | 0.003 | 1/100 = 0.010 |
The model’s median would be μ ln 2 = 89 days; the observed median is 76. The agreement is good across the whole range, with a few more gaps shorter than 90 days than the model expects (the observed fractions above 45 and 90 days are 0.58 and 0.42, against 0.70 and 0.50) and close agreement in the long tail. Magnitude 3.0 and above are the events a seismometer network records reliably, they are mostly independent of one another, and independent random arrivals are what the exponential model describes.
Where the memory shows up. Lower the floor to magnitude 2.5 (same box and dates) and the catalog returns 534 events. Now the mean gap is 24.7 days and the median 14.8, but 15.2% of the gaps are shorter than 2.5 days, against 9.6% for an exponential with that mean. Small shocks cluster in swarms and aftershock sequences: once one has happened, another is more likely soon. That is memory, and it is the reason a model has to be checked rather than assumed.
Table 2. Minute past the hour, all 101 events of magnitude 3.0 or greater
The minute of the hour at which an earthquake occurs has no reason to prefer any value: a uniform model on 0 to 59 says every minute is equally likely.
| Events 1–25 | 5 | 34 | 18 | 39 | 0 | 18 | 1 | 46 | 9 | 29 | 38 | 23 | 40 | 55 | 46 | 3 | 45 | 23 | 50 | 51 | 27 | 27 | 41 | 47 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Events 26–50 | 16 | 12 | 18 | 49 | 12 | 45 | 30 | 56 | 29 | 26 | 34 | 25 | 4 | 37 | 35 | 21 | 42 | 51 | 59 | 12 | 38 | 18 | 37 | 34 | 2 |
| Events 51–75 | 32 | 58 | 40 | 39 | 28 | 10 | 43 | 24 | 44 | 8 | 51 | 23 | 26 | 46 | 26 | 50 | 8 | 12 | 51 | 45 | 57 | 51 | 25 | 56 | 21 |
| Events 76–100 | 16 | 18 | 16 | 57 | 6 | 55 | 56 | 42 | 47 | 55 | 34 | 4 | 53 | 40 | 12 | 44 | 9 | 10 | 59 | 46 | 19 | 44 | 52 | 27 | 31 |
| Events 101–101 | 37 |
A uniform distribution on the integers 0 to 59 has mean 29.5 and standard deviation √((602 − 1)/12) = 17.3. The 101 minutes have mean 32.0 and standard deviation 16.8. By quarter hour, 0–14, 15–29, 30–44 and 45–59 minutes: 19, 27, 25, 30, against 25.25 expected in each. No quarter is far off, which is what a real uniform looks like with about a hundred draws: not perfectly flat. (Lesson 4.1 gives you a test that says how far off is too far.)
The rectangle sum, worked
The open question: check P(2 < X < 6) for the exponential with μ = 4 by adding 40 rectangles of width 0.1 under f(x) = 0.25e−x/4. The exact area is e−0.5 − e−1.5 = 0.60653 − 0.22313 = 0.38340.
| Rectangle | 1 | 2 | 3 | 4 | 5 | … | 40 | Sum of all 40 |
|---|---|---|---|---|---|---|---|---|
| Left edge x | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | … | 5.9 | |
| Left height f(x) | 0.15163 | 0.14789 | 0.14424 | 0.14068 | 0.13720 | … | 0.05719 | |
| Left area, width 0.1 | 0.015163 | 0.014789 | 0.014424 | 0.014068 | 0.013720 | … | 0.005719 | 0.38821 |
Summing all 40 left-edge areas gives 0.38821. Using right edges instead gives 0.37863, and the midpoint rule gives 0.38339. The left-edge sum overshoots and the right-edge sum undershoots, because the curve is falling: a rectangle drawn from its left edge sticks up above the curve, one drawn from its right edge leaves a sliver uncovered. The exact area is trapped between them, and their average, 0.38342, is already very close. The sum is close but not exact because each thin rectangle has a flat top and the curve is not flat; making the rectangles thinner shrinks the error.
Sources: USGS Earthquake Catalog search (earthquake.usgs.gov); USGS FDSN Event Web Service (the query used here) (earthquake.usgs.gov)