Is this result true? If $g$ is a nonnegative function in $\mathcal{R}[a, b]$ with $\int_{a}^b g=0$, and $f$ is continous on $[a,b]$, then $\int_a^b fg = 0$.
If $g \in \mathcal{R}[a, b]$, and $\int_{a}^b g=0$, then for every possible partition $\mathcal{P} = \{[x_{k-1}, x_k]\}_{k=1}^n$of $[a, b]$ the lower sum is zero. As $g$ is nonnegative, $\inf \{g(x)|x_{k-1} \leq x \leq x_k\} = 0$ for all $k = 1, \dots, n$.
I'm unsure of where to go from here.
Out of interest, is there another way to do this?
– Anu Jan 09 '18 at 13:54