Let $f(x)$ be a continuous function that—
- maps the closed interval [0, 1] to [0, 1],
- equals 0 at 0,
- does not equal 0 anywhere except at 0, and
- is nowhere differentiable on its domain.
Let $g(x)$ be a polynomial that—
- maps the closed interval [0, 1] to [0, 1],
- bounds $f$ from above, and
- equals 0 at 0.
My question is: Does the limit $\lim_{x\to 0^+} f(x)/g(x)$ exist? If not, what are the weakest conditions required on $f$ for the limit to exist?
I know that by L'Hôpital's rule, the limit exists when $f(x)$ is differentiable on some interval $(0, \epsilon)$, but I don't know whether the limit still exists in this case when $f$ is not required to be differentiable. This question is neither homework nor a self-study assignment, nor is this coursework.