Back to courseLesson 1 of 15

The derivative is a slope

What you'll learn

See the derivative as the slope of the tangent line — the limit of secant slopes as two points slide together.

Pre-calculus ended with the limit. Calculus begins by pointing that idea at one question: how fast is a function changing at a single instant? The answer is the derivative.

Average rate vs. instant rate

The slope between two points on a curve — rise over run — is an average rate of change over that stretch. But the slope at one point? A single point has no run to divide by. The trick is to sneak up on it with a limit.

Q slides in →tangent at PP
The slope between P and a nearby Q is the average rate of change. Slide Q into P and the secant becomes the tangent — its slope is the derivative f′(P).

Fix a point P on the curve and pick a second point Q. The line through them is a secant, and its slope is the average rate from P to Q. Now slide Q toward P: the secant pivots, and in the limit it becomes the tangent line at P. The slope of that tangent is the derivative.

The definition

Written as a limit, the derivative of f at x is:

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

The h is the run between the two points; f(x + h) − f(x) is the rise. Taking h → 0 slides the second point into the first — exactly the picture above.

A worked limit

For f(x) = x², expand the difference quotient:

  • [ (x + h)² − x² ] / h
  • = [ x² + 2xh + h² − x² ] / h
  • = [ 2xh + h² ] / h = 2x + h

Now let h → 0: the leftover h vanishes and f′(x) = 2x. At x = 3 the slope is 6; at x = 0 it's 0 (the bottom of the parabola is flat). No guessing — the limit delivers the exact slope.

Why this matters

"Instantaneous rate of change" is everywhere the world moves: velocity is the derivative of position, current is the derivative of charge, marginal cost is the derivative of cost. Every one of them is this same secant-into-tangent limit.

Check your understanding

Question 1 of 2

The derivative f′(a) is the slope of which line?

Next lesson