What is obtained by simplifying \(x^3+\frac{x^2-9}{x-3}\) for \(x\neq3\)?
\(x^2-9\) is a difference of squares: \(x^2-9=(x-3)(x+3)\). Since \(x\neq3\), the factor \(x-3\) cancels, giving \(\frac{x^2-9}{x-3}=x+3\). Thus the expression becomes \(x^3+x+3\), so option B is correct. Option A incorrectly gives \(x-3\) after simplification. Exam tip: factorise the numerator before cancelling factors, and retain the condition that the denominator is non-zero.