Combining random variables

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Statistics (AP-aligned) › Random variables

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Combining random variables

Random variables.

Warm-up

Three quick questions from earlier lessons.

  1. A set of test scores has standard deviation 4. The teacher adds 10 points to every score. What is the new standard deviation?
  2. Lengths have standard deviation 11 cm. Each length is multiplied by 3. What is the new standard deviation, in the new units?
  3. Daily temperatures have mean 11 °C. With F=95C+32F = \tfrac{9}{5}C + 32, what is the mean in °F?

Discover

Two independent dice each have SD about 1.7. Is the SD of their sum about 3.4?

  1. No, smaller: about 2.4
  2. Yes

Key idea

Means always add; variances add for independent variables.

E(a+bX)=a+bE(X)E(a + bX) = a + bE(X), SD(a+bX)=∣b∣ SD(X)\text{SD}(a + bX) = |b|\,\text{SD}(X). E(X±Y)=E(X)±E(Y)E(X \pm Y) = E(X) \pm E(Y). If XX and YY are independent, Var(X±Y)=Var(X)+Var(Y)\text{Var}(X \pm Y) = \text{Var}(X) + \text{Var}(Y): variances add even for a difference.

Worked example

Morning commute: mean 20, SD 3; evening: mean 25, SD 4; independent.

E(total)=45E(\text{total}) = 45
Means add.
Var=9+16=25\text{Var} = 9 + 16 = 25
Variances add.
SD(total)=5\text{SD}(\text{total}) = 5
Square root.

Your turn, guided

Your turn: SD(X) = 6, SD(Y) = 8, independent. SD(X − Y).

1010
√(36 + 64).

Practice ★

  1. X and Y are independent with SD(X) = 3 and SD(Y) = 4. Find SD(X + Y).
  2. X and Y are independent with SD(X) = 81 and SD(Y) = 108. Find SD(X + Y).
  1. SD(X) = 4. Let Y = 5 + 2X. Find SD(Y).

Watch out!

Practice ★★

  1. X and Y are independent with SD(X) = 12 and SD(Y) = 5. Find SD(X − Y).
  2. X and Y are independent with SD(X) = 288 and SD(Y) = 120. Find SD(X − Y).

Exit ticket

Three questions to check you have got it.

  1. X and Y are independent with SD(X) = 3 and SD(Y) = 4. Find SD(X + Y).
  2. X and Y are independent with SD(X) = 81 and SD(Y) = 108. Find SD(X + Y).
  3. X and Y are independent with SD(X) = 9 and SD(Y) = 12. Find SD(X + Y).

Summary card

Combining random variables

  • Means add (and subtract).
  • Independent: variances add, for sums and differences.

Watch out: never add SDs directly.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. XX and YY are independent, Var⁡(X)=8\operatorname{Var}(X) = 8 and Var⁡(Y)=2\operatorname{Var}(Y) = 2. Find Var⁡(2X−3Y)\operatorname{Var}(2X - 3Y).
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits