Derivative From First Principles Calculator

Type a polynomial, 1/x or sqrt(x) to differentiate from first principles.

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)=12x\displaystyle f'(x) = \frac{1}{2\sqrt{x}}
Show the work
  1. Definition of the derivative

    The derivative is the slope of the tangent: the limit of the slope of a chord of width hh as hh shrinks to 0.

    f′(x)=lim⁡h→0f(x+h)−f(x)h=lim⁡h→0x+h−xh\begin{aligned} f'(x) &= \lim_{h \to 0}\frac{f(x+h) - f(x)}{h} \\ &= \lim_{h \to 0}\frac{\sqrt{x + h} - \sqrt{x}}{h} \end{aligned}
  2. Multiplying by the conjugate

    The numerator is a difference of square roots, so multiply top and bottom by the conjugate x+h+x\sqrt{x+h} + \sqrt{x}; the product on top becomes (x+h)−x(x+h) - x.

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

    The factor hh cancels from top and bottom.

    hh(x+h+x)=1x+h+x\frac{h}{h\left(\sqrt{x+h} + \sqrt{x}\right)} = \frac{1}{\sqrt{x+h} + \sqrt{x}}
  4. Letting h tend to 0

    Now hh can be set to 0.

    f′(x)=lim⁡h→01x+h+x=12x\begin{aligned} f'(x) &= \lim_{h \to 0}\frac{1}{\sqrt{x+h} + \sqrt{x}} \\ &= \frac{1}{2\sqrt{x}} \end{aligned}
  5. Result

    The derivative of x\sqrt{x} is 12x\frac{1}{2\sqrt{x}}.

    f′(x)=12xf'(x) = \frac{1}{2\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