Firstly, you want to identify f(x+h). Back in algebra 2, we learned that f(x+h) means we add h to every x in our function.
f(x)= -5x2 - 2x
f(x+h) = -5(x+h)2 -2(x+h)
Now our difference quotient is (f(x+h)-f(x))/(h). Previously we found f(x+h), and we know f(x), so lets plug it in.
[f(x+h)-f(x)] / (h) = [-5(x+h)2 -2(x+h) - (-5x2- 2x)] / h
Lets simplify:
- -5(x+h)2 = -5(x+h)(x+h) = -5(x2 +2xh+h2) = -5x2- 10xh- 5h2
- -2(x+h) = -2x - 2h
So that,
[f(x+h)-f(x)] / (h) = [-5x2- 10xh- 5h2 - 2x - 2h - (-5x2- 2x)] / (h) FOIL and Distribute -2
= [-5x2- 10xh- 5h2 - 2x - 2h + 5x2+2x] / (h) Distribute the negitive
= [- 10xh - 5h2 - 2h ] / (h) Add like terms to cancel out terms that do not contain an h
= [h(- 10x-5h-2)] / (h) Factor out an h
= - 10x-5h-2 Simplify
The difference quiotent for f(x)=-5x2-2 is [f(x+h)-f(x)]/(h) = -10x-5h-2
If anything is incorrect, please let me know and I will promptly correct it. :)