Course contentsShow
← Data Science
Lesson 157 of 2,1455. Continuous Probability DistributionsFree lesson

Cumulative Distribution Functions (CDFs) for Continuous Variables

Learn how CDFs accumulate probability and relate to PDFs through integration.

Cumulative Distribution Functions (CDFs) for Continuous Variables

What you'll learn: How CDFs accumulate probability for continuous random variables and connect to PDFs through integration.

What Is a CDF for Continuous Variables?

A Cumulative Distribution Function (CDF) tells you the probability that a continuous random variable X is less than or equal to some value x. Written as F(x) = P(X ≤ x), it accumulates all the probability from negative infinity up to x.

Unlike the PDF (which gives probability density at a point), the CDF gives you actual probabilities for ranges.

How CDFs Relate to PDFs

The CDF is built by integrating the PDF. If f(x) is the probability density function, then:

F(x) = ∫[from -∞ to x] f(t) dt

Think of it like filling a bucket: the PDF tells you the rate water flows in at each point, while the CDF tells you the total amount collected up to that point.

Key Properties

  • Starts at 0: F(-∞) = 0 (no probability accumulated yet)
  • Ends at 1: F(∞) = 1 (all probability is accumulated)
  • Always increasing: As x increases, F(x) never decreases
  • Finding probabilities: P(a < X ≤ b) = F(b) - F(a)

Going Backwards

You can also go from CDF back to PDF by taking the derivative:

f(x) = dF(x)/dx

The PDF is the slope of the CDF at each point.

Key Takeaway: The CDF accumulates probability by integrating the PDF from negative infinity to x, providing a complete picture of where probability "piles up" in a continuous distribution.