A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Probability Mass Functions

College Depth 62 in the knowledge graph ☐ I know this ☆ Set as goal
2,606topics build on this
274prerequisites beneath it
See this on the map →
Discrete Random Variables→→Count Data Regression: Poisson and Negative Binomial ModelsCumulative Distribution Functions+14 more
pmf discrete-distributions probability

Core Idea

The probability mass function (PMF) gives P(X = x) for each possible value x of a discrete random variable X. The PMF satisfies: all probabilities are non-negative and sum to 1. It completely describes the probability distribution.

How It's Best Learned

Write out PMFs for simple discrete variables (die rolls, coin flips, counting successes). Verify that probabilities sum to 1. Practice calculating probabilities from PMFs by summing over appropriate values.

Common Misconceptions

Confusing PMF with PDF (PMF applies to discrete, PDF to continuous). Thinking probabilities can be read from a single bar height (PMFs are discrete). Using PMF methods on continuous data.

Explainer

When you first encountered discrete random variables, you described them informally — a die roll, a coin flip count, a number of defects on an assembly line. A probability mass function is the formal tool that completely describes such a variable: it tells you the exact probability that the variable equals each of its possible values.

For a discrete random variable X, the PMF is the function p(x) = P(X = x). For a fair die, p(1) = p(2) = … = p(6) = 1/6. For a biased coin that lands heads 70% of the time, the number of heads in one flip has PMF p(0) = 0.3 and p(1) = 0.7. Any valid PMF must satisfy two conditions: (1) every probability is non-negative, p(x) ≥ 0 for all x, and (2) the probabilities sum to exactly 1 across all possible values. These mirror the axioms of probability you have already studied.

The power of the PMF is that once you have it, you can compute any probability about X by summing. Want P(X > 3) for a die? Add p(4) + p(5) + p(6) = 3/6 = 1/2. Want P(2 ≤ X ≤ 4)? Add p(2) + p(3) + p(4). This "sum over the range" approach is the discrete analogue of integrating a PDF for continuous variables — and understanding the distinction is crucial. A PMF assigns genuine probability to each individual point; a PDF does not (it gives density, and you must integrate over an interval).

The PMF also serves as the foundation for everything you will compute next: the expected value (weighted average of outcomes) and variance (spread of outcomes) are both defined as sums involving the PMF. Any time you see E[X] = Σ x·p(x) or Var(X) = Σ (x - μ)²·p(x), you are applying the PMF directly. Getting comfortable reading and constructing PMFs for simple cases — dice, coins, small finite sample spaces — prepares you for the named distributions (Binomial, Poisson, Geometric) where the PMF has a closed algebraic form.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → Function Notation Review → Random Variables: Definition and Classification → Joint and Marginal Distributions → Conditional Distributions of Random Variables → Random Variables → Discrete Random Variables → Probability Mass Functions

Longest path: 63 steps · 274 total prerequisite topics

Prerequisites (1)

Leads To (16)