Course contentsShow
← Mathematics
Lesson 2832 of 3,12156. Probability — Random VariablesFree lesson

Introduction to Probability Mass Functions (PMFs)

Define PMFs for discrete random variables and understand how they assign probabilities to each possible value.

Introduction to Probability Mass Functions (PMFs)

You'll learn: How discrete random variables assign probabilities to each possible outcome through a probability mass function.

What Is a Probability Mass Function?

A Probability Mass Function (PMF) is a function that tells you the probability that a discrete random variable equals each specific value in its range. Think of it as a complete "probability map" for your random variable—it shows where all the probability "mass" is distributed across the possible outcomes.

If X is a discrete random variable, its PMF is typically denoted p(x) or P(X = x), and it gives the probability that X takes on the value x.

The Core Properties

Every PMF must satisfy two essential properties:

  1. Non-negativity: p(x) ≥ 0 for all values x

    • Probabilities can't be negative!
  2. Total probability equals 1: The sum of p(x) over all possible values equals 1

    • All probability mass must be accounted for

A Simple Analogy

Imagine a bag containing colored marbles. The PMF is like a detailed inventory list that tells you: "30% are red, 50% are blue, 20% are green." For each color (value), you know exactly how much probability (what fraction) it represents. The PMF gives you the complete distribution at a glance.

Example

For a fair six-sided die, let X be the number showing. The PMF is:

  • p(1) = 1/6
  • p(2) = 1/6
  • p(3) = 1/6
  • ... and so on for all six faces

Notice: each probability is non-negative, and 6 × (1/6) = 1 ✓

Key Takeaway: The PMF of a discrete random variable is a function that assigns a probability to each possible value, satisfying non-negativity and summing to exactly 1.