Understanding the True Equality for Var[X+Y] in Random Variables

  • Context: Graduate 
  • Thread starter Thread starter jetoso
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers around the equality for the variance of the sum of two random variables, specifically whether the formula Var[X + Y] = Var[X] + Var[Y] - 2Cov[X,Y] is correct. Participants explore the implications of covariance on this relationship and the conditions under which different results may arise.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant claims that their professor's stated equality is incorrect, presenting an alternative result Var[X + Y] = Var[X] + Var[Y] + 2Cov[X,Y].
  • Another participant suggests that the professor might have meant Var[X - Y] instead of Var[X + Y].
  • A participant expresses confusion about the professor's assertion, noting that the professor clearly stated Var[X + Y].
  • One participant references authoritative sources that support the professor's claim, indicating that the equality is widely accepted in statistics.
  • Another participant provides an intuitive explanation regarding negative covariance, suggesting it leads to less variance in the sum of the variables.
  • A simple example is presented where X equals Y, demonstrating that the professor's formula would yield an incorrect result in this case.
  • In a later post, it is mentioned that the professor acknowledged an error related to a sign in the formula.

Areas of Agreement / Disagreement

Participants express disagreement regarding the correctness of the variance equality. Some support the professor's formula, while others advocate for the alternative expression. The discussion remains unresolved with multiple competing views and interpretations of the covariance's role.

Contextual Notes

Participants highlight the importance of understanding the conditions under which the variance formulas apply, particularly in relation to covariance. There is also mention of potential confusion stemming from the sign in the equations.

jetoso
Messages
73
Reaction score
0
My simulation professor says the following equality is true:
Let X and Y be two random variables, then
Var[X + Y] = Var[X] + Var[Y] - 2Cov[X,Y], where Cov[X,Y] = E[XY]-E[X]E[Y].

I solved this equality and I am still having the following result:
Var[X+Y] = Var[X]+Var[Y]+2Cov[X,Y].

I sent my work to my professor, but he says my work is not correct. Could somebody tell me why? I mean, for which case it is not true?

Var[X+Y] = E[((X+Y) - (E[X]+E[Y]))^2], since Var[Z] = E[(Z-E[Z])^2] is the definition of the variance for a random variable Z.
 
Physics news on Phys.org
You're right and the professor is wrong, unless he meant Var[X-Y].
 
Reply

mathman said:
You're right and the professor is wrong, unless he meant Var[X-Y].

Thanks, but I am afraid that my professor clearly stated Var[X+Y], otherwise we would have the minus sign for Cov[X,Y].
 
My simulation professor says the following equality is true:
Let X and Y be two random variables, then
Var[X + Y] = Var[X] + Var[Y] - 2Cov[X,Y], where Cov[X,Y] = E[XY]-E[X]E[Y].

I solved this equality and I am still having the following result:
Var[X+Y] = Var[X]+Var[Y]+2Cov[X,Y].

I sent my work to my professor, but he says my work is not correct. Could somebody tell me why? I mean, for which case it is not true?

Intuitively, a negative covariance between the two variables seems like it would result in a sum with less variance than if the variables were independent (zero covariance). Because the variables are "moving in different directions" it is more challenging for the observations of the sum to stray from the combined mean (i.e. less total variance with negative covariance), which agrees with your solution. If you're wrong, then I am stumped also.

This reminds me of portfolio optimization from Investments class, but unfortunately my notes are at work.
 
Last edited:
A simple example is X=Y. Var(X+Y)=Var(2X)=4Var(X). The professor's answers would end up as Var(X+Y)=0, since Cov(X,Y)=Var(X) in this case.
 
At the end of the day, our professor found his error, just because a sign. Thank you all.
 

Similar threads

Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
4
Views
2K