AP Statistics Random Variables, Expected Value and Combining Variables Lesson: Notes and Examples (Free PDF)

Random variables lesson – Maths PDFCover of the book AP Statistics Math Lessons (PDF)Download as a PDFThe AP Statistics math lessons bookPrintable PDFSee the book ›


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

Key facts
  • 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.

x12345P(x)0.30.250.20.150.1
Probability distribution of X, the number of items in an order.
00.10.20.30.4Probability0.310.2520.230.1540.15x
Probability histogram: skewed right, with mean 2.5 items.

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}\).

xpx p(x – 2.5)^2 p10.30.300.675020.250.500.062530.20.600.050040.150.600.337550.10.500.6250Sum12.501.7500
Mean 2.50; variance 1.7500; standard deviation 1.323.

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?

OperationMeanStandard deviationa + bXa + b mu|b| sigmaX + Ymu_X + mu_Ysqrt(sx^2 + sy^2)X – Ymu_X – mu_Ysqrt(sx^2 + sy^2)
Rules for transforming and combining random variables (X and Y independent).

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.

Combining independent variables
Means always add or subtract. Variances add for both sums and differences when the variables are independent: the standard deviation of X – Y is the same as for X + Y.

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.

  1. Write the distribution and check the probabilities add to 1.
  2. Compute the mean, then the variance and standard deviation.
  3. Apply the transformation or combination rule.
  4. 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.

Voter.. post

Free printable PDF

AP Statistics Random Variables, Expected Value and Combining Variables Lesson: Notes and Examples

US Letter67 KBPrints in black and white

Download PDF

More AP Statistics math

Lessons

See all

Worksheets

See all

Tests

See all

Quizzes

See all