From the free course AP Statistics on Lykke
2.8 Introduction to Random Variables and Probability Distributions
Key concepts: Random variable — a numerical outcome of a chance process · Discrete random variable — countable list of possible values · Probability distribution — a probability attached to each value of X · Total probability — the probabilities of a distribution sum to 1 · Three representations — table, graph, or function for the same distribution · Cumulative distribution — P(X ≤ x) accumulated up each value
A random variable is a numerical description of the outcome of a random phenomenon, effectively acting as a bridge between the qualitative world of "what happened" and the quantitative world of "how much." Unlike a variable in algebra, which represents a fixed but unknown value, a random…
A random variable is a numerical description of the outcome of a random phenomenon, effectively acting as a bridge between the qualitative world of "what happened" and the quantitative world of "how much." Unlike a variable in algebra, which represents a fixed but unknown value, a random variable takes on different values based on chance. We typically denote the random variable itself with an uppercase letter, like $X$, and its specific possible values with lowercase letters, like $x$.
Learning Objective 2.8.A (VAR-5.A): Construct a probability distribution for a discrete random variable. Essential Knowledge 2.8.A.1 (VAR-5.A.1): A random variable is a variable whose values have numerical outcomes that result from a random phenomenon.
The Discrete Random Variable
A discrete random variable has a collection of possible values that can be listed or counted. These often arise from counting processes—such as the number of heads in three coin flips, the number of defective bulbs in a shipment, or the number of goals scored in a match. Because the outcomes are distinct and "jump" from one value to the next (e.g., you cannot score 1.5 goals), we can assign a specific probability to every individual value the variable can take.
Constructing the Probability Distribution
A probability distribution is a complete map of a random variable's behavior. To satisfy the requirements of a valid distribution, two conditions must be met:
- Every probability $P(X = x)$ must be between 0 and 1, inclusive.
- The sum of all probabilities for all possible values must equal exactly 1.
Consider the random phenomenon of flipping a fair coin three times. Let $X$ be the number of heads. The sample space consists of 8 equally likely outcomes: {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}. To construct the distribution, we map these outcomes to their numerical values:
- $X = 0$: {TTT} $\rightarrow P(X=0) = 1/8$
- $X = 1$: {HTT, THT, TTH} $\rightarrow P(X=1) = 3/8$
- $X = 2$: {HHT, HTH, THH} $\rightarrow P(X=2) = 3/8$
- $X = 3$: {HHH} $\rightarrow P(X=3) = 1/8$
Visualizing Distributions
While a table is the most precise way to represent a discrete distribution, a probability histogram provides the visual intuition necessary for Skill 3.A. In these graphs, the horizontal axis represents the possible values of the random variable, and the vertical axis represents the probability (relative frequency) of those values. Unlike a standard frequency histogram of sample data, a probability histogram represents the theoretical "long-run" behavior of the population or process.
When interpreting these graphs, we look for the same features we used in Unit 1: shape, center, and variability. A symmetric probability histogram suggests that outcomes equidistant from the center are equally likely, while a skewed histogram indicates that the random process is more likely to produce values at one end of the spectrum.
Interpretation Check: Suppose a random variable $K$ has the values {10, 20, 30} with probabilities {0.2, 0.5, 0.3}. If you were to conduct this random process 1,000 times, roughly how many times would you expect to see the outcome $K=20$? (Answer: approximately 500 times, as $1000 \times 0.5 = 500$).

Source Materials
Study AP Statistics on Lykke
This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.
Add the free extensionSign in to open every section