Chapter 3: Problem 48
Oscillation There is another way that a function might fail to be differentiable, and that is by oscillation. Let $$f(x)=\left\\{\begin{array}{ll}{x \sin \frac{1}{x},} & {x \neq 0} \\ {0,} & {x=0}\end{array}\right.$$ (a) Show that \(f\) is continuous at \(x=0\) (b) Show that $$\frac{f(0+h)-f(0)}{h}=\sin \frac{1}{h}$$ (c) Explain why $$\lim _{h \rightarrow 0} \frac{f(0+h)-f(0)}{h}$$ does not exist. (d) Does \(f\) have either a left-hand or right-hand derivative at \(x=0 ?\) (e) Now consider the function $$g(x)=\left\\{\begin{array}{ll}{x^{2} \sin \frac{1}{x},} & {x \neq 0} \\\ {0,} & {x=0}\end{array}\right.$$ Use the definition of the derivative to show that \(g\) is differentiable at \(x=0\) and that \(g^{\prime}(0)=0\)