Determine the value of k for which the function \(f(x)=\begin{cases}\displaystyle\frac{x^2-9}{x-3}, & x \neq 3\\ k, & x=3\end{cases}\) is continuous at x = 3.
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → 6
f is continuous at x = 3 when \(\lim_{x \to 3} f(x) = f(3)\), and f(3) = k.
For x ≠ 3, the factor (x − 3) is not zero, so it cancels after the numerator is factorised:
\(\displaystyle \frac{x^2-9}{x-3} = \frac{(x-3)(x+3)}{x-3} = x+3\)
\(\displaystyle \lim_{x \to 3}\frac{x^2-9}{x-3} = \lim_{x \to 3}(x+3) = 6\)
So for continuity:
\(k = 6\)