The given function is:
f(x)={xsin(x1),0,for x=0for x=0
Step 1: Checking continuity at x=0.
For f(x) to be continuous at x=0, we need to check if:
x→0limf(x)=f(0)=0.
For x=0, we have:
x→0limxsin(x1).
Since sin(x1) is bounded between -1 and 1, we get:
−x≤xsin(x1)≤x.
As x→0, both bounds approach 0. By the squeeze theorem, we conclude:
x→0limf(x)=0=f(0),
so the function is continuous at x=0.
Step 2: Checking differentiability at x=0.
The function f(x) is differentiable at x=0 if:
x→0limx−0f(x)−f(0)=x→0limxxsin(x1).
This simplifies to:
x→0limsin(x1).
Since sin(x1) oscillates infinitely as x→0, the limit does not exist. Therefore, the function is not differentiable at x=0.