I was wondering about the expected value of the characteristic function $\chi_A$ for some set $A \in \mathcal{A}$ in a probability space $(\Omega, \mathcal{A}, \mathbb{P})$. It should be $\mathbb{E}(\chi_A) = \mathbb{P}(A)$, but I can't figure out why that is the case.
Thanks for any help!