Discrete random variable practice problems
By Jude Wallis · Published
This set has eight problems on discrete random variables: checking whether a table is a valid probability distribution, filling in a missing probability, computing the mean and the standard deviation, interpreting the mean as a long-run average, and choosing between two options by expected value.
AP Statistics: Unit 2 (topics 2.8 Introduction to Random Variables and Probability Distributions, 2.9 Parameters of Random Variables). In the Fall 2026 AP Statistics course, constructing a probability distribution for a discrete random variable is Unit 2 topic 2.8 (objective 2.8.A), calculating the mean and standard deviation of a discrete random variable is topic 2.9 (objective 2.9.A), and interpreting those parameters in the context of a specific population is objective 2.9.B. Unit 2 carries 15 to 25 percent of the multiple-choice section. Combining two random variables was removed from this course, so every problem here works with a single random variable.
What these problems build
These 8 problems cover the two Unit 2 skills that usually appear together on a random-variable question: building or checking a discrete probability distribution, then pulling the mean and standard deviation out of it.
A discrete random variable takes numerical values that come from a random process, and each value carries a fixed probability. Its mean, written (say "mu") and also called the expected value, is . Its standard deviation, written (say "sigma"), is . Both are parameters, so they describe the whole distribution rather than one sample you happened to collect.
Problems 1 through 3 are routine table work. Problems 4 through 8 add the standard deviation, an interpretation you have to write in words, a decision between two options, and a distribution you build from a described random process.
Work each problem on paper before opening its solution, and keep every probability-weighted product visible so a wrong step is easy to spot. If the setup feels shaky, read how to find expected value and the course pages on random variables and parameters of random variables. To check a single answer, use the expected value calculator, and find more sets on the practice page.
Problem 1
A robotics club logs how many 3D printer jobs fail during a school day. Three students each propose a probability distribution for , the number of failed jobs.
Model A:
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0.45 | 0.30 | 0.15 | 0.05 |
Model B:
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0.50 | 0.35 | 0.25 | -0.10 |
Model C:
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0.40 | 0.35 | 0.20 | 0.05 |
Which models are valid probability distributions? For each one that is not, say exactly which rule it breaks.
Show the worked solution
A table is a valid probability distribution for a discrete random variable only if two rules both hold: every probability is between 0 and 1 inclusive, and the probabilities across all possible values add to exactly 1.
Check Model A against the second rule: , then , then . The total is , not , so Model A is not valid.
Check Model B against the first rule: is negative, and no probability can be below 0, so Model B is not valid.
Model B is worth a second look, because its total is fine: , then , then . Adding to 1 is not enough on its own when one entry sits outside the interval from 0 to 1.
Check Model C against both rules. Every value (, , , ) lies between 0 and 1, and , then , then .
Model C passes both rules, so it is the only valid distribution of the three.
Only Model C is valid. Model A's probabilities add to instead of , and Model B has , which is not a legal probability even though its entries total 1.
Problem 2
A high school jazz band tracks , the number of student solos in one performance. One probability was smudged on the director's chart.
| Solos | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| 0.15 | ? | 0.30 | 0.20 |
(a) Find the missing probability. (b) Find , the probability that a performance has at least two solos.
Show the worked solution
For part (a), use the rule that the probabilities of a discrete distribution add to 1. Add the three probabilities you can read: , then .
Subtract that total from 1 to recover the missing entry: .
Confirm the result is legal: lies between 0 and 1, so the completed table is a valid probability distribution.
For part (b), "at least two solos" means or . Those two outcomes cannot both happen in one performance, so add their probabilities: .
Add: .
(a) . (b) , so half of performances feature at least two solos.
Problem 3
A campus mail room records , the number of packages a student picks up in a single visit.
| Packages | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| 0.35 | 0.30 | 0.20 | 0.10 | 0.05 |
Find the mean number of packages per visit.
Show the worked solution
Write the formula for the mean of a discrete random variable, which weights every value by its probability: , where is a possible value and is its probability.
Check the table first: , then , then , then . The probabilities add to 1, so the distribution is valid.
Multiply each package count by its probability: , , , , and .
Add the five products in order: , then , then , then .
The mean is packages. Notice it is not one of the listed values, which is normal for a mean.
packages per visit.
Problem 4
A climbing gym records , the number of routes a member completes in one visit.
| Routes | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
| 0.2 | 0.4 | 0.3 | 0.1 |
Find the mean and the standard deviation of . Show the full deviation table.
Show the worked solution
Find the mean first, because the standard deviation formula needs it. Apply : , , , and .
Add those products: , then , then . So routes.
Set up the standard deviation, which is the square root of the probability-weighted squared distances from the mean: .
Build the full table one column at a time, using :
2 0.2 -1.3 1.69 0.338 3 0.4 -0.3 0.09 0.036 4 0.3 0.7 0.49 0.147 5 0.1 1.7 2.89 0.289 Add the last column to get the variance: , then , then . So .
Take the square root: routes. A typical visit lands about routes away from the mean of .
routes and routes.
Problem 5
An animal shelter records , the number of kittens in a surrendered litter.
| Kittens | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
| 0.15 | 0.40 | 0.30 | 0.15 |
(a) Find the mean of . (b) A volunteer writes, "The mean of 3.45 means every litter has 3.45 kittens." Explain what is wrong and write a correct interpretation. (c) The shelter expects 60 litters next year. How many kittens should it plan for?
Show the worked solution
For part (a), confirm the table is valid: , then , then .
Apply : , , , and .
Add the products: , then , then . So kittens.
For part (b), no single litter can hold 3.45 kittens, since only takes the values 2, 3, 4, and 5. The mean of a random variable is a long-run average, not a value any one outcome has to equal.
A correct interpretation names the variable, the context, and the long run: over many surrendered litters, this shelter averages about 3.45 kittens per litter.
For part (c), the expected total is the per-litter mean times the number of litters: kittens.
(a) kittens. (b) No litter can contain 3.45 kittens; the mean is the long-run average number of kittens per litter over many litters. (c) About 207 kittens from 60 litters.
Problem 6
A bike courier must commit to one of two cross-town routes for the rest of the month. Delivery time in minutes is a random variable for each route.
Route A:
| Time | 22 | 26 | 40 |
|---|---|---|---|
| 0.5 | 0.3 | 0.2 |
Route B:
| Time | 24 | 27 | 30 |
|---|---|---|---|
| 0.4 | 0.5 | 0.1 |
(a) Which route has the shorter expected delivery time? (b) Over 50 deliveries, how much time does the better route save on average?
Show the worked solution
Check both tables. Route A: . Route B: . Both are valid distributions.
Apply to Route A: , , and .
Add: , then minutes, so minutes.
Apply the same formula to Route B: , , and .
Add: , then minutes, so minutes.
Compare: , so Route B is faster on average by minutes per delivery. Route A has the single fastest outcome (22 minutes), but its 40-minute delay happens often enough to push its average above B's.
For part (b), multiply the per-delivery saving by the number of deliveries: minutes. As a check, minutes and minutes, and .
(a) Route B, with minutes against minutes. (b) About 35 minutes saved over 50 deliveries.
Problem 7
A dorm laundry room has 5 dryers. Exactly 3 of them work and 2 are out of order, and the machines are unlabeled, so a student picks 2 different dryers at random. Let be the number of working dryers the student picks. (a) Build the probability distribution of . (b) Find and .
Show the worked solution
Count the equally likely outcomes first. Choosing 2 dryers out of 5 without regard to order gives possible pairs, and every pair is equally likely because the choice is random.
Label the working dryers , , and the broken ones , . For both picks must be broken, and the only such pair is , so that is 1 pair out of 10 and .
For the student picks one working and one broken dryer: 3 choices of working times 2 choices of broken gives pairs, so .
For both picks work, and the pairs are , , and , which is 3 pairs, so . Check the total: , and the counts check too, since .
Working dryers 0 1 2 0.1 0.6 0.3 For part (b), apply : , , and , so working dryers.
Now use . Squared deviations from : , , and .
Weight each by its probability: , , and . Add for the variance: , then .
Take the square root: working dryers.
(a) , , . (b) working dryers and working dryers.
Problem 8
A neighborhood repair cafe fixes broken household items for free. Let be the number of items one visitor brings, with one probability missing.
| Items | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 0.30 | ? | 0.20 | 0.10 |
(a) Find the missing probability. (b) Find . (c) Find , rounded to three decimals. (d) The next session expects 40 visitors, and every item takes one 20-minute volunteer slot. How many volunteer hours should the organizers schedule?
Show the worked solution
For part (a), the probabilities must add to 1. Add the known entries: , then . So .
For part (b), apply : , , , and .
Add: , then , then . So items per visitor.
For part (c), use with :
1 0.30 -1.1 1.21 0.363 2 0.40 -0.1 0.01 0.004 3 0.20 0.9 0.81 0.162 4 0.10 1.9 3.61 0.361 Add the last column for the variance: , then , then . So .
Take the square root: items.
For part (d), the expected number of items is the mean per visitor times the number of visitors: items.
Convert items to time: volunteer minutes, and hours.
(a) . (b) items. (c) items. (d) 84 expected items, which is 28 volunteer hours.