Question:

If \(\mathrm{f}(x)=\left\{\begin{array}{cc}\frac{x-3}{|x-3|}+\mathrm{a} & , \quad x < 3 \\ \mathrm{a}+\mathrm{b} & , \quad x=3 \\ \frac{|x-3|}{x-3}+\mathrm{b}, & x>3\end{array}\right.\)

Is continuous at \(x=3\), then the value of \(\mathrm{a}-\mathrm{b}\) is

Show Hint

Evaluate the left and right limits at x = 3 and equate them to f(3).
Updated On: Nov 17, 2026
  • \(-\)1
  • 0
  • 1
  • 2
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
Continuity at \(x=3\) requires LHL = RHL = \(f(3)\).

Step 2: Left-hand limit
For \(x<3\), \(\dfrac{x-3}{|x-3|}=-1\), so LHL \(=-1+a\).

Step 3: Right-hand limit
For \(x>3\), \(\dfrac{|x-3|}{x-3}=1\), so RHL \(=1+b\).
Also \(f(3)=a+b\).

Step 4: Solve
\(-1+a=a+b\Rightarrow b=-1\).
\(1+b=a+b\Rightarrow a=1\).
\(a-b=1-(-1)=2\), option (D).

Final Answer:
The value of a - b is 2. \[ \boxed{\text{(D) }2} \]
Was this answer helpful?
0
0