Derivatives: the basics

The derivative function f'(x)

The derivative function f(x)f'(x) returns the slope of the tangent line at each xx.

f(x)=limh0f(x+h)f(x)hf'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

The derivative at a point was the slope at one xx. If you keep aa as xx and take the limit, you get a function that returns the slope at every xx: the derivative function f(x)f'(x).

f(x)=limh0f(x+h)f(x)hf'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

Every formula that follows is a shortcut so you do not have to redo this definition each time.

xyf(x) = x²xyf'(x) = 2x
The derivative f'(x)=2x records the slope of f(x)=x² at each point: negative on the left, positive on the right.Drag the dot

Examples

  1. 01What is f'(x)?f(x)=x2+2\displaystyle f(x)=x^2+2AnswerHide
    Answer2x\displaystyle 2x
  2. 02What is f'(6)?f(x)=2x\displaystyle f'(x)=2xAnswerHide
    Answer12\displaystyle 12
  3. 03What goes in □?2xh+h2h=2x+\displaystyle \frac{2xh+h^2}{h} = 2x+\squareAnswerHide
    Answerh\displaystyle h
  4. 04What is f'(x)?f(x)=x2\displaystyle f(x)=x^2AnswerHide
    Answer2x\displaystyle 2x
  5. 05What is f'(x)?f(x)=x2+5\displaystyle f(x)=x^2+5AnswerHide
    Answer2x\displaystyle 2x
  6. 06What is f'(x)?f(x)=x2+6\displaystyle f(x)=x^2+6AnswerHide
    Answer2x\displaystyle 2x

FAQ

Q1Do I have to use the definition every time?Show answerHide
A
No. The results of doing it once are the rules (the power rule and so on), and you normally use those. You go back to the definition for functions the rules do not cover, or in proofs.

Practice this pattern in the app, 5 problems a day.

Download on the App Store
This topic
The derivative function f'(x)

Published 2026-09-03 · Updated 2026-09-05