QlarIITy

MathematicsJEE Main 2023 · 10 AprilInteger

Let f:(−2,2)→Rf : (-2, 2) \to \mathbb{R} be defined byf(x)={x[x],−2<x<0(x−1)[x],0≤x<2f(x) = \begin{cases} x[x], & -2 < x < 0 \\ (x - 1)[x], & 0 \leq x < 2 \end{cases}where [x][x] denotes the greatest integer function. If mm and nn respectively are the number of points in (−2,2)(-2, 2) at which y=∣f(x)∣y = |f(x)| is not continuous and not differentiable, then m+nm + n is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A function with greatest integers is a different simple formula on each unit interval.

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. On (−2,−1)(-2, -1), [x]=−2[x] = -2 and f=−2xf = -2x, which is positive. On [−1,0)[-1, 0), f=−xf = -x, positive. On [0,1)[0, 1), [x]=0[x] = 0 and f=0f = 0. On [1,2)[1, 2), f=x−1f = x - 1, which is not negative. So ∣f∣|f| has the same four formulas.

Graph of the modulus of the function between −2 and 2 in four straight pieces: falling from an open circle at (−2, 4) to an open circle at (−1, 2); falling from the point (−1, 1) to the origin; along the x-axis from the origin to (1, 0); and rising from (1, 0) to an open circle at (2, 1).

Approach. Examine the points minus 1, 0 and 1 for continuity and for the slope.

  1. Step 1: Continuity

    At −1-1 the left-hand limit is 2 but the value is 1, so ∣f∣|f| jumps. At 0 and at 1 both sides give 0. So m=1m = 1.

  2. Step 2: Differentiability

    At −1-1 the function is not continuous, so it is not differentiable. At 0 the slope changes from −1-1 to 0, and at 1 from 0 to 1. So n=3n = 3 and m+n=4m + n = 4.

Answer. 4

Sanity check. Inside each unit interval ∣f∣|f| is a straight line, so no other point can be a jump or a corner.

Common wrong answers

  • 3: Counting −1-1 as a discontinuity but not also as a point of non-differentiability gives 1+2=31 + 2 = 3.
  • 2: Counting only the corners at 0 and 1 and missing the point −1-1 altogether gives 2.

Key takeaway

The trap. A point of discontinuity is also a point of non-differentiability.

How toppers think. They sketch the four line segments and read the jump and the corners from the picture.

Remember. m=1m = 1 (at −1-1), n=3n = 3 (at −1-1, 0, 1)

More on Differentiability