Definition (conditional expectation)

For a non-negative of integrable random variable $X$ and an event $B$ of positive probability, define the condition expectation of $X$ given $B$ by $$ \expect(X|B) = \frac{\expect(X1_B)}{\prob(B)}. $$