So far you have found the slope of the tangent at one point at a time: , then , each with its own page of algebra. But a curve has a tangent slope at every point, so the slopes themselves form a function: input an , output the slope of the tangent there. Do the first-principles algebra once with the letter in place of a number, and you get a formula for every slope at once. That formula is the derivative function .
Read the figure from left to right. Where the parabola falls, its tangents slope downward and the points on the graph are below the -axis. At the vertex the tangent is flat, so crosses zero. Where the parabola rises, the slopes are positive and growing. Plotting slope against turns the parabola into a straight line.
Finding f′(x) from first principles
- Notation: the derivative of can be written , , or . The form (Leibniz notation) is a reminder that a derivative is a limit of .
- To get the slope at one point, find once, then substitute: and .
Patterns: the degree drops by one
| f(x) | Type of f | f′(x) from first principles | Type of f′ |
|---|---|---|---|
| constant | zero | ||
| linear | constant | ||
| quadratic | linear | ||
| cubic | quadratic |
Reading the sign of f′ from the graph of f
- Where the graph of rises from left to right, its tangents slope up, so and the graph of is above the -axis. (A rising graph can level off for an instant, like at , where at that single point.)
- Where the graph of falls, and the graph of is below the -axis.
- At a smooth peak or valley (a local maximum or minimum) the tangent is horizontal, so . Between a peak and the next valley the graph falls, so the rate of change is negative (apart from any single flat point); between a valley and the next peak it is positive.
- Steeper parts of give values of farther from zero; flatter parts give values near zero.
Where a derivative does not exist
A function is differentiable at when exists. It fails at a corner and at a cusp (the one-sided slopes disagree), at a break such as a jump (no single tangent can follow a graph that is not continuous) and at a vertical tangent (a vertical line has undefined slope). For at the difference quotient is , which is for every and for every , so the limit does not exist. The lesson: a function that is differentiable at a point must be continuous there, but a continuous function, like , need not be differentiable.