Skip to content

Mathematics and Statistics · Ch 16 — Probability Distributions

Probability Density Function of a Continuous Random Variable (p.d.f.)

3

Probability Density Function of a Continuous Random Variable (p.d.f.)

A continuous random variable takes uncountably many values, so we can no longer attach a positive probability to each single value — in fact for a continuous XX, P(X=c)=0P(X = c) = 0 for any particular number cc. Instead, probability is described by a probability density function (p.d.f.) f(x)f(x), and probabilities are obtained as areas under the curve y=f(x)y = f(x), i.e. by integration.

Note

Conditions for a valid p.d.f.

A function f(x)f(x) is a probability density function of a continuous random variable XX iff:

  1. f(x)≥0f(x) \ge 0 for all xx, and
  2. ∫−∞∞f(x) dx=1\displaystyle\int_{-\infty}^{\infty} f(x)\,dx = 1 (the total area under the curve is 11).

The probability that XX lies between two values aa and bb is the area under ff over that interval:

P(a≤X≤b)=∫abf(x) dx.P(a \le X \le b) = \int_{a}^{b} f(x)\,dx.

Because a single point contributes zero area, it makes no difference whether the endpoints are included:

P(a≤X≤b)=P(a<X<b)=P(a≤X<b)=P(a<X≤b).P(a \le X \le b) = P(a < X < b) = P(a \le X < b) = P(a < X \le b).

This is a genuine change of viewpoint from the discrete case: a sum of probabilities becomes an integral of a density, and f(x)f(x) itself is not a probability (it may even exceed 11) — only the area it encloses is a probability. …

Definition 6Probability density function (p.d.f.)

For a continuous XX, a function f(x)≥0f(x)\ge 0 with ∫−∞∞f(x) dx=1\int_{-\infty}^{\infty} f(x)\,dx = 1; probabilities are areas: $P(a\le X\le …

Definition 7Area-as-probability rule

For a continuous variable P(X=c)=0P(X=c)=0, so interval probabilities are unaffected by whether endpoints are included; probability equal …