If we have more than two random variables, X1,X2,…,Xn, for constants a:
E(X+4Y+2Z)=E(X)+4E(Y)+2E(Z)
Var(X+4Y+2Z)=Var(X)+16Var(Y)+4Var(Y)+2(1)(4)cov(X,Y)+2(1)(2)cov(X,Z)+2(4)(2)cov(Y,Z)
If
then