Why Check a Derivative from the Definition?
A derivative rule gives an efficient way to calculate a derivative. The defining difference quotient offers a direct way to check what that derivative means at a particular input. It starts with the function’s change over a small input increment and asks what happens to the average rate of change as the increment approaches zero.
For algebraic functions, this check often becomes a careful exercise in expansion and factoring. The key is to simplify the entire numerator before cancelling the increment. Once that is done, the limit can reveal the derivative value without relying on a memorized rule.
The open-interval condition ensures that \(f(a+h)\) is defined for inputs on both sides of \(a\) when \(h\) is sufficiently close to zero. At an endpoint of a domain, the relevant derivative may instead be defined using a one-sided limit; the two-sided definition above does not automatically apply there.
The numerator \(f(a+h)-f(a)\) is the change in the function output. Dividing by \(h\), the change in the input, gives an average rate of change over that increment. If these average rates approach one finite value as \(h\) approaches zero, that value is \(f'(a)\).
Checking a Constant
Let \(f(x)=c\), where \(c\) is a fixed real number. At any real input \(a\), the function has the same value at \(a+h\) and at \(a\). Substituting into the definition gives a quotient whose numerator is zero for every allowed \(h\). This is why the derivative of a constant is zero—not merely because a rule says so, but because the function does not change.
Worked Example: Verify the Derivative of a Constant
Check the derivative of \(f(x)=7\) at \(a=3\) using the difference quotient.
First evaluate the two function values: \(f(3+h)=7\) and \(f(3)=7\). Substitute them into the definition:
Check against the constant rule: \(f'(x)=0\), so \(f'(3)=0\). The result from the difference quotient agrees with the rule.
Why a Monomial Difference Quotient Simplifies
For a positive integer \(n\), consider \(f(x)=x^n\) at a real input \(a\). Substitution produces \(\big((a+h)^n-a^n\big)/h\). The numerator is a difference of powers, so expansion shows that every remaining term contains a factor of \(h\). Cancelling that common factor leaves a finite expression whose limit is found by letting \(h\) approach zero.
The following derivation makes the cancellation explicit. It uses the binomial theorem: for a positive integer \(n\), \((a+h)^n=\sum_{k=0}^{n}\binom{n}{k}a^{n-k}h^k\), where \(\binom{n}{k}\) is a binomial coefficient.
For \(f(x)=x^n\), the quotient at \(a\) is \(\frac{(a+h)^n-a^n}{h}\), with \(h\ne 0\).
The \(k=0\) term in the binomial expansion is \(a^n\), so it cancels with the subtracted \(a^n\). The numerator that remains is \(\sum_{k=1}^{n}\binom{n}{k}a^{n-k}h^k\).
Each term in the remaining sum contains \(h\). Since \(h\ne0\) in the quotient, division by \(h\) gives \(\sum_{k=1}^{n}\binom{n}{k}a^{n-k}h^{k-1}\).
The \(k=1\) term is \(na^{n-1}\). Every term with \(k\ge2\) contains a positive power of \(h\), so it approaches zero. There are finitely many terms, hence the limit is \(na^{n-1}\).
This argument also explains what makes the calculation work: after the constant terms cancel, the numerator is divisible by the increment \(h\). Cancelling \(h\) is valid only after that factor has been established and while \(h\ne0\). The limit is taken after the quotient has been simplified; one does not substitute \(h=0\) into the original quotient.
Checking a Monomial at a Specific Input
Worked Example: Verify the Derivative of \(x^4\) at \(x=2\)
Use the difference quotient to check the value of the derivative of \(f(x)=x^4\) at \(a=2\). First, \(f(2)=2^4=16\). Expand the fourth power in the numerator:
For a check, the monomial rule gives \(f'(x)=4x^3\). At \(x=2\), \(4(2^3)=4\cdot8=32\), matching the difference-quotient limit.
Checking a Simple Polynomial
A polynomial is a finite sum of constant multiples of nonnegative integer powers of \(x\). Its difference quotient can be handled term by term: the difference of the polynomial values is the sum of the corresponding term-by-term differences, and division by the same nonzero \(h\) preserves that sum. Each constant term contributes zero, and each positive-power term can be checked by the monomial calculation.
When checking a particular polynomial at a particular input, it is often clearest to calculate its two values first, expand \(f(a+h)\), and simplify the entire numerator. This makes it possible to see exactly which terms cancel and which terms remain in the limit.
Worked Example: Verify a Polynomial Derivative at \(x=-1\)
Check the derivative of \(f(x)=3x^2-2x+4\) at \(a=-1\). First evaluate \(f(-1)=3(-1)^2-2(-1)+4=3+2+4=9\). Next substitute \(-1+h\) and expand:
Now form and simplify the quotient:
Check with the polynomial derivative rule: \(f'(x)=6x-2\). Substitution gives \(f'(-1)=6(-1)-2=-6-2=-8\). This agrees with the limit calculation.
A Common Cancellation Mistake
A frequent error is to try to cancel \(h\) before identifying a common factor of the entire numerator. For example, at \(a=3\) for \(f(x)=x^2\), the numerator is \((3+h)^2-9=9+6h+h^2-9=6h+h^2\). The correct simplification is \((6h+h^2)/h=6+h\), because the numerator factors as \(h(6+h)\).
Check the corrected value with the monomial rule: the derivative of \(x^2\) is \(2x\), and \(2(3)=6\). The direct limit and the rule agree. The safe procedure is to expand, combine like terms, factor the full numerator if needed, and only then divide by \(h\).
When This Check Is Useful
The difference quotient is useful when you want to understand why an algebraic derivative rule produces a particular value, or when you want to test a proposed derivative at a specific point. A disagreement is a signal to inspect the substitution, expansion, cancellation, or limit. Agreement at one point checks only that value; to establish a derivative formula throughout an interval, the reasoning must apply to every input in that interval.
For constants, monomials, and polynomials at interior points of their domains, the expansions above give a direct algebraic check. The main discipline is to preserve the order of the definition: evaluate the function values, form the difference quotient for \(h\ne0\), simplify it, and then take the limit.
Check Your Understanding
Use the definition and the algebraic reasoning in this tutorial to answer each question.
- For a constant function \(f(x)=c\), what is the numerator \(f(a+h)-f(a)\), and what does this imply for the derivative?
- For \(f(x)=x^3\) at \(a=1\), expand the difference quotient, cancel its common factor, and find the limit.
- For \(f(x)=2x^2+x\) at \(a=2\), calculate \(f(2)\) and \(f(2+h)\), then use the quotient to find the derivative value.
- Why must \(h\ne0\) when simplifying the difference quotient, even though the limit is taken as \(h\) approaches zero?
- Explain why cancelling \(h\) from only one term of a sum is invalid.