Derivatives: the basics

The derivative at a point, f'(a)

The derivative at a point, f′(a)f'(a), is the slope of the tangent line at x=ax=a, defined as a limit.

f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}

The derivative at a point, f′(a)f'(a), is where the average rate of change ends up as you shrink the interval around x=ax=a.

f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}

The numerator is f(a+h)−f(a)f(a+h)-f(a), the denominator is hh. Cancel hh first, then let h→0h\to 0, and you get the slope of the tangent line at (a, f(a))(a,\,f(a)).

xyy = f(x)a+ha(a, f(a))
Dashed: the secant through two points h apart. As h → 0 the secant approaches the tangent (solid).Drag the dot

Examples

  1. 01Find the limitlim⁡h→0(2x+h)\displaystyle \lim_{h \to 0}(2x+h)AnswerHide
    Answer2x\displaystyle 2x

    Steps

    1. Just let hh shrink to 0; the hh term disappears
    2. lim⁡h→0(2x+h)\displaystyle \lim_{h \to 0}(2x+h)=2x\displaystyle = 2x
  2. 02With f(x)=7f(x)=7, simplify (h≠0):f(x+h)−f(x)h\displaystyle \frac{f(x+h)-f(x)}{h}AnswerHide
    Answer0\displaystyle 0
  3. 03Simplify (h≠0):(x+h)−xh\displaystyle \frac{(x+h)-x}{h}AnswerHide
    Answer1\displaystyle 1
  4. 04Which is the definition of the derivative?f′(x)\displaystyle f'(x)Alim⁡h→0f(x+h)+f(x)h\displaystyle \lim_{h \to 0}\frac{f(x+h)+f(x)}{h}Blim⁡h→0f(x+h)−f(x)h\displaystyle \lim_{h \to 0}\frac{f(x+h)-f(x)}{h}Cf(x+h)−f(x)h\displaystyle \frac{f(x+h)-f(x)}{h}Dlim⁡h→0f(x)−f(x+h)h\displaystyle \lim_{h \to 0}\frac{f(x)-f(x+h)}{h}AnswerHide
    Answerlim⁡h→0f(x+h)−f(x)h\displaystyle \lim_{h \to 0}\frac{f(x+h)-f(x)}{h}
  5. 05Simplify (h≠0):(x+h)2−x2h\displaystyle \frac{(x+h)^2-x^2}{h}AnswerHide
    Answer2x+h\displaystyle 2x+h

FAQ

What is the difference between f'(a) and f'(x)?
f′(a)f'(a) is the slope at one point x=ax=a, a number. f′(x)f'(x) is a function that returns the slope at every x. Plugging x=ax=a into the derivative function gives f′(a)f'(a).

Published 2026-09-03 · Updated 2026-10-14