Probability Mass Functions

College Depth 48 in the knowledge graph I know this Set as goal
Unlocks 190 downstream topics
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

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsFunction Notation ReviewRandom Variables: Definition and ClassificationJoint and Marginal DistributionsConditional Distributions of Random VariablesRandom VariablesDiscrete Random VariablesProbability Mass Functions

Longest path: 49 steps · 202 total prerequisite topics

Prerequisites (1)

Leads To (13)