Prove that $$ f(x)=\begin{cases} \frac{2}{3}x^2+\frac{2}{3}x-\frac{1}{12} &\quad x<-0.5 \\ -0.25 &\quad x\geq -0.5 \\ \end{cases} $$ is convex over $\mathbb{R}$.
As far as I understand I cannot use second derivative because the function is non-differentiable (at $x=-0.5$).
If both $x,y \geq0.25$ or $x,y < 0.25$ this is easy (both cases are convex). But I couldn't find an algebric approach to prove the case where $x<-0.5$ and $y \geq -0.5$.
Please advise.
Thank you.