Let $Y$ be a random variable and $$g(x) = \mathrm{E}[\text{max}(Y-x, 0)] = \int_{-\infty}^{\infty} \text{max}(y-x, 0)f(y)dy$$ I know that $g$ is convex since for any fixed $y$, $\text{max}(y-x, 0)$ is convex and $f(y) \geq 0$.
My question is that what is the most general condition on $f$ (if any), such that $g$ becomes strictly convex?
Thanks!
Here's my take.
$\begin{array}\\ g(x) &=\int_{-\infty}^{\infty} \text{max}(y-x, 0)f(y)dy\\ &=\int_{x}^{\infty} (y-x)f(y)dy\\ &=\int_{x}^{\infty} yf(y)dy -x\int_{x}^{\infty} f(y)dy\\ \end{array} $
Differentiating, $g'(x) =-xf(x) -(x(-f(x)+\int_{x}^{\infty} f(y)dy) =-\int_{x}^{\infty} f(y)dy $.
Differentiating again, $g''(x) =-(-f(x)) =f(x) $.
So, if $f(x) > 0$, then $g(x)$ is strictly convex.