Prove that for any continuous function $f : [0, 1] \to (0, \infty)$ and for any natural number $n \geq 1$ there exist $x_1, x_2, ..., x_n \in [0, 1]$ with $0 \leq x_i - x_{i-1} \leq 2/n$ such that: $$e^{\int_0^1 \ln f(x) dx} \leq \frac{1}{n} \sum_{k=1}^n f(x_k)$$
I've noticed that the right-hand side of the inequality is a Riemann sum, which equals $\int_0^1 f(x) dx$. So, the problem would reduce to proving that: $$\int_0^1 \ln f(x) dx \leq \ln \int_0^1 f(x) dx$$
But I can't figure out how to prove this. Thank you!