Raymond B. answered 07/01/21
Math, microeconomics or criminal justice
f(x) = 2+2x -4x^2
f'(x) = 2-8x
f'(2) = 2-8(2) = 2-16
f'(2) =-14
That's the derivative using shortcut rules. If you do the difference quotient and limit, and get a different answer, you made a mistake.
[f(x+h)- f(x)]/h = [2+2(x+h) -4(x+h)^2 - 2-2x +4x^2]/h
= [2h -8xh +h^2]/h = 2-8x +h
as h approaches zero 2-8x+h approaches 2+8x
for x=2, 2-8x = 2-8(2)= -14 = f'(2)
or the way you have this set up
[f(x)-f(2)]/(x-2) = [2+2x-4x^2 - (2+2(2)-4(2)^2]/(x-2)
= (2x-4x^2+12)/(x-2) = -2(2x^2+x-6)/(x-2) =-2((2x+3)(x-2)/(x-2) = -2(2x+3) = -2(2(2)+3) = -2(7) =-14