Computing Probabilities Using PDFs
What you'll learn: You'll learn how to find the probability that a continuous random variable falls within a specific interval by integrating its probability density function.
The Core Idea
Unlike discrete random variables where you can add up probabilities at individual points, continuous random variables require a different approach. With a probability density function (PDF), the probability of any single exact value is zero. Instead, we compute probabilities over intervals by finding the area under the PDF curve.
To calculate the probability that a continuous random variable X falls between two values a and b, you integrate the PDF over that range:
P(a ≤ X ≤ b) = ∫[from a to b] f(x) dx
where f(x) is the PDF of X.
Why Integration?
Think of the PDF as describing the "density" of probability at each point, like a height function. Just as you'd find the area under a curve in geometry by integrating, you find the total probability mass in an interval by integrating the density function. The area under the curve between a and b gives you the probability of landing in that interval.
Key Cases
- P(X ≤ b) = ∫[from -∞ to b] f(x) dx
- P(X ≥ a) = ∫[from a to ∞] f(x) dx
- P(X = c) = 0 for any specific value c (because it's a single point, with zero width)
This last property means P(a ≤ X ≤ b) = P(a < X < b) = P(a ≤ X < b) = P(a < X ≤ b) — the inclusion or exclusion of endpoints doesn't matter for continuous distributions.
Key Takeaway: To find probabilities for continuous random variables, integrate the PDF over the desired interval; the area under the curve equals the probability of that range.