Assume $f(x),g(x)$ is continuous on $[a,b]$. show that there exists $\xi \in [a,b]$, such that $$g(\xi)\int_a^\xi f(x)\text{d}x=f(\xi)\int_\xi^b g(x)\text{d}x$$
I tried to use intermediate value theorem to $F(t) = g(t)\int_a^t f(x)\text{d}x-f(t)\int_t^b g(x)\text{d}x$. but I failed to find two opposite values.