Squeeze theorem · Exercise-SQUEEZE-THEOREM-008

Step-by-step solved exercise: Limits

Let \(\displaystyle f(x)=x^{2}\sin(1/x)\) for \(\displaystyle x\ne 0\) and \(\displaystyle f(0)=0\). What is \(\displaystyle f'(0)=\lim_{h\to 0}\dfrac{f(h)-f(0)}{h}\)?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Write the difference quotient.

    \[\displaystyle \frac{f(h)-f(0)}{h}=\frac{h^2\sin(1/h)}{h}=h\sin\!\left(\tfrac1h\right)\]
  2. Bound with the sine.

    \[\displaystyle -|h|\le h\sin\!\left(\tfrac1h\right)\le|h|\]
  3. Both bounds tend to 0, so the limit is 0.

    \[\displaystyle f\'(0)=\lim_{h\to0}h\sin\!\left(\tfrac1h\right)=0\]

    Comment: The function is differentiable at 0 even though \(\displaystyle f'\) is not continuous there.

Answer

0

🎯 Build my path to this exercise