QlarIITy

MathematicsJEE Main 2026 · 2 AprilInteger

The number of points in the interval [2,4][2, 4], at which the functionf(x)=[x2−x−12]f(x) = \left[x^2 - x - \frac{1}{2}\right], where [⋅][\cdot] denotes the greatest integer function, 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. [g(x)][g(x)] jumps exactly where a continuous increasing gg passes an integer.

Concept refresher. For a continuous function gg, the function [g(x)][g(x)] is continuous at every x0x_0 where g(x0)g(x_0) is not an integer, and it is discontinuous at x0x_0 where g(x0)=kg(x_0) = k is an integer and gg crosses kk there (as it does when gg is strictly increasing). Here

[t]=k for k≤t<k+1[t] = k \text{ for } k \leq t < k + 1

Approach. Show that g(x)=x2−x−12g(x) = x^2 - x - \frac{1}{2} increases on [2,4][2, 4], find its values at the ends, and count the integers strictly between them.

  1. Step 1: Check that g increases

    The derivative is positive on the whole interval, so gg is strictly increasing there and meets each value at most once:

    g′(x)=2x−1≥3>0 for x∈[2,4]g'(x) = 2x - 1 \geq 3 > 0 \text{ for } x \in [2, 4]
  2. Step 2: Find the range

    At the ends of the interval,

    g(2)=4−2−12=32g(4)=16−4−12=232\begin{aligned} g(2) &= 4 - 2 - \frac{1}{2} = \frac{3}{2} \\[4pt] g(4) &= 16 - 4 - \frac{1}{2} = \frac{23}{2} \end{aligned}

    so gg runs continuously from 1.51.5 to 11.511.5, and neither end value is an integer.

  3. Step 3: Count the integers crossed

    Each integer kk with 1.5<k<11.51.5 < k < 11.5 is reached at exactly one xx in [2,4][2, 4], where ff jumps from k−1k - 1 to kk. These are k=2,3,…,11k = 2, 3, \ldots, 11, so the number of points of discontinuity is

    11−2+1=1011 - 2 + 1 = 10

Answer. 10

Sanity check. At x=2x = 2, f=[1.5]=1f = [1.5] = 1, and at x=4x = 4, f=[11.5]=11f = [11.5] = 11; a step function rising from 11 to 1111 in steps of 11 needs exactly 1010 jumps.

Common wrong answers

  • 11: The value 1111 counts the values 1,2,…,111, 2, \ldots, 11 taken by ff; the jumps happen between consecutive values, at g(x)=2,3,…,11g(x) = 2, 3, \ldots, 11, which is 1010 points.
  • 9: Counting only g(x)=3,…,11g(x) = 3, \ldots, 11, or only 2,…,102, \ldots, 10, gives 99; both 22 and 1111 lie between g(2)=1.5g(2) = 1.5 and g(4)=11.5g(4) = 11.5, so there are 1010 points.
  • 20: Counting both roots of x2−x−12=kx^2 - x - \frac{1}{2} = k for each kk gives 2020; the other root is negative, outside [2,4][2, 4], so each kk gives one point and the count is 1010.

Key takeaway

The trap. Counting the values of ff instead of the jumps between them, which gives one too many.

How toppers think. They find the range of the inner function and count the integers strictly inside it, then check the ends separately.

Remember. If gg increases from pp to qq and neither is an integer, [g(x)][g(x)] has [q]−[p][q] - [p] jumps.

More on Continuity