2
$\begingroup$

Please give an example of a continuous function $f:[0,1]\to\mathbb R$ which doesn't have a derivative at any point. I can't think of anything, can someone help please?

$\endgroup$
15
$\begingroup$

There is a well-known example of a continuous function that is not differentiable by Weierstrass:

https://en.wikipedia.org/wiki/Weierstrass_function

$\endgroup$
  • $\begingroup$ Thank you! I didn't know that example. $\endgroup$ – Mathworld Dec 2 '17 at 14:54
5
$\begingroup$

For example, $f(x)=1$ when $x$ is rational, and $f(x)=0$ when $x$ is irrational.

$\endgroup$
  • $\begingroup$ Thats right, but I forget to write in condition that I need a continious function. $\endgroup$ – Mathworld Dec 2 '17 at 14:57
4
$\begingroup$

Just take any function which is nowhere continuous.

Finding an $f$ which is continuous but nowhere differentiable is much harder. The most famous example is the Weierstraß function, which was explicitely constructed to have that property.

Before its construction, it was conjectured, that every continuous function was differentiable except on a set of isolated points.
So its not surprising that you cannot think of anything

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.