AP Statistics Random Variables, Expected Value and Combining Variables Lesson: Notes and Examples (Free PDF)
This random variables lesson for AP Statistics covers random variables, expected value and combining variables (Common Core AP STAT 4.7, AP STAT 4.8, AP STAT 4.9, HSS-MD.A.1, HSS-MD.A.2, HSS-MD.B.5), with a free PDF to print.
Key takeaway: This lesson on random variables, expected value, and combining variables helps AP Statistics students describe the long-run behavior of a random outcome.
- Topic: Random Variables, Expected Value and Combining Variables (AP Statistics)
- Content: One-page lesson with a definition, a worked example and key facts
- Standards: AP STAT 4.7, AP STAT 4.8, AP STAT 4.9, HSS-MD.A.1, HSS-MD.A.2, HSS-MD.B.5
- Answers: Explanations included
- Format: Free printable PDF, US Letter, black and white
Key takeaway: A clear AP Statistics lesson on Random Variables, Expected Value and Combining Variables, with definitions, rules and worked examples: what is a discrete random variable and more questions about random variables lesson. Read it before the practice worksheet; free to print or download as a PDF.
A discrete random variable has numerical values with probabilities summing to 1. Its mean, the expected value, is the sum of each value times its probability. For Y = a + bX the mean is a + b times the old mean and the standard deviation is |b| times the old one. For independent variables, means add and variances add.
This lesson on random variables, expected value, and combining variables helps AP Statistics students describe the long-run behavior of a random outcome. First, you build a probability distribution. Then you find its mean and standard deviation and see how they change when variables are transformed or combined.
The lesson covers valid distributions, the mean as a long-run average, the standard deviation, linear transformations a plus bX, and sums and differences of independent variables. It also covers insurance and game examples. Plan about forty minutes, and use a table with columns for x, p, and x times p.
AP Statistics · Common Core State Standards: AP STAT 4.7, AP STAT 4.8, AP STAT 4.9, HSS-MD.A.1, HSS-MD.A.2, HSS-MD.B.5
Key facts in this random variables lesson
- Probabilities in a distribution are between 0 and 1 and sum to 1.
- Mean (expected value): sum of x p; interpret it as the long-run average.
- Standard deviation: square root of the sum of (x – mean)^2 p.
- Then, for a + bX: mean a + b mu, standard deviation |b| sigma.
- For independent X, Y: means add or subtract; variances add (also for X – Y).
What is a discrete random variable?
A random variable \(X\) is a numerical outcome of a random process. A discrete random variable has a countable list of possible values, and its probability distribution gives the probability of each value. The probabilities must be between 0 and 1 and must add to 1.
Reading a probability histogram works like reading any histogram. The tallest bar marks the most likely value, here 1 item, and the long tail on the right shows that big orders are possible but rare. The mean, 2.5 items, lies to the right of the tallest bar because of this skew, just as the mean of a skewed data set lies toward the tail. Always check the shape before you decide how to describe the distribution in context.
How do you find the mean and standard deviation of a random variable?
The mean (expected value) is the long-run average: \(\mu_X=\sum x_i\,p_i\). The standard deviation is \(\sigma_X=\sqrt{\sum (x_i-\mu_X)^2\,p_i}\).
For the order data, \(\mu_X=2.50\) items and \(\sigma_X=1.323\) items. The mean is not a value that must occur; it tells us that over many orders the average is 2.5 items per order.
How do transformations and combinations change a random variable?
Suppose shipping costs \(Y=3+2X\) dollars. Then \(\mu_Y=3+2(2.5)=8.0\) and \(\sigma_Y=2(1.323)=2.646\) dollars. Adding 3 does not change the spread.
If X and Y are independent with \(\sigma_X=3\) and \(\sigma_Y=4\), then \(\sigma_{X+Y}=\sqrt{3^{2}+4^{2}}=5\), not 7. Standard deviations do not add; variances do.
- Write the distribution and check the probabilities add to 1.
- Compute the mean, then the variance and standard deviation.
- Apply the transformation or combination rule.
- Interpret the mean and standard deviation in context.
Random variables lesson: questions and answers
What does the expected value mean?
It is the long-run average value of the random variable over many repetitions. It need not be a possible value: an average of 2.5 items per order is perfectly sensible even though no order has 2.5 items.
Why do we add variances instead of standard deviations?
For independent variables the variability combines like the sides of a right triangle, so variances add. Standard deviations add only when the variables are perfectly related.
Is the standard deviation of X – Y smaller than that of X + Y?
No. For independent variables, sigma of X – Y equals sigma of X + Y, since the variances add in both cases. Subtracting does not reduce the variability.
What is the difference between 2X and X + X?
In 2X, one value of X is doubled, so the standard deviation is 2 sigma. If two independent copies X and X are added, the standard deviation is sqrt(2) sigma, which is smaller.
How do I decide whether a game is fair?
A game is fair if the expected net gain is 0. Compute the expected value of the net winnings, including the cost to play.
Common mistakes with this random variables lesson
- Adding standard deviations of independent variables. Variances add, so find the standard deviation of a sum by adding the variances and taking the square root.
- Using the standard deviation of X minus Y as the difference of the two standard deviations. For independent variables, the variances add even when you subtract.
- Interpreting an expected value as the most likely outcome. Also, it is the long-run average over many repetitions, and it need not be a possible value.
How to study this chapter
- Always check that the probabilities add to 1 before you compute anything. Also, a missing probability changes every later value.
- Interpret the mean and the standard deviation in a full sentence with context. Also, each interpretation names the variable and the units.
- Teachers can ask students to simulate a game many times and compare the average with the expected value.
Download the random variables lesson as a PDF with the button below and keep it with your notes.
More questions about random variables lesson
How do you find the standard deviation of a discrete random variable?
Compute the mean, then find the sum of each squared deviation times its probability, which is the variance. Also, the standard deviation is the square root of the variance. Use a table with columns for x, p, and squared deviation times p.
What happens to the mean and standard deviation when you add a constant?
Adding a constant shifts the mean by that constant and leaves the standard deviation unchanged. Multiplying by a constant b multiplies the mean by b and the standard deviation by the absolute value of b.
How do you find the expected profit of an insurance policy?
Compute the expected payout as the sum of each payout times its probability, then subtract it from the price. Also, a positive result means the company expects a profit per policy in the long run.
All AP Statistics chapters: AP Statistics math.
Free printable PDF
AP Statistics Random Variables, Expected Value and Combining Variables Lesson: Notes and Examples
Download PDFMore AP Statistics math
Lessons
See allInference for the Difference of Two Means Lesson: Notes and Examples
Chi-Square Tests Lesson: Notes and Examples
Probability Rules and Simulation Lesson: Notes and Examples
Inference for the Difference of Two Proportions Lesson: Notes and Examples
Scatterplots and Correlation Lesson: Notes and Examples
Inference for the Slope of a Regression Line Lesson: Notes and Examples
Worksheets
See allConditional Probability and Independence Worksheets with Answers
Inference for the Slope of a Regression Line Worksheets with Answers
Inference for the Difference of Two Proportions Worksheets with Answers
Chi-Square Tests Worksheets with Answers
Random Variables, Expected Value and Combining Variables Worksheets with Answers
Scatterplots and Correlation Worksheets with Answers
Tests
See allScatterplots and Correlation Test with Answer Key
Sampling Methods and Bias in Surveys Test with Answer Key
Significance Tests for a Proportion Test with Answer Key
Two Categorical Variables and Two-Way Tables Test with Answer Key
Confidence Intervals for a Proportion Test with Answer Key
Experimental Design and Random Assignment Test with Answer Key
Quizzes
See allt Intervals and t Tests for a Mean Quiz: 10 Questions with Answers
Graphs of Quantitative Data and Shape Quiz: 10 Questions with Answers
Inference for the Difference of Two Proportions Quiz: 10 Questions with Answers
Two Categorical Variables and Two-Way Tables Quiz: 10 Questions with Answers
Confidence Intervals for a Proportion Quiz: 10 Questions with Answers
Experimental Design and Random Assignment Quiz: 10 Questions with Answers

























