# Thread: Minimum variance for sum of three random variables

1. ## Minimum variance for sum of three random variables

Hi all,

I have been working on the following problem:

Given you have VarX = 1, VarY = 4, and VarZ = 25, what is the minimum possible variance for the random variable W = X + Y + Z, or min Var(X+Y+Z)?

My first thought is to complete the variance-covariance expansion as follows:
Var(X + Y + Z) = VarX + VarY + VarZ +2[Cov(X,Y) + Cov(Y,Z) + Cov(X,Z)]

Then to use the Cauchy-Schwarz inequality to determine the minimum covariance for each of the covariance terms (i.e. |Cov(X,Y)| <= sqrt(VarXVarY) ). However, I am obtaining a negative potential minimum, which leads me to think that the lower bound could be zero?

Var(X+Y+Z) = 1 + 4 + 25 + 2[-2 - 5 - 10] = 30 - 34 ???

The other thought is that using Cauchy-Schwarz in this way is not correct and my approach is wrong.

My next thought is to consider the expansion as Var[(X+Y), Z], but was not sure how to proceed by considering the sum of 2 variables (X+Y) and Z.

Any thoughts on how to proceed are appreciated.

2. ## Re: Minimum variance for sum of three random variables

Actually this is a very good question.

http://en.wikipedia.org/wiki/Covaria...rix#Properties

In order a square matrix to be a valid variance covariance matrix, it has to be positive-semidefinite and symmetric. The symmetric property is automatically satisfied if we let the covariance matrix of the random vector

in the form of

To check the positive-semidefinite, you may apply Sylvester Criterion:

http://en.wikipedia.org/wiki/Sylvester%27s_criterion

which leads to the following two inequality:

So any covariances satisfy the above two inequalities will be valid. The remaining optimization can be done by KKT multiplier, see

http://en.wikipedia.org/wiki/Karush%...ker_conditions

P.S. One additional thing you may check before trying the above method: any random variable has a zero variance if and only if it is a constant. Therefore, you may try to assume . Then by moving one of them to the RHS, say

Now you try to check if it is possible to have the variance of LHS equal to the variance of RHS. If not, you know that zero variance is not attainable by contrapositive.

3. ## The Following User Says Thank You to BGM For This Useful Post:

skijunkie (10-24-2014)

4. ## Re: Minimum variance for sum of three random variables

Thank you! I figured that I had to take into consideration restrictions on the variance covariance matrix which cannot be addressed through the application of the Cauchy-Schwarz inequality in the case of more than 2 random variables.

 Tweet