Let $f,g: [a,b] \longrightarrow \mathbb{R},$ $f$ is monotone with $f(a)=0$, and $g$ is continuous.
Then there is $\theta \in [a,b] $ such that:
$$\displaystyle \int_a^b f(x)g(x)dx = f(b)\int_{\theta}^bg(x)dx.$$
My attempt:
If I consider that $\displaystyle \int f'(x)dx $ exists, then I define
$$G(x)= - \displaystyle \int_x^b g(t)dt $$
By partial integration :
$$\displaystyle \int_a^bf(x)g(x) = f(x)G(x)\bigg|_a^b - \int_a^bf'(x)G(x)dx\\[2em] \implies \displaystyle \int_a^bf(x)g(x) = - \int_a^bf'(x)G(x)dx$$
and by general mean value integral it's done, but I don't have the proof for the hypothesis that $\displaystyle \int f'(x)dx $ exists.
So, is there an other way to solve it?