Difference Quotient Calculator

Type a function of x to simplify its difference quotient.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Try

Result

You enteredf(x)=xf(x) = \sqrt{x}

f(x+h)−f(x)h=1x+h+x\displaystyle \frac{f(x+h) - f(x)}{h} = \frac{1}{\sqrt{x + h} + \sqrt{x}}

As h → 0

lim⁡h→0=12x=f′(x)\displaystyle \lim_{h \to 0} = \frac{1}{2\sqrt{x}} = f'(x)
Show the work
  1. Difference quotient

    The difference quotient is the slope of the chord from xx to x+hx + h: the rise f(x+h)−f(x)f(x+h) - f(x) over the run hh.

    Using f(x+h)−f(x)h\frac{f(x+h) - f(x)}{h}

    x+h−xh\frac{\sqrt{x + h} - \sqrt{x}}{h}
  2. Multiplying by the conjugate

    The top is a difference of square roots, so multiply top and bottom by their sum: the product on top is no longer a root.

    x+h−xh⋅x+h+xx+h+x=(x+h)−(x)h(x+h+x)\frac{\sqrt{x + h} - \sqrt{x}}{h}\cdot\frac{\sqrt{x + h} + \sqrt{x}}{\sqrt{x + h} + \sqrt{x}} = \frac{\left(x + h\right) - \left(x\right)}{h\left(\sqrt{x + h} + \sqrt{x}\right)}
  3. Cancelling h

    The top simplifies to a multiple of hh, which cancels.

    =1x+h+x= \frac{1}{\sqrt{x + h} + \sqrt{x}}
  4. Result

    The simplified difference quotient, valid for every h ≠ 0.

    f(x+h)−f(x)h=1x+h+x\frac{f(x+h) - f(x)}{h} = \frac{1}{\sqrt{x + h} + \sqrt{x}}
Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = √x

Points on the graph

  • y = √x: zero (0, 0)

Worked examples