Random Variables: Mean & Variance
- Compute the expected value (mean) of a discrete random variable
- Compute and interpret the variance and standard deviation of a random variable
- Apply rules for the mean and variance of transformed and combined variables
Random variables and expected value
A random variable X assigns a number to each outcome of a chance process; a discrete random variable has a countable list of possible values, each with a probability. The expected value (mean) μ_X is the long-run average value of X — a probability-weighted average of its possible values. It need not be a value X can actually take: an expected number of 1.7 children is a perfectly good average.
Variance and standard deviation
The variance σ²_X measures how much X varies around its mean — a probability-weighted average of the squared deviations (x − μ_X)². The standard deviation σ_X is its square root, back in the original units. A larger σ_X means outcomes are more spread out and thus less predictable.
A carnival game charges $2 to play. You win $5 with probability 0.3 and $0 with probability 0.7. Let X be your net gain. Find the expected net gain per play.
- 1.Determine the net outcomes: win → 5 − 2 = +$3 (prob 0.3); lose → 0 − 2 = −$2 (prob 0.7).
- 2.Apply μ_X = Σ x·P(x): μ_X = (3)(0.3) + (−2)(0.7).
- 3.Compute: 0.9 + (−1.4) = −0.5.
A random variable X takes value 0 with probability 0.5, value 10 with probability 0.4, and value 20 with probability 0.1. What is E(X)?
When combining independent random variables, variances add even when you subtract the variables. To find the standard deviation of a difference X − Y, compute σ²_X + σ²_Y first, then take the square root. Never subtract standard deviations, and never add standard deviations directly.
Independent variables X and Y have standard deviations σ_X = 3 and σ_Y = 4. What is the standard deviation of X + Y?
Answer the 2 checkpoints as you read.
Sign in to save your progress