QlarIITy

MathematicsJEE Main 2026 · 23 JanuarySingle correct

Iff(x)={a∣x∣+x2−2(sin⁡∣x∣)(cos⁡∣x∣)x,x≠0b,x=0f(x) = \begin{cases} \frac{\begin{aligned} &a|x| + x^2 \\[4pt] &- 2(\sin|x|)(\cos|x|) \end{aligned}}{x}, & x \neq 0 \\[8pt] b, & x = 0 \end{cases}is continuous at x=0x = 0, then a+ba + b is equal to :

  1. Option A: 11
  2. Option B: 22
  3. Option C: 00
  4. Option D: 44
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 function of ∣x∣|x| divided by xx has opposite one-sided limits, so they can agree only at 00.

Concept refresher. A function ff is continuous at x=0x = 0 when

lim⁡x→0−f(x)=lim⁡x→0+f(x)=f(0)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0)

For x>0x > 0, ∣x∣=x|x| = x, and for x<0x < 0, ∣x∣=−x|x| = -x. Also 2sin⁡tcos⁡t=sin⁡2t2\sin t\cos t = \sin 2t and lim⁡t→0sin⁡2tt=2\lim_{t \to 0}\frac{\sin 2t}{t} = 2.

Approach. Find the right-hand and left-hand limits separately, using ∣x∣=x|x| = x or −x-x, then make both equal to bb.

  1. Step 1: Right-hand limit

    For x>0x > 0, ∣x∣=x|x| = x and the numerator is ax+x2−sin⁡2xax + x^2 - \sin 2x:

    lim⁡x→0+ax+x2−sin⁡2xx=a+0−2=a−2\lim_{x \to 0^+}\frac{ax + x^2 - \sin 2x}{x} = a + 0 - 2 = a - 2
  2. Step 2: Left-hand limit

    For x<0x < 0, put x=−tx = -t with t→0+t \to 0^+; then ∣x∣=t|x| = t and the denominator is −t-t:

    lim⁡t→0+at+t2−sin⁡2t−t=−(a−2)\lim_{t \to 0^+}\frac{at + t^2 - \sin 2t}{-t} = -(a - 2)
  3. Step 3: Match the limits with f(0)

    Continuity needs a−2=−(a−2)=ba - 2 = -(a - 2) = b. The first equality gives a=2a = 2, and then

    b=a−2=0b = a - 2 = 0

    so a+b=2a + b = 2.

Answer. (B) 22

Sanity check. With a=2a = 2, the numerator is 2∣x∣+x2−sin⁡2∣x∣≈x2+4∣x∣332|x| + x^2 - \sin 2|x| \approx x^2 + \frac{4|x|^3}{3} near 00, so f(x)≈x→0=bf(x) \approx x \to 0 = b from both sides.

Why the other options are wrong

  • (A) Taking 2sin⁡tcos⁡tt→1\frac{2\sin t\cos t}{t} \to 1 gives limits a−1a - 1 and −(a−1)-(a - 1), so a=1a = 1, b=0b = 0 and a+b=1a + b = 1; but sin⁡2tt→2\frac{\sin 2t}{t} \to 2.
  • (C) is the value of bb alone; a=2a = 2 must be added, giving a+b=2a + b = 2.
  • (D) Writing 2sin⁡tcos⁡t2\sin t\cos t as 2sin⁡2t2\sin 2t makes the limits a−4a - 4 and −(a−4)-(a - 4), so a=4a = 4; but 2sin⁡tcos⁡t=sin⁡2t2\sin t\cos t = \sin 2t, whose limit over tt is 22.

Key takeaway

The trap. Treating ∣x∣|x| as xx on both sides, which gives only one equation for two unknowns.

How toppers think. They spot the odd factor ∣x∣x\frac{|x|}{x} and know the limit must vanish.

Remember. lim⁡t→0sin⁡ktt=k\lim_{t \to 0}\frac{\sin kt}{t} = k.

More on Continuity