Step 1. (i) f(x)=x∣x∣: f(x)=x2 for x≥0, f(x)=−x2 for x<0; f(0)=0.
LHD: for h→0−, f(h)=−h2, quotient =h−h2−0=−h→0.
RHD: for h→0+, f(h)=h2, quotient =hh2−0=h→0.
Both one-sided derivatives equal 0, so f IS differentiable at x=0, with f′(0)=0.
Step 2. (ii) f(x)=∣x2−1∣. Near x=1: for x∈(−1,1), x2−1<0 so f(x)=1−x2; for x>1, x2−1>0 so f(x)=x2−1. f(1)=0.
LHD: h→0−, x=1+h<1, f(1+h)=1−(1+h)2=−2h−h2. Quotient =h−2h−h2=−2−h→−2.
RHD: h→0+, x=1+h>1, f(1+h)=(1+h)2−1=2h+h2. Quotient =h2h+h2=2+h→2.
LHD =−2=2= RHD, so f is NOT differentiable at x=1.
Step 3. (iii) f(x)=∣x∣+∣x−1∣.
At x=0: f(0)=0+1=1. For h<0 (small), f(h)=−h+(1−h)=1−2h [since h<0 and h<1]. LHD =h(1−2h)−1=h−2h=−2.
For h>0 (small, <1), f(h)=h+(1−h)=1. RHD =h1−1=0.
LHD =−2=0= RHD: NOT differentiable at x=0.
At x=1: f(1)=1+0=1. For h<0 small, x=1+h∈(0,1): f(1+h)=(1+h)+(1−(1+h))=(1+h)+(−h)=1. LHD =h1−1=0.
For h>0 small, x=1+h>1: f(1+h)=(1+h)+h=1+2h. RHD =h2h=2.
LHD =0=2= RHD: NOT differentiable at x=1.
Step 4. (iv) f(x)=sin∣x∣; f(0)=0.
RHD: h→0+, ∣h∣=h, f(h)=sinh. Quotient =hsinh→1 (standard limit). RHD=1.
LHD: h→0−, ∣h∣=−h, f(h)=sin(−h). Quotient =hsin(−h)=h−sinh→−1 (since sinh/h→1 regardless of which side h approaches 0 from). LHD=−1.
LHD =−1=1= RHD: even though sin is smooth, the outer ∣x∣ still produces a genuine corner at x=0 (near 0, sin∣x∣≈∣x∣), so f is NOT differentiable at x=0.
✓Final answer
(i) Differentiable at x=0, f′(0)=0.
(ii) Not differentiable at x=1.
(iii) Not differentiable at x=0 nor at x=1.
(iv) Not differentiable at x=0.