Water drains from a tank. You read the level at noon and again ten minutes later, and the drop divided by ten minutes is an average rate. But how fast is the level falling at noon exactly? Shrink the ten minutes to one minute, then to one second, and watch where the averages go. Done carefully with algebra, that is the idea behind the derivative in calculus.
Key terms
Difference quotient
Definition Let be a function, let be in its domain, and let be a number with also in the domain. The difference quotient of at is
It is the average rate of change of from to , and the slope of the secant line through and . With a variable in place of it is written
In plain words Step from to , see how much the output changed, and divide by the size of the step.
Example Take and , so . With the second point is , and
Nonzero h
Definition The step in a difference quotient must not be . At the quotient becomes , which is not a number. The step may be negative, and then lies to the left of . Any simplified form of the quotient equals it only for , so this condition has to be carried along through every step.
In plain words You cannot measure a rate over a step of length zero. Small steps are fine, and steps to the left are fine, but the step itself is never zero.
Example For at , expanding gives . For
The expression has a value at , but the quotient does not. With the negative step the secant runs through and , and its slope is , which matches .
Original domain
Definition The difference quotient of at is defined exactly for the numbers with and in the domain of . These restrictions come from the original function and stay in force after any simplification, even when the simplified formula has no visible trouble at those values of .
In plain words Both points of the secant have to be on the graph. Before simplifying, write down which steps are allowed, and keep that list.
Example For at the second point needs , so the allowed steps are with . The step is not allowed, since it asks for , which is not a real number. For at the second point needs , so the allowed steps are all except and .
Algebraic simplification
Definition To see what a difference quotient does for small , rewrite it, for the allowed , in a form without the factor in the denominator. The usual moves are expanding a polynomial and cancelling , combining fractions over a common denominator, and multiplying the numerator and the denominator by a conjugate when there is a square root. Cancelling is valid because , and the simplified form equals the quotient only for the allowed .
In plain words The goal is to get rid of the in the denominator, since that is what makes impossible to plug in. Algebra does this without changing any values where the quotient is defined.
Example For at , multiply by the conjugate , which is positive and so never zero. For with ,
The last form is defined at , where it equals , but the quotient is still undefined there. The restrictions and stay.
Shrinking secants
Definition As takes values closer and closer to , from both sides and never equal to , the secant line through and pivots about the fixed point . When the graph has no break at , the second point slides along the graph toward . The secant slopes are the difference quotients, so their behavior is the behavior of the quotient as approaches .
In plain words Pin one end of a line to the graph at and slide the other end toward it along the curve. Watch what happens to the slope.
Example For at the secant slopes are .
| Secant slope |
From both sides the slopes close in on . The line through with slope is , or , the line the secants settle into.
Instantaneous rate as a limit, when it exists
Definition Let be defined on an open interval containing . If the difference quotients approach a single real number as approaches from both sides, that is
then is the instantaneous rate of change of at , and the line through with slope is the tangent line there. If the quotients do not approach a single real number, has no instantaneous rate of change at . Calculus calls the derivative of at .
In plain words The rate at one instant is the number the average rates close in on as the time step shrinks. It exists only if they really do close in on one number.
Example A ball thrown upward has height meters after seconds, so . For
As approaches this approaches , so at the ball is rising at meters per second.
Corners and the failure of a single tangent slope
Definition Suppose the difference quotients of at approach one number as approaches through negative values and a different number as approaches through positive values. Then the two-sided limit does not exist, and the graph has a corner at . The graph has no break there, since is times the quotient and so approaches . Yet it has no single tangent slope and has no instantaneous rate of change at . A single tangent slope can also fail at a jump or where the quotients grow without bound.
In plain words At a corner the secants from the left settle on one slope and the secants from the right settle on another. No single line fits both, so the curve has no one slope at that point.
Example Take at , where . For the number is positive, and for it is negative, so
| Secant slope |
From the right the slopes approach and from the left they approach . The graph is unbroken at but has a sharp corner there, and has no instantaneous rate of change at . Compare the smooth curve above, whose slopes approach from both sides.
Check yourself
- Simplify the difference quotient of at and find the instantaneous rate of change there.
Show the answer
Here and . For
which approaches . The instantaneous rate of change at is .
- For at , which steps are allowed? Simplify the difference quotient and find its limit as approaches .
Show the answer
The second point needs , so every except and is allowed. Since , for those
which approaches .
- Does have an instantaneous rate of change at ?
Show the answer
No. Since and , the quotient is , which equals for every and for every . The one-sided slopes differ, so the graph has a corner at .