QlarIITy

MathematicsJEE Main 2021 · 1 SeptemberInteger

Let [t][t] denote the greatest integer ≤t\leq t. The number of points where the functionf(x)=[x]∣x2−1∣+sin⁡(π[x]+3)−[x+1],x∈(−2,2)f(x) = [x]|x^2 - 1| + \sin\left(\frac{\pi}{[x] + 3}\right) - [x + 1], x \in (-2, 2)is not continuous 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 sum of terms with greatest integers is continuous at an integer when the jumps of its terms cancel.

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=−2∣x2−1∣+sin⁡π+1f = -2|x^2 - 1| + \sin\pi + 1. On [−1,0)[-1, 0), [x]=−1[x] = -1 and f=−∣x2−1∣+sin⁡π2−0f = -|x^2 - 1| + \sin\dfrac{\pi}{2} - 0. On [0,1)[0, 1), [x]=0[x] = 0 and f=sin⁡π3−1f = \sin\dfrac{\pi}{3} - 1. On [1,2)[1, 2), [x]=1[x] = 1 and f=∣x2−1∣+sin⁡π4−2f = |x^2 - 1| + \sin\dfrac{\pi}{4} - 2.

Approach. Compare the limit from the left with the value at the points minus 1, 0 and 1.

  1. Step 1: At the point minus 1

    The left-hand limit is 0+0+1=10 + 0 + 1 = 1 and the value is 0+1−0=10 + 1 - 0 = 1. So ff is continuous at −1-1.

  2. Step 2: At 0 and 1

    At 0 the left-hand limit is −1+1=0-1 + 1 = 0 but the value is 32−1\dfrac{\sqrt{3}}{2} - 1. At 1 the left-hand limit is 32−1\dfrac{\sqrt{3}}{2} - 1 but the value is 12−2\dfrac{1}{\sqrt{2}} - 2. So ff is not continuous at these 2 points.

Answer. 2

Sanity check. At −1-1 the first term causes no jump because ∣x2−1∣|x^2 - 1| is 0 there, and the rise of the sine term by 1 is cancelled by the fall of −[x+1]-[x + 1] by 1.

Common wrong answers

  • 3: Counting −1-1 as well, although the jumps of the terms cancel there, gives 3.
  • 1: Treating the point 1 as continuous because ∣x2−1∣|x^2 - 1| vanishes there, and counting only 0, gives 1.

Key takeaway

The trap. A factor that vanishes at a point removes the jump of the bracket it multiplies.

How toppers think. They write the function without brackets on each unit interval and compare ends.

Remember. Limit and value: 1 and 1 at −1-1; 0 and 32−1\dfrac{\sqrt{3}}{2} - 1 at 0

More on Continuity