JEE Main 2026 · 2 April · evening · Numerical answer · +4 / −1

The number of points in the interval [2,4], at which the function f(x)=[x²-x-1/2], where [·] denotes the greatest integer function, is discontinuous, is ________.

Answer and solution

Answer 10

Solution

Maths sir · 4 steps

The greatest integer function jumps each time the inside crosses an integer, so count those crossings.

  1. Where it breaks. Let g(x) = x² - x - 1/2, which is continuous. Then [g(x)] is discontinuous exactly where g(x) passes through an integer value, because the floor jumps there.
  2. g is increasing. g'(x) = 2x - 1 > 0 on [2,4], so g rises steadily and hits each value in its range only once. Its range is from g(2) = 4 - 2 - 1/2 = 1.5 to g(4) = 16 - 4 - 1/2 = 11.5.
  3. Count the integers. The integers strictly between 1.5 and 11.5 are 2, 3, …, 11, which is 10 values. Neither endpoint gives an integer, so all 10 crossings happen inside the interval, from about x ≈ 2.16 (where g = 2) to about x ≈ 3.93 (where g = 11).
  4. So. Each of these 10 crossings is a jump, so f is discontinuous at 10 points in [2,4].

The common slip: 11. Counting the integers from 1 to 11 gives 11, but g starts at 1.5 and never reaches 1 in [2,4].

The idea to keep. For [g(x)] with g monotonic, find the range of g on the interval and count the integers it passes through. Check the endpoints separately.

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 2026.