Mean and Standard Deviation of a Discrete Random Variable - Complete Interactive Lesson
Part 1: Random Variables
🎲 Discrete Random Variables
Part 1 of 7 — Probability Distributions
What Is a Random Variable?
A random variable assigns a numerical value to each outcome of a random process.
| Type | Values | Examples |
|---|---|---|
| Discrete | Countable (finite or countably infinite) | Number of heads in 10 flips, dice roll |
| Continuous | Any value in an interval | Height, weight, time |
🔑 Key Idea: A discrete random variable has a probability distribution that lists every possible value and its probability.
Probability Distribution Table
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0.1 | 0.3 | 0.4 | 0.2 |
Requirements:
- Every probability is between 0 and 1:
- All probabilities sum to 1:
Reading the Table
From the table above:
Concept Check U0001f3af
Probability Distribution Practice 🧮
Given: , , ,
1) ?
2) ?
3) Do the probabilities sum to 1? (yes or no)
Part 2: Probability Distributions
🎯 Expected Value (Mean of a Random Variable)
Part 2 of 7 — Expected Value
The Mean of a Discrete Random Variable
The expected value is the long-run average — if you repeated the random process many times, the average outcome would approach .
Worked Example
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0.1 | 0.3 | 0.4 | 0.2 |
⚠️ The expected value does NOT have to be a possible outcome. can’t actually equal 1.7, but 1.7 is the long-run average.
Interpretation on the AP Exam
“If we were to repeat this random process many, many times, the average value of would be approximately 1.7.”
Concept Check U0001f3af
Expected Value Calculation 🧮
A game costs $5 to play. You win $20 with probability 0.2, win $5 with probability 0.3, and win $0 with probability 0.5.
Let = net gain (winnings minus cost).
1) values: $15, $0, and (third net gain value)
2) (expected net gain)
3) Is this game favorable for the player? (yes or no)
Part 3: Mean of a Discrete RV
📊 Variance & Standard Deviation of a Random Variable
Part 3 of 7 — Spread of a Distribution
Variance
Standard Deviation
Worked Example
Using our distribution:
| 0 | -1.7 | 2.89 | 0.1 | 0.289 |
| 1 | -0.7 | 0.49 | 0.3 | 0.147 |
| 2 | 0.3 | 0.09 | 0.4 | 0.036 |
| 3 | 1.3 | 1.69 | 0.2 | 0.338 |
🔑 Standard deviation measures the typical distance of outcomes from the mean.
Concept Check U0001f3af
Variance Drill 🧮
A random variable has: , and outcomes each with probability .
1) (first term of variance calculation)
2)
3) (total variance, as a fraction like a/b)
Part 4: Variance & Standard Deviation
⚖️ Transforming Random Variables
Part 4 of 7 — Linear Transformations
Rules for
| Property | Rule |
|---|---|
| Mean | |
| Variance | |
| Standard Deviation | $\sigma_Y = |
🔑 Adding a constant shifts the center but does NOT change spread. Multiplying by a constant scales both center and spread.
Example: Temperature Conversion
If is temperature in Celsius with and :
(Fahrenheit)
- °F
- °F
The mean shifts AND scales; the standard deviation only scales (adding 32 has no effect on spread).
Concept Check U0001f3af
Transformation Practice 🧮
has and . Let .
1)
2)
3) (variance of )
Part 5: Combining Random Variables
🔄 Combining Independent Random Variables
Part 5 of 7 — Sums & Differences
Rules for Independent Random Variables
If and are independent:
| Combination | Mean | Variance |
|---|---|---|
⚠️ Critical: Variances always ADD, even for differences! Standard deviations do NOT simply add or subtract.
Why Variances Add for Differences
Think of it this way: whether you add or subtract, the uncertainty (variability) in each variable contributes to the total uncertainty. Subtracting doesn’t reduce uncertainty — it compounds it.
Example
: exam score, , : quiz score, ,
: , , : , ,
Concept Check U0001f3af
Combining Variables 🧮
: , . : , . Independent.
1)
2)
3) (round to 1 decimal)
Part 6: Problem-Solving Workshop
🏆 Problem-Solving Workshop
Part 6 of 7 — AP-Style Problems
Strategy for Random Variable Problems
- Identify the random variable and its distribution
- Calculate using
- Apply transformation rules if
- Combine using variance addition for independent variables
- Interpret in context for full AP credit
AP Exam Tip
When asked to interpret expected value: “If [process] were repeated many times, the average [variable] would be approximately [value].”
When asked to interpret standard deviation: “The [variable] typically varies by about [value] from the mean of [mean].”
Concept Check U0001f3af
Insurance Problem 🧮
An insurance company charges $300/year. Claims: $0 (prob 0.9), $1000 (prob 0.08), $5000 (prob 0.02).
1) Expected claim per customer?
2) Expected profit per customer?
3) Standard deviation of claims? (round to nearest dollar)
Part 7: Mixed Review
📝 Review & Applications
Part 7 of 7 — Comprehensive Review
Key Formulas Summary
| Concept | Formula |
|---|---|
| Expected Value | |
| Variance | |
| Linear Transform Mean | |
| Linear Transform Var | |
| Sum of Independent |
Common Mistakes on the AP Exam
- Adding standard deviations instead of variances
- Subtracting variances for
- Forgetting that doesn’t have to be a possible value
- Confusing “expected value” with “most likely value”
Concept Check U0001f3af
Final Challenge 🧮
: , . : , . Independent.
1)
2)
3) (round to 2 decimals)