Denote $b/n=s$. We want a pointwise bound $$f(x)\leqslant f(s)+(x-s)f'(s),\quad\quad(\heartsuit)$$$$f(x)\leqslant f(s)+(x-s)f'(s),\label{1}\tag{$\heartsuit$}$$ then summing $(\heartsuit)$\eqref{1} up for $x=a_1,\ldots,a_n$ we get the desired inequality. Note that if $s<a$ (that holds for $n>b/a$) we get $(\heartsuit)$\eqref{1} on $[0,a]$ by concavity. For proving $(\heartsuit)$\eqref{1} on $[a,b]$, by convexity it suffices to verify $(\heartsuit)$\eqref{1} for $x=a$ and $x=b$. For $x=a$ this is already done, for $x=b$ it reads as $f(b)\leqslant f(s)+(b-s)f'(s)$. $$ f(b)\leqslant f(s)+(b-s)f'(s). $$ When $n$ is large, RHS converges to $f(0)+bf'(0)$. Thus it suffices to check that $f(b)<f(0)+bf'(0)$. $$ f(b)<f(0)+bf'(0). $$ Assume the contrary: $f(b)\geqslant f(0)+bf'(0)$. $$ f(b)\geqslant f(0)+bf'(0). $$ We have $f(x)\leqslant f(0)+f'(0)x$ for all $x\in [0,a]$ by concavity. Denote by $c$ the endpoint of the maximal segment $[0,c]$ on which we have $f(x)\leqslant f(0)+f'(0)x$. Then $c\in [a,b]$ and we have $f(c)=f(0)+f'(0)c$ (otherwise $c$ is not maximal). This yields $f'(c)=\lim_{x\to c-0}\frac{f(c)-f(x)}{c-x}\geqslant f'(0)$. $$ f'(c)=\lim_{x\to c-0}\frac{f(c)-f(x)}{c-x}\geqslant f'(0). $$ Since $f'$ increases on $[a,b]$ by convexity we get $f'(b)\geqslant f'(c)\geqslant f'(0)$, a contradiction.
Daniele Tampieri
- 6.4k
- 7
- 30
- 45