Derivatives — Rules, Chain Rule, Implicit Differentiation
The derivative measures instantaneous rate of change. A small set of rules (power, sum, product, quotient) plus the chain rule (for compositions) and implicit differentiation (for relations not solved for ) let you differentiate virtually any function built from elementary pieces. Used everywhere rates matter — physics, economics, engineering. Codified by Newton and Leibniz (1660s–1680s).
The derivative of a function is the limit of the average rate of change as , giving the slope of the tangent line at each point. Computing this limit by hand for every function would be exhausting, so we develop differentiation rules that turn the limit process into algebra. The chain rule handles compositions like , and implicit differentiation lets us find slopes on curves like where is tangled with . A surprising fact: even functions that cannot be algebraically solved for still have perfectly definite tangent slopes, computable without ever isolating .
The Core Insight
Differentiation is local and linear. Near any point, a smooth function looks like a straight line, and the derivative is that line's slope. Because the operation is linear and respects how functions are built (added, multiplied, composed), each construction rule has a matching derivative rule. The chain rule is the deepest: rates of change multiply along a chain of dependencies.
Formal Statement
The Derivative
The derivative of at is
Here is a small increment in the input; is the resulting change in output; their ratio is the average rate of change, and the limit is the instantaneous rate of change. Notations: , , , .
The Differentiation Rules
Let and be differentiable functions of , and , constants.
Constant rule:The Chain Rule
If — a composition — then
In Leibniz notation, with :
Implicit Differentiation
If a relation defines as a function of (at least locally), differentiate both sides with respect to , treating as a function of and applying the chain rule to every -term. Then solve algebraically for .
For example, from :
Why It Holds
The Product Rule
We compute the limit directly.
Step 1. Start from the definition applied to :Isaac Newton | 1643–1727
Newton developed his "method of fluxions" in the mid-1660s while sheltering from the plague at Woolsthorpe. He thought of variables as flowing quantities (, ) whose rates of change he called fluxions (written , ). His motivation was physical: velocity is the fluxion of position, acceleration the fluxion of velocity. Newton's notation survives today in physics, where means . He used these ideas to derive Kepler's laws from his law of gravitation in the Principia (1687).
Building Intuition
Think of the chain rule as gears. If gear A turns 3 times for each turn of gear B, and gear B turns 2 times for each turn of gear C, then A turns times per turn of C. Rates multiply through the linkage. That product is exactly equation [9].
For implicit differentiation, picture standing on a circle. You cannot write "the" as one function of (the top and bottom semicircles disagree), but at any single point the curve still has a definite tangent slope. Implicit differentiation finds that slope without forcing you to pick a branch — it works with the relation as a whole.
Tangent line as the limit of secant lines; the derivative is the limiting slope
Worked Examples
Chain Rule with the Power Rule
Given: . Find . Step 1. Identify the composition. Outer function: . Inner function: . Step 2. Differentiate outer: . Step 3. Differentiate inner: . Step 4. Multiply (equation [9]):Implicit Differentiation — slope on a curve
Given: the ellipse . Find the slope of the tangent at the point . Step 1. Differentiate both sides with respect to , treating as :Common Misconceptions
The product rule is NOT . Many students guess . This is wrong — you must use equation [6], . Test it: , but . Don't forget the inner derivative. Writing is incomplete — you must multiply by , giving . The missing factor is the single most common chain-rule error. In implicit differentiation, is a function, not a constant. is not ; it is .Consider and . If the false rule held, then . But the correct power rule gives . Since in general (they're equal only at and ), the naive product "rule" fails — confirming the genuine product rule [6] is needed.
Connections
These rules are the computational engine of calculus. They depend on Limits and Continuity, since every rule is ultimately a limit of difference quotients. They feed directly into Applications of Derivatives — finding maxima, minima, and rates. The chain rule reappears as the heart of Related Rates, where quantities change in time, and of Integration by Substitution, which reverses it. Implicit differentiation generalizes into Partial Derivatives and the multivariable chain rule. Together they make The Fundamental Theorem of Calculus computationally usable.
Real-World Applications
- Velocity and acceleration (kinematics): differentiating position gives velocity ; differentiating again gives acceleration — Newton's original motivation.
- Marginal cost and revenue (economics): the derivative of a cost function gives the cost of producing one more unit, guiding production decisions.
- Optimization in engineering: setting locates minimum-drag wing shapes, least-material container designs, and peak-efficiency operating points.
- Backpropagation in neural networks (AI): training deep networks applies the chain rule millions of times to propagate error gradients backward through layers.
- Reaction rates (chemistry): the rate of a reaction is the derivative of concentration with respect to time, central to chemical kinetics.
- Population and epidemic models (biology): growth rates are derivatives; implicit relations model coupled predator–prey dynamics.
- Ladder and shadow problems (related rates): how fast a shadow lengthens or a ladder's top slides uses the chain rule on geometric relations.
Historical Development
- c. 250 BCE — Archimedes computes tangents to spirals and areas by exhaustion, foreshadowing limits.
- 1629 — Pierre de Fermat introduces "adequality," a method for tangents and extrema that anticipates the difference quotient.
- 1665–1666 — Isaac Newton develops fluxions during the plague years, treating curves as traced by flowing motion.
- 1675 — Gottfried Leibniz invents the and notations and states the product and quotient rules explicitly.
- 1684 — Leibniz publishes Nova Methodus, the first printed account of differential calculus, including the chain rule and quotient rule.
- 1687 — Newton publishes the Principia, applying fluxions to celestial mechanics.
- 1696 — L'Hôpital writes the first calculus textbook, spreading Leibniz's methods across Europe.
- 1734 — Bishop Berkeley attacks the logical foundations in The Analyst, mocking infinitesimals as "ghosts of departed quantities."
- 1821 — Augustin-Louis Cauchy rigorously grounds the derivative in the limit concept, resolving Berkeley's objections.
Subtleties & Limits
The rules above assume differentiability, which is stronger than continuity. The function is continuous everywhere but has no derivative at (the left and right slopes disagree). More dramatically, the Weierstrass function is continuous everywhere yet differentiable nowhere — a function so jagged it has no tangent at any point. Implicit differentiation also has a hidden assumption: that actually defines as a function near the point of interest. The Implicit Function Theorem specifies exactly when this works — roughly, when . At points where it vanishes (like the top/bottom of a circle, where the tangent is vertical), is undefined or infinite, and the method must be handled with care.