Concept:
- If \(\lim\limits_{x\to a}g(x)\) and \(\lim\limits_{x\to a}h(x)\) both exist, then \(\lim\limits_{x\to a}g(x)\,h(x)\) equals the product of the two limits.
- If \(\lim\limits_{x\to a}\dfrac{N(x)}{D(x)}\) is finite and \(D(x)\to 0\), then \(N(x)\to 0\).
- If \(f(x)\ge 0\) near \(a\) and \(\lim\limits_{x\to a}f(x)=L\) exists, then \(L\ge 0\).
Step 1: Name the limit
Since \(\lim\limits_{x\to 5}f(x)\) exists, let it be \(L\). The codomain of \(f\) is \([0,\infty)\), so \(f(x)\ge 0\) for all \(x\), and therefore \(L\ge 0\).
Step 2: Show that the numerator tends to zero
For \(x\neq 5\), write \[ (f(x))^2-9=\frac{(f(x))^2-9}{\sqrt{|x-5|}}\times\sqrt{|x-5|} \] The first factor tends to \(0\) (given), and \(\sqrt{|x-5|}\to 0\) as \(x\to 5\). Hence, by the product rule, \[ \lim_{x\to 5}\left[(f(x))^2-9\right]=0\times 0=0 \]
Step 3: Solve for \(L\)
Because \(\lim\limits_{x\to 5}f(x)=L\) exists, \[ \lim_{x\to 5}\left[(f(x))^2-9\right]=L^2-9 \] Therefore \(L^2-9=0\), which gives \(L=\pm 3\). Since \(L\ge 0\), we get \(L=3\).
Step 4: Rule out the other values
For option (A), \(0\), the numerator would tend to \(-9\); for option (B), \(1\), to \(-8\); and for option (C), \(2\), to \(-5\). In each case a non-zero numerator is divided by \(\sqrt{|x-5|}\to 0^{+}\), so the quotient would grow without bound in magnitude instead of tending to \(0\).
Step 5: Conclusion
\(\lim\limits_{x\to 5}f(x)=3\). Hence, the correct option is (D), \(3\).