Let $X$ be an infinite set and $\mathcal{F}$ be a $\sigma-$algrbra with infinite sets on $X$. Given on $X$ a measure $\mu$.
Let $f$ and $g$ be two $\mathcal{F}-$measurable functions. Is it necessary that if $$ \int_A f d\mu = \int_A g d\mu, \forall A \in \mathcal{F}$$ then $f = g$ ($\mu-$a.e)?
I feel that the answer for this is positive, but I can't prove the statement above nor give a counter-example. Please give me a hint. Thank you.