QlarIITy

MathematicsJEE Main 2019 · 9 AprilSingle correct

If the functionf(x)={a∣π−x∣+1,x≤5b∣x−π∣+3,x>5f(x) = \begin{cases} a|\pi - x| + 1, & x \leq 5 \\ b|x - \pi| + 3, & x > 5 \end{cases}is continuous at x=5x = 5, then the value of a−ba - b is:

  1. Option A: 25−π\frac{2}{5 - \pi}
  2. Option B: −2π+5\frac{-2}{\pi + 5}
  3. Option C: 2π+5\frac{2}{\pi + 5}
  4. Option D: 2π−5\frac{2}{\pi - 5}
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 a join equates the two formulas at that point.

Concept refresher. A function ff is continuous at x=cx = c when both one-sided limits exist and equal the value there:

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

Picture the situation. Since 5>π5 > \pi, ∣π−5∣=∣5−π∣=5−π|\pi - 5| = |5 - \pi| = 5 - \pi. The left formula gives f(5)=a(5−π)+1f(5) = a(5 - \pi) + 1, and the right formula tends to b(5−π)+3b(5 - \pi) + 3 as xx tends to 5.

Approach. Equate the two expressions and solve for the difference of the constants.

  1. Step 1: The condition

    Continuity at 5 needs the two expressions to be equal, so a(5−π)+1=b(5−π)+3a(5 - \pi) + 1 = b(5 - \pi) + 3.

  2. Step 2: The difference

    Collecting the terms with 5−π5 - \pi gives (a−b)(5−π)=2(a - b)(5 - \pi) = 2, so a−b=25−πa - b = \dfrac{2}{5 - \pi}.

Answer. (A) 25−π\dfrac{2}{5 - \pi}

Sanity check. The right formula has the larger constant term, so aa must exceed bb; 25−π\dfrac{2}{5 - \pi} is positive, about 1.08.

Why the other options are wrong

  • (B) This value has π+5\pi + 5 below and a minus sign; the modulus at 5 is 5−π5 - \pi, and a−ba - b is positive.
  • (C) This value has π+5\pi + 5 in the denominator; the modulus at 5 is the difference 5−π5 - \pi, not the sum.
  • (D) This value is negative, from opening the modulus as π−5\pi - 5; since 5>π5 > \pi the modulus is 5−π5 - \pi.

Key takeaway

The trap. The sign inside a modulus depends on which of the two numbers is larger.

How toppers think. They note that both moduli are the same number at the join, so only the difference of the constants matters.

Remember. (a−b)(5−π)=2(a - b)(5 - \pi) = 2

More on Continuity