Question:

\(f(x)=\begin{cases} \frac{x-4}{|x-4|}+a, & \text{ for }x\lt 4 \\ a+b, & \text{ for }x=4 \\ \frac{x-4}{|x-4|}+b, & \text{ for }x>4 \end{cases}\) Is continuous at \(x=4\), then

Show Hint

Equate the left limit, the right limit and the function value at x = 4.
Updated On: Nov 17, 2026
  • a=0,b=0
  • a=1,b=1
  • a=-1,b=1
  • a=1,b=-1
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
A function is continuous at \(x=4\) if left limit = right limit = \(f(4)\).

Step 2: Left limit
For \(x\lt 4\), \(|x-4|=-(x-4)\), so \(\dfrac{x-4}{|x-4|}=-1\). Left limit \(=-1+a\).

Step 3: Right limit
For \(x>4\), \(\dfrac{x-4}{|x-4|}=1\). Right limit \(=1+b\).

Step 4: Equate with \(f(4)=a+b\)
\(-1+a=a+b\Rightarrow b=-1\).
\(1+b=a+b\Rightarrow a=1\).
So \(a=1,\ b=-1\), option (D).

Final Answer:
Continuity gives \(a=1\) and \(b=-1\). \[ \boxed{\text{(D) }a=1,b=-1} \]
Was this answer helpful?
0
0