Probability density function

In mathematics, a probability density function (pdf) serves to represent a probability distribution in terms of integrals. Any function that is everywhere non-negative and whose integral from −∞ to +∞ is equal to 1 is a probability density function. If a probability distribution has density f(x), then intuitively the infinitesimal interval [x, x + dx] has probability f(x) dx. Informally, a probability density function can be seen as a "smoothed out" version of a histogram: if one empirically measures values of a continuous random variable repeatedly and produces a histogram depicting relative frequencies of output ranges, then this histogram will resemble the random variable's probability density (assuming that the variable is sampled sufficiently often and the output ranges are sufficiently narrow).

Formally, a probability distribution has density f(x) if f(x) is a non-negative Lebesgue-integrable function RR such that the probability of the interval [a, b] is given by

<math>\int_a^b f(x)\,dx<math>

for any two numbers a and b. This implies that the total integral of f must be 1. Conversely, any non-negative Lebesgue-integrable function with total integral 1 is the probability density of a suitably defined probability distribution.

Simplified explanation

A probability density function is any function f(x) that describes the probability density in terms of the input variable x in a manner described below.

  • f(x) is greater than or equal to zero for all values of x
  • The total area under the graph is 1. Refer to equation below.
<math> \int_{-\infty}^\infty \,f(x)\,dx = 1 <math>

The actual probability can then be calculated by taking the integral of the function f(x) by the integration interval of the input variable x.

For example: the variable x being within the interval 4.3 < x < 7.8 would have the actual probability of


Further details

For example, the continuous uniform distribution on the interval [0,1] has probability density f(x) = 1 for 0 ≤ x ≤ 1 and zero elsewhere. The standard normal distribution has probability density

<math>f(x)={e^{-{x^2/2}}\over \sqrt{2\pi}}.<math>

If a random variable X is given and its distribution admits a probability density function f(x), then the expected value of X (if it exists) can be calculated as

<math>\operatorname{E}(X)=\int_{-\infty}^\infty x\,f(x)\,dx.<math>

Not every probability distribution has a density function: the distributions of discrete random variables do not; nor does the Cantor distribution, even though it has no discrete component, i.e., does not assign positive probability to any individual point.

A distribution has a density function if and only if its cumulative distribution function F(x) is absolutely continuous. In this case, F is almost everywhere differentiable, and its derivative can be used as probability density:

<math>\frac{d}{dx}F(x) = f(x).<math>

If a probability distribution admits a density, then the probability of every one-point set {a} is zero.

It is a common mistake to think of f(a) as the probability of {a}, but this is incorrect; in fact, f(a) will often be bigger than 1 - consider a random variable with a uniform distribution between 0 and 1/2.

Two probability densities f and g represent the same probability distribution precisely if they differ only on a set of Lebesgue measure zero.

See also

it:funzione di densità di probabilità nl:kansdichtheid sv:Täthetsfunktion zh:機率密度函數


  • Art and Cultures
    • Art (
    • Architecture (
    • Cultures (
    • Music (
    • Musical Instruments (
  • Biographies (
  • Clipart (
  • Geography (
    • Countries of the World (
    • Maps (
    • Flags (
    • Continents (
  • History (
    • Ancient Civilizations (
    • Industrial Revolution (
    • Middle Ages (
    • Prehistory (
    • Renaissance (
    • Timelines (
    • United States (
    • Wars (
    • World History (
  • Human Body (
  • Mathematics (
  • Reference (
  • Science (
    • Animals (
    • Aviation (
    • Dinosaurs (
    • Earth (
    • Inventions (
    • Physical Science (
    • Plants (
    • Scientists (
  • Social Studies (
    • Anthropology (
    • Economics (
    • Government (
    • Religion (
    • Holidays (
  • Space and Astronomy
    • Solar System (
    • Planets (
  • Sports (
  • Timelines (
  • Weather (
  • US States (


  • Home Page (
  • Contact Us (

  • Clip Art (
Personal tools