05
The derivative as the gradient of a tangent, what's actually going on
core concept
Consider a function $y = f(x)$. The gradient of the straight line joining two points on the curve, a secant, is:
If we let $h$ get smaller and smaller, the second point slides along the curve toward the first. The secant line becomes the tangent line. The gradient of this tangent is given by the limit:
This expression is called the derivative of $f$ with respect to $x$. It tells us the instantaneous rate of change of $f$ at any point $x$.
Geometrically, as the two points of the secant slide together, the secant approaches the tangent. The limit captures the exact moment when the two points become one, and the secant becomes the tangent.
Notation. We write the derivative as $f'(x)$ (Lagrange notation) or $\frac{dy}{dx}$ (Leibniz notation). Both mean the same thing: the rate at which $y$ changes with respect to $x$ at a specific point.
From first principles, we can find the derivative of $f(x) = x^2$:
- Expand $(x+h)^2 = x^2 + 2xh + h^2$
- Form the difference quotient: $\frac{x^2 + 2xh + h^2 - x^2}{h} = \frac{2xh + h^2}{h} = 2x + h$
- Take the limit as $h \to 0$: $f'(x) = 2x$
Similarly, for $f(x) = x^3$, expanding $(x+h)^3 = x^3 + 3x^2h + 3xh^2 + h^3$ gives $f'(x) = 3x^2$.
Once we have $f'(x)$, the equation of the tangent line at $x = a$ uses the point-gradient form:
Why this matters for medicine. In pharmacology, the derivative of drug concentration with respect to time tells doctors the rate at which a drug is being absorbed or eliminated at a precise moment. This is far more useful than the average rate over several hours, because it reveals when the drug is most effective, or when it might become toxic.
The secant gradient between two points on $y = f(x)$ is $\frac{f(x+h)-f(x)}{h}$; As $h \to 0$, the secant becomes the tangent; its gradient is the derivative
Pause, copy the secant gradient formula $\dfrac{f(x+h)-f(x)}{h}$ and the geometric argument that as $h \to 0$ the secant becomes the tangent into your book.