QlarIITy

MathematicsJEE Main 2021 · 26 AugustSingle correct

Let [t][t] denote the greatest integer less than or equal to tt. Let f(x)=x−[x]f(x) = x - [x], g(x)=1−x+[x]g(x) = 1 - x + [x], and h(x)=min⁡{f(x),g(x)},x∈[−2,2]h(x) = \min\{f(x), g(x)\}, x \in [-2, 2]. Then hh is :

  1. Option A: continuous in [−2,2][-2, 2] but not differentiable at more than four points in (−2,2)(-2, 2)
  2. Option B: Continous in [−2,2][-2, 2] but not differentiable at exactly three poionts in (−2,2)(-2, 2)
  3. Option C: not continuous at exactly four points in [−2,2][-2, 2]
  4. Option D: not continuous at exactly three points in [−2,2][-2, 2]
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

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

a=[a]+{a}a = [a] + \{a\}

with [a][a] an integer and 0≤{a}<10 \leq \{a\} < 1.

Picture the situation. Here f(x)={x}f(x) = \{x\} and g(x)=1−{x}g(x) = 1 - \{x\}. So h(x)={x}h(x) = \{x\} when {x}≤12\{x\} \leq \dfrac{1}{2} and h(x)=1−{x}h(x) = 1 - \{x\} when {x}≥12\{x\} \geq \dfrac{1}{2}: the distance from xx to the nearest integer.

Graph of the minimum on the interval from −2 to 2: a triangle wave that is 0 at each integer and rises to 1/2 midway between consecutive integers, with sharp corners at the integers and at the half-integers. A dotted line marks the height 1/2.

Approach. Check continuity at the integers, then count the corners inside the interval.

  1. Step 1: Continuity

    Just right of an integer {x}\{x\} tends to 0, so hh tends to 0. Just left of an integer {x}\{x\} tends to 1, so h=1−{x}h = 1 - \{x\} tends to 0 as well. So hh is continuous on [−2,2][-2, 2].

  2. Step 2: Corners

    The slope of hh is +1+1 just after each integer and −1-1 just before it, and it changes from +1+1 to −1-1 at each half-integer. Inside (−2,2)(-2, 2) these corners are at −1-1, 0, 1, ±12\pm\dfrac{1}{2} and ±32\pm\dfrac{3}{2}, seven points in all.

  3. Step 3: Conclusion

    Seven is more than four, so hh is continuous on the interval but not differentiable at more than four points of (−2,2)(-2, 2).

Answer. (A) continuous in [−2,2][-2, 2] but not differentiable at more than four points in (−2,2)(-2, 2)

Sanity check. The end points ±2\pm 2 are left out of the count, since the corners are counted in the open interval.

Why the other options are wrong

  • (B) Three is the number of integers inside the interval; the four half-integers are corners as well.
  • (C) The function is continuous everywhere, because both pieces tend to 0 at each integer.
  • (D) There is no point of discontinuity at all: the minimum of the two pieces is 0 on both sides of every integer.

Key takeaway

The trap. A minimum of two functions has corners where the two are equal as well as where either has one.

How toppers think. They sketch the two saw-tooth graphs and trace the lower one.

Remember. Corners at integers and at half-integers

More on Continuity