Unlike a probability, a probability density function can take on values greater than one; for example, the continuous uniform distribution on the interval [0, 1/2] has probability density f (x) = 2 for 0 ≤ x ≤ 1/2 and f (x) = 0 elsewhere.