Let $X$ and $Y$ be two random variables.
I notice a book states $E(X + Y) = E(X) + E(Y)$ without proof.
I think, for the simplest case, the proof can be the following:- $E(X + Y) = \sum p_i (X + Y) = \sum (p_i X + p_iY) = \sum (p_i X) + \sum (p_i Y) = E(X) + E(Y)$.
But what happens if the corresponding probabilities for Y are $q_i$ and $p_i \ne q_i$ in general?