Can a continuous function on $[0,1]$ be constructed which is not differentiable exactly at two points on $[0,1]$ ?
2026-04-08 06:04:18.1775628258
On
A function not differentiable exactly two points of $[0,1]$. construction of such a function is possible?
1.9k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
2
On
Sure. Presuming you allow one-sided limits at interval endpoints in your limit of differentiability (otherwise any otherwise differentiable function is automatically an example because it fails to be differentiable at $0, 1$), you can take as an example the function $f$ defined by $0$ on $[0, \frac{1}{3}]$, $3x - 1$ on $[\frac{1}{3}, \frac{2}{3}]$, and $1$ on $[\frac{2}{3}, 1]$. It is nondifferentiable precisely at $\frac{1}{3}, \frac{2}{3}$.
Consider: $$f(x)=\left|x-\frac{1}{2}\right|+\left|x-\frac{1}{3}\right|.$$