I had a homework problem which asks to prove or disprove that A is a convex set where $A=\{x: g(x) \le c\}$. and $g(x)$ is a convex function. I went ahead in this way:
Assume $x_1$ and $x_2$ $\in$ A.
$g(x_1)\le c$ $\rightarrow$ $g^{-1}(g(x_1)) \le g^{-1}(c)$ $\rightarrow$ $x_1=g^{-1}(c)-\alpha$ where $\alpha \ge 0$
$g(x_2)\le c$ $\rightarrow$ $g^{-1}(g(x_2)) \le g^{-1}(c)$ $\rightarrow$ $x_2=g^{-1}(c)-\beta$ where $\beta \ge 0$
$tx_{1}+(1-t)x_2$ = $tg^{-1}(c)+(1-t)g^{-1}(c)-t\alpha-(1-t)\beta$=$g^{-1}(c)-t\alpha-(1-t)\beta$ $\le g^{-1}(c)$
as $\alpha, \beta, t, (1-t) \ge 0$
$tx_{1}+(1-t)x_2\le g^{-1}(c)\rightarrow g(tx_{1}+(1-t)x_2)\le g(g^{-1}(c)) \rightarrow g(tx_{1}+(1-t)x_2)\le c$
which proves the set is convex. However, this does not use the information that g is convex, which seems weird. As you can see, I am assuming the inverse functions exist, can I assume that? Or the proof is wrong altogether?