6. Continuous Random Variables and the Normal Curve
Explanation
Continuous random variables and density curves
A continuous random variable can take any value in an interval, because it comes from measuring (time, height, weight). Its probabilities are described by a probability density function (pdf) f(x), a curve with two properties: it never goes below the x-axis, and the total area under the curve is 1. The probability that X falls between a and b is the area under the curve between a and b, written P(a < X < b).
A key consequence: for a continuous variable the probability of any single exact value is 0, so P(X = a) = 0 and P(X < a) = P(X ≤ a). The cumulative distribution function (cdf) gives P(X ≤ x), the area to the left of x.
Uniform distribution
X ~ U(a, b) means every value in the interval from a to b is equally likely. The graph is a rectangle ("rectangular distribution") of height 1/(b − a). Probabilities are rectangle areas: P(c < X < d) = (d − c)/(b − a). Mean = (a + b)/2 and standard deviation = (b − a)/√12. A statement such as "given that X is already above 6" is a conditional probability, the new interval is simply (6, b).
Exponential distribution (the relative of Poisson)
The textbook also introduces the exponential distribution for the waiting time between random events, with density f(x) = m·e^(−mx), x ≥ 0, mean 1/m, and P(X ≤ x) = 1 − e^(−mx). Its memoryless property says the past does not affect the future: P(X > x + k | X > x) = P(X > k).
The normal distribution
The normal distribution, X ~ N(μ, σ), is the most important continuous distribution. Its graph is a symmetric bell curve centred at μ, with total area 1. The parameter μ locates the centre (the mean, median, and mode coincide) and σ controls the spread; larger σ gives a flatter, wider curve. The curve never touches the axis. The empirical rule is a statement about it: about 68% of values lie within one σ of μ, 95% within two, and 99.7% within three. Many natural measurements (heights, errors, test scores) are approximately normal, and sums and means of many observations are too (Week 7).
The standard normal distribution and z-scores
The standard normal distribution is Z ~ N(0, 1): mean 0, standard deviation 1. Any normal variable can be converted using the z-score z = (x − μ)/σ, which states how many standard deviations x lies above (positive z) or below (negative z) the mean. The z-score is a linear transformation, so z-values from any normal distribution follow N(0, 1); this is why one table serves all normal problems and why z-scores compare values from differently scaled distributions.
Calculating probabilities for a normal variable
- Draw a bell curve, mark μ, and shade the region asked for.
- Standardize the boundary values to z-scores.
- Use a standard normal table or calculator (e.g. normalcdf(lower, upper, μ, σ) on a TI calculator) to get the area to the left. A right tail is 1 − (left area). An interval is (left area at upper bound) − (left area at lower bound).
- Interpret the answer as a probability, proportion of the population, or expected count (proportion × number of items).
Inverse problems (percentiles): when the area is given and you need the cut-off, find z for that left-tail area (invNorm), then convert back with x = μ + zσ. The k-th percentile has k% of the area to its left.
Useful anchors: P(Z < 0) = 0.5; the middle 95% sits between z = −1.96 and 1.96; the 90th percentile is z ≈ 1.28; the 95th is z ≈ 1.645.
Common mistakes
Forgetting that the table gives the area to the left; using σ² instead of σ in the z-score; standardizing with the wrong mean or sd; believing P(X = a) is positive for a continuous variable; applying normal probabilities to clearly non-normal data.
Practice tasks
- X ~ U(0, 10). Find P(X > 7), the mean, and the standard deviation.
- Convert x = 65 to a z-score when μ = 50, σ = 10.
- For Z ~ N(0,1) find P(Z < 1), P(Z > 1.96), and P(−1 < Z < 1).
- X ~ N(100, 15). Find P(X < 115) and P(85 < X < 130).
- Heights are N(170, 8). Find P(X > 180).
- For N(100, 15) find the 90th percentile. Then, for heights N(170, 8), find the cutoffs of the middle 95%.
- Packages are filled N(500, 20) g. Those under 470 g are rejected. Find the rejection probability, the expected rejects in 1000 packages, and the weight exceeded by only 5% of packages.
Original author (OpenStax, Rice University). License / permission: CC BY-NC-SA 4.0. If you noticed a mistake or copyright issues, please contact: lebroskiofficial@proton.me