A continuous random variable takes values in an interval (uncountable set). Unlike discrete variables, individual points have zero probability—only intervals have positive probability.
Key Difference
Discrete: P(X=x) can be positive
Continuous: P(X=x)=0 for any specific value x
Probability Density Function (PDF)
The PDFfX(x) describes how probability is distributed along the real line:
P(a≤X≤b)=∫abfX(x)dx
Properties
fX(x)≥0 for all x
∫−∞∞fX(x)dx=1 (total probability is 1)
Interpretation
The PDF is not a probability—it’s a density (probability per unit length). The value fX(x) can be greater than 1!
Small Intervals
For a small interval of length δ:
P(x≤X≤x+δ)≈fX(x)⋅δ
Cumulative Distribution Function (CDF)
The CDF gives the probability of being less than or equal to a value:
FX(x)=P(X≤x)=∫−∞xfX(t)dt
Properties
FX(x) is non-decreasing
limx→−∞FX(x)=0
limx→∞FX(x)=1
P(a≤X≤b)=FX(b)−FX(a)
Relation to PDF
fX(x)=dxdFX(x)
The PDF is the derivative of the CDF.
Common Continuous Distributions
Uniform
All values in [a,b] equally likely:
fX(x)=b−a1for a≤x≤b
Exponential
Time until an event occurs:
fX(x)=λe−λxfor x≥0
Normal (Gaussian)
Bell-shaped curve:
fX(x)=σ2π1e−2σ2(x−μ)2
Expected Value and Variance
Expected Value
E[X]=∫−∞∞x⋅fX(x)dx
Variance
Var(X)=E[(X−E[X])2]=E[X2]−(E[X])2
Uniform Example
For X∼Uniform(a,b):
E[X]=2a+b (midpoint)
Var(X)=12(b−a)2
Key Terms
Continuous Random VariableA random variable that can take any value in an interval; probabilities are given by integrating the PDF.
PDFProbability Density Function — f(x)≥0 where P(a≤X≤b)=∫abf(x)dx.
CDFCumulative Distribution Function — F(x)=P(X≤x), always non-decreasing with F(−∞)=0 and F(∞)=1.
Uniform DistributionA continuous distribution where all values in an interval [a, b] are equally likely; f(x) = 1/(b−a).
Exponential DistributionModels the time between events in a Poisson process; f(x) = λe^(−λx) for x ≥ 0.
Normal DistributionThe bell curve: f(x)=σ2π1exp(−2σ2(x−μ)2), characterized by mean μ and standard deviation σ.