Calculus · real student question

Find and simplify the difference quotient (f(x + h) - f(x))/h, where h is not zero, for f(x) = 2x^2 - 3x + 4.

Question

Find the difference quotient

f(x+h)f(x)h,h0,\frac{f(x+h)-f(x)}{h},\qquad h\neq 0,

and simplify, for f(x)=2x23x+4f(x)=2x^{2}-3x+4.

Step-by-step solution

  1. Build f(x + h) by substituting the whole expression x + h. Every xx in the rule is replaced, brackets included:

    f(x+h)=2(x+h)23(x+h)+4.f(x+h)=2(x+h)^{2}-3(x+h)+4.

  2. Expand carefully. The square is the step where the middle term is often dropped: (x+h)2=x2+2xh+h2(x+h)^{2}=x^{2}+2xh+h^{2}, so

    f(x+h)=2x2+4xh+2h23x3h+4.f(x+h)=2x^{2}+4xh+2h^{2}-3x-3h+4.

  3. Subtract f(x) and watch the cancellation. With f(x)=2x23x+4f(x)=2x^{2}-3x+4, every term that does not contain hh disappears:

    f(x+h)f(x)=(2x22x2)+4xh+2h2+(3x+3x)3h+(44)=4xh+2h23h.f(x+h)-f(x)=\left(2x^{2}-2x^{2}\right)+4xh+2h^{2}+\left(-3x+3x\right)-3h+\left(4-4\right)=4xh+2h^{2}-3h.

    If anything without an hh survives here, there is an algebra error — the numerator must be divisible by hh.

  4. Factor h out of the numerator.

    4xh+2h23h=h(4x+2h3).4xh+2h^{2}-3h=h\left(4x+2h-3\right).

  5. Cancel the h. This is legitimate precisely because h0h\neq 0 is given:

    h(4x+2h3)h=4x+2h3.\frac{h\left(4x+2h-3\right)}{h}=4x+2h-3.

  6. Interpret the result. Letting h0h\to 0 gives 4x34x-3, which is exactly f(x)f'(x) — the difference quotient is the derivative before the limit is taken. That is a fast way to check the answer: differentiate 2x23x+42x^2-3x+4 term by term and confirm you get 4x34x-3.

Answer

f(x+h)f(x)h=4x+2h3\frac{f(x+h)-f(x)}{h}=4x+2h-3

Need to solve a different problem like this? Open the solver →