I am studying for the P-exam for actuaries and I've encountered a property that said,
$Var(x\pm y)=Var(x)+Var(y)$
I come from a math major and it has been years since I was taught statistics or probability, so I wanted to prove this using another property that I am comfortable using
$E[X^2]-(E[X])^2=Var(X)$
Using this definition, I actually got
$Var(x \pm y)= Var(x)+Var(y)\pm 2(E[XY]-E[X]E[Y])$
However, I was not able to confirm that the last two terms are equilavent to each other. I was thinking that independence in the random variables $X$ and $Y$ were the key, but my book is more of a problem set book, so it did not give me enough info to show it.
I also tried to look around online, but now the formula was too general and it was a bit above my head.
Can someone help me out ?
It is $Var(X\pm Y)=Var(X)+ Var(Y)\pm 2Cov(X,Y)$ .
If two variables are uncorellated then $Cov(X,Y)=0$ (Note that if two variables are independent then they are uncorellated but not the opposite)
For the covariance you can find more information here