Finding Probabilities Using the CDF
What you'll learn: How to calculate interval probabilities like P(a < X ≤ b) by taking differences of cumulative distribution function values.
The Core Idea
The cumulative distribution function (CDF), F(x) = P(X ≤ x), accumulates probability from the left edge of the distribution up to x. To find the probability that a random variable X falls within an interval, you simply subtract CDF values at the interval's endpoints.
Think of the CDF like a measuring cup that fills with probability as x increases. If you want to know how much probability is between two levels, you subtract the lower fill level from the upper fill level.
Interval Probability Formulas
For any random variable X with CDF F(x):
-
P(a < X ≤ b) = F(b) - F(a) The probability X is strictly greater than a and at most b.
-
P(X > a) = 1 - F(a) The probability X exceeds a (complement of X ≤ a).
-
P(X ≤ b) = F(b) Already given directly by the CDF.
-
P(X = a) for discrete X: F(a) - F(a⁻) The jump in the CDF at a.
-
P(X = a) = 0 for continuous X The CDF has no jumps.
Why This Works
Since F(b) gives all probability up to b, and F(a) gives all probability up to a, subtracting F(a) from F(b) removes everything below a, leaving only the probability between a and b. This principle works identically for both discrete and continuous random variables.
Key Takeaway: The CDF is a powerful tool for computing interval probabilities: subtract F(a) from F(b) to find P(a < X ≤ b), and use complements and direct evaluation for other intervals.