(a) Let f:R→R be differentiable at x0∈R. Show that f is continuous at x0.
(b) State the Mean Value Theorem. Prove the following inequalities:
∣∣∣cos(e−x)−cos(e−y)∣∣∣⩽∣x−y∣ for x,y⩾0
and
log(1+x)⩽1+xx for x⩾0.
(c) Determine at which points the following functions from R to R are differentiable, and find their derivatives at the points at which they are differentiable:
f(x)={∣x∣x1 if x=0 if x=0,g(x)=cos(∣x∣),h(x)=x∣x∣
(d) Determine the points at which the following function from R to R is continuous:
f(x)={01/q if x∈/Q or x=0 if x=p/q where p∈Z\{0} and q∈N are relatively prime.