1

Let $ f:[0,1]\rightarrow R $ a continuous function. It is true that, if $ f $ is also convex, than $$ f\left(\frac{a +b}{2}\right) \leq \frac{1}{b-a} \int_{a}^{b} f.$$ How to prove this? It holds a reverse of this statement, i.e. f is convex if $$ f\left(\frac{a +b}{2}\right) \leq \frac{1}{b-a} \int_{a}^{b} f ?$$ Thank you for the help.

C. Bishop
  • 3,418

1 Answers1

1

Since ${1 \over 2}(a+b) = {1 \over b-a} \int_a^b x dx $, Jensen gives $f({1 \over 2}(a+b)) \le {1 \over b-a} \int_a^b f(x) dx $.

If you take $f_n$ to be the function defined by the graph (with $m={1 \over 2} (a+b)$): $(a,1), (m-{1 \over n}, 1), (m,0), (m+{1 \over n},1), (b,1)$ then it should be clear that $f_n$ is not convex and $f_n(m) = 0$ for all $m$ and $\int f_n >0 $.

copper.hat
  • 172,524
  • 2
    Your function $f_n$ satisfies the inequality for fixed values of $a$ and $b$ while the converse problem assumes it does so for every pair $a<b$. The constant functions, for example, are convex and satisfies the inequality for every pair $a<b$. – Lázaro Albuquerque Jun 01 '19 at 18:08
  • @lzralbu: It was not clear at the time of writing (and still needs to be clarified) that that is what the OP meant. – copper.hat Jun 01 '19 at 18:18