\begin{equation} [ f(x) = \begin{cases} x^2 & \quad x>0\\ 1/2 & \quad x=0 \end{cases} ] \end{equation}
Is this function convex? Is the epigraph of this function a convex set?
I think this function is convex in $[0,+\infty)$, but I do not think the epigraph of this function a convex set. I'm really confused.