QlarIITy

MathematicsJEE Main 2025 · 24 JanuarySingle correct

Let [x][x] denote the greatest integer function, and let mm and nn respectively be the numbers of the points, where the function f(x)=[x]+∣x−2∣,−2<x<3f(x) = [x] + |x - 2|, -2 < x < 3, is not continuous and not differentiable. Then m+nm + n is equal to :

  1. Option A: 6
  2. Option B: 8
  3. Option C: 9
  4. Option D: 7
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. A function is not differentiable at any point where it is not continuous.

Concept refresher. The greatest integer [x][x] is the integer nn with

n≤x<n+1n \leq x < n + 1

so [x]≤n[x] \leq n means x<n+1x < n + 1 and [x]≥n[x] \geq n means x≥nx \geq n.

Picture the situation. The term ∣x−2∣|x - 2| is continuous everywhere, with a single corner at x=2x = 2. The term [x][x] jumps by 1 at each integer, and the integers inside (−2,3)(-2, 3) are −1-1, 0, 1 and 2.

Approach. Count the jumps, then the points where the derivative fails.

  1. Step 1: Continuity

    At each of the four integers [x][x] jumps while ∣x−2∣|x - 2| does not, so ff is not continuous at these four points and m=4m = 4.

  2. Step 2: Differentiability

    At these four points ff is not differentiable, since it is not continuous. Elsewhere ff is a constant plus ∣x−2∣|x - 2|, whose only corner is at 2, already counted. So n=4n = 4 and m+n=8m + n = 8.

Answer. (B) 8

Sanity check. Between consecutive integers the function is a straight line of slope −1-1 or +1+1, so no other point can cause trouble.

Why the other options are wrong

  • (A) The value 6 would come from counting only three integers; −1-1, 0, 1 and 2 all lie inside the interval.
  • (C) The value 9 counts the corner of ∣x−2∣|x - 2| at 2 as a fifth point for nn, but 2 is already one of the four.
  • (D) The value 7 gives n=3n = 3, leaving out one of the four points where the function is not even continuous.

Key takeaway

The trap. A corner that coincides with a jump is one point, not two.

How toppers think. They count the discontinuities first, since each of them is automatically counted again.

Remember. m=4m = 4 and n=4n = 4

More on Differentiability