Let be defined by where is the greatest integer less than or equal to . Let denote the set containing all where is discontinuous, and denote the set containing all where is not differentiable. Then the sum of number of elements in and is equal to _________.
We have the function given by
where denotes the greatest integer less than or equal to . For each integer with , every point in the sub-interval satisfies , so we may write
If we introduce the fractional part , then inside the same sub-interval we obtain the much simpler expression
Now increases linearly from to while decreases linearly from to . The smaller of the two is therefore
Hence on each open unit interval the function assumes the piece-wise linear form
Continuity is checked first. At a non-end-point lying strictly between two consecutive integers, is given by one of the linear formulas above, so it is continuous there. At an integer we have
while directly from the definition
Since the left limit, the right limit and the value of the function coincide, is continuous at every integer as well. Thus the set
is empty, so
We now investigate differentiability. Inside each open interval we already have linear pieces, so the derivative exists there and equals
Possible trouble points are where these two formulas meet, namely where , and also the integers where two adjacent unit intervals meet.
(i) Points with fractional part ½.
Solving in each interval gives
Within the domain this yields the three points
At each of them the left derivative equals while the right derivative equals , so is not differentiable there.
(ii) Integer points.
At an integer the left derivative (coming from the slope of the segment that ends at ) equals , whereas the right derivative (coming from the slope of the segment that starts at ) equals . Therefore fails to be differentiable at every integer.
All integers in our closed interval are , but the set
excludes the endpoints and . Consequently only and from the list above belong to .
Collecting everything lying strictly between and , the non-differentiable points are
so
Finally, the required sum is
Hence, the correct answer is Option 5.
Tagged Differentiability at a point. Machine-assigned, so read it as a strong shortlist rather than a verdict.