Difference Quotient
From average rate to the derivative
How fast is a car moving right now, not over the last hour, but at this exact instant? To answer, we’d want to measure distance over a very short time interval. The difference quotient is this idea: measure the average rate of change over a small interval, then see what happens as the interval shrinks.
This expression appears throughout calculus. When you take the limit as $h \to 0$, you get the derivative. Work the algebra correctly now, and the derivative definition will be a short step from here.
Prerequisite Map
Quick Reference
| Property | Value |
|---|---|
| Chapter | 1 - Functions and Limits |
| Section | 1.1 |
| Difficulty | Intermediate |
| Time | ~25 minutes |
Key Concepts
The Difference Quotient Formula
$$\boxed{\frac{f(a+h) - f(a)}{h}}$$
This measures the average rate of change of $f$ between $x = a$ and $x = a + h$.
Geometric Interpretation
y
| • (a+h, f(a+h))
| /|
| / |
| / | rise = f(a+h) - f(a)
| / |
| •----+
| (a, f(a))
| run = h
+------------------→ x
a a+h
The difference quotient equals the slope of the secant line through the points $(a, f(a))$ and $(a+h, f(a+h))$.
The Standard Process
Step 1: Compute $f(a+h)$ by replacing every $x$ with $(a+h)$.
Step 2: Compute $f(a+h) - f(a)$.
Step 3: Divide by $h$.
Step 4: Simplify by canceling the factor of $h$.
Critical Check: After simplification, the expression should NOT have $h$ in a denominator (assuming $h \neq 0$).
Why Canceling $h$ Matters
In calculus you later let $h \to 0$. If $h$ remains in a denominator, that would cause division by zero. The algebra must be done correctly to get a form where $h = 0$ can be substituted.
Practice Problems
For $f(x) = 3x + 2$, compute $\frac{f(a+h) - f(a)}{h}$ and simplify.
For $f(x) = x^2 - 4x$, compute $\frac{f(a+h) - f(a)}{h}$ and simplify.
For $f(x) = 2x^2 - 5x + 1$, evaluate the difference quotient $\frac{f(x+h) - f(x)}{h}$ and simplify completely.
For $f(x) = \frac{1}{x}$, compute $\frac{f(a+h) - f(a)}{h}$ and simplify.
For $f(x) = \sqrt{x}$, compute $\frac{f(a+h) - f(a)}{h}$ and simplify. (Assume $a > 0$ and $h > -a$.)
$f(a + h) = f(a) + f(h)$.
This is the action-view-of-function error. When students see $f$ as a quantity that can be factored out or distributed, they treat it like multiplication: just as $3(a+h) = 3a + 3h$, they write $f(a+h) = f(a) + f(h)$. But $f$ is a process, not a number. For $f(x) = x^2$: $f(a+h) = (a+h)^2 = a^2 + 2ah + h^2$, while $f(a) + f(h) = a^2 + h^2$. These differ by the cross term $2ah$, which is exactly what vanishes only when $h = 0$. Every algebra step in the difference quotient depends on correctly substituting the entire input $(a+h)$ into the function rule, not splitting it.
the difference quotient is the slope at the point $x = a$.
This is the rate-as-fixed-number error. The expression $\dfrac{f(a+h) - f(a)}{h}$ is the average rate of change over the interval from $a$ to $a+h$. It is the slope of a secant line through two points, not the slope of the curve at the single point $a$. For $f(x) = x^2$ at $a = 1$ with $h = 1$: the difference quotient is $\frac{4 - 1}{1} = 3$, which is the slope of the secant from $(1, 1)$ to $(2, 4)$. The actual slope at $(1,1)$ is $2$, found only after taking the limit as $h \to 0$. Stopping before the limit gives an average, not an instantaneous rate.
Common Errors to Avoid
| Error | What Goes Wrong | Correct Approach |
|---|---|---|
| $f(a+h) = f(a) + f(h)$ | Functions aren’t additive! | Substitute $(a+h)$ for every $x$ |
| $(a+h)^2 = a^2 + h^2$ | Missing the middle term | $(a+h)^2 = a^2 + 2ah + h^2$ |
| Not factoring out $h$ | Can’t simplify or cancel | Look for $h$ as a common factor |
| Distributing negatives | Sign errors in subtraction | Use parentheses: $-(3a + 2) = -3a - 2$ |
Mastery Checklist
Mental Model
The Zoom-In Analogy:
Imagine zooming in on a curved graph. From far away, you see the curve. As you zoom in on a small segment between $x = a$ and $x = a + h$, the curve looks more and more like a straight line. The difference quotient gives you the slope of that “almost-straight” segment.
The closer you zoom (smaller $h$), the better this slope approximates the true steepness of the curve at $x = a$.
| Previous | Up | Next |
|---|---|---|
| Domain and Range | Ch1 §1 Skills | Piecewise Functions |
Last updated: 2026-01-22