U4.6 Random Variables — Mean and SD
Master AP Statistics 4.6-4.7: tell discrete from continuous random variables and compute the mean (expected value) and standard deviation of a discrete distribution.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on U4.6 Random Variables — Mean and SD, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
Every time you spin a wheel, roll dice, or count defective phones in a shipment, the numeric outcome is a random variable. This lesson teaches you to recognize whether that variable is discrete or continuous and, for discrete cases, to compute its center and spread directly from a probability distribution table.
These two skills — the expected value and the standard deviation — are the backbone of everything later in Unit 4, from combining random variables to the binomial and geometric distributions. AP questions love to hand you a small table and ask 'what is the expected value?' or 'interpret this standard deviation in context.' Get comfortable with the formulas and the interpretation now, and the harder topics fall into place.
These two skills — the expected value and the standard deviation — are the backbone of everything later in Unit 4, from combining random variables to the binomial and geometric distributions. AP questions love to hand you a small table and ask 'what is the expected value?' or 'interpret this standard deviation in context.' Get comfortable with the formulas and the interpretation now, and the harder topics fall into place.
Discrete vs. Continuous Random Variables
A random variable assigns a number to each outcome of a random process. The key classification question is: can you list the possible values, or do they fill an interval?
A discrete random variable takes a countable set of values — often whole numbers you could list, like the number of heads in 4 flips (). A continuous random variable can take any value in an interval, like the exact time a runner finishes a race or a person's height. You measure continuous variables; you count discrete ones.
A common misconception: 'if the numbers are big, it's continuous.' Not true — the number of grains of sand is still discrete because it is countable. Another trap: with continuous variables, the probability of any exact single value is ; probability comes from areas under a density curve over an interval. This lesson focuses on computing mean and SD for the discrete case, since those use a finite table.
A discrete random variable takes a countable set of values — often whole numbers you could list, like the number of heads in 4 flips (). A continuous random variable can take any value in an interval, like the exact time a runner finishes a race or a person's height. You measure continuous variables; you count discrete ones.
| Feature | Discrete | Continuous |
|---|---|---|
| Possible values | Countable, listable | Any value in an interval |
| Probability tool | Probability distribution table | Density curve |
| Can be positive | Always at a single point | |
| Example | Number of pets owned | Weight of a dog |
Computing the Mean (Expected Value)
For a discrete random variable, the mean — also called the expected value — is a weighted average of the possible values, where each value is weighted by its probability:You multiply each value by its probability and add up all the products. The result does not have to be a value the variable can actually take. If a game has payouts of $0, 1, and 5 dollars, the expected value might be 1.7 dollars even though 1.7 is impossible on any single play. That is fine — expected value tells you the long-run average outcome over many, many repetitions.
Interpretation matters on the AP exam. A correct interpretation sounds like: 'If we repeated this process many times, the average value of would be about .' Avoid saying 'we expect to get ' on a single trial.
Before computing, always check that the probabilities are valid: each must be between and , and they must sum to exactly . If a table is missing one probability, use to solve for it first. A frequent error is forgetting this check and computing a mean from an incomplete distribution.
Interpretation matters on the AP exam. A correct interpretation sounds like: 'If we repeated this process many times, the average value of would be about .' Avoid saying 'we expect to get ' on a single trial.
Before computing, always check that the probabilities are valid: each must be between and , and they must sum to exactly . If a table is missing one probability, use to solve for it first. A frequent error is forgetting this check and computing a mean from an incomplete distribution.
Computing the Standard Deviation
The variance of a discrete random variable measures how far outcomes typically fall from the mean, weighting squared deviations by their probabilities:The standard deviation is the square root of the variance:The process has three clear steps. First, find . Second, for each value compute its deviation , square it, and multiply by . Third, add these up to get the variance, then take the square root.
Units matter: variance is in squared units, while standard deviation is back in the original units, which is why we usually report . Interpret it as: 'On average, outcomes fall about units away from the mean .'
Two common mistakes: forgetting to square the deviation before multiplying by probability, and forgetting to take the final square root (leaving your answer as the variance). On a calculator, entering the values in and probabilities in and running one-variable statistics gives (which equals here) and directly — a reliable check on hand computation.
Units matter: variance is in squared units, while standard deviation is back in the original units, which is why we usually report . Interpret it as: 'On average, outcomes fall about units away from the mean .'
Two common mistakes: forgetting to square the deviation before multiplying by probability, and forgetting to take the final square root (leaving your answer as the variance). On a calculator, entering the values in and probabilities in and running one-variable statistics gives (which equals here) and directly — a reliable check on hand computation.
How the AP Exam Tests This
Multiple-choice questions usually give a completed distribution table and ask for the expected value, or give a table with one missing probability that you must find first. Sometimes they ask which of several interpretations of or is correct — read carefully, because the wrong choices often confuse 'long-run average' with 'guaranteed result of one trial.'
Free-response questions frequently embed this skill inside a larger problem. You might build the distribution, compute the mean, and then interpret it in context, all for partial credit. Communication counts: state the formula or show the products, report a numeric answer with units, and interpret in a complete sentence tied to the scenario.
A reliable strategy: organize your work in a table with columns for , , , and . This keeps every step visible and earns method credit even if arithmetic slips.
Free-response questions frequently embed this skill inside a larger problem. You might build the distribution, compute the mean, and then interpret it in context, all for partial credit. Communication counts: state the formula or show the products, report a numeric answer with units, and interpret in a complete sentence tied to the scenario.
| Task | What graders want |
|---|---|
| Verify distribution | Show |
| Compute | Show with a value and units |
| Compute | Correct squared deviations, final square root |
| Interpret | 'Over many repetitions...' phrasing in context |
Key terms
- Random Variable.
- A variable whose numeric value is determined by the outcome of a random process, denoted with a capital letter such as .
- Discrete Random Variable.
- A random variable with a countable set of possible values that can be listed, such as counts of events.
- Continuous Random Variable.
- A random variable that can take any value within an interval, described by a density curve rather than a table.
- Probability Distribution.
- A list of all possible values of a discrete random variable together with their probabilities, which must sum to .
- Expected Value (Mean).
- The long-run average value of a random variable, , a probability-weighted average.
- Variance.
- The probability-weighted average of squared deviations from the mean, .
- Standard Deviation.
- The square root of the variance, , measuring typical distance of outcomes from the mean in original units.
Worked example
A carnival game charges a fixed entry and lets be the number of tokens a player wins. The distribution is: , , , and . Find the missing probability, then compute the mean and standard deviation of .
First find . Since all probabilities sum to : .
Now compute the mean using :So a player wins an average of token per play over the long run.
Next compute the variance. For each value find :
For : .
For : .
For : .
For : .
Sum: .
Take the square root: token.
Interpretation: over many plays, players win about token on average, and the number of tokens won typically varies by about token from that mean.
Now compute the mean using :So a player wins an average of token per play over the long run.
Next compute the variance. For each value find :
For : .
For : .
For : .
For : .
Sum: .
Take the square root: token.
Interpretation: over many plays, players win about token on average, and the number of tokens won typically varies by about token from that mean.
Practice questions
Which of the following is a continuous random variable?
- The number of text messages a student sends in a day
- The exact number of minutes a student sleeps in a night
- The number of red cards drawn from a deck of 5 cards
- The number of correct answers on a 20-question quiz
Answer: The exact number of minutes a student sleeps in a night
Time can take any value in an interval (7.5 hours, 7.52 hours, and so on), so it is measured, not counted, making it continuous. The other three are counts with listable whole-number values, so they are discrete. Remember: you count discrete variables and measure continuous ones.
A random variable has values with probabilities . What is ?
- 1.7
- 2.0
- 1.5
- 2.3
Answer: 1.7
Apply . Note the expected value need not be one of the listed values; it is the long-run average over many repetitions.
A small business tracks , the number of service calls received in an hour, with distribution , , . Compute the mean and standard deviation of , and interpret each in context.
Answer: Mean calls; standard deviation calls.
Mean: calls. Variance: . So calls. Interpretation: over many hours the business averages about calls per hour, and the hourly count typically varies by about call from that mean.
FAQ
- What is the difference between the mean and the expected value?
- They are the same thing for a random variable. 'Mean of ,' 'expected value of ,' , and all refer to the probability-weighted average . The AP exam uses these terms interchangeably.
- Why doesn't the expected value have to be a possible outcome?
- Expected value is a long-run average, not a prediction for one trial. Averaging outcomes like and over many trials can produce , which no single trial can equal. It describes central tendency across many repetitions.
- Do I use the division-by-n standard deviation formula here?
- No. For a random variable you weight by probability, not by dividing by a sample size. Use . On a calculator's one-variable stats, enter values in one list and probabilities in the frequency list, then read .
- Can a continuous random variable have a probability distribution table?
- No. Continuous variables are described by density curves, and the probability of any single exact value is . Probabilities come from areas under the curve over intervals. Tables of apply only to discrete random variables.
Learn this with a teacher, not a page
The Crimsora tutor teaches U4.6 Random Variables — Mean and SD live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.