Continuously/Differentiable on an interval but not twice differentiable anywhere in the/an interval

calculusderivativesreal-analysis

Let $f: A \to \mathbb R$ be a function, where $A$ is a subset of $\mathbb R$ that contains an interval.

Of course there are examples where $f$ can be differentiable at a point $x \in A$ but not twice differentiable a point $x$. Now I want to ask about interval subsets of $A$.

There are also examples $f$ is differentiable on an interval $I \subseteq A$ but not twice differentiable anywhere in $I$: Just do $I = A = \mathbb R$ and $f(x) = \int_0^x g(t) dt$ where $g$ is Weierstrass.

  1. (Update: Found it here. This is the problem with not using words in your post…) To construct an example for that $f$ is $k$-times differentiable on $I$ but not $(k+1)$-times differentiable anywhere in $I$, for $k \ge 1$, can I just keep integrating $g$ recursively to get counterexamples? eg for $k=2$, $f(x) = \int_0^x \int_0^u g(t) dt du$

  2. Can the same examples be used for when $f$ is instead continuously differentiable/continuous $k$-times differentiable on $I$?

Best Answer

Yes, those examples also show that there are functions f such that f(n) exist and it is continuous, but also differentiable nowhere. – José Carlos Santos