Tutorials › AP Statistics › Why Average Value Matches a Rectangle Height

Accumulation and Average Value · Tutorial 610 of 999

Why Average Value Matches a Rectangle Height

Derive the average-value formula by matching a function’s signed accumulation to that of a constant-height rectangle over the same interval.

Intermediate 9 min read

What You'll Learn

  • Interpret the average value as the height of a rectangle with matching signed accumulation.
  • Derive the average-value formula from equality of definite integrals.
  • Explain why the interval length must be positive and the function must be integrable.
  • Distinguish signed area from total geometric area when regions lie below the axis.
  • Check the units and sign of a rectangle height in context.

Why a Rectangle Can Represent an Average

A function may vary throughout an interval, so its graph does not have one constant height. Yet its total signed accumulation over that interval can be matched by a rectangle: use the same base, and choose one constant height that gives the same signed area.

That constant height is the function’s average value on the interval. The idea is not that the function stays at this height, or even that it must take this value. Rather, the constant rectangle and the varying function have the same net accumulation across the same horizontal distance.

Key idea: The average value is the constant height that makes the signed area of a rectangle equal to the signed integral of the function over the interval.

Signed Accumulation and Rectangle Area

Let \(f\) be integrable on an interval \([a,b]\), where \(a<b\). The definite integral \(\int_a^b f(x)\,dx\) represents signed accumulation: contributions above the horizontal axis are positive, and contributions below it are negative. If \(f\) describes a rate, this integral is the net change accumulated over the interval.

Now consider a constant function with value \(c\). Its graph is a horizontal line, so the signed area between its graph and the horizontal axis over \([a,b]\) is a rectangle. Its base has length \(b-a\), and its signed height is \(c\). Therefore its signed area is \((b-a)c\). When \(c<0\), the rectangle’s contribution is negative.

$$ \text{signed area of the constant rectangle} = \text{base}\times\text{signed height} = (b-a)c. $$

The word signed matters. A rectangle below the axis does not have a negative geometric size, but its signed area in an integral is negative. This sign records the direction of accumulation.

Deriving the Average-Value Formula

To find the constant height that represents \(f\), require the constant rectangle to have exactly the same signed accumulation as the function. In integral form, the requirement is that the integral of the constant function \(c\) equal the integral of \(f\) over the same interval.

1
Set the signed accumulations equal.
The function and its matching constant rectangle must have equal definite integrals over \([a,b]\).
2
Write the constant function’s integral.
A constant height \(c\) over a base of length \(b-a\) has signed area \(c(b-a)\).
3
Solve for the height.
Since \(b-a>0\), divide the equality by \(b-a\) to obtain the unique matching height.

In equations, the matching condition and its solution are:

$$ \int_a^b f(x)\,dx = \int_a^b c\,dx = c(b-a), \qquad c = \frac{1}{b-a}\int_a^b f(x)\,dx. $$
Definition: If \(f\) is integrable on \([a,b]\) with \(a<b\), its average value on that interval is $$ f_{\mathrm{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx. $$ It is the constant height whose signed rectangle area equals the signed integral of \(f\) over \([a,b]\).

This derivation also explains the conditions in the formula. The definite integral must exist, so \(f\) must be integrable on the interval; continuity on \([a,b]\) is a standard sufficient condition. The interval must have positive length so division by \(b-a\) is possible. If \(a=b\), the base has zero length and this definition does not give an average value.

Why the Matching Height Is Unique

There cannot be two different constant heights that give the same signed rectangle area over an interval of positive length. If heights \(c_1\) and \(c_2\) both match the function, then

$$ c_1(b-a)=\int_a^b f(x)\,dx=c_2(b-a). $$

Subtracting the two sides that contain the heights gives \((c_1-c_2)(b-a)=0\). Because \(b-a>0\), it follows that \(c_1-c_2=0\), so \(c_1=c_2\). Thus the matching signed area determines exactly one rectangle height.

The argument does not require \(f\) to be positive. It only requires its signed integral to exist. If the net signed accumulation is negative, the matching constant height is negative as well.

Worked Example: A Triangle Above the Axis

Worked Example: A Triangle Above the Axis

Suppose the graph over an interval of length \(6\) forms a triangle above the horizontal axis, with base \(6\) and height \(4\). Find the height of a rectangle with the same base and the same signed area.

Because the triangular region is above the axis, its signed area is positive. Its area is

$$ \frac{1}{2}(6)(4)=12. $$

Let \(c\) be the rectangle’s height. Its base is \(6\), so its signed area is \(6c\). Matching the areas gives

$$ 6c=12, \qquad c=\frac{12}{6}=2. $$

The rectangle has height \(2\). Check: its signed area is \(6(2)=12\), which equals the triangle’s signed area. The matching height is lower than the triangle’s peak because the triangle does not stay at its maximum height across the whole base.

Worked Example: Positive and Negative Regions

Worked Example: Positive and Negative Regions

Suppose a graph has a triangular region below the axis with base \(4\) and depth \(3\), followed by a triangular region above the axis with base \(2\) and height \(3\). Find the signed-accumulation-matching rectangle height over the full interval.

The area of the triangle below the axis contributes negatively:

$$ -\frac{1}{2}(4)(3)=-6. $$

The triangle above the axis contributes positively:

$$ \frac{1}{2}(2)(3)=3. $$

The whole interval has length \(4+2=6\). Adding the signed contributions gives a net signed area of \(-6+3=-3\). If \(c\) is the matching rectangle height, then

$$ 6c=-3, \qquad c=\frac{-3}{6}=-\frac{1}{2}. $$

The matching height is \(-\frac{1}{2}\), below the axis. Check: the rectangle’s signed area is \(6(-\frac{1}{2})=-3\), equal to the net signed area of the two triangles.

Worked Example: A Rate That Changes Sign

Worked Example: A Rate That Changes Sign

A rate is \(2\) units per hour for the first \(2\) hours and \(-1\) unit per hour for the next \(3\) hours. What constant rate over all \(5\) hours would give the same net change?

During the first \(2\) hours, the rate contributes

$$ (2\text{ units/hour})(2\text{ hours})=4\text{ units}. $$

During the next \(3\) hours, the negative rate contributes

$$ (-1\text{ unit/hour})(3\text{ hours})=-3\text{ units}. $$

The net change is \(4+(-3)=1\) unit over \(2+3=5\) hours. Let \(c\) be the constant rate with the same net change. Its accumulated change is \(5c\), so

$$ 5c=1\text{ unit}, \qquad c=\frac{1}{5}\text{ unit/hour}. $$

Check: \((\frac{1}{5}\text{ unit/hour})(5\text{ hours})=1\text{ unit}\), which matches the net change. The units also agree: a rate integral has units of rate multiplied by time, while the matching rectangle’s height has units of rate.

Common Pitfall: Using Total Area Instead of Signed Area

When a graph crosses the axis, adding the geometric areas without signs gives total area, not the signed accumulation used to define average value. Returning to the two-triangle example, the geometric areas are \(6\) and \(3\). A mistaken calculation would add them and set \(6c=6+3\), giving \(c=\frac{3}{2}\).

That answer is incorrect for a signed-accumulation-matching rectangle. The lower triangle contributes \(-6\), not \(+6\), so the correct equation is

$$ 6c=-6+3=-3, \qquad c=-\frac{1}{2}. $$

Checking the result makes the distinction clear: the wrong height \(\frac{3}{2}\) gives rectangle area \(6(\frac{3}{2})=9\), not the graph’s signed area of \(-3\). The correct height gives \(6(-\frac{1}{2})=-3\).

What the Average Height Does—and Does Not—Say

The average height compresses the function’s net accumulation into one constant value over a specified interval. It depends both on the function and on the chosen interval: changing the interval changes the rectangle’s base and may change the signed accumulation being matched.

It is also important to distinguish the average height from the function’s actual values. The definition guarantees a constant rectangle with matching signed area. By itself, it does not say that the graph reaches that height at some input. The rectangle is an accumulation comparison, not a claim that the varying graph is flat or passes through a particular point.

For a rate function, the interpretation is especially useful. The integral gives net change, and dividing that net change by elapsed time gives the constant rate that would produce the same net change over that time. A negative matching rate indicates negative net change over the interval; it does not mean that every instantaneous rate was negative.

Takeaway: Average value is determined by matching signed accumulation. The function and the constant rectangle have the same base, and their signed areas are equal.

Check Your Understanding

Use the matching-rectangle idea to answer these questions. Keep track of whether each area is positive or negative.

  1. A graph has signed area \(18\) over an interval of length \(6\). What rectangle height matches its signed area?
  2. A graph has a region below the axis with area \(10\) and a region above the axis with area \(4\). The interval has length \(3\). What is the matching rectangle height?
  3. Why must the interval length be positive in the derivation of the average-value formula?
  4. A rate has units of liters per minute and is integrated over a time interval measured in minutes. What units should the matching rectangle height have?
  5. Does the matching-rectangle definition alone guarantee that the function takes its average value somewhere on the interval? Explain.

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