find the difference quotient of f; that is, find (f(x + h) - f(x))/h, h≠0, for the following function…

find the difference quotient of f; that is, find (f(x + h) - f(x))/h, h≠0, for the following function. f(x)=x² - 6x + 2 (f(x + h) - f(x))/h = (simplify your answer.)
Answer
Explanation:
Step1: Find f(x + h)
Substitute (x+h) into (f(x)): [ \begin{align*} f(x + h)&=(x + h)^2-6(x + h)+2\ &=x^{2}+2xh+h^{2}-6x-6h + 2 \end{align*} ]
Step2: Calculate f(x + h) - f(x)
[ \begin{align*} f(x + h)-f(x)&=(x^{2}+2xh+h^{2}-6x-6h + 2)-(x^{2}-6x + 2)\ &=x^{2}+2xh+h^{2}-6x-6h + 2-x^{2}+6x - 2\ &=2xh+h^{2}-6h \end{align*} ]
Step3: Find the difference - quotient
[ \begin{align*} \frac{f(x + h)-f(x)}{h}&=\frac{2xh+h^{2}-6h}{h}\ &=\frac{h(2x + h-6)}{h}\ &=2x+h - 6 \end{align*} ]
Answer:
(2x+h - 6)