The function \(f(x)=\begin{cases}\displaystyle\frac{x^2+2x-3}{x-1}, & x\ne 1\\2, & 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)\). Here f(1) = 2.
Factorising the numerator for \(x \ne 1\):
\(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 \)
Since \(4 \ne 2\), the limit is not equal to f(1), so f is discontinuous at x = 1.
At every other point f(x) = x + 3, which is continuous; so f is neither continuous everywhere nor discontinuous everywhere.