From an Interval to Its Midpoint
A quadratic function can curve, so its rate of change is not generally constant across an interval. Yet for every quadratic, the average rate over an interval has a particularly simple connection to the function’s instantaneous slope: they are equal at the interval’s midpoint.
This result links two different ways of describing change. The average rate compares the outputs at the interval’s endpoints. The instantaneous slope describes how the function is changing at one input. For a quadratic, the midpoint is exactly where those two rates agree.
Average Rate and Instantaneous Slope
Let \(f\) be a function, and let \(u\) and \(v\) be distinct inputs in its domain. The average rate of change of \(f\) from \(u\) to \(v\) is the change in output divided by the change in input. Here we take \(u<v\), so the interval is \([u,v]\).
Geometrically, this quotient is the slope of the secant line through the graph points \((u,f(u))\) and \((v,f(v))\).
The instantaneous slope at an input \(x\), when it exists, is the limit of the average rate over intervals from \(x\) to nearby inputs. For the quadratic functions considered here, this limit exists at every real input. It is the derivative \(f'(x)\).
We will consider a quadratic in the standard form \(f(x)=ax^2+bx+c\), where \(a\), \(b\), and \(c\) are real numbers. If \(a\ne 0\), its graph is a parabola; the calculation below also works when \(a=0\), in which case the function is linear.
The Average-Rate Formula for a Quadratic
For a quadratic, the endpoint changes can be factored in a way that removes the interval length from the denominator. That cancellation reveals why the midpoint appears.
In particular, the average rate depends on the interval’s midpoint \(m\), not on its width. The width still matters for specifying the interval, but changing the width while keeping the same midpoint does not change this quadratic’s average rate.
Why the Formula Works
First calculate the average rate directly. Since \(f(x)=ax^2+bx+c\), substituting the two endpoints gives
The third line uses the difference-of-squares identity \(v^2-u^2=(v-u)(v+u)\). The last cancellation is valid because \(u\ne v\). Since \(u+v=2m\), the result is \(2am+b\).
To compare this with the instantaneous slope, use the derivative’s limit definition at \(m\). For \(h\ne 0\), the average rate from \(m\) to \(m+h\) is
As \(h\) approaches zero, the term \(ah\) approaches zero. Therefore the limit exists and gives the instantaneous slope at \(m\): \(f'(m)=2am+b\). This is exactly the average rate already calculated.
Worked Examples
Worked Example: Average Rate and Midpoint Slope
Find the average rate of \(f(x)=2x^2-3x+1\) on \([1,5]\), then compare it with the instantaneous slope at the midpoint.
First evaluate the function at the endpoints:
The input change is \(5-1=4\), and the output change is \(36-0=36\). Thus the average rate is
The midpoint is \(m=\frac{1+5}{2}=3\). From the limit calculation above, the derivative of this quadratic is \(f'(x)=2ax+b=4x-3\). At the midpoint, \(f'(3)=4(3)-3=9\).
Check: The average rate and midpoint slope both equal \(9\). Directly, the rate from \(3\) to \(3+h\) is \(9+2h\), which tends to \(9\) as \(h\) tends to zero.
Worked Example: A Concave-Down Quadratic
Find the average rate of \(g(x)=-x^2+4x+2\) on \([-1,3]\), and check it at the midpoint.
Evaluate both endpoints, keeping track of the negative input in \(g(-1)\):
The input change is \(3-(-1)=4\), and the output change is \(5-(-3)=8\). Therefore
The midpoint is \(m=\frac{-1+3}{2}=1\). Here \(a=-1\) and \(b=4\), so \(g'(x)=-2x+4\) and \(g'(1)=-2+4=2\).
Check: Both rates are \(2\). In the limit definition at \(1\), \(g(1)=5\) and \(g(1+h)=5+2h-h^2\). Thus \(\frac{g(1+h)-g(1)}{h}=2-h\), which tends to \(2\).
Worked Example: A Different Interval Width
For \(q(x)=3x^2+2x-4\), find the average rate on \([0,2]\) and compare it with the slope at the interval’s midpoint.
At the endpoints,
The output change is \(12-(-4)=16\), and the input change is \(2-0=2\). Hence the average rate is
The midpoint is \(m=\frac{0+2}{2}=1\). Since \(a=3\) and \(b=2\), \(q'(x)=6x+2\), so \(q'(1)=6+2=8\).
Check: The midpoint slope agrees with the endpoint calculation. Also, \(q(1)=3+2-4=1\), and \(q(1+h)=1+8h+3h^2\). Therefore \(\frac{q(1+h)-q(1)}{h}=8+3h\), which tends to \(8\).
A Common Error: Forgetting to Divide by the Input Change
The average rate is not just the change in output. It is the change in output divided by the change in input. For example, on \([1,5]\), the function \(p(x)=x^2\) has endpoint values \(p(1)=1\) and \(p(5)=25\). A mistaken calculation might stop at \(25-1=24\) and call \(24\) the average rate.
That number is the output change, not the average rate. The input change is \(5-1=4\), so the correction is
The midpoint is \(3\), and \(p'(x)=2x\), so \(p'(3)=6\), as required. Remember to include the denominator before comparing an average rate with a slope.
What the Midpoint Result Tells Us
The equality is useful because it identifies a particular input where the instantaneous slope represents the average change across the whole interval. To find it, calculate the midpoint of the inputs—not the midpoint of the function’s endpoint outputs—and evaluate the quadratic’s derivative there.
The result relies on the quadratic’s algebraic form. Its proof depends on factoring \(v^2-u^2\), which lets the interval factor \(v-u\) cancel. The conclusion is therefore a specific property of quadratic functions, rather than a rule to apply automatically to every curved graph.
For any interval \([u,v]\) with \(u<v\), the key calculation can be organized as follows:
Calculate \(f(u)\) and \(f(v)\) from the given quadratic.
Use \(\frac{f(v)-f(u)}{v-u}\), keeping the order of the endpoints consistent.
Compute \(m=\frac{u+v}{2}\), then evaluate \(f'(m)=2am+b\).
The two results should agree; if they do not, recheck endpoint values, signs, or the input change in the denominator.
The central relationship is concise: for a quadratic, the average rate on an interval equals the instantaneous slope at its midpoint. The algebra proves the relationship, and the examples show how to verify it with actual values.
Check Your Understanding
Use the average-rate quotient and the midpoint result to answer these questions.
- For \(f(x)=x^2+2x\) on \([1,3]\), what is the average rate, and what is the midpoint?
- For \(g(x)=-2x^2+5x+1\) on \([0,4]\), calculate the average rate from the endpoint values.
- For the function in question 2, calculate the instantaneous slope at the interval’s midpoint. Does it match the average rate?
- Why can the factor \(v-u\) be cancelled when simplifying the quadratic average-rate quotient?
- For a quadratic on \([u,v]\), which input should be used to find the instantaneous slope that matches the average rate?