A probability density function (PDF) is a non-negative function that describes how probability is distributed across the possible values of a continuous random variable. Probability is represented by area under the density curve, not by the function's height at one point.
The Reasoning
If a continuous random variable has probability density function , then the probability that lies between and is
A valid PDF must satisfy both conditions:
| Condition | Meaning |
|---|---|
| for every | Probability density cannot be negative. |
The function's height indicates relative concentration, so larger values of suggest that nearby outcomes are more densely distributed. However, only an integral over an interval produces a probability.
A useful related function is the cumulative distribution function, , which equals . Thus, is non-decreasing and, where differentiable, .
In piecewise exam questions, first identify the support: the interval on which is non-zero. Then use the total-area condition to determine any unknown constant before calculating the requested probability. Keep bounds consistent with the stated support to avoid integrating an invalid formula.
For example, suppose for , and otherwise. It is valid because and
Therefore,
For a continuous variable, . Consequently, including or excluding interval endpoints does not change the probability: .
A common misconception is that itself is a probability and therefore cannot exceed . This is false: a density may be greater than , provided it remains non-negative and its total area is .
IB Exam Technique
This is IB Mathematics: Analysis and Approaches HL, sub-topic AHL 4.14: Properties of discrete and continuous random variables. On Paper 1, show the integral setup and exact evaluation; on Papers 2 or 3, write the required integral before using the GDC. Examiners may ask you to determine an unknown parameter, calculate an interval probability, or find the median using .
