Derivatives
The derivative measures how fast a quantity is changing at a single instant. If you know the position of a car at every moment, the derivative tells you its speed at any chosen moment. If you know a company's revenue as a function of price, the derivative tells you how revenue responds to a tiny price change. Formally, the derivative is the slope of the tangent line to a curve at a point — but the intuition worth holding onto is simpler: the derivative is instantaneous rate of change.
Learning Objectives
By the end of this page, you should be able to:
- Explain the derivative both as a slope and as an instantaneous rate of change
- State the limit definition of the derivative and explain what it captures
- Apply the power, constant, sum, product, quotient, and chain rules
- Interpret the sign of a derivative (increasing, decreasing, stationary)
- Use derivatives to solve real problems in motion and optimization
Quick Answer
The derivative of a function , written or , is defined as
That fraction is just "rise over run" — the slope between two nearby points on the curve. As shrinks to zero, the two points merge into one and you get the slope at a single point: the instantaneous rate of change. In practice you rarely use the limit directly; you use shortcut rules (the most important being the power rule: the derivative of is ).
The Core Problem It Solves
Imagine a car whose distance travelled is metres after seconds. Its average speed between and is easy: m/s. But what was its speed at exactly ? Average speed needs a time interval, and a single instant has no interval — the naive calculation gives , which is meaningless.
The derivative resolves this paradox. Compute the average speed over a shrinking interval and watch what it approaches as :
The instantaneous speed at is exactly 4 m/s. That is a derivative. The whole subject of differential calculus exists to answer the question "what is the rate right now?"
Where It Came From
The derivative was forged from two problems that obsessed 17th-century mathematicians: the tangent-line problem (how do you find the slope of a curve at a point?) and the problem of motion (how do you describe a speed that is constantly changing?).
Before Newton and Leibniz, mathematicians could find slopes only of straight lines. Curves defeated them, because slope requires two points and a curve's steepness differs at every point. Pierre de Fermat in the 1630s came remarkably close, computing tangents by a method that quietly used the idea of an infinitesimally small change. But it was Isaac Newton (who called derivatives "fluxions" and was driven by the physics of falling bodies and orbiting planets) and Gottfried Leibniz (who gave us the clean notation, deliberately chosen to look like a ratio of tiny changes) who, in the 1670s–80s, turned these scattered tricks into a general, rule-based method.
For over a century the logical foundation was shaky — Newton's "vanishing quantities" were mocked by the philosopher Bishop Berkeley as "ghosts of departed quantities," because dividing by a quantity and then setting it to zero looked like cheating. The paradox was only fully resolved in the 1800s when Cauchy and Weierstrass built the rigorous limit that underpins the modern definition above. So the derivative is a rare case where the technique worked brilliantly for 150 years before anyone could fully justify why — the need (describing motion and change) was so pressing that mathematicians used the tool long before they could prove it sound.
The Differentiation Rules
You almost never use the limit definition in practice. Instead, a handful of rules cover most functions:
| Rule | Statement | Example |
|---|---|---|
| Constant | derivative of is | |
| Power | derivative of is | |
| Constant multiple | derivative of is | |
| Sum | differentiate term by term | |
| Product | for products that don't simplify | |
| Quotient | for ratios | |
| Chain | for functions inside functions |
Worked example. Differentiate .
Apply the power rule term by term: .
Chain rule example. Differentiate . The "outside" is (something), the "inside" is :
Reading the Sign of a Derivative
The derivative's sign tells you what the function is doing:
- → the function is increasing (sloping up)
- → the function is decreasing (sloping down)
- → a stationary point — a peak, valley, or plateau
This is why derivatives are the engine of optimization: maxima and minima occur where the slope is zero, so to find the best price, the shortest time, or the largest area, you set the derivative to zero and solve.
Real-World Applications
- Physics: velocity is the derivative of position; acceleration is the derivative of velocity. Every equation of motion is a statement about derivatives.
- Economics: "marginal cost" and "marginal revenue" are literally derivatives — the rate of change of cost or revenue as output rises by one unit. Firms maximize profit where marginal revenue equals marginal cost, i.e. where a derivative condition holds.
- Medicine: the rate at which a drug's concentration in the blood changes is a derivative, used to set safe dosing intervals.
- Machine learning: training a neural network means using derivatives (gradients) to nudge millions of parameters in the direction that reduces error — the "gradient descent" algorithm is calculus at industrial scale.
Common Mistakes
Mistake 1: Power rule sign/arithmetic. The derivative of is , not . Subtract one from the exponent: .
Mistake 2: Forgetting the chain rule. The derivative of is , not — you must multiply by the derivative of the inside, . Whenever a function sits inside another function, the chain rule applies.
Mistake 3: Treating a product like a sum. is not . Products need the product rule: .
Mistake 4: Confusing the derivative with the original function's value. is the slope at , not the height . A function can be high in value yet have zero slope, or low in value yet steeply rising.
Comparison: Derivative vs. Average Rate of Change
| Average rate of change | Derivative (instantaneous) | |
|---|---|---|
| Needs | Two points, an interval | A single point |
| Formula | ||
| Geometric meaning | Slope of a secant line | Slope of the tangent line |
| Analogy | Average trip speed | Speedometer reading |
Practice Questions
Recall. State the power rule and use it to differentiate .
Understanding. Explain, using the idea of a shrinking interval, why the derivative can find an instantaneous speed when a single instant has no time interval.
Application. A ball's height is metres. Find its velocity , and determine when the ball is momentarily at rest. (Answer: ; the ball is at rest when , i.e. at s — the top of its flight.)
Analysis. Two functions have the same value at but different derivatives there. What does that tell you about their graphs at that point? (They pass through the same point but with different slopes — one is rising or falling faster than the other.)
FAQ
What's the difference between and ? Nothing — they're two notations for the same thing. (Newton/Lagrange style) is compact; (Leibniz style) reminds you it's a ratio of changes and is handy for the chain rule.
Why do we need limits to define derivatives? Because you're dividing a change in output by a change in input, then letting that input change shrink to zero. Without limits, "zero divided by zero" is undefined; the limit gives it precise meaning.
Is every function differentiable? No. A function must be smooth (no sharp corners, jumps, or breaks) at a point to have a derivative there. The graph of has no derivative at because of its sharp corner.
What does a second derivative tell me? It's the derivative of the derivative — the rate of change of the rate of change. In motion, it's acceleration; on a graph, it tells you whether the curve bends upward (concave up) or downward.
How is this used in real jobs? Anywhere quantities change over time or respond to inputs: engineering design, financial modelling, drug dosing, weather prediction, and the training of essentially every modern AI system.
Quick Revision
- Derivative = instantaneous rate of change = slope of the tangent line.
- Definition: .
- Power rule: .
- Chain rule: derivative of the outside × derivative of the inside.
- Sign: rising, falling, stationary (max/min).
Related Topics
Prerequisites: Limits, Algebra (functions), and Quadratic Equations.
Related: integrals — the inverse operation.
Next: applications of derivatives (optimization, related rates) and then integration.