Statistics & Probability · Grade 12 and undergraduate
Combining Random Variables: Means and Variances of Sums
Quick answer
Totals and differences of random quantities are everywhere: the weight of a box and its contents, the gap between two runners' times. The mean of a sum or difference is the sum or difference of the means. For independent random variables the variances add, for X + Y and for X − Y alike, and the standard deviation is the square root of that sum. A change aX + b scales the standard deviation by |a| and ignores b. Sums and differences of independent normal variables are normal.
What you'll learn
- Find the mean of a sum, difference or linear change of random variables
- Find the standard deviation of a sum or difference of independent variables
- Tell the sum of n independent copies from n times one variable
- Compute probabilities for sums and differences of normal variables
The rules
For random variables and and constants and :
| Quantity | Mean | Variance |
|---|---|---|
| (if independent) | ||
| (if independent) |
The mean rules always hold. The variance rules need independence. Standard deviations never add; find the variance, then take the square root.
If and are independent and normal, and are normal too, so z-scores give their probabilities.
Why variances add, even when subtracting
Think of each variable as its mean plus a random error. In , the errors combine as . Because is as likely to be positive as negative, subtracting it spreads the result as much as adding it would. Squaring the combined error, the cross term averages to for independent variables, leaving either way. That is the Pythagorean pattern: standard deviations combine like the sides of a right triangle, .
Worked examples
Common mistakes
Practice problems
-
and . Find and .
Answer
and
Full solution
Means pass straight through sums, differences and linear changes.
-
and are independent with standard deviations and . Find the standard deviations of and .
Answer
and
Full solution
Both have variance .
-
has mean and standard deviation . Find the mean and standard deviation of .
Answer
Mean , standard deviation
Full solution
The shifts the mean only; the factor doubles the spread.
-
Temperatures in Celsius have mean and SD . Find the mean and SD in Fahrenheit, .
Answer
Mean °F, SD °F
Full solution
and .
-
Three independent parts each weigh grams. Find the mean and SD of their total.
Answer
Mean g, SD g
Full solution
The variance is .
-
Adults’ weights are kg. An elevator’s limit is kg. For random adults, find the chance the limit is exceeded.
Answer
About
Full solution
The total has mean and SD , so .
-
Golfer X scores and golfer Y scores , independently. Lower is better. Find the chance Y beats X.
Answer
About
Full solution
has mean and SD . Y wins when : , and .
-
A student says the SD of is when and . Correct it.
Answer
Full solution
For independent variables, . Subtracting adds uncertainty.
Frequently asked questions
What is the mean of X + Y?
E(X + Y) = E(X) + E(Y), always, whether or not X and Y are independent. Likewise E(X − Y) = E(X) − E(Y).
What is the variance of X + Y?
If X and Y are independent, Var(X + Y) = Var(X) + Var(Y). The standard deviation is the square root of that sum.
Why do variances add for X − Y too?
Subtracting an independent random quantity adds its uncertainty; it cannot cancel it. So Var(X − Y) = Var(X) + Var(Y).
What happens to the mean and SD under aX + b?
The mean becomes aμ + b and the standard deviation becomes |a|σ. Adding b shifts the distribution without changing its spread.
Is X₁ + X₂ the same as 2X?
No. Two independent copies have SD √2 σ, while doubling one value gives 2σ. Independent errors partly offset each other.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSS.MD.A.2Using Probability to Make Decisions(+) Calculate the expected value of a random variable; interpret it as the mean of the probability distribution.