Tutorials › AP Calculus › Checking Algebraic Derivatives with Difference Quotients

Power, Polynomial, and Rational Rules · Tutorial 137 of 999

Checking Algebraic Derivatives with Difference Quotients

Learn to verify algebraic derivatives directly from the limit definition and identify the algebra that makes the limit work.

Intermediate 8 min read

What You'll Learn

  • Write the difference quotient at a point and state when the limit defines a derivative.
  • Verify that a constant has derivative zero directly from the definition.
  • Expand a monomial difference quotient and identify the factor that cancels.
  • Check a polynomial derivative by simplifying its difference quotient term by term.
  • Recognize why cancelling terms before factoring can lead to an invalid calculation.

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.

Definition: If \(f\) is defined on an open interval containing \(a\), its derivative at \(a\) is the limit $$ f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}, $$ provided this finite limit exists. The increment \(h\) is nonzero in the quotient; the limit describes what happens as \(h\) approaches zero.

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:

$$ \begin{aligned} f'(3) &=\lim_{h\to 0}\frac{f(3+h)-f(3)}{h}\\ &=\lim_{h\to 0}\frac{7-7}{h}\\ &=\lim_{h\to 0}0\\ &=0. \end{aligned} $$

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.

1
Substitute into the definition.
For \(f(x)=x^n\), the quotient at \(a\) is \(\frac{(a+h)^n-a^n}{h}\), with \(h\ne 0\).
2
Expand the power.
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\).
3
Cancel the common factor.
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}\).
4
Take the limit.
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}\).
Result: For a positive integer \(n\), the difference quotient for \(f(x)=x^n\) has limit \(na^{n-1}\) at every real input \(a\). Thus the derivative rule \(f'(x)=nx^{n-1}\) is confirmed directly from the definition for these monomials.

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:

$$ \begin{aligned} f'(2) &=\lim_{h\to 0}\frac{(2+h)^4-16}{h}\\ &=\lim_{h\to 0}\frac{16+32h+24h^2+8h^3+h^4-16}{h}\\ &=\lim_{h\to 0}\frac{32h+24h^2+8h^3+h^4}{h}\\ &=\lim_{h\to 0}\left(32+24h+8h^2+h^3\right)\\ &=32. \end{aligned} $$

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:

$$ \begin{aligned} f(-1+h) &=3(-1+h)^2-2(-1+h)+4\\ &=3(1-2h+h^2)+2-2h+4\\ &=3-6h+3h^2+2-2h+4\\ &=9-8h+3h^2. \end{aligned} $$

Now form and simplify the quotient:

$$ \begin{aligned} f'(-1) &=\lim_{h\to 0}\frac{f(-1+h)-f(-1)}{h}\\ &=\lim_{h\to 0}\frac{(9-8h+3h^2)-9}{h}\\ &=\lim_{h\to 0}\frac{-8h+3h^2}{h}\\ &=\lim_{h\to 0}(-8+3h)\\ &=-8. \end{aligned} $$

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)\).

Common mistake: Cancelling \(h\) from only one term of a sum is not valid. The quotient \(\frac{6h+h^2}{h}\) is not \(6h+1\); dividing each numerator term by \(h\) gives \(6+h\). Therefore the limit is \(6\), not \(1\).

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.

  1. For a constant function \(f(x)=c\), what is the numerator \(f(a+h)-f(a)\), and what does this imply for the derivative?
  2. For \(f(x)=x^3\) at \(a=1\), expand the difference quotient, cancel its common factor, and find the limit.
  3. 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.
  4. Why must \(h\ne0\) when simplifying the difference quotient, even though the limit is taken as \(h\) approaches zero?
  5. Explain why cancelling \(h\) from only one term of a sum is invalid.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats