I want an example of a function satisfying:
(1) $f:\mathbb R\to\mathbb R$ twice continuously differentiable
(2) $f''(x)$ $\ge 0$ for every x$\in \mathbb R$
(3)$\int\limits_0^x{f(t)dt}$ is NOT infinitely differentiable with respect to x.
I find it very difficult to get a function satisfying conditions 2 and 3. If I try $e^t$ it violates 3. If I try a function involving $t^5$sin(1/t), it violates condition 2. Please help me with a correct example. Thank you.
This should do it: Define $g(s) = 1-s^2, |s|\le 1,$ $g=0$ elsewhere. Set
$$f(x) = \int_0^x\int_0^t g(s)\,ds\,dt.$$
Note $f''(x) = g(x),$ which is not differentiable at $\pm 1.$