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.
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.
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.
The function and its matching constant rectangle must have equal definite integrals over \([a,b]\).
A constant height \(c\) over a base of length \(b-a\) has signed area \(c(b-a)\).
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:
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
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
Let \(c\) be the rectangle’s height. Its base is \(6\), so its signed area is \(6c\). Matching the areas gives
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:
The triangle above the axis contributes positively:
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
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
During the next \(3\) hours, the negative rate contributes
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
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
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.
Check Your Understanding
Use the matching-rectangle idea to answer these questions. Keep track of whether each area is positive or negative.
- A graph has signed area \(18\) over an interval of length \(6\). What rectangle height matches its signed area?
- 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?
- Why must the interval length be positive in the derivation of the average-value formula?
- 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?
- Does the matching-rectangle definition alone guarantee that the function takes its average value somewhere on the interval? Explain.