Consider the function f:R→R defined by f(x)={(2−sinx1)∣x∣,0,x=0x=0. Then, f is
Solutions · 1
Official solution
For x>0, f(x)=(2−sinx1)x, and near x=π1 vs x=π2 the oscillation of sinx1 causes f to fail monotonicity: f(π1)=f(π2)=π2, so f is not monotonic on (0,∞). Similarly for x<0. Hence f is non-monotonic on both (−∞,0) and (0,∞).