QUestion:
let $f(x)$ is continuous everywhere in [a,b], differentiable except at a countable number of points in [a,b].and $f'(x)\ge 0$
show that $$f(x)\le f(b)$$
This problem is from this: [china BBS]http://www.duodaa.com/?qa=4999/一个证明题
My idea: if $f'(x)$ is integrable,Assmue that $f(x)$ is not derivative on $x_{i},x_{i}>x_{i-1},i=1,2,3,\cdots,n$,then we have $$0 \le \int_{x_{i-1}}^{x_{i}}f'(x)dx=f(x_{i})-f(x_{i-1}),i=1,2,\cdots, x_{0}=a,x_{n}=b$$ then have $$f(b)\ge f(x)$$
But I know this methods is not true,so How prove it? Thank you