Average rate of change in this visualization
The average rate of change of a function over an interval is the change in its value divided by the change in its input: the difference quotient . On the graph it is the slope of the secant line through and . For a distance travelled over time it is the average speed. This page cuts into at most eight pieces and compares the whole with its pieces, for five functions.
The cuts make pieces of widths , each with its own rate , the slope of a thin yellow chord. Under the graph each piece is a bar: its width is , its height is , so its signed area is , the number written inside it. The areas add up to , because in every value between the ends appears once with each sign and cancels. Spreading that total area evenly over gives the solid yellow line, at height : the rate over the whole interval is the pieces' rates averaged by width. The dashed line is their plain mean , which ignores the widths.
Things to notice
- A wide bar weighs more. Going 60 km at 60 km/h and coming back 60 km at 40 km/h takes 2.5 h: the average speed is 120 ÷ 2.5 = 48 km/h, not 50, because the slower leg lasts longer. (Average speed divides the distance travelled; average velocity divides the displacement, 0 for a round trip.) With pieces of equal width the two lines always coincide; they can also meet otherwise, as for a linear function, whose pieces all share one rate.
- On pieces of equal width , the rates follow a pattern: for a linear function they are equal; for each differs from the one before by ; for each is times the one before. Compare writes the differences and ratios between neighbouring bars.
- The average rate of change is not the average value of , and it only sees the ends: climbs to 4 on and comes back, so its rate there is 0. A positive whole rate allows a piece with a negative one.
- Bars that rise from left to right say that the chords bend upward, not that the curve does everywhere: gives the bars 1, 3, 5, 7 on the cuts 0, 1, 2, 3, 4, yet bends downward at , where .
Controls
- Drag the ends a and b or a cut, on the graph or at the bars' edges; they catch on multiples of ½. A cut dragged onto its neighbour merges with it. The digit wheel sets the number of pieces and cuts the interval evenly; Equal evens out the present pieces; Cuts at takes exact values, such as
1, 2.5or4/3. - Presentation mode opens a full-screen view for projectors (← → change the number of pieces; H hides the average rate of change).
Related
- D05Derivative
- D11Mean value theorem
- D06Derivative function
- D18Fundamental theorem of calculus
- D16Riemann sum
- D12ConcavityPlanned
Further reading: OpenStax, Precalculus 2e, 1.3 Rates of Change and Behavior of Graphs; Wikipedia: Difference quotient.