We need to find the number of points of discontinuity of f(x)=∣[x]∣+x−[x] in the interval (−2,1), where [x] denotes the greatest integer function.
Note that x−[x]={x} is the fractional part function, which satisfies 0≤{x}<1. So f(x)=∣[x]∣+{x}.
Let us analyze f(x) on each sub-interval:
For x∈(−2,−1): [x]=−2, so f(x)=∣−2∣+x−(−2)=2+x+2.
For x∈[−1,0): [x]=−1, so f(x)=∣−1∣+x−(−1)=1+x+1.
For x∈[0,1): [x]=0, so f(x)=∣0∣+x−0=x.
Checking continuity at x=−1:
Left-hand limit: limx→−1−f(x)=2+−1+2=2+1=3.
Value at x=−1: f(−1)=1+−1+1=1+0=1.
Since 3=1, f is discontinuous at x=−1.
Checking continuity at x=0:
Left-hand limit: limx→0−f(x)=1+0+1=1+1=2.
Value at x=0: f(0)=0=0.
Since 2=0, f is discontinuous at x=0.
Within each sub-interval (−2,−1), (−1,0), and (0,1), the function is continuous (being a sum of a constant and a continuous radical function).
Therefore, the number of points of discontinuity in (−2,1) is 2.