Derivatives: from secants to a new function
First find a slope at one point. Then collect the slopes into a new function.
How do we find the slope at a point on a curve?
Start with a familiar parabola, f(x) = x². Keep P fixed, choose Q on the same curve, and draw both lines.
Read the two changes
h is the signed horizontal change from P to Q; it is negative when Q lies to the left.
Use the two-point slope
Divide the vertical change by the horizontal change. This is still the secant slope.
Take the limit
If the slopes from both sides approach the same finite value, that value is f′(x).
h ≠ 0Why does x² give exactly 2x?
Expand the square. Because h ≠ 0, cancel h first; then let h tend to zero. The finite animation suggests the result; this algebra establishes it.
What if we record the slope at every x?
Left: the original function and its tangent. Right: an empty coordinate plane. Keep x unchanged and use the tangent slope as the new y-coordinate.
At x = 1, the original function's instantaneous slope is 2. The derivative is that slope, so f′(1) = 2: record (1, 2) on the right.
One derivative value. A whole derivative function.
f′(1) = 2 is a number: the slope at x = 1. f′(x) = 2x is a function: enter any x to get the slope there. The original height f(1) = 1 and the slope f′(1) = 2 are different quantities.
The final line is determined by f′(x) = 2x, derived above. A few points alone cannot uniquely determine a curve; the animation uses them to reveal the rule, not to prove it by sampling.