QlarIITy

MathematicsIIT-JEE 2012 · Paper 2One or more correct

For every integer nn, let ana_{n} and bnb_{n} be real numbers. Let function f:R→Rf:\mathbb{R}\to\mathbb{R} be given byf(x)={an+sin⁡πx,for x∈[2n,2n+1]bn+cos⁡πx,for x∈(2n−1,2n),for all integers n.f(x)=\begin{cases} a_{n}+\sin \pi x, & \text{for } x\in[2n,2n+1] \\ b_{n}+\cos \pi x, & \text{for } x\in(2n-1,2n) \end{cases},\quad \text{for all integers } n.If ff is continuous, then which of the following hold(s) for all nn?

  1. Option A: an−1−bn−1=0a_{n-1}-b_{n-1}=0
  2. Option B: an−bn=1a_{n}-b_{n}=1
  3. Option C: an−bn+1=1a_{n}-b_{n+1}=1
  4. Option D: an−1−bn=−1a_{n-1}-b_{n}=-1
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. Continuity at x=2nx=2n gives an=bn+1a_{n}=b_{n}+1 and at x=2n+1x=2n+1 gives an=bn+1−1a_{n}=b_{n+1}-1, both true for every integer nn.

Concept refresher. A function made of pieces is continuous at a junction point when the value from the left piece equals the value from the right piece there. Inside each open interval both pieces (sin⁡πx\sin\pi x, cos⁡πx\cos\pi x) are already continuous.

Approach. The junctions are x=2nx=2n (between (2n−1,2n)(2n-1,2n) and [2n,2n+1][2n,2n+1]) and x=2n+1x=2n+1 (between [2n,2n+1][2n,2n+1] and (2n+1,2n+2)(2n+1,2n+2)). Write one equation for each.

  1. Step 1: Continuity at x=2nx=2n

    Left limit (piece bn+cos⁡πxb_{n}+\cos\pi x): bn+cos⁡2nπ=bn+1b_{n}+\cos 2n\pi=b_{n}+1.
    Value (piece an+sin⁡πxa_{n}+\sin\pi x): an+sin⁡2nπ=ana_{n}+\sin 2n\pi=a_{n}.

    an=bn+1⇒an−bn=1a_{n}=b_{n}+1\quad\Rightarrow\quad a_{n}-b_{n}=1
  2. Step 2: Continuity at x=2n+1x=2n+1

    Value from the left piece: an+sin⁡(2n+1)π=ana_{n}+\sin(2n+1)\pi=a_{n}.
    The interval (2n+1,2n+2)(2n+1,2n+2) is (2(n+1)−1,2(n+1))(2(n+1)-1,2(n+1)), so the right piece is bn+1+cos⁡πxb_{n+1}+\cos\pi x, whose limit is bn+1+cos⁡(2n+1)π=bn+1−1b_{n+1}+\cos(2n+1)\pi=b_{n+1}-1.

    an=bn+1−1⇒an−bn+1=−1a_{n}=b_{n+1}-1\quad\Rightarrow\quad a_{n}-b_{n+1}=-1
  3. Step 3: Rewrite with the index shifted

    The relation of Step 2 holds for every integer nn; replacing nn by n−1n-1 gives

    an−1−bn=−1a_{n-1}-b_{n}=-1

Answer. (B) and (D)

Why the other options are wrong

  • (A) Step 1 with n−1n-1 in place of nn gives an−1−bn−1=1a_{n-1}-b_{n-1}=1, not 00.
  • (C) Step 2 gives an−bn+1=−1a_{n}-b_{n+1}=-1; the sign is reversed because cos⁡(2n+1)π=−1\cos(2n+1)\pi=-1.

Key takeaway

The trap. At x=2n+1x=2n+1 the piece on the right lies in (2n+1,2n+2)(2n+1,2n+2), which belongs to index n+1n+1, so it uses bn+1b_{n+1}, not bnb_{n}.

How toppers think. They write each junction's neighbouring interval in the defining form to read off the index, then shift nn to match each option.

Remember. At a junction, continuity means left-hand limit == right-hand limit == value of the function there.

More on Continuity