Let be defined bywhere 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 ______.
Solution
Core idea. The smaller of the fractional part and its complement is the distance to the nearest integer.
Concept refresher. Every real number splits as
with an integer and .
Picture the situation. Here and , so is the smaller of and : the distance from to the nearest integer.
Approach. Check continuity at the integers, then count the corners inside the interval.
Step 1: Continuity
At each integer both expressions give the minimum 0 from either side, so is continuous on and the set is empty.
Step 2: Corners
The slope is after each integer and before the next, so there are corners at the half-integers and at the integers. Inside these are , 1, , 2 and , so has 5 elements and the sum is .
Answer. 5
Sanity check. The ends 0 and 3 are left out of , since it is taken in the open interval.
Common wrong answers
- 2: Counting only the valleys at the integers 1 and 2, and missing the three peaks, gives 2.
- 7: Counting the ends 0 and 3 as corners as well gives 7, but is taken in the open interval.
Key takeaway
The trap. The peaks at the half-integers are corners just as the valleys at the integers are.
How toppers think. They sketch the zigzag and count its turning points.
Remember. Corners at , 1, , 2,
More on Differentiability
- For the function f(x) = e^(sin|x|) - |x|, x ∈ R, consider the following statements: Statement I: f is…
- Let f(x) = e^(x-1), x < 0; x² - 5x + 6, x ≥ 0 and g(x) = f(|x|) + |f(x)|. If the number of points where g is…
- The number of points, at which the function f(x) = max{6x, 2 + 3x²}; + |x - 1|cos|x² - 1/4|, x ∈ (-π, π), is…
- All 60 on Differentiability ›