JEE Main 2021 · 26 August · evening · Single correct · +4 / −1

Let [t] denote the greatest integer less than or equal to t. Let
f(x) = x - [x], g(x) = 1 - x + [x], and h(x) = minf(x), g(x), x ∈ [-2, 2]. Then h is :

  1. (a) continuous in [-2, 2] but not differentiable at more than
    four points in (-2, 2)
  2. (b) not continuous at exactly three points in [-2, 2]
  3. (c) continuous in [-2, 2] but not differentiable at exactly
    three points in (-2, 2)
  4. (d) not continuous at exactly four points in [-2, 2]
Answer and solution

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

Solution

Maths sir · 4 steps

Write h as min({x}, 1-{x}). It is the distance from x to the nearest integer, a zigzag.

  1. Rewrite both functions. f(x) = x - [x] = {x}, the fractional part, and g(x) = 1 - {x}. Since 0 ≤ {x} < 1, h picks whichever of the two is smaller.

    h(x) = {x}, 0 ≤ {x} ≤ 1/2 ; 1 - {x}, 1/2 ≤ {x} < 1

  2. Check continuity. f and g both jump at every integer, but h does not. As x → n⁻, {x} → 1, so h → 1 - 1 = 0. At x = n, h(n) = min(0, 1) = 0. So h is continuous on all of [-2, 2], and its graph is a zigzag between heights 0 and 1/2.
  3. Count the corners. The slope switches from +1 to -1 at every half-integer, and from -1 to +1 at every integer. In (-2, 2) the half-integers are -3/2, -1/2, 1/2, 3/2 (4 points) and the integers are -1, 0, 1 (3 points).
  4. So. h is continuous on [-2, 2] and has 4 + 3 = 7 points of non-differentiability in (-2, 2). That is more than four, so the answer is (a).

The idea to keep. Taking the min or max of two functions creates a corner wherever they cross. Also check where the original pieces jump, because the min can still stay continuous there.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Continuity & Differentiability

Asked about 90 times in JEE Main since 2020. This question is from 2021.