Tutorials › Calculus I › Average Rates For Quadratic Functions

Rates of Change and Tangents · Tutorial 309 of 1495

Average Rates For Quadratic Functions

Learn to calculate a quadratic’s average rate on an interval and verify that it matches the instantaneous slope at the interval’s midpoint.

Beginner 9 min read

What You'll Learn

  • Calculate the average rate of a quadratic function between two distinct inputs
  • Derive the average-rate formula for a quadratic on an interval
  • Find the midpoint of an interval and calculate the quadratic’s instantaneous slope there
  • Understand why a quadratic’s secant slope matches its midpoint tangent slope
  • Identify and correct common errors in quadratic average-rate calculations

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

$$ \text{Average rate on }[u,v] = \frac{f(v)-f(u)}{v-u}. $$

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

Definition: The midpoint of the interval \([u,v]\) is the input \(m=\frac{u+v}{2}\). The endpoints must be distinct for the average rate to be defined.

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.

Theorem: If \(f(x)=ax^2+bx+c\) and \(u<v\), then its average rate of change on \([u,v]\) is $$ \frac{f(v)-f(u)}{v-u} = a(u+v)+b = 2am+b, \qquad m=\frac{u+v}{2}. $$

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

$$ \begin{aligned} \frac{f(v)-f(u)}{v-u} &= \frac{(av^2+bv+c)-(au^2+bu+c)}{v-u}\\ &= \frac{a(v^2-u^2)+b(v-u)}{v-u}\\ &= \frac{(v-u)\bigl(a(v+u)+b\bigr)}{v-u}\\ &= a(u+v)+b. \end{aligned} $$

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

$$ \begin{aligned} \frac{f(m+h)-f(m)}{h} &= \frac{a(m+h)^2+b(m+h)+c-(am^2+bm+c)}{h}\\ &= \frac{2amh+ah^2+bh}{h}\\ &= 2am+ah+b. \end{aligned} $$

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.

Conclusion: For \(f(x)=ax^2+bx+c\), the secant line through the graph at the endpoints of \([u,v]\) has the same slope as the tangent line at the midpoint \(m=\frac{u+v}{2}\). Both slopes equal \(2am+b\).

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:

$$ \begin{aligned} f(1)&=2(1)^2-3(1)+1=2-3+1=0,\\ f(5)&=2(5)^2-3(5)+1=50-15+1=36. \end{aligned} $$

The input change is \(5-1=4\), and the output change is \(36-0=36\). Thus the average rate is

$$ \frac{f(5)-f(1)}{5-1} = \frac{36-0}{4} = 9. $$

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

$$ \begin{aligned} g(-1)&=-(-1)^2+4(-1)+2=-1-4+2=-3,\\ g(3)&=-(3)^2+4(3)+2=-9+12+2=5. \end{aligned} $$

The input change is \(3-(-1)=4\), and the output change is \(5-(-3)=8\). Therefore

$$ \frac{g(3)-g(-1)}{3-(-1)} = \frac{5-(-3)}{4} = \frac{8}{4} = 2. $$

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,

$$ \begin{aligned} q(0)&=3(0)^2+2(0)-4=-4,\\ q(2)&=3(2)^2+2(2)-4=12+4-4=12. \end{aligned} $$

The output change is \(12-(-4)=16\), and the input change is \(2-0=2\). Hence the average rate is

$$ \frac{q(2)-q(0)}{2-0} = \frac{16}{2} = 8. $$

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

$$ \frac{p(5)-p(1)}{5-1} = \frac{25-1}{4} = \frac{24}{4} = 6. $$

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:

1
Find the endpoint outputs.
Calculate \(f(u)\) and \(f(v)\) from the given quadratic.
2
Calculate the average rate.
Use \(\frac{f(v)-f(u)}{v-u}\), keeping the order of the endpoints consistent.
3
Find the midpoint slope.
Compute \(m=\frac{u+v}{2}\), then evaluate \(f'(m)=2am+b\).
4
Check the equality.
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.

  1. For \(f(x)=x^2+2x\) on \([1,3]\), what is the average rate, and what is the midpoint?
  2. For \(g(x)=-2x^2+5x+1\) on \([0,4]\), calculate the average rate from the endpoint values.
  3. For the function in question 2, calculate the instantaneous slope at the interval’s midpoint. Does it match the average rate?
  4. Why can the factor \(v-u\) be cancelled when simplifying the quadratic average-rate quotient?
  5. For a quadratic on \([u,v]\), which input should be used to find the instantaneous slope that matches the average rate?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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