Let $f$ be a continuous function on $[0,1].$ Suppose that $\int_0^1 f(x) g(x) dx = 0$ for every integrable function $g(x)$ on $[0,1].$ Prove that $f(x) \equiv 0$ on $[0,1]$
This proof is easy to write out if $g(x) \ge 0.$ If it is integrable on $[0,1]$ is that implied?