Jump to content

Science:Math Exam Resources/Courses/MATH100 B/December 2024/Question 14/Solution 1

From UBC Wiki

For any nonzero x that is not of the form 1n, the function is differentiable. Indeed, one can find a small interval around such an x that does not contain any points of the form 1n, so the function is identically zero in that interval. Hence, f(x)=0.

For any a=1n, the function is not continuous because limxaf(x)=0f(a)=1n2. Therefore, f is not differentiable at such points.

It remains to consider a=0. Using the definition of the derivative, f(0)=limh0f(h)f(0)h.

If h=1n, then f(h)f(0)h=h2h=h.

If h is not of the form 1n, then f(h)f(0)h=0.

In either case, the limit as h0 is 0. Thus, f(0)=0.

Therefore, f is differentiable for all x1n, and f(x)=0for all such x.