Solved – Splitting covariance Cov[x,y+z]

covariance

Can I write $\text{Cov}[x,y+z]=\text{Cov}[x,y]+\text{Cov}[x,z]$,

where $\text{Cov}(.)$ is referring to the population covariance? $x,y$ and $z$ are random variables.

(very fundamental question… 🙂

Best Answer

Yes, covariance is linear in either of its arguments, which is to say:

$\text{Cov}(aX,Y) = \text{Cov}(X,aY) = a\text{Cov}(X,Y)$ (in the univariate case; an analogous formula holds for the multivariate case) and

$\text{Cov}(A+B,C) = \text{Cov}(A,C) + \text{Cov}(B,C)\,$.

This linearity follows from the definition of covariance and the basic properties of expectation - in particular, linearity of expectation.

Let $\mu_X = E(X)$ and similarly for the other variables:

\begin{eqnarray} \text{Cov}(X,Y+Z) &=& \text{E}[(X-\text{E}(X))(Y+Z-\text{E}(Y+Z)]\\ &=& \text{E}[(X-\mu_X)(Y+Z-\{\mu_Y+\mu_Z\})]\\ &=& \text{E}[(X-\mu_X)(Y-\mu_Y+Z-\mu_Z)]\\ &=& \text{E}[(X-\mu_X)(Y-\mu_Y)]+\text{E}[(X-\mu_X)(Z-\mu_Z)]\\ &=& \text{Cov}(X,Y)+\text{Cov}(X,Z) \end{eqnarray}

(which is pretty similar what you have in your own hint in comments there)

Related Question