The derivative: slope of the tangent
Zoom into a curve until it looks straight — the slope you see is the derivative.
Lesson 19 of 24 15 min
You will learn
- Define the derivative from first principles
- See it as the slope of the tangent and as an instantaneous rate
- Differentiate x² and 1/x from first principles
The problem a derivative solves
The slope of a straight line is easy: rise ÷ run, the same everywhere. A curve, though, is steep in some places and flat in others. The derivative tells you the slope of a curve at one single point.
Trick: pick the point and a second point a little to the right, at . The straight line through them is a secant, and its slope is easy:
Key idea
Slope of the secant PQ
Key idea
Derivative from first principles
Other notations for the same thing: , , .
Worked example · Derivative of x²
Find the derivative of f(x) = x² from first principles.
- f(x + h) − f(x) = (x + h)² − x² = 2xh + h².
- Divide by h: (2xh + h²)/h = 2x + h.
- Let h → 0: the limit is 2x.
- So the slope of y = x² at x = 3 is 6, at x = −1 it is −2, and at x = 0 it is 0 (the bottom of the parabola).
Answer: d/dx (x²) = 2x
Worked example · Derivative of 1/x
Find the derivative of f(x) = 1/x from first principles.
- f(x + h) − f(x) = 1/(x + h) − 1/x = (x − (x + h)) / (x(x + h)) = −h / (x(x + h)).
- Divide by h: −1 / (x(x + h)).
- Let h → 0: −1/x².
Answer: d/dx (1/x) = −1/x²
Practical · Interactive lab
Derivative as slope of the tangent
Your task: Drag the point along the curve and watch the tangent and its slope update. Find where the slope is zero, and check that the slope matches 2x on the parabola.
Open the lab →Checkpoint
1. Using first principles, the derivative of f(x) = 3x is…
2. The slope of the tangent to y = x² at x = 4 is…