f(x)=x2∣x−1∣=x2x−1,x≥1 =x21−x,x<1
Clearly f(x) is not diff. at x=0 and x=1. ∴ by def. there are two of the critical points.
For points other than these two, we have f′(x)=x4x2⋅1−(x−1)2x
i.e, x3−x+2,x>1 =x4x2(−1)−(1−x)2x
i.e., x3x−2, x<1 f′(x)=0 at x=2 ∴x=2 is also a critical point.
Hence f(x) has three critical points i.e. (0,1,2).