Conditional expectation equality and definition

127 Views Asked by At

Let $X$ be A real random variable. $A$ is an event.

Is the following equality correct?

$E[X 1_A] = E[X | A] P(A)$

In particular, if $P(A) = 0$, is the equality still true?