QlarIITy

MathematicsJEE Main 2023 · 12 AprilInteger

Let [x][x] be the greatest integer ≤x\leq x. Then the number of points in the interval (−2,1)(-2, 1) where the functionf(x)=∣[x]∣+x−[x]f(x) = |[x]| + \sqrt{x - [x]}is discontinuous, is ______.

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 built from the greatest integer can be discontinuous only at integers.

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. Since x−[x]={x}x - [x] = \{x\}, the function is ∣[x]∣+{x}|[x]| + \sqrt{\{x\}}. Between consecutive integers [x][x] is constant and {x}\{x\} is continuous, so only the integers −1-1 and 0 inside (−2,1)(-2, 1) can be points of discontinuity.

Graph of the function on the interval from −2 to 1 in three rising pieces: from an open circle at (−2, 2) up to an open circle at (−1, 3); from the point (−1, 1) up to an open circle at (0, 2); and from the point (0, 0) up to an open circle at (1, 1). The pieces do not meet at x = −1 and x = 0.

Approach. Compare the one-sided limits at the two integers.

  1. Step 1: At the point minus 1

    Just left of −1-1, ∣[x]∣=2|[x]| = 2 and {x}\sqrt{\{x\}} tends to 1, giving 3. Just right of −1-1, ∣[x]∣=1|[x]| = 1 and {x}\sqrt{\{x\}} tends to 0, giving 1. The limits differ.

  2. Step 2: At the point 0

    Just left of 0, ∣[x]∣=1|[x]| = 1 and {x}\sqrt{\{x\}} tends to 1, giving 2. Just right of 0 both terms tend to 0. The limits differ again, so there are 2 points of discontinuity.

Answer. 2

Sanity check. On (−2,−1)(-2, -1) the function is 2+x+22 + \sqrt{x + 2}, on (−1,0)(-1, 0) it is 1+x+11 + \sqrt{x + 1} and on (0,1)(0, 1) it is x\sqrt{x}; each is continuous on its own interval.

Common wrong answers

  • 4: Counting the ends −2-2 and 1 as well, although they lie outside the open interval, gives 4.
  • 1: Assuming that the modulus removes the jump at 0 leaves only the point −1-1 and gives 1.

Key takeaway

The trap. The end points of an open interval are not part of the count.

How toppers think. They write the function on each unit interval without brackets before comparing limits.

Remember. Limits at −1-1: 3 and 1; at 0: 2 and 0

More on Continuity