Let $f(0)>0$ and $f(x)$ increases on $[0,1]$. There exists a positive number $s$ such that $$\int_0^1xf(x)\mathrm{d}x=s\int_0^1f(x)\mathrm{d}x$$ Prove that $$\int_0^sf(x)\mathrm{d}x\le\int_s^1f(x)\mathrm{d}x$$
This is a problem from my homework. Let $\displaystyle{g(x)=\int_0^xf(t)\mathrm{d}t},x\in[0,1]$. If $f$ IS CONTINUOUS, we have $g(0)=0, g(1)=1$(WLOG, we can presume that) and $s=\displaystyle{\int_0^1xg'(x)\mathrm{d}x=1-\int_0^1g(x)\mathrm{d}x}$, which is the same to $\displaystyle{\int_0^1g(x)\mathrm{d}x=1-s}$.
If $g(s)>\frac{1}{2}$ and $f$ IS CONTINUOUS, we have $g(x)$ is convex on $[0,1]$. I used some inequalities to show that $$\int_0^1g(x)\ge\frac{1-s}{2(1-g(s))}$$ and we get $g(s)\le\frac{1}{2}$, follws the contradiction.
But the question is that I want to find a solution WITHOUT continuity (or this solution can be transformed) and I'd like this progress to be more "analytical" because I established a coordinate system to prove the inequality. Thanks for your help!