Recall that expectation is defined as:

For a constant , we have

If we introduce another random variable :

Variance and Covariance Expectation Rules

In general:

and

For some constant :

If we have two random variables and they are independent:

In general, if the variables are not independent: