Combining Random Variables: Expectation and Variance of aX + bY | Applications and Interpretation IB Maths notes

Free preview: Combining Random Variables: Expectation and Variance of aX + bY

Adding and Subtracting Random Variables

Applications and interpretation: HL only (AHL 4.14)

Watch: 1-minute explainer

Let's start with a shop. Daily sales of bread X and of cakes Y vary at random. What are the mean and spread of the total? Or of the difference? We could build the whole distribution of X + Y, but that is slow. Instead we want short rules for combining random variables, like the coding rules for aX + b.

The mean rule

E(aX+bY)=aE(X)+bE(Y)

  • This is true for any X and Y, independent or not.
  • It extends the coding rule E(aX+b)=aE(X)+b that you met earlier.

The variance rule

X,Y independent⇒Var(aX+bY)=a2Var(X)+b2Var(Y)

  • This needs X and Y to be independent: the value of one tells you nothing about the other.
  • Each coefficient is squared, just like Var(aX)=a2Var(X).

Why does the variance rule need independence when the mean rule does not? Imagine X is the number of ice creams sold and Y the number of cold drinks sold on the same day. Both are high on hot days and low on cold days, so their wobbles push the same way and the total swings more than the rule predicts. When X and Y are independent, a high X is just as likely to meet a low Y as a high one, and the simple rule holds.

๐Ÿ’ก In plain words

  • Means combine exactly as the variables do.
  • Variances of independent variables always add, with the coefficients squared.
  • So Var(X−Y)=Var(X)+Var(Y). Subtracting doesn't reduce uncertainty: two random wobbles still add up.

Diagram: Wrong: standard deviations don't add, so 3 + 4 = 7 is too big.

What the picture shows

  • X has standard deviation 3 and Y has standard deviation 4.
  • Wrong: standard deviations don't add, so 3 + 4 = 7 is too big.
  • Right: variances add, 9+16=25, like the squares on a 3, 4, 5 triangle.
  • So the standard deviation of X + Y is 25=5.

๐Ÿ‘€ Watch me do it: E(X) = 3, Var(X) = 1, E(Y) = 5, Var(Y) = 2, independent. Find the mean and variance of 2X โˆ’ 3Y

What I writeWhy I do it
a=2, b=−3Read off the coefficients, signs included.
E(2X−3Y)=2(3)−3(5)=−9Means combine as the variables do.
Var(2X−3Y)=22(1)+(−3)2(2)Square each coefficient. Independent, so add.
=4+18=22The minus sign has gone: (−3)2=9.

โœ๏ธ YOUR TURN 1

Try this first:

X and Y are independent with E(X) = 8, Var(X) = 5, E(Y) = 3, Var(Y) = 4. Find the mean and standard deviation of X โˆ’ Y, and the mean and variance of 3X + 2Y.

Answer:

  • E(X−Y)=8−3=5; Var(X−Y)=5+4=9, so the standard deviation is 9=3.
  • E(3X+2Y)=24+6=30; Var(3X+2Y)=9(5)+4(4)=61.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in HL: Data design and combining random variables (AHL 4.12, 4.14, 4.15)

  1. Variance of a Discrete Random Variable and Coding with aX + b
  2. Designing Data Collection: Reliability and Validity
  3. Combining Random Variables: Expectation and Variance of aX + bY
  4. Linear Combinations of Independent Normal Random Variables
  5. The Sample Mean as a Random Variable and Unbiased Estimators
  6. The Distribution of the Sample Mean
  7. The Central Limit Theorem: Why Sample Means Become Normal

Video

What's inside for this topic

7 teacher notes, 66 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Designing Data Collection: Reliability and Validity Next note: Linear Combinations of Independent Normal Random Variables

Combining Random Variables: Expectation and Variance of aX + bY on other exam boards

All Applications and Interpretation IB Maths topics ยท IB Maths