The Definition of the Derivative
The derivative is a new function that tells you the slope of at every point. You get it the same way we got tangent slopes: take the slope between and a nearby , then let shrink to zero.
What the symbols mean
- Step
A small change in the input. The limit shrinks it to zero.
- Rise
How much the output changes over that step.
- Derivative
The slope of the curve at x. Also written dy/dx or df/dx.
Explanation
A derivative is simply a function that tells you how steep another function is at every point, or, put another way, how fast it's changing. (The name comes from the fact that it's derived from the original function.) It's the single most useful tool in this course: velocity, marginal cost and growth rates are all derivatives. The formula looks dense, but it's just rise over run again: (a small step to the right), (how much the height changes over that step) and (shrink the step to nothing). It's the same slope-between-two-points idea from the Limits unit, so bear with the symbols.
Back in the first lesson of the Limits unit, we found the slope of at one point by sliding a second point in. That worked, but we had to redo it for every point. The derivative does it for all points at once. Call the second point instead of something fixed, and let shrink. What comes out isn't a number anymore. It's a formula in that gives the slope wherever you want it.
To compute it from the definition:
- Write out and subtract .
- Simplify until a factor of cancels with the in the denominator. (It's the same cleanup from Computing Limits.)
- Let .
Notation. , , and all mean the same thing. The form is a reminder that it's a ratio of tiny changes: a tiny change in over a tiny change in .
Differentiable means continuous, but not the other way around. Think about why the first part is true: if there's a well-defined slope at a point, the graph can't have a hole or a jump there. The reverse fails because a graph can be all in one piece and still not have one clear slope. A function can be continuous yet have no derivative at:
- a corner, like at 0 (the slopes and from each side disagree),
- a cusp, like at 0,
- a vertical tangent, like at 0, where the slope would have to be infinite.
See it
Worked examples
Use the definition to differentiate .
- 1
Expand and subtract . Everything without an cancels: .
Use the definition to differentiate .
- 1
Combine the fractions over a common denominator: .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Use the definition to find for .
Find for .
Use the definition to find for .
For , find .
At what is not differentiable?
Producing phone cases costs dollars. Use the definition of the derivative to find , the marginal cost at cases.
The hardest one here. Get it, and you've got this lesson.
Let for , and . Use the definition to find .
Where it's used
Numerical code estimates derivatives with this exact quotient and a small : physics engines for velocities, machine learning for checking gradients.