CMIMC 2017 Power Problem 2

Here are four very important properties of the expected value:

  • \mathbf{E}[c \cdot X]=c \cdot \mathbf{E}[X] and \mathbf{E}[c+X]=c+\mathbf{E}[X], where c is a constant.

  • \mathbf{E}[X \cdot Y]=\mathbf{E}[X] \cdot \mathbf{E}[Y], if X \perp Y.

  • (Linearity of expectation) \mathbf{E}[X+Y]=\mathbf{E}[X]+\mathbf{E}[Y].

Prove these four properties.