Free lesson

Every lesson is free, no account needed. Make a free account to save your progress.

Live classGet practice + mocks
  1. Home
  2. Lesson Library
  3. The derivative as slope
Basic Calculus · Derivatives

The Derivative as Slope

A curve has no single slope — it has a slope at every point. The derivative is the machine that hands you that slope on demand.

Read the graph

x y 1 2 (1, 1) y = x² tangent

What is the slope of the tangent line at (1, 1)?

A curve's slope changes from point to point.

A straight line has one slope everywhere. A curve is steeper in some places than others — so "the slope of the curve at a point" means the slope of the tangent line there: the straight line that just grazes the curve at that point, matching its direction exactly.

The derivative is the slope machine.

For f(x) = x², the machine is f′(x) = 2x — feed it a point, get the slope there.

f(x) = x² → f′(x) = 2x

by the power rule — next lesson's job

f′(1) = 2

slope of the tangent at (1, 1)

f′(0) = 0, f′(−1) = −2

flat at the bottom, falling on the left

Trap: the height is not the slope

At (1, 1) it is tempting to answer “slope 1” — just reading the point. But f(1) = 1 is how high the curve is; f′(1) = 2(1) = 2 is how steep it is. At x = 3 the gap is wider still: height f(3) = 9, slope f′(3) = 6. Always feed the x into f′, not f.

Confirm it on the picture: rise 2, run 1.

run 1 rise 2
The tangent's rise over run is 2 — exactly what f′(1) predicted.

Two points on the tangent give its slope the same way: a tangent through (1, 5) and (4, −1) has slope (−1 − 5) ÷ (4 − 1) = −2, so f′ = −2 at the point of contact. And a tangent given as an equation hands over both numbers: if the tangent at x = 2 is y = 5x − 4, then f′(2) = 5 (its slope) and f(2) = 5(2) − 4 = 6 (it touches the curve there).

The sign of f′ reads the curve's direction.

f′ at the pointThe curve is…
positiverising left → right
negativefalling left → right
zeroflat — a peak, valley or shelf

On y = x²: negative slopes on the left of the vertex, zero at the bottom, positive on the right. That "f′ = 0 at the flat spot" is the key that unlocks maximum–minimum problems.

Backwards: the slope is given, find the x.

For f(x) = x² + 2x, f′(x) = 2x + 2. Where is the tangent parallel to y = 8x − 5? Where is the graph falling?

parallel → slope 8

parallel lines share a slope

2x + 2 = 8 → x = 3

set f′ equal to it — not f

f(3) = 9 + 6 = 15 → point (3, 15)

the height comes from f

falling: 2x + 2 < 0 → x < −1

“falling” means f′ negative

Slope questions go to f′, height questions go to f

Solving x² + 2x = 8 answers “where is the height 8?” — a different question. And “where is the graph falling” is about the sign of f′, not where f is negative.

A letter in f′ is found the same way. If f′(x) = 2x + c and the slope at x = 2 is 7, then 4 + c = 7, so c = 3, and then f′(0) = 0 + 3 = 3.

Variations: a flat tangent, a perpendicular tangent, two answers or none.

A flat tangent, fractions included. f(x) = x² − 5x + 1 with f′(x) = 2x − 5. Where is the tangent horizontal?

2x − 5 = 0 → x = 52

horizontal means slope 0

f(52) = 254 − 504 + 44 = −214

the height comes from f

point (52, −214)

the bottom of this parabola

What is different: the given slope is 0, and the answer is not a whole number. Keep quarters until the end.

Perpendicular, not parallel. Same f. Where is the tangent perpendicular to y = −½x + 4?

slope needed = 2

negative reciprocal of −½

2x − 5 = 2 → x = 72

set f′ equal to it

f(72) = 494 − 704 + 44 = −174 → (72, −174)

check: 2 × (−½) = −1 ✓

What is different: the slope is not read straight off the line; it is flipped and its sign changed.

Using −½ as the slope

That gives 2x − 5 = −½, x = 94 — the point where the tangent is PARALLEL to the line. Parallel copies the slope; perpendicular flips it.

Two answers, or none. g(x) = x³ + 2x with g′(x) = 3x² + 2. Where is the slope 29? Where is it 1?

3x² + 2 = 29 → x² = 9

slope 29

x = 3 or −3

a square has two roots

3x² + 2 = 1 → x² = −13

slope 1

no such point

g′ is never below 2

What is different: f′ is a quadratic, so a slope can occur twice or never. This curve is never flat and never falling.

Where is a cubic falling? For h(x) = x³ − 12x, h′(x) = 3x² − 12 < 0 when x² < 4, that is −2 < x < 2 — the stretch between its two flat points.

Where the slope machine comes from: the limit definition.

f′(a) = limit as h → 0 of [f(a + h) − f(a)] ÷ h

The slope between x = a and a point h further along, as h shrinks to nothing. Find it for f(x) = 2x² at a = −1.

f(−1 + h) = 2(1 − 2h + h²) = 2 − 4h + 2h²

expand carefully

f(−1 + h) − f(−1) = −4h + 2h²

f(−1) = 2; the 2s cancel

÷ h: −4 + 2h

every term had an h

h → 0: f′(−1) = −4

falling, steeply

Same idea for our parabola: [(1 + h)² − 1] ÷ h = (2h + h²) ÷ h = 2 + h → 2, the f′(1) from Step 2. When an exam shows this limit, recognise it as “f′(a)” — if you already know f′, just plug a in.

On the exam

Expect “at what x is the slope m”, “where is the curve rising/falling”, a graph with points to classify by the sign of f′, or the h-limit in disguise. Before answering, ask: is this asking for a height (use f) or a steepness (use f′)?

Check: the tangent line's own equation agrees.

tangent y = 2x − 1 slope 2 through (1, 1)
at x = 1 2(1) − 1 = 1 touches the curve at (1, 1) ✓
at x = 2 line: 3  ·  curve: 4 the curve pulls away — a tangent, not a chord ✓

Remember the flow

Derivative = slope machine · Plug in the x · Sign gives the direction

f′(a) is a number: the slope of the tangent at x = a.
Now you try

Practice problem

The problem

The derivative of f(x) = x³ is f′(x) = 3x². What is the slope of the tangent to the curve at x = 1?