Path
Calculus intuition · Lesson 2
The derivative
The derivative is a new function that reports the slope of the old function at each point. Leibniz's notation makes the ratio of tiny changes memorable.
Core ~28 minDeep study ~78 minWhat does f'(x) mean?Why does notation matter?
Before this: Rates of change
How this idea was born
Once you can ask how fast something changes at a single moment, a second need appears: a portable report of that steepness everywhere. Sensitivity analysis, orbits, and later machine learning all want a machine that, given a location, returns the local rate. One slope number is a reading. A slope-valued function is a dashboard.
Gottfried Wilhelm Leibniz (1646-1716) chased a universal symbolic language. Independent of Newton, he built a calculus whose form invited others to compute. MacTutor's Leibniz biography is the short reference; the Newton-Leibniz priority dispute is real history, not a classroom cartoon. Steal the ethic: design notation so future minds can carry the idea without you in the room. His tiny-change and sum symbols survived because they make reasoning about rates and accumulations feel almost mechanical.
For a modern rereader, that shift - from one number to a slope-valued function - is what makes calculus compositional, and why later gradient learning can ask for sensitivities everywhere at once. Good symbols are not cosmetics.
First principles
If is smooth enough,
is the slope at . The function sends each to that slope (wherever the limit exists).
Leibniz wrote to suggest a ratio of infinitesimal changes. Modern rigor uses limits; the intuition remains: tiny rise over tiny run. Treat the fraction as a mnemonic with a deep idea inside, not as a license to cancel symbols carelessly in every context.
The derivative is the best local linear stand-in. Near ,
That approximation is why derivatives power sensitivity analysis: a small nudge predicts a change about .
Worked intuition
Think of as a dashboard. Feed it and read the slope there. Feed it and read a different slope. The original is the landscape; is the instrument panel that reports steepness at each mile marker.
Rules worth knowing early (after the picture is solid):
- Chain rule:
The chain rule is the star for machine learning: change through a pipeline multiplies local sensitivities. If loss depends on prediction, prediction on hidden layer, hidden layer on weights, the total sensitivity is a product of local slopes along the path.
Algebrica's derivatives page lists rules after the definition. Learn the definition's picture first; rules are speed, not meaning.
Ask of every smooth graph: where is , where is large, and where is undefined? Those questions are already optimization and robustness in miniature.
Common confusions
Derivative as "the formula" rather than a function. People memorize and forget that is itself a function reporting slopes. The mental shift matters when you differentiate compositions and when you later pack many partials into a gradient.
Notation worship without meaning. looks like a fraction because the intuition is fractional. It is not a free pass to treat differentials as ordinary numbers in every manipulation. Limits keep the story honest.
means "nothing is happening." On a smooth graph, zero slope means flatness at that point: a local max, min, or shelf. The function value can still be large; the rate is what vanished.
Two formulas with the same derivative. If , then and differ by a constant (on an interval, under standard hypotheses). That is a preview of antiderivative families, not a paradox.
Higher derivatives as decoration. is the rate of the rate. It is not fancier for its own sake; it measures how slope itself changes. Concavity stories live here.
Differentiability implying nice global optimization. Local slope zero is not global optimality on nonconvex landscapes. The derivative is local by nature.
History & stories
Leibniz chased a universal symbolic language. His and notations survived because they make reasoning about tiny changes and sums feel almost mechanical. Independent of Newton, he built a calculus whose form invited others to compute. MacTutor's Leibniz biography is the standard short reference.
Newton and Leibniz developed calculus in different notations and communities; priority fights followed. What matters for learning is the shared core: limits of difference quotients unlocking geometry and motion. Steal Leibniz's ethic even if you never care about the dispute: design notation so future minds can carry the idea without you.
Real world
Sensitivity analysis asks: how much does output move when an input nudges? That is a derivative when the relationship is smooth. If profit depends on quantity , then is marginal profit at that scale. Engineers linearize complicated maps near an operating point for the same reason: the derivative is the trustworthy local translator.
Open when you want the machine-learning connection. Skip freely.
Field notes, extra examples, and glossary live here when you want more than the core path.
Carry this forward
- The derivative is a slope-valued function, not only a number at one point.
- Leibniz notation remembers the tiny-ratio intuition; limits keep it rigorous.
- The chain rule composes sensitivities and later powers backprop.
- Next: accumulation, the inverse story (integrals and the fundamental theorem).
Read more
Go deeper when curiosity hits - videos, essays, and primary trails.
- referenceMacTutor - Gottfried Leibniz
- video3Blue1Brown - Derivative formulas through geometry
- videoKhan Academy - Derivative as slope of tangent
- articleAlgebrica - DerivativesDerivative definitions and pictures of tangent slope.
- bookSteven Strogatz - The Joy of XDifferential calculus as a language of change.
Check your understanding
A short learning loop - try a few, learn from misses, mark complete when you have engaged. No timer, no scoreboard.
Try at least 3 core prompts, or choose I'll return later.