$\newcommand{\dirichlet}{\mathop{\rm dirichlet}\nolimits}$ I'm trying to find two examples for the following criterias:
- A method that is continuous in exactly one point but doesn't have a derivative in that point
- A method that is continuous in exactly one point and does have a derivative in that point
After looking deeper at some examples, I found out that $f(x) = x\cdot\dirichlet(x)$ doesn't have a deriviate at $x = 0$ however $f(x) = x^2\cdot \dirichlet(x)$ does have.
I can't understand the difference between the two. Any helps could help.
