QlarIITy

MathematicsJEE Advanced 2017 · Paper 1One or more correct

Let [x][x] be the greatest integer less than or equals to xx. Then, at which of the following point(s) the function f(x)=xcos⁡(π(x+[x]))f(x)=x\cos(\pi(x+[x])) is discontinuous?

  1. Option A: x=−1x=-1
  2. Option B: x=0x=0
  3. Option C: x=1x=1
  4. Option D: x=2x=2
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. Since cos⁡(πx+π[x])=(−1)[x]cos⁡πx\cos(\pi x+\pi[x])=(-1)^{[x]}\cos\pi x, the function is (−1)[x]xcos⁡πx(-1)^{[x]}x\cos\pi x, which jumps by 2n2n at every integer nn.

Concept refresher. cos⁡(θ+kπ)=(−1)kcos⁡θ\cos(\theta+k\pi)=(-1)^{k}\cos\theta for any integer kk. The function [x][x] jumps only at integers, so ff can fail to be continuous only at integers; there we compare the left limit, the right limit and f(n)f(n).

Approach. Simplify ff on each interval [n,n+1)[n,n+1), then check the one-sided limits at an integer nn.

  1. Step 1: Simplify the function

    For x∈[n,n+1)x\in[n,n+1), [x]=n[x]=n, so

    f(x)=xcos⁡(πx+nπ)=(−1)nxcos⁡πxf(x)=x\cos(\pi x+n\pi)=(-1)^{n}x\cos\pi x

    This is continuous inside every such interval.

  2. Step 2: Limits at an integer nn

    Right limit and value (use [x]=n[x]=n):

    f(n+)=f(n)=(−1)nncos⁡nπ=(−1)n(−1)nn=nf(n^{+})=f(n)=(-1)^{n}n\cos n\pi=(-1)^{n}(-1)^{n}n=n

    Left limit (use [x]=n−1[x]=n-1):

    f(n−)=(−1)n−1ncos⁡nπ=(−1)2n−1n=−nf(n^{-})=(-1)^{n-1}n\cos n\pi=(-1)^{2n-1}n=-n
  3. Step 3: Decide

    ff is continuous at nn only if −n=n-n=n, that is n=0n=0. So ff is discontinuous at every nonzero integer, in particular at x=−1x=-1, x=1x=1 and x=2x=2, and continuous at x=0x=0.

    Note: In the exam this question was cancelled, with marks awarded to all (printing inconsistency in the question paper); the answer here follows Wiley's 22 Years and the working above.

Answer. (A), (C) and (D)

Smart method. The jump of ff at an integer nn is f(n+)−f(n−)=2nf(n^{+})-f(n^{-})=2n; it is zero only at n=0n=0.

Why the other options are wrong

  • (B) At x=0x=0 both one-sided limits and f(0)f(0) equal 00, because the factor xx makes the jump of size 2n2n vanish when n=0n=0.

Key takeaway

The trap. Assuming the jump of [x][x] always survives and marking x=0x=0 as a discontinuity is wrong, because the factor xx kills the jump there.

How toppers think. They pull [x][x] out of the periodic function as a sign and compare one-sided limits only at the integers in the options.

Remember. cos⁡(θ+nπ)=(−1)ncos⁡θ\cos(\theta+n\pi)=(-1)^{n}\cos\theta for every integer nn.

More on Continuity