Derivatives: from secants to a new function
A straight line has one slope, but a curve can be steep in one place and flatter in another. If we point to just one spot and ask, “How steep is it here?”, can we still calculate a number? The question sounds reasonable. The difficulty is that our familiar slope calculation needs two points, while we want to describe one position.
We do not yet have a way to use one point alone. Let us borrow a nearby point Q and join it to the point P we care about. We can calculate this line’s slope, but it describes the change between P and Q, rather than the change at P alone. In the diagram, keep P where it is and bring Q closer. There is no new formula to memorise yet. Watch the line turn and compare the slope values beside it. These changes will help us find a meaning for the slope at P.
We will use points on a function graph and the idea of approaching from the limits page. If you need a reminder, the horizontal coordinate gives the input, and the vertical coordinate gives its result. A limit describes the value something approaches. The derivative will bring these two ideas together.
How do we find the slope at a point on a curve?
Let us use : multiply each input by itself to get the height. Keep fixed and choose another point on this curve. The solid line through them is called a secant. As gets closer, compare its slope with that of the dashed tangent.
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 the derivative .
h ≠ 0Why does give exactly 2x?
Let us calculate the slope before letting Q approach P. We keep x fixed. The second input is , so its height is . A square means multiplying the whole bracket by itself; each term in the first bracket multiplies each term in the second.
We want the change in height, so subtract the old height . The two terms cancel. Both remaining terms contain h, which we take outside a bracket to make the division possible.
Q is still separate from P, so h is not zero and dividing by h is allowed. Now let h approach zero from either side. The fixed term 2x stays the same and the extra h approaches zero. For example, at the secant slopes are 2.1 when and 1.9 when . Their common limiting value is 2.
What if we record the slope at every x?
We can now find the slope at a chosen x. To compare slopes at different positions, we can record them on a second graph. Keep the same x, but use the slope as the new height. This gives one point on the new graph. Moving along the original curve and repeating the calculation gives more points.
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.
is a number: the slope at . is a function: enter any to get the slope there. The original height and the slope are different quantities.
The final line is determined by , 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.
