Why Simplify a Quadratic Difference Quotient?
A difference quotient records the change in a function's output divided by the change in its input. For a quadratic function, expanding this quotient reveals a useful pattern: after the common increment is factored out and cancelled, the result is a simpler expression in the starting input and the increment.
That simplified expression is still an average rate of change. Geometrically, it is the slope of the secant line through the two points on the graph corresponding to the starting input and the shifted input. The increment must be nonzero, because the two inputs must be distinct for this secant slope to be defined.
The Difference Quotient for a Quadratic
Let \(f(x)=ax^2+bx+c\), where \(a,b,c\) are real numbers and \(a\ne 0\). Choose a starting input \(x\) and an increment \(h\). The new input is \(x+h\), so the difference quotient is the output change divided by the input change:
The condition \(h\ne 0\) is essential: if \(h=0\), the denominator is zero. To simplify the quotient, substitute the quadratic formula at both inputs, expand \((x+h)^2\), and collect terms.
The constant term \(c\) disappears because it is present in both function values and subtracts away. The quadratic term contributes both a part involving the starting input and a part involving the increment.
Deriving the Simplified Expression
Here is the full algebraic derivation. Each equality follows from substituting the formula for \(f\), expanding, and then factoring the numerator.
At the shifted input, \(f(x+h)=a(x+h)^2+b(x+h)+c\), while \(f(x)=ax^2+bx+c\). Put both expressions into the numerator.
Use \((x+h)^2=x^2+2xh+h^2\). The \(ax^2\), \(bx\), and \(c\) terms cancel when \(f(x)\) is subtracted.
The remaining numerator has a factor \(h\). Since \(h\ne0\), divide both numerator and denominator by \(h\).
This also justifies the result for every allowed \(x\) and \(h\): the expansion uses identities valid for all real inputs, and cancellation is valid precisely because the increment is nonzero. If \(a=0\), the same algebra works for a linear function and gives the constant quotient \(b\); the stated quadratic case assumes \(a\ne0\).
Worked Examples
Worked Example: Simplifying a Quadratic with Positive Coefficients
Let \(f(x)=2x^2-3x+1\). Find and simplify the difference quotient for a general starting input \(x\) and nonzero increment \(h\).
First substitute \(x+h\) and \(x\) into the function:
Check by multiplying the simplified expression by \(h\): \(h(4x+2h-3)=4xh+2h^2-3h\), which is exactly the expanded numerator. For example, at \(x=2\) and \(h=1\), the simplified quotient is \(8+2-3=7\). Directly, \(f(3)=10\) and \(f(2)=3\), so \((10-3)/1=7\), as required.
Worked Example: A Negative Quadratic Coefficient
Let \(f(x)=-x^2+4x-2\). Simplify the quotient and find its value when \(x=-1\) and \(h=3\).
Expand the numerator before substituting the particular values:
Now use \(x=-1\) and \(h=3\):
Check from the function values. The second input is \(x+h=-1+3=2\). Then \(f(2)=-4+8-2=2\), and \(f(-1)=-1-4-2=-7\). Thus the quotient is \((2-(-7))/3=9/3=3\). Multiplying back also checks the general simplification: \(h(-2x-h+4)=-2xh-h^2+4h\), the expanded numerator.
Worked Example: A Negative Increment
Let \(f(x)=3x^2+2\). Simplify the difference quotient, then evaluate it at \(x=1\) with \(h=-\tfrac12\).
The increment is negative, but it is nonzero, so the quotient is defined. Expand and factor:
Substitute \(x=1\) and \(h=-\tfrac12\):
The second input is \(1-\tfrac12=\tfrac12\). Direct calculation gives \(f(1)=3+2=5\) and \(f(\tfrac12)=3(\tfrac14)+2=\tfrac{11}{4}\). Therefore, \((f(\tfrac12)-f(1))/(\tfrac12-1)=(\tfrac{11}{4}-5)/(-\tfrac12)=(-\tfrac94)/(-\tfrac12)=\tfrac92\). The signs agree: both the output change and input change are negative, so their quotient is positive.
Why the Quotient Is a Secant Slope
The two inputs are \(x\) and \(x+h\), and the corresponding points on the graph are \((x,f(x))\) and \((x+h,f(x+h))\). A secant line is the line through these two points. Its slope is the change in vertical coordinate divided by the change in horizontal coordinate:
Thus the algebraic difference quotient is exactly the slope of this secant line, not merely a formula that happens to resemble one. For a quadratic, the slope can also be read from \(2ax+ah+b\). The latter expression still depends on both the starting input \(x\) and the chosen increment \(h\).
If \(h\) is positive, the second input lies to the right of \(x\); if \(h\) is negative, it lies to the left. Either way, \(h\ne0\) makes the two inputs distinct. The sign of the slope reflects the signs of the output change and input change together, so a negative increment does not automatically mean the slope is negative.
A Common Cancellation Mistake
A frequent error is to cancel an \(h\) in one term while leaving the other terms unchanged, before factoring the entire numerator. For instance, the expression \(4xh+2h^2-3h\) does not simplify to \(4x+2h^2-3\): that calculation has cancelled \(h\) from some terms but not from \(2h^2\).
The correct approach is to factor \(h\) from every term first:
Now the quotient is \(h(4x+2h-3)/h\), so for \(h\ne0\) the common factor cancels and the answer is \(4x+2h-3\). Multiplying this answer by \(h\) recovers the original numerator, which is a reliable check against cancellation errors.
What This Simplification Tells Us
The simplification makes secant slopes for a quadratic easier to calculate and compare. Instead of evaluating the function at two inputs each time, one can use \(2ax+ah+b\), provided the expression still represents a quotient with \(h\ne0\). This is useful for exact calculations, checking numerical estimates, and understanding how a quadratic's average rate depends on the chosen interval.
The result is not yet a slope assigned to a single input independent of an interval: for a nonzero increment, it is the slope between two distinct inputs. Keeping that distinction clear prevents a common conceptual error. The algebra has simplified the secant slope; the increment has not been removed from the situation.
Check Your Understanding
For each question, keep track of the condition on the increment and distinguish the simplified expression from the original quotient.
- For \(f(x)=x^2+5x-1\), expand and simplify \(\frac{f(x+h)-f(x)}{h}\), stating the condition on \(h\).
- For \(f(x)=2x^2-x\), use the simplified quotient to find the secant slope from \(x=1\) to \(x=3\).
- Why does the constant term of a quadratic not appear in the simplified quotient?
- For \(f(x)=x^2\), evaluate the quotient at \(x=2\) and \(h=-1\), then check using the two function values.
- Explain why the simplified expression can be evaluated at \(h=0\) even though the original difference quotient cannot.