Probability Distributions and Densities

Building on Laplace and Kolmogorov’s definitions of probability, this article explains the basics of probability distributions and density functions in a beginner-friendly way.

ProbabilityBeginnerProbability Distribution

In the previous article, we introduced the definitions of probability by Laplace and Kolmogorov.
Now we move on to probability distributions and probability density functions (PDFs).

Random Variables and Probability Distributions

First, we need the concept of a random variable.
A random variable XX is a way of assigning a numerical value to the outcome of a random experiment.

  • Example: Roll a die → let XX be the number on the die (X{1,2,3,4,5,6}X \in \{1,2,3,4,5,6\})
  • Example: Drop a needle on the interval [0,1] → let XX be the position where it lands (X[0,1]X \in [0,1])

A probability distribution describes which values XX can take and with what probability.
In other words, it’s like a “map” of the probabilities.

Discrete Case (Example: A Die)

If we roll a die once, the possible outcomes are 1,2,3,4,5,61,2,3,4,5,6.
Defining XX as the die result, the probability distribution is:

P(X=k)=16,k=1,2,3,4,5,6P(X = k) = \frac{1}{6}, \quad k = 1,2,3,4,5,6

As a table:

Outcome kk123456
Probability P(X=k)P(X=k)1/61/61/61/61/61/6

Such a discrete distribution is described by the Probability Mass Function (PMF).

Continuous Case (Example: Dropping a Needle on [0,1])

Now consider dropping a needle randomly on the line segment from 0 to 1 cm.
If XX is the position where the needle lands, what is P(X=0.5)P(X=0.5)?

Surprisingly, the probability of landing exactly at 0.5 cm is 0.
Instead, we consider probabilities over intervals:

P(0X0.5)=0.5P(0 \leq X \leq 0.5) = 0.5

Here, the probability is determined by a Probability Density Function (PDF).

For example, in the uniform distribution on [0,1], the density is:

f(x)=1,0x1f(x) = 1, \quad 0 \leq x \leq 1

And probabilities are calculated as areas under the curve:

P(aXb)=abf(x)dxP(a \leq X \leq b) = \int_a^b f(x) \, dx

So probability is the integral of density over an interval.

Discrete vs Continuous Distributions

FeatureDiscrete Distribution (PMF)Continuous Distribution (PDF)
Values handledIndividual valuesIntervals
Probability of a single pointP(X=x)P(X=x) is meaningfulP(X=x)=0P(X=x)=0
How to calculateSummationIntegration

Summary

  • A random variable XX represents outcomes of random experiments as numbers
  • A probability distribution tells us the probabilities of XX’s values
  • PMFs describe discrete cases (dice, coins)
  • PDFs describe continuous cases (intervals, measured by area)
  • Probability is obtained as “the area under the density curve”

Probability Distributions and Densities

Interactive demonstration of discrete and continuous probability distributions

Discrete Distribution (Die Roll PMF)

0.000.050.100.150.201/61/61/61/61/61/6123456Die OutcomeP(X = k)

PMF Property: Each individual outcome has a specific probability.
P(X = 3) = 1/6 ≈ 0.167

Key Concepts

Discrete Distribution (PMF)

• Each outcome has a specific probability
• Sum of all probabilities = 1
• P(X = specific value) ≠ 0

Continuous Distribution (PDF)

• Probability = area under the curve
• Total area under PDF = 1
• P(X = specific value) = 0

Mathematical Notes

Discrete: P(X = k) gives exact probability for outcome k

Continuous: P(a ≤ X ≤ b) = ∫ab f(x)dx

Key insight: For continuous distributions, probability is measured as area, not height!

← Back to Encyclopedia