Let $(\Omega,\mathcal F,P)$ be a probability space. Let $\xi:\Omega\to\mathbb R$ be a random variable. Let $P_\xi$ be the distribution of $\xi$. Suppose $P_\xi$ is a continuous distribution. (i. e. There is a Borel function $f_\xi:\mathbb R\to\mathbb R$ such that for all $B\in\mathcal B(\mathbb R)$, $P_\xi(B)=\int_Bf_\xi dx$. ($f_\xi$ is the density of $\xi$.)) Is $f_\xi$ nonnegative almost everywhere? (i. e. Is there a Lebesgue measurable set $A$ such that $\mu(A)=0$ and $f_\xi(x)\geq0$ for all $x\in\mathbb R-A$, where $\mu$ is the Lebesgue measure?)
Here's my attempt:
Let $C=f_\xi^{-1}((-\infty,0))$. It is clear that $C$ is a Borel set. So if we prove that $\mu(C)=0$, then we are done.
Assume $\mu(C)>0$.
Let's prove that $\int_C f_\xi dx<0$ so that $P_\xi(C)<0$, a contradiction. Assume $\int_C f_\xi dx\geq0$. By the definition of $C$, it is clear that $\int_C f_\xi dx$ can't be greater than $0$, so we have $\int_C f_\xi dx=0$. Let $f_\xi^-:=-\operatorname {min}\{f_\xi,0\}$. Choose a sequence $(s_n)$ of measurable, nonnegative simple functions which monotonically increases and $s_n\to f_\xi^-$ pointwise. By the Lebesgue's monotone convergence theorem, we have $\int_Cs_ndx\to\int_Cf_\xi^- dx$. So $\int_Cs_ndx$ should be $0$ for all $n$. I tried to derive a contradiction here using the fact that $f_\xi^-(x)>0$ for all $x\in C$, but I couldn't do it.