Hello,

I'm generally comfortable with the idea of covariance, but there's a way of writing covariance that i don't understand.

Could someone please explain how we get to the second way of writing covariance above?

I naively would have just multiplied what look like two binomials in the first expression, which of course would not produce the second expression.

Thanks for the help

Ben