Maximize your score with these resources:
- Albert.io AP® Statistics question banks
- Free AP® Statistics cheat sheets
- Free AP® Statistics score calculator
AP® Statistics Review: Introduction to Random Variables and Probability Distributions
You know about data, samples, and populations. Now you’re moving to a deeper level: what happens when you assign numbers to random outcomes? That’s a random variable, and it’s the gateway to everything involving probability, inference, and prediction. This review covers CED Topic 2.8 (VAR-5.A and VAR-5.B): representing and interpreting probability distributions for discrete random variables. By the end, you’ll understand what a random variable really is, how to construct a probability distribution, and how to extract meaning—shape, center, spread—from that distribution.
What Is a Random Variable?
A random variable is a function that assigns a number to each outcome of a random process. That’s the formal definition, but here’s what it means in practice: whenever something random happens, you get an outcome. A random variable puts a number on that outcome.

Examples:
- Roll a die → The outcome is “4.” The random variable X = 4.
- Flip a coin → The outcome is “heads.” Define X = 1 for heads, X = 0 for tails. The random variable X = 1.
- Survey 100 people about income → X = the income of a randomly selected person. X might be $45,000 or $120,000 or $32,500.
- Draw a card from a deck → X = the value of the card. X ∈ {1, 2, …, 13}.
Random variables let you move from describing outcomes (heads/tails) to doing calculations (probabilities, means, comparisons). Without assigning numbers, you can’t compute much.
Capital letters denote random variables: X, Y, Z. Lowercase letters denote specific values: x = 3 means “the random variable X took the value 3.”
Discrete Random Variables and Probability Distributions
A discrete random variable takes on countable values—usually integers, but always a finite or countably infinite set. X might equal 0, 1, 2, 3, or 4. Not 0.5, not any real number in between; just specific, separate values.

The probability distribution of a discrete random variable lists all possible values of X and the probability of each one. It can be presented as:
- A table:
| X | 0 | 1 | 2 | 3 |
| P(X) | 0.1 | 0.3 | 0.4 | 0.2 |
- A graph (histogram or bar chart): The x-axis shows values of X, the y-axis shows probability (or relative frequency). Each bar’s height is the probability.
- A function: A mathematical formula. Example: P(X = x) = 0.5^x for x = 1, 2, 3, …
Critical requirement: All probabilities must be between 0 and 1, and they must sum to exactly 1. If you list a probability distribution and the sum isn’t 1, you’ve made an error.
Example: Rolling a fair die
X = the number showing on the die.
| X | 1 | 2 | 3 | 4 | 5 | 6 |
| P(X) | 1/6 | 1/6 | 1/6 | 1/6 | 1/6 | 1/6 |
Sum: 1/6 + 1/6 + 1/6 + 1/6 + 1/6 + 1/6 = 1.
The Cumulative Probability Distribution
Sometimes you care about “the probability that X is less than or equal to some value.” That’s the cumulative probability distribution (CDF), denoted F(x) = P(X ≤ x).
Loading the binomial probability calculator…

Example: Same die roll
| X | 1 | 2 | 3 | 4 | 5 | 6 |
| P(X = x) | 1/6 | 1/6 | 1/6 | 1/6 | 1/6 | 1/6 |
| F(x) = P(X ≤ x) | 1/6 | 2/6 | 3/6 | 4/6 | 5/6 | 1 |
Note: F(1) = P(X ≤ 1) = P(X = 1) = 1/6. But F(3) = P(X ≤ 3) = P(X = 1) + P(X = 2) + P(X = 3) = 3/6. The CDF is cumulative—it stacks up.
The CDF is useful for finding probabilities like P(X > 3) = 1 – F(3) = 1 – 3/6 = 3/6, or P(2 ≤ X ≤ 4) = F(4) – F(1) = 4/6 – 1/6 = 3/6.
Interpreting a Probability Distribution: What It Tells You
Reading a probability distribution isn’t just about plugging numbers into formulas. You need to extract meaning: what does this distribution tell us about the random variable?
Shape: Look at the visual form of the distribution.
- Symmetric: The distribution mirrors itself around the center. Example: a fair die roll (each value equally likely). Symmetric distributions balance left and right.
- Skewed: One tail stretches out further. Skew right means the tail extends toward larger values (possible but rare). Skew left means the tail extends toward smaller values. A distribution skewed right might represent “income in a typical town”—most people earn moderate salaries, but a few earn very high salaries (the right tail).
- Bimodal or multimodal: Two or more peaks. Example: test scores in a class where one group studied hard and scored 90+, and another group didn’t study and scored 70–75. Two modes.
Center: Where’s the distribution located? We’ll formalize this as the mean or expected value, but visually, the center of the distribution shows you the typical or average outcome.
Spread: How concentrated or dispersed are the probabilities?
- A distribution where all probability is on one value (P(X = 5) = 1, all others are 0) has zero spread—no variability.
- A distribution spread across many values (equal probability on 0, 1, 2, …, 100) has high spread—lots of variability.
Spread is formalized as variance and standard deviation (covered in a later topic), but the intuition is: tightly clustered probabilities = low spread, widely scattered probabilities = high spread.
Example: Comparing Distributions
Suppose you’re comparing two investments. Both have an expected return of 10% (same center). But:
- Stock A: 40% return 25% of the time, 10% return 50% of the time, -20% return 25% of the time. (High spread, risky.)
- Stock B: 10.5% return 50% of the time, 9.5% return 50% of the time. (Low spread, stable.)
Both have center = 10%, but Stock B’s tighter distribution around that mean (lower spread) makes it safer. Stock A swings wildly. The distribution’s spread tells you about risk.
From Data to Distribution: Constructing a Probability Distribution
On the AP Exam, you might be asked to construct a probability distribution from information. Here’s the process:
Step 1: Identify all possible values the random variable can take. If X = number of heads in 3 coin flips, X ∈ {0, 1, 2, 3}.
Step 2: Assign probabilities to each value based on the problem. You might use:
- Theoretical probability: If the problem says “fair die,” P(each face) = 1/6.
- Empirical probability: If you have data on 1,000 students’ test scores, you estimate P(score = 85) = (number of students with 85) / 1,000.
- Given distribution: The problem gives you the probabilities directly.
Step 3: Verify: sum of all probabilities = 1. Each probability ∈ [0, 1].
Example: A counselor observes that among students who apply to college, 80% get accepted to at least one school, 15% get accepted to none, and 5% don’t receive decisions in time. Let X = 0 if no acceptances, X = 1 if at least one acceptance. Then P(X = 0) = 0.15 + 0.05 = 0.20, P(X = 1) = 0.80. Sum = 1.
Test-Taking Strategies
Mnemonic: DIST
- D = Discrete or continuous? (This review is discrete. Continuous comes later.)
- I = Identify all possible values.
- S = Sum to 1 (probabilities must).
- T = Table, graph, or function (how is it presented?).
Before you answer any question, make sure you know what type of random variable you’re dealing with and how the distribution is presented.
Common Exam Formats:
- “Which of the following is a valid probability distribution?” → Check if probabilities sum to 1 and all are in [0, 1].
- “Sketch the probability distribution for ___.” → Draw a histogram with x-axis = values, y-axis = probability. Bars shouldn’t overlap (discrete values are distinct). Label axes.
- “Find P(X > 3).” → Sum probabilities for all values greater than 3. Or use the cumulative distribution: P(X > 3) = 1 – P(X ≤ 3).
- “Interpret the shape/center/spread of this distribution.” → Describe symmetry (or skew), identify the typical value (visually locate the center), and note whether outcomes cluster tightly or scatter widely.
Frequency Mistake: Confusing Probability with Count
If a problem says “In a sample of 500 students, 100 got an A, 200 got a B, 150 got a C, 50 got a D,” don’t use these counts as your probability distribution. Divide by 500: P(A) = 0.20, P(B) = 0.40, P(C) = 0.30, P(D) = 0.10. Probabilities are proportions, not raw counts.
Time Management: When constructing or verifying a distribution, spend 30 seconds checking that probabilities sum to 1. That one check catches most errors. Interpret shape/center/spread visually first, then compute if needed. Don’t compute values you don’t need.
Cross-Topic Connection: Probability distributions are the foundation for all inference. When you compute confidence intervals or p-values (Units 3 and 4), you’re using sampling distributions, which are probability distributions of a statistic. Learn to read and interpret distributions now; you’ll use this skill constantly.
Visualization Tip: Always sketch the distribution if you can. A visual mental picture of shape, center, and spread beats trying to remember formulas. You’ll compute exact values later, but here you’re building intuition about what distributions look like and what they mean.
Check for Understanding
Think you’ve got it? Complete the quiz below to make sure. Download your results at the end.
