Covariance and Independence

By definition, independence implies zero Covariance. The converse is not true.

Easy example: Let be a random variable that is or with probability 0.5. Then let be a random variable such that if , and is randomly or with probability 0.5 if .

Clearly and are highly dependent (since knowing allows me to perfectly know ), but their covariance is zero: They both have zero mean, and

Or more generally, take any distribution and any such that for all (i.e., a joint distribution that is symmetric around the axis), and you will always have zero covariance. But you will have non-independence whenever ; i.e., the conditionals are not all equal to the marginal. Or ditto for symmetry around the axis.)