gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
Is E[A+B] = E[A] + E[B]?
- User
Is E[A+B] = E[A] + E[B]?
- Assistant
Yes, the expectation operator ( E ) is linear, which means that for any two random variables ( A ) and ( B ):
[ E[A + B] = E[A] + E[B]. ]
This property holds regardless of whether ( A ) and ( B ) are independent or not.
Explanation:
The expectation operator is defined as the integral (or sum, in the discrete case) of the random variable multiplied by its probability. Due to the linearity of integrals and sums:
[ E[A + B] = \int (A(\omega) + B(\omega)) , dP(\omega) = \int A(\omega) , dP(\omega) + \int B(\omega) , dP(\omega) = E[A] + E[B]. ]
So indeed,
[ \boxed{E[A+B] = E[A] + E[B]}. ]