First, we note that our function is continuous, because
x→0limf(x)=x→0limxsinx=1=f(0)
This is a handy thing to check: if the function were discontinuous at x=0, then we would automatically know that it was not differentiable there.
Now, on to the derivative. We can use the limit definition:
f′(0)=h→0limhf(0+h)−f(0) if it exists=h→0limhf(h)−1=h→0limhhsinh−1
As h approaches 0, both the numerator and the denominator approach 0. So, to evaluate the limit, we need to do more work. The key insight we can use is a result that was shown in the text while evaluating the derivative of sine. When h is close to 0, cosh≤hsinh≤1. We use this to bound our limit, and then apply the squeeze theorem.
So, coshcosh−1≤≤hsinhhsinh−1≤≤11−1=0
and h1(hsinh−1) is between 0 and
hcosh−1.
We can evaluate the limit of hcosh−1, by noticing its similarity to the definition of the derivative.
h→0limhcosh−1=h→0limhcos(0+h)−cos(0)=dxd{cosx}∣x=0=0
So, by the Squeeze Theorem, f′(0)=h→0limhhsinh−1=0.