If \(f(x)=\begin{cases} \displaystyle\frac{x^2-9}{x-3}, & x \ne 3 \\ 5, & x=3 \end{cases}\) then \(f(x)\):
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → has removable discontinuity at x = 3
For x ≠ 3, factorise the numerator and cancel x − 3:
\( \displaystyle \frac{x^2-9}{x-3} = \frac{(x-3)(x+3)}{x-3} = x + 3 \)
So the limit at x = 3 exists:
\( \displaystyle \lim_{x\to 3} f(x) = \lim_{x\to 3}(x+3) = 6 \)
But f(3) = 5 ≠ 6, so f is not continuous at x = 3.
Because the limit exists and only the value at the point is different, redefining f(3) = 6 makes f continuous. This is a removable discontinuity.
Why the other options are incorrect
Option (1) is continuous at x = 3 — Incorrect. The limit is 6 but f(3) = 5.
Option (3) has irremovable discontinuity at x = 3 — Incorrect. A discontinuity is irremovable only when the limit does not exist; here the limit is 6.
Option (4) continuous at every real number — Incorrect. f fails to be continuous at x = 3.