Chapter 05 · Derivatives
05.01
Definition of the Derivative
From the slope of a secant line to the slope of the tangent line: the derivative as a limit.
About 35 minutes
You'll learn to
- →Write the limit definition of the derivative
- →Compute derivatives from the definition
- →Find a tangent line
- →Interpret f'(a) as a rate of change
Watch
Want another explanation? Search YouTube for “Definition of the Derivative”
1. Average rate of change and secant lines
Calculus begins with a question about change: how fast is a quantity changing right now? Before we can answer it, we need the simpler idea of change over an interval.
Definition (average rate of change). The average rate of change of on the interval from to is
Geometrically, this is the slope of the secant line: the line through the two points and on the graph. Physically, if is the position of a car at time , it is the car's average velocity over that stretch of time: total distance covered divided by time taken.
The difference quotient
It is often convenient to describe the second point by how far it is from the first. Write , where is the step size. Then , and the average rate of change becomes the difference quotient
The step can be positive (the second point is to the right) or negative (to the left). Everything in this lesson grows out of this one expression.
Example
For on , the average rate of change is
Using the difference quotient with :
With this gives , as before. With it gives ; with , ; with , .
As the second point slides toward , the secant lines tilt and their slopes close in on a single number, . The line they settle onto touches the parabola at : it is the tangent line. Making "close in on" precise is exactly what limits are for.
Common mistake. means "evaluate at the input ." It is not . For , , not .
The average rate of change of from to is the slope of the secant line through and :
Writing gives the difference quotient , the form the derivative is built from.
2. The derivative at a point
The difference quotient measures change over an interval of width . To measure change at a single instant, we let the interval shrink.
Definition (derivative at a point). The derivative of at is
provided the limit exists. When it does, is differentiable at .
We can't simply substitute : that gives , which is meaningless. As in section 04.03, the plan is to simplify the quotient algebraically until the troublesome factor of cancels, and then let .
Example 1
Find for .
The cancellation is valid because inside the limit.
Example 2
Find for . First, and
So
An equivalent form
Setting , so that and exactly when , gives a second, equivalent formula:
Use whichever makes the algebra easier. For at , the second form factors neatly: .
The pattern to remember. Every derivative from the definition follows the same four steps:
- Write out carefully.
- Subtract and simplify the numerator.
- Divide by ; a factor of should cancel.
- Let .
Let the step shrink to zero. The limit of the difference quotient is the derivative of at , the slope of the tangent line there:
For at : , so .
3. The derivative as a function
Computing , then , then , each from scratch, repeats the same algebra. It is more efficient to leave the point general.
Definition (the derivative function). The derivative of is the function defined by
at every where the limit exists. Its domain is the set of points where is differentiable, which can be smaller than the domain of (section 05.02 looks at where this fails).
Example 1:
So and , agreeing with the examples above, and now every slope is available at once. Notice that is held fixed while varies: inside the limit, behaves like a constant.
Example 2:
The numerator is a difference of fractions, so combine them over a common denominator:
Dividing by cancels the :
The slope is negative everywhere, which matches the graph of : on each side of it falls from left to right.
Example 3:
Square roots call for the conjugate. Multiply the top and bottom by :
Letting :
Here is defined at but is not: the graph of starts with a vertical tangent at the origin.
Common mistakes.
- Cancelling before simplifying the numerator. In you can't "cancel the " in ; expand first.
- Letting too early. If you still have , there is more algebra to do.
- Forgetting the domain: the formula for may need restrictions such as or .
Do the same limit at a general point and you get a new function, , that gives the slope at every :
For : , so .
4. The tangent line
We have been calling "the slope of the tangent line." Now we can make that the definition.
Definition (tangent line). If is differentiable at , the tangent line to at is the line through that point with slope . In point-slope form:
So finding a tangent line takes three numbers: the point's -coordinate , its -coordinate , and the slope .
Example 1
Find the tangent line to at . The point is and the slope is , so
Example 2
Find the tangent line to at . The point is and, from the derivative of above, . So
Why it matters: the best straight-line approximation
Zoom in far enough on a differentiable function and its graph looks straight; the line it looks like is the tangent line. Near ,
For example, the tangent line to at is , which estimates . The true value is . This idea, linear approximation, returns in chapter 06.
Common mistake. The slope of the tangent line is the number , not the function . "The tangent line to at is " is wrong: that isn't even a line. Evaluate at first.
The tangent line to at passes through with slope :
For at : .
5. Reading and recognizing derivatives
Rates of change
The derivative is the instantaneous rate of change: the limit of average rates over shorter and shorter intervals. Its meaning depends on what measures.
- If is position at time , then is the velocity at time .
- If is the cost of producing items, is the marginal cost: approximately the cost of producing one more item.
- If is the temperature at altitude , says how fast temperature changes as you climb.
Units. Because is a limit of , its units are "units of output per unit of input." If is in meters and in seconds, is in meters per second. If is in dollars and in items, is in dollars per item. So means: at a production level of 500 items, cost is rising at about $80 per additional item.
Notation
Several notations are in common use, all meaning the same thing:
Lagrange's prime notation is compact. Leibniz's recalls where the derivative comes from, , and makes the units visible. The derivative at a point can be written or . The symbol is an operator: an instruction to take the derivative of whatever follows, as in .
Recognizing a derivative in disguise
Every limit of the form is a derivative, even when it isn't labeled as one. To evaluate
notice that . This is the difference quotient for at , so the limit is . Once you know derivative rules (section 05.03 shows ), it is simply , with no expansion of needed.
To identify and : the part that depends on is , and the constant subtracted is . Check that they match. In , we have and , since .
- Rates: is the instantaneous rate of change. If is position, is velocity. Its units are output units per input unit.
- Notation: , , and all mean the same thing.
- Spotting a derivative: a limit like is for .
Ready for more? The Practice tab has 2 more problems on the whole lesson.
Definitions
- Average rate of change
The average rate of change of from to is : the change in output divided by the change in input over that interval.
- Secant line
The line through two points and on the graph of . Its slope is the average rate of change of from to .
- Difference quotient
The average rate of change written with a step size : . The step can be positive (second point to the right) or negative (to the left).
- Derivative at a point
The derivative of at is
provided the limit exists. It is the slope of the tangent line to at .
- Differentiable at a point
is differentiable at when the limit defining exists.
- Derivative function
The function whose value at each is , wherever that limit exists. Its domain is the set of points where is differentiable, which can be smaller than the domain of .
- Tangent line
If is differentiable at , the tangent line to at is the line through that point with slope . Near it is the best straight-line approximation to the graph.
- Instantaneous rate of change
The derivative : the limit of average rates of change over shorter and shorter intervals. If is position at time , then is the velocity at time . Its units are units of output per unit of input.
- Marginal cost
If is the cost of producing items, the marginal cost is : approximately the cost of producing one more item.
- Derivative operator
The symbol is an instruction to take the derivative, with respect to , of whatever follows, as in .
Formulas
Average rate of change
slope of the secant line through and
Difference quotient
; the average rate of change from to
Limit definition of the derivative
provided the limit exists
Alternative limit form
equivalent to the form, with
Derivative as a function
at every where the limit exists
Derivative of x²
Derivative of 1/x
Derivative of √x
; vertical tangent at
Tangent line
point-slope form; the slope is the number , not the function
Linear approximation
for near
Derivative notation
at a point:
Practice
2 practice problems with instant feedback, hints and worked solutions.
Sign up free to practice