From Gamelin and Greene's Introduction to Topology, 2nd edition, chapter 1 section 6 (Continuity):
Show that there is a continuous real function $h$ on $[0,1]$ such that $\lim \sup _{t \to 0^+}|\frac{h(x+t)-h(x)}{t}| = \infty$ for all $x \in [0,1)$.
The book has a Hint: Consider the space $C([0,2])$ of continuous real valued functions on the interval $[0,2]$, with the metric of uniform convergence. Let $E_m$ be the set of $f \in C([0,2])$ for which there is $x \in [0,1]$ satisfying $|f(x+t) - f(x)|/|t| \leq m$ for $t$ positive, $x+t \leq 2$. Show that $E_m$ is a closed nowhere-dense subset of $C([0,2])$.
I am sure that the very last part of the question is hinting at the use of Baire category theorem, so it thus suffices to show $E_m$ is closed and nowhere dense (as any continuous function with compact preimage has compact image, and the set of all bounded functions from a compact subset of the reals are complete). I believe that I got the closed part right by the following argument (correctme if I am wrong): given $\{ f_n \}$ a sequence of functions in $C([0,2])$ converging to some $f$ in the metric of uniform convergence, we know that $f_n(x) \to f(x)$ uniformly. Then, for any given $\epsilon >0$ we can bound the fraction appearing in $E_m$ by the following, by finding sufficiently large $n$: $\frac{|f(x+t) - f(x)|}{t} \leq \frac{|f(x+t) - f_n(x+t)| + |f_n(x+t) - f_n(x)| + |f_n(x) - f(x)|}{t} \leq \frac{2\epsilon}{t} + m$, for any fixed $t$ and $x$ of our concern. By letting $\epsilon \to 0$ we get that $f \in E_m$.
I do not get: (1) if my work so far is correct, (2) where the $2$ comes into play in $C([0,2])$, and (3) how to show the nowhere dense part.
I think it is easier to consider the Banachspace $ C[0,2] $ with the usual Norm $ \| f \|_{\infty} = \sup_{x \in [0,2]} | f(x) | $. (You don't lose anything because convergence in this Norm is equivalent to uniform convergence.) But now the questions:
(1) As zhw. pointed out. It's wrong.
(2) Because you consider $ x \in [0,1] $ the quotient is only defined for functions on a slightly larger intervall.
(3) Let $ O_m $ be the complement of $ E_m $. Then: $$ O_m = {E_m}^C = \{ f \in C[0,2] | \forall x \in [0,2] \exists 0 < t \le 2-x: |\frac{f(x+t)-f(t)}{t}| > m \} = \{ f \in C[0,2] | \forall x \in [0,2]\sup_{0 < t \le 2-x} {|\frac{f(x+t)-f(t)}{t}|} > m\} $$
Now we show that $ O_m $ is dense. Therefore fix $ f \in C[0,2] $ and $ \epsilon > 0 $. By Weierstrass Approximation Theorem there exists a polynomial p with $ \| p - f \|_{\infty} < \frac{\epsilon}{2} $. Further let $ y_{\alpha} \in C[0,2] $ with:
In Germany such a function is called "Sägezahnfunktion" but I don't know the English wort. Now let $ g_\alpha = p + y_\alpha $. Cleary $ \| f - g_\alpha \|_\infty< \epsilon $. If we manage to show $ g_\alpha \in O_m $ for one $ \alpha > 0 $ we have finished. Choose $ \alpha > m + \| p \|_\infty $. Then $$ | \frac{g_\alpha(x+t) - g_\alpha(x)}{t} | \ge | \frac{y_\alpha(x+t)-y_\alpha(x)}{t} | - | \frac{p(x+t)-p(x)}{t} |$$ by the reverse triangle inequality. By the mean value theorem there is a $ \xi $ with $ (p(x+t)-p(t)) \cdot t^{-1} = p(\xi) $ and we have $$ | \frac{g_\alpha(x+t) - g_\alpha(x)}{t} | \ge | \frac{y_\alpha(x+t)-y_\alpha(x)}{t} | - \| p \|_\infty $$ Taking the supreme yields $$ \sup_{{0 < t \le 2-x}} {| \frac{g_\alpha(x+t) - g_\alpha(x)}{t} |} \ge \sup_{{0 < t \le 2-x}} {| \frac{y_\alpha(x+t) - y_\alpha(x)}{t} |} - \| p \|_\infty \ge \alpha - \| p \|_\infty $$ where the last inequality comes from a similar mean value argument as above because you can take $ t $ so small that $ y_{\alpha} $ has constant slope on $ (x,x+t) $. We have showed that $ g_\alpha \in O_m $ if $ \alpha > m + \| p \|_\infty $. Therefore $ O_m $ is dense in $ C[0,2] $.
Especially we get $ \forall \epsilon > 0 \forall x \in E_m : B_\epsilon(x) \cap O_m \neq \emptyset $. Because $ O_m = {E_m}^C $ this can be restated as $ E_m = \overline{E_m} $ has no interior point which means that $ E_m $ is nowhere dense.