The function \(f(x)=\begin{cases}\displaystyle\frac{x^2+2x-3}{x-1}, & \text{if } x \ne 1\\ 0, & \text{if } x=1\end{cases}\) is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → discontinuous at x = 1
f is continuous at x = 1 only if \(\lim_{x \to 1} f(x) = f(1)\). Factorising the numerator:
\(x^2 + 2x - 3 = (x+3)(x-1)\)
\( \displaystyle \lim_{x \to 1}\frac{(x+3)(x-1)}{x-1} = \lim_{x \to 1}(x+3) = 4 \)
But f(1) = 0 ≠ 4, so f is discontinuous at x = 1.
For x ≠ 1, f(x) = x + 3 is a polynomial and is continuous. So f is continuous at every real number except x = 1, which rules out Options (3) and (4).