Well, I'm doing some exercises on differential calculus and I'm stuck.
(a) Let $U \subset \mathbb R^m$ and $f: U \rightarrow \mathbb R^n$ be a continuous function on a line segment $[x, x+h]\subset U$ and differentiable on $]x, x+h[$. Show that if $T:R^m\rightarrow R^n$ is a linear map, then: $$ ||f(x+h)-f(x)-T(h)\leq \sup_{t \in ]0, 1[}||df(x+th)-T||\,||h|| $$
(b) Let $U \subset R^m$ and $f:U\rightarrow \mathbb R^n$ a continuous function differentiable on $U- \{x\}$, where $x$ is a interior point of $U$. Suppose $\lim_{y \rightarrow x}df(y)=T$ for some linear map $T: \mathbb R^m \rightarrow \mathbb R^n$. Show that $f$ is differentiable on $x$ and $df(x)=T$. Suggestion: Use item (a).
Progress: I had no problems with (a) but I'm stuck at be. I must show that: $$\lim_{h \rightarrow 0} \frac{f(x+h)-f(x)-T(h)}{||h||}=0$$ We know that: $$\lim_{h \rightarrow 0} \frac{f(x+h)-f(x)-T(h)}{||h||}\leq \lim_{h \rightarrow 0}\sup||df(x+h)-T||$$ If I can swap the sup and the limit then I'm done, but I don't know if I'm allowed to.
Ps: I don't know why, but I cant tag this question properly.