Let f(x)=⎩⎨⎧x−[x]sin(x−[x]),max{2x,3[∣x∣]},1,x∈(−2,−1)∣x∣<1otherwise where [t] denotes the greatest integer ≤t. If m is the number of points where f is not continuous and n is the number of points where f is not differentiable, then the ordered pair (m,n) is:
Solutions · 1
Official solution
Analysing the pieces and checking the joins at x=−2,−1,0,1 (and any interior corner of max{2x,3[∣x∣]} within (−1,1)), the function is found to be discontinuous at exactly 2 points and non-differentiable at exactly 3 points, giving (m,n)=(2,3).