The Problem With Instantaneous Speed
Average speed is easy: distance divided by time. Drive 120 miles in 2 hours, average speed is 60 mph. But your speedometer right now reads something specific — say 73 mph. That number describes your speed at one instant, not over an interval. How do you calculate it mathematically?
You cannot divide distance by time for a single instant. At one instant, zero distance passes in zero time: 0/0. That is meaningless as written. So how does the speedometer work?
This is not a new problem. It puzzled Zeno of Elea in 450 BC and remained unsolved for two thousand years until Newton and Leibniz independently figured it out in the 1660s-1670s. Their answer was the derivative.
The Core Idea: Slopes of Secants Approaching a Tangent
Take a curve y = f(x). Draw a chord from the point (x, f(x)) to a nearby point (x+h, f(x+h)). The slope of this chord is:
This is the average rate of change over the interval from x to x+h. Now shrink h toward zero. The chord rotates, its slope changing as the second point slides toward the first. In the limit — as h actually reaches zero — the chord becomes the tangent line. Its slope is the instantaneous rate of change. That limiting slope is the derivative.
The Formal Definition
If this limit exists, f is differentiable at x and f'(x) is its derivative there. If the limit does not exist — because the function has a corner, a cusp, or a vertical tangent — the derivative does not exist at that point.
Computing From the Definition
Three Ways to Write It
You will see all three notations in textbooks and they all mean the same thing:
Leibniz notation dy/dx is especially useful because it reminds you what you are doing: measuring how much y changes (dy) per unit change in x (dx). It also makes the chain rule look like fraction cancellation: dy/dx = (dy/du)·(du/dx).
Geometric Meaning
The derivative f'(a) is the slope of the tangent line to the curve at x = a. The equation of that tangent line is:
This is one of the most useful formulas in calculus. Linear approximation, Newton's method, implicit differentiation, and related rates all use tangent lines as their core tool.
When the Derivative Does Not Exist
The derivative fails to exist at three types of points:
Continuity does not guarantee differentiability. |x| is continuous everywhere but not differentiable at 0. The Weierstrass function is continuous everywhere but differentiable nowhere — a counterintuitive result that shocked 19th-century mathematicians.
Derivatives as Rates of Change
In physics, the derivative of position is velocity: v(t) = ds/dt. The derivative of velocity is acceleration: a(t) = dv/dt = d²s/dt². In economics, the derivative of total cost is marginal cost: MC = dC/dq — the cost of producing one more unit. In biology, the derivative of a population function gives the growth rate. In every case, the derivative measures how fast something changes.