Let f:[0,3]→R be defined by f(x)=min{x−[x],1+[x]−x} where [x] is the greatest integer ≤x. Let P be the set of x∈(0,3) where f is discontinuous, and Q the set of x∈(0,3) where f is not differentiable. Then the sum of the number of elements in P and Q is equal to .............
Answer: 5
Solutions · 1
Official solution
f(x)=min{{x},1−{x}}, which is continuous everywhere on [0,3] but has corners at x=21,23,25 (where the two pieces cross) and at x=1,2 (where {x} resets). So n(P)=0 and n(Q)=5, giving n(P)+n(Q)=5.