Hacker News new | ask | show | jobs
by bonzini 3156 days ago
You can define a periodic function that goes from 0 to 1 as a straight line and then from 1 to 0 as another straight line, basically a triangle wave. It is not differentiable on an infinite (and countable) number of points:

https://en.m.wikipedia.org/wiki/Triangle_wave

1 comments

I imagine they would have been talking about functions on the interval rather than our modern sense of functions on the reals. (Of course there are plenty of examples on the interval as well, but no obvious ones)
Take something like arcsin sin pi/2/x(x-1), where "arcsin sin pi*x/2" is "pointy" like a triangle wave. There you have it.