Algebra · real student question

Find and simplify the difference quotient (f(x+h) - f(x))/h for f(x) = 5x^2 - 3x + 9.

Question

Find and simplify the difference quotient

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

for f(x)=5x23x+9f(x) = 5x^2 - 3x + 9.

Step-by-step solution

  1. Substitute x + h into the function. Replace every xx, including the one inside the squared term:

    f(x+h)=5(x+h)23(x+h)+9=5x2+10xh+5h23x3h+9f(x+h) = 5(x+h)^2 - 3(x+h) + 9 = 5x^2 + 10xh + 5h^2 - 3x - 3h + 9

    Expanding (x+h)2(x+h)^2 as x2+2xh+h2x^2 + 2xh + h^2 — not x2+h2x^2 + h^2 — is the step that produces the 10xh10xh term.

  2. Subtract f(x). Every term without an hh must cancel, which is a built-in check on the expansion:

    f(x+h)f(x)=(5x2+10xh+5h23x3h+9)(5x23x+9)=10xh+5h23hf(x+h) - f(x) = \left(5x^2 + 10xh + 5h^2 - 3x - 3h + 9\right) - \left(5x^2 - 3x + 9\right) = 10xh + 5h^2 - 3h

    The constant 99 and both xx-only terms disappear, as they always do.

  3. Factor h out of the numerator.

    10xh+5h23h=h(10x+5h3)10xh + 5h^2 - 3h = h\left(10x + 5h - 3\right)

  4. Cancel the h. This is legitimate because the problem states h0h \ne 0:

    h(10x+5h3)h=10x+5h3\frac{h\left(10x + 5h - 3\right)}{h} = 10x + 5h - 3

  5. Check numerically and connect to the derivative. At x=1.3x = 1.3, h=0.07h = 0.07: the direct quotient f(1.37)f(1.3)0.07=10.35\tfrac{f(1.37) - f(1.3)}{0.07} = 10.35, and the formula gives 10(1.3)+5(0.07)3=10.3510(1.3) + 5(0.07) - 3 = 10.35. Letting h0h \to 0 leaves 10x310x - 3, which is exactly f(x)f'(x).

Answer

10x+5h310x + 5h - 3

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