Calculus defines the derivative as a limit of a fraction, and the limit step is usually short. The real work, and most of the mistakes, come earlier, in writing that fraction down and simplifying it. This page does only the finite part, with a real nonzero step , so that when limits arrive the algebra is already solid.
Key terms
Input change
Definition When the input of a function moves from to , the input change is
When the inputs are written as and , the input change is . It is positive when the input increases and negative when it decreases.
In plain words The input change is how far you step along the horizontal axis, with a sign that tells the direction.
Example Moving from to gives . Starting at , this is the step .
Output change
Definition For a function and inputs and in its domain, the output change is
The order matters. Use the same order in the output change and the input change, the second input minus the first in both.
In plain words The output change is how far the graph rises or falls between the two inputs.
Example For , moving from to changes the output from to , so .
Evaluating f(a + h) by substitution
Definition The expression is the output of at the single input . It is found by substitution, replacing every occurrence of the input variable in the formula for by , with parentheses. In general
In plain words Treat as one number and feed the whole thing into the formula. Parentheses keep the substitution honest.
Example For and ,
The tempting wrong answers are and . Both miss the middle term . With the correct value is , while the wrong ones give .
Difference quotient
Definition Let be a real function, let and be real numbers with , and suppose both and lie in the domain of . The difference quotient of at with step is
The numerator is the output change and the denominator is the input change, taken in the same order.
In plain words It is the change in output divided by the change in input. It measures the average rate at which changes between and .
Example For and we have and, by substitution,
So the difference quotient is
Secant slope
Definition The secant line through the distinct points and of the graph of has slope equal to the difference quotient
The step may be positive or negative. Listing the two points in the other order changes the sign of both the numerator and the denominator, so the slope does not depend on which point is called first.
In plain words The difference quotient is the slope of the straight line joining two points of the graph, rise over run.
Example For and , take and .
| Second point | Secant slope | |
|---|---|---|
These two plotted slopes will be used to check the simplified formula in the next section.
Cancellation
Definition A factor may be cancelled from a quotient only after it has been factored out of the entire numerator, and only for . If the numerator equals , then
The simplified expression equals the difference quotient only at the values of where the difference quotient was defined. Cancelling a term that is added, rather than a common factor, is not allowed.
In plain words Pull an out of every term on top first. Then it can cancel with the underneath, and the answer comes with the reminder that is still not zero.
Example Continuing with at ,
Check against the table. With the formula gives and with it gives , matching both secant slopes. A wrong move such as striking out the in alone to get would give at but at , and the second check exposes it.
A quotient with fractions needs a common denominator first. For at , with and ,
Dividing by cancels the factor and gives
The point with gives the secant slope , and the formula gives . The point with gives slope , and the formula gives .
Nonzero increment and allowed steps
Definition The increment in a difference quotient must satisfy , because the quotient divides by and the two points must be distinct. It may be positive or negative. It must also keep in the domain of , so the set of allowed depends on both the function and the point , and that restriction stays attached to every simplified form.
In plain words The step cannot be zero and cannot leave the domain. Every rewritten form of the quotient inherits those same rules.
Example For at , the input must not be , so , and as always. The simplified form happens to make sense at , giving , but the difference quotient itself does not exist there. That gap is exactly what the limit in calculus will deal with.
For with general , the quotient is
Every real and every nonzero real is allowed here, since is defined everywhere.
Check yourself
- Find and simplify the difference quotient of at . Check your answer with .
Show the answer
Substitution gives
and . So
With the formula gives . The points and give slope as well.
- Simplify the difference quotient of at and state which values of are allowed.
Show the answer
The common denominator gives
since and . Dividing by cancels the factor , so the difference quotient is . The input must not be , so , and also .
- For at , which steps are allowed in the difference quotient?
Show the answer
The input must be in the domain , so . Together with , the allowed steps are and .