QlarIITy

MathematicsJEE Main 2021 · 24 FebruarySingle correct

If f:R→Rf : R \to R is a function defined by f(x)=[x−1]cos⁡(2x−12)πf(x) = [x - 1]\cos\left(\frac{2x - 1}{2}\right)\pi, where [⋅][\cdot] denotes the greatest integer function, then ff is:

  1. Option A: discontinuous only at x=1x = 1
  2. Option B: discontinuous at all integral values of xx except at x=1x = 1
  3. Option C: continuous only at x=1x = 1
  4. Option D: continuous for every real xx
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A jump in one factor is harmless where the other factor vanishes.

Concept refresher. If u(x)u(x) stays bounded near cc and v(x)v(x) tends to 0 as xx tends to cc, then

lim⁡x→cu(x)v(x)=0\lim_{x \to c} u(x)v(x) = 0

Picture the situation. Between consecutive integers [x−1][x - 1] is constant, so ff is a constant times a cosine and is continuous there. Only the integers need checking, and at an integer nn the angle (2n−1)π2\dfrac{(2n - 1)\pi}{2} is an odd multiple of π2\dfrac{\pi}{2}.

Approach. Compare the two one-sided limits with the value at an integer.

  1. Step 1: At an integer

    Near an integer nn the factor [x−1][x - 1] takes only the values n−2n - 2 and n−1n - 1, so it is bounded, while the cosine factor tends to cos⁡(2n−1)π2=0\cos\dfrac{(2n - 1)\pi}{2} = 0. Both one-sided limits are therefore 0.

  2. Step 2: Conclusion

    Also f(n)=(n−1)×0=0f(n) = (n - 1) \times 0 = 0, so ff is continuous at every integer, and hence for every real xx.

Answer. (D) continuous for every real xx

Sanity check. For example near x=1x = 1: just left the function is −cos⁡(2x−1)π2-\cos\dfrac{(2x - 1)\pi}{2} and just right it is 0 times the cosine; both tend to 0.

Why the other options are wrong

  • (A) At x=1x = 1 both one-sided limits and the value are 0, so there is no discontinuity there.
  • (B) At every integer the cosine factor is 0, which removes the jump of the greatest integer, so no integer is a point of discontinuity.
  • (C) Between integers the function is a constant times a cosine, which is continuous, so it is not continuous only at 1.

Key takeaway

The trap. A greatest integer in a product does not by itself force a discontinuity.

How toppers think. They evaluate the continuous factor at the integers before anything else.

Remember. cos⁡(2n−1)π2=0\cos\dfrac{(2n - 1)\pi}{2} = 0 for every integer nn

More on Continuity