The question is as follows:
Given:
(1) function $f: U \subset \mathbb R^n ==> \mathbb R$
(2) $U$ is open and convex set
(3) $f \in C^1$ in $U$
Goal: Show that $f$ is Lipschitz on any compact subset of $U$
By now, I have various ideas come to mind, but I can't connect the dots >_<
Here are my thoughts so far:
(1) Recall definitions:
(i) $f \in C^k$ means all partial derivatives up to (and including) order $k$ exist and continuous. Here $k = 1$
(ii) a set $U$ is convex if for any 2 points $x, y$ in $U$, the segment joining $x$ and $y$ is totally inside $U$
(iii) function $f$ is Lipschitz if there is a bound $M$ such that $|f(x) - f(y)| \leq M |x-y|$
(2)By a theorem in my book:
if function $f \in C^1$ on an open & convex set $U$, then for any 2 points $x$ and $y$ in $U$, there is a point $s$ lying on the segment joining $x$ and $y$ such that $f(x) - f(y) = Df(s) * (x - y)$
I firstly have a feeling that I may need this theorem in the proof, but I can't see the connection between my desired bound $M$ with $Df(s)$. So I tried to think of other ideas and ...
(3) It turns out that by all the given information, I think if I can show function $f$ is convex, then I'm done because there is a theorem which said: a convex function on a open, convex set $U$ should be Lipschitz on $U$, thus I think it must also be Lipschitz on any subset of $U$, either that subset is compact or not.
However, how can I prove function $f$ is convex, based on given information? I have a feeling that I have to use the fact that set $U$ is convex, but then I'm stuck on how to proceed further >_>
*Would someone please help me on this question? Thank you very much ^_^*