Suppose I am given $F \subset [0,T]$ of non-zero measure (where $T \neq 0$), and a measurable function $f(x)$ on $F$ that is not zero on a set of non-zero measure. We can define, for measurable functions $\beta$ on $F$, the following quantity: $$ I_{F} (\beta) = \int_{F} f(x)\beta(x) \operatorname{dx} $$
My question is the following: does there exist $\beta$ ($\neq 0$ on set of positive measure) such that $I_F(\beta) = 0$?
This seems to be solvable by contradiction, rather than construction (due to the generality of the setting). Suppose there is no such $\beta$. Then, for all $\alpha$, $I_F(\alpha) \neq 0$. By taking $-\alpha$ instead of $\alpha$, we see that $I_F(\alpha)$ can also take negative values.
However, I am not able to see why if the function can take negative and positive values, then it can take the zero value. Furthermore, even if it can take such a value, I cannot see why $\beta$ can't be zero in that case.
If I am mistaken, and the proof actually proceeds through construction, then I would happy to know. Moreover, in the book I am reading, this lemma was classed as having "trivial" proof, so that baffles me even more.