English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to know why the variance of X-Y is equal to the variance of X+Y. And A source would be really helpful Thanx!

2007-01-09 08:40:44 · 0 answers · asked by Da MC 2 in Science & Mathematics Mathematics

0 answers

Note that this is true when X and Y are independent, but may not be true if they are not. For example, if X=Y, then Var(X+Y) = 4*Var(X), but Var(X-Y) = 0.

If however, X and Y are independent, which tells you that E[XY] = E[X]*E[Y]. So:

Var[X+Y]
(by definition of variance)
= E[(X+Y)^2] - E[X+Y]^2
(by linearity of expectation)
= E[X^2] + 2E[XY] + E[Y^2] - E[X]^2 - 2E[X]E[Y] - E[Y]^2
(by independence of X and Y)
= E[X^2] - E[X]^2 + E[Y^2] - E[Y]^2
(by definition of variance)
Var[X] + Var[Y]

Near the same thing happens for Var[X-Y]:

Var[X-Y]
(by definition of variance)
= E[(X-Y)^2] - E[X-Y]^2
(by linearity of expectation)
= E[X^2] - 2E[XY] + E[Y^2] - E[X]^2 + 2E[X]E[Y] - E[Y]^2
(by independence of X and Y)
= E[X^2] - E[X]^2 + E[Y^2] - E[Y]^2
(by definition of variance)
Var[X] + Var[Y]

I do not know a source for this, though I would guess Wikipedia is a decent source for related things.

Hope that helps!

2007-01-09 09:00:50 · answer #1 · answered by Phineas Bogg 6 · 2 0

FOR ANY ONE WHO CARES 8 YEARS LATER
They are "generally" not. I think the question you are doing had the condition that X and Y are independent. This works because the general formula for doing the variance of two variables is:
Var(A*X+B*Y)= A^2*Var(X)+B^2*Var(Y)+2*A*B*Cov(X,Y)
In your first equation A =1 and B = 1, In the second equation your A= 1 and B= -1.
If the variables are independent the cov = 0.
Additionally, when we plug the values for A and B into the equation they equal out.

2015-03-20 06:25:24 · answer #2 · answered by john 1 · 1 0

They would only be equal if the Covariance of X and Y equals zero.
Var(X+Y)= Var(X)+Var(Y)+2Cov(X,Y)
Var(X-Y)= Var(X)+Var(Y)-2Cov(X,Y)

you see.

As a source you can use any probability or statistics text book.

2007-01-09 08:49:40 · answer #3 · answered by ENA 2 · 1 0

fedest.com, questions and answers