Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Calculus · Unit 2 · Step-Through Animation

Defining the Derivative of a Function and Using Derivative Notation

Let the Point Go and the Slope Becomes a Function

You'll learnhow a chord between two points turns into the tangent at one, and why leaving the point unnamed gives you a whole new function.

Pick a point on a curve and a second point a little to its right. The line through them has a slope you can compute. Now slide the second point in and watch where that slope goes. Then stop naming the point at all, and see what comes out. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · h → 0, NEVER x → 0 · f′(x) IS A FUNCTION, f′(3) IS ONE NUMBER · v2

f(x) = x² − 4x · f′(x) = 2x − 4 · f′(3) = 2
Before you start
What you're looking at
The curve f(x) = x² − 4x, with one point marked on it at x = 3.
The question
How steep is the curve right at that point, and what happens if we never name the point at all?
Step 1 / 12

Read all 12 steps as text
Step 1

A curve and one point on it

Here is the curve f(x) = x² − 4x, with one point marked at x = 3. How steep is the curve right there?

Step 2

Borrow a second point

Slopes of curves are hard, but slopes of lines are easy. Take a second point a gap h = 1.5 further along, at x = 4.5, and draw the line through both. That line is a chord, and its slope is rise over run: (2.25 − (−3)) / 1.5 = 3.5.

Step 3

Slide the second point in

Shrink the gap h. The chord keeps both feet on the curve, so it pivots about (3, −3) and its slope keeps changing. Every chord from x = 3 has slope exactly 2 + h.

Step 4

The slopes crowd in on 2

h = 1.5 gives 3.5, h = 0.5 gives 2.5, h = 0.1 gives 2.1. The slopes crowd in on 2, and the line they crowd in on touches the curve at one point instead of cutting it at two. That line is the tangent, and f′(3) = 2 is its slope. h is never set to 0 along the way: cancel first, then let h go.

Step 5

Written out: two letters, two jobs

\(f'(x) = \lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}\). Two letters appear, with different jobs. x is the point you are asking about, and it holds still. h is the gap between the two inputs, and it is the only thing that moves.

Step 6

It is h that goes to zero, not x

Write \(\lim_{x \to 0}\) by mistake and two things break at once: h never goes anywhere, so no chord ever shrinks, and the point you were asking about gets dragged off to the origin. The red ghost slides the whole question from x = 3 down to x = 0.

Step 7

Let the point go

Leave the point as a free x and run the same limit: \(\lim_{h \to 0} \dfrac{2xh + h^2 - 4h}{h} = 2x - 4\). The output is not a number but a rule, the derivative function. Watch the marker sweep along f while the lower panel draws f′ underneath it: every height on the lower graph is a slope on the upper one.

Step 8

Names for a rule, names for a number

Every symbol here names one of two things. f′(x), dy/dx and d/dx[f(x)] name the rule. f′(3) and dy/dx with a bar at x = 3 name one number. To get the number, substitute into the rule: f′(3) = 2(3) − 4 = 2, with no new limit.

Step 9

A zero of f′ is a flat spot on f

f′(2) = 2(2) − 4 = 0, and it sits directly under the vertex of f, where the tangent is flat. A zero on the derivative graph always marks a horizontal tangent on the curve above it.

Step 10

Reading f′: sign, size and units

Below the axis, f′ is negative and f is falling. Above it, f′ is positive and f is rising. The further f′ is from its axis, the steeper f is. In an applied setting the units are output per input: if C(q) is cost in dollars for q items, dC/dq is in dollars per item.

Step 11

Divide by 3 instead of by h

A student computes [f(3 + h) − f(3)] / 3 instead of dividing by h. At h = 1.5 that gives 1.75 where the chord's real slope is 3.5, and as h → 0 the top shrinks to 0 while the bottom sits at 3, so the answer is 0. That claims a flat tangent at x = 3, the dashed red line, which meets the curve twice and sits where the curve is visibly climbing.

Step 12

One limit, one function, one number

The limit builds the rule f′(x) = 2x − 4. The rule answers any point by substitution: f′(3) = 2. What shrinks is h, the gap, never x, the point, and the bottom is the change in input. Next topic: the power rule, which makes 2x − 4 fall out of x² − 4x in one line.