Find (f(x+h)-f(x))/h for f(x)=9x-x^2

Check the final answer first, then review the worked steps.

Answer

\(9-2x-h\)

Work

f(x+h) = 9(x+h) - (x+h)^2 = 9x + 9h - x^2 - 2xh - h^2
\frac{f(x+h)-f(x)}{h} = \frac{(9x+9h-x^2-2xh-h^2) - (9x-x^2)}{h}
= \frac{9h-2xh-h^2}{h} = 9-2x-h

Step-by-step solution

Given $f(x) = 9x - x^2$, we compute $f(x+h) = 9(x+h) - (x+h)^2 = 9x + 9h - (x^2 + 2xh + h^2)$. Substituting into the difference quotient gives $\frac{(9x+9h-x^2-2xh-h^2) - (9x-x^2)}{h} = \frac{9h-2xh-h^2}{h} = 9-2x-h$.