Foundations to FrontierPart III: Calculus IBezhig

Module 05: From two values to an average rate

8 exercises, each with a complete solution. 1 figure.

On this page
  1. A. Prerequisites and observable goals
  2. B. The central idea: change in output per change in input
  3. C. The definition, read in full
  4. D. A complete algebraic derivation
  5. E. A five-step routine that prevents sign errors
  6. F. Worked example with a reciprocal
  7. Computing bridge: A rate quotient is not a machine instruction to divide by zero
  8. G. Independent practice
  9. H. Complete solutions: Module 05
  10. I. Retention and readiness

A. Prerequisites and observable goals#

Before

Module 01 on factoring; Module 02 on input substitution; Module 04 on slope.

After

Build a difference quotient, explain each subtraction, simplify without setting the interval to zero, and attach appropriate rate units.

B. The central idea: change in output per change in input#

A function value says where you are; a rate says how the output changes as the input changes. If a position changes from s(a)s(a) to s(b)s(b) during a nonzero time interval, its average velocity is

s(b)−s(a)b−a.\frac{s(b)-s(a)}{b-a}.

The numerator is a displacement, not the final position alone. The denominator is elapsed time, not the final time alone. This quotient is the slope of the secant line through the two graph points. It may be positive, negative, or zero. Average speed instead uses total distance traveled, which need not equal the magnitude of displacement.

Replacing the second input bb with x+hx+h produces the general difference quotient. Here hh is the input change; it can be negative, but it must not be zero. The two inputs are xx and x+hx+h, so their difference is (x+h)−x=h(x+h)-x=h.

C. The definition, read in full#

The first term f(x+h)f(x+h) substitutes the entire expression into every input slot. The subtraction then removes the entire old output f(x)f(x). Keep it in brackets until you distribute the minus sign. Canceling hh requires factoring it from every numerator term. A simplified quotient remains an average rate for nonzero hh; taking a limit is an additional operation, not a casual deletion of hh.

D. A complete algebraic derivation#

Use the single function that will later produce your tangent-line example:

f(x)=x2−x−3.f(x)=x^2-x-3.

At a general input, substitution gives f(x+h)=(x+h)2−(x+h)−3f(x+h)=(x+h)^2-(x+h)-3. Now subtract the entire original expression:

f(x+h)−f(x)=[x2+2xh+h2−x−h−3]−[x2−x−3]=x2+2xh+h2−x−h−3−x2+x+3=2xh+h2−h=h(2x+h−1).\begin{align*} f(x+h)-f(x) &=[x^2+2xh+h^2-x-h-3]-[x^2-x-3]\\ &=x^2+2xh+h^2-x-h-3-x^2+x+3\\ &=2xh+h^2-h\\ &=h(2x+h-1). \end{align*}

Therefore Q(x,h)=2x+h−1Q(x,h)=2x+h-1 for h≠0h\ne0. At x=2x=2, this becomes 3+h3+h. For h=1h=1, the secant slope is 44; for h=0.1h=0.1, it is 3.13.1; for h=−0.1h=-0.1, it is 2.92.9. These are exact finite-interval values. The emerging value 33 will be a limit, developed in Module 08.

The solid curve is f(x)=x2−x−3f(x)=x^2-x-3. The solid straight line joins inputs 22 and 33 and has secant slope 44. The dashed line through (2,−1)(2,-1) has slope 33, the limiting slope. The equations, not the drawing’s apparent steepness, determine these values.

E. A five-step routine that prevents sign errors#

Write f(x+h)f(x+h) with parentheses around every replacement. Write −[f(x)]-[f(x)] without simplifying mentally. Expand products and distribute that final minus sign. Collect like terms, then factor out hh when possible. Divide only after stating h≠0h\ne0. If no cancellation appears, check the substitution and signs; not every function will simplify to a polynomial, but many beginner examples do.

For a numerical average rate, use the actual two input values instead. There is no need to invent an hh when the interval is already given. A table only gives average rates from its entries; it does not automatically reveal the exact instantaneous rate between entries. Secant interpretation and rate definition: [O1D].

F. Worked example with a reciprocal#

Let g(x)=1/xg(x)=1/x. Require x≠0x\ne0, x+h≠0x+h\ne0, and h≠0h\ne0. Then

g(x+h)−g(x)h=1x+h−1xh=x−(x+h)hx(x+h)=−hhx(x+h)=−1x(x+h).\frac{g(x+h)-g(x)}h =\frac{\frac1{x+h}-\frac1x}{h} =\frac{x-(x+h)}{hx(x+h)} =\frac{-h}{hx(x+h)}=-\frac1{x(x+h)}.

The negative sign came from the subtraction x−(x+h)=−hx-(x+h)=-h. For positive nearby inputs the reciprocal decreases, so the negative average rate is geometrically sensible.

Faded step. For p(x)=2x2−5x+1p(x)=2x^2-5x+1, the numerator expands to 4xh+2h2−5h4xh+2h^2-5h. Factor it before reading the completion. Completion: h(4x+2h−5)h(4x+2h-5), so the quotient is 4x+2h−54x+2h-5 for h≠0h\ne0. It is not yet 4x−54x-5; that requires a limit as hh approaches zero.

Computing bridge: A rate quotient is not a machine instruction to divide by zero#

For nonzero hh, the difference quotient is a mathematically exact average rate. A computer approximation with a small representable hh is a different object: subtracting nearby floating-point outputs can lose significant information, and x+hx+h can round to xx. A05 compares exact limits, finite differences, and automatic differentiation. First simplify and understand this module’s quotient algebraically; then use computation to investigate an approximation rather than treating a small decimal step as the definition of a derivative.

G. Independent practice#

F foundation C standard course work T transfer S optional stretch L runnable lab or project. Attempt the complete set before opening its solutions.

M05.01FSolution

For f(x)=x2+2xf(x)=x^2+2x, find the average rate on [1,4][1,4] and the secant-line equation.

M05.02FSolution

For p(x)=3x2−x+2p(x)=3x^2-x+2, write p(x+h)p(x+h) and then simplify [p(x+h)−p(x)]/h[p(x+h)-p(x)]/h. Show the sign changes.

M05.03CSolution

For r(x)=xr(x)=\sqrt{x}, simplify the difference quotient by multiplying by a conjugate. State the restrictions.

M05.04CSolution

A position table gives s(0)=2s(0)=2, s(1)=5s(1)=5, s(3)=11s(3)=11 in meters. Find average velocities on [0,1][0,1] and [1,3][1,3]. Must the instantaneous velocity be constantly 33 m/s?

M05.05TSolution

A particle goes from position 00 to 55 m in two seconds, then returns to 11 m in three more seconds, without reversing direction within either leg. Find average velocity and average speed for all five seconds.

M05.06TSolution

A student simplifies (2xh+h2−3h)/h(2xh+h^2-3h)/h as 2x+h2−32x+h^2-3. Diagnose the exact error and correct it.

M05.07CSolution

For f(x)=x3f(x)=x^3, find the secant slope from x=ax=a to x=a+hx=a+h. What happens to its formula as nonzero hh approaches zero?

M05.08SSolution

For f(x)=x2f(x)=x^2, compare the forward quotient [f(x+h)−f(x)]/h[f(x+h)-f(x)]/h and the centered quotient [f(x+h)−f(x−h)]/(2h)[f(x+h)-f(x-h)]/(2h). Explain why one is independent of hh.

Optional small hints

For M05.03, multiply by x+h+x\sqrt{x+h}+\sqrt x above and below. For M05.08, expand both squares before subtracting.

H. Complete solutions: Module 05#

Compare the first step where your work differs. A corrected answer is not yet an independent success.

M05.01Show solution

Two heights and a nonzero interval

Compute f(1)=3f(1)=3 and f(4)=24f(4)=24. Average rate is (24−3)/(4−1)=21/3=7(24-3)/(4-1)=21/3=\boxed7. The line through (1,3)(1,3) with this slope satisfies y−3=7(x−1)y-3=7(x-1), hence y=7x−4\boxed{y=7x-4}. At x=4x=4 it gives 2424, checking the other endpoint.

Back to M05.01
M05.02Show solution

Subtraction of an entire function

First p(x+h)=3(x+h)2−(x+h)+2=3x2+6xh+3h2−x−h+2p(x+h)=3(x+h)^2-(x+h)+2=3x^2+6xh+3h^2-x-h+2. Now

p(x+h)−p(x)=3x2+6xh+3h2−x−h+2−[3x2−x+2]=3x2+6xh+3h2−x−h+2−3x2+x−2=6xh+3h2−h=h(6x+3h−1).\begin{align*} p(x+h)-p(x) &=3x^2+6xh+3h^2-x-h+2-[3x^2-x+2]\\ &=3x^2+6xh+3h^2-x-h+2-3x^2+x-2\\ &=6xh+3h^2-h=h(6x+3h-1). \end{align*}

Dividing by nonzero hh gives 6x+3h−1\boxed{6x+3h-1}. Notice that subtracting −x-x contributed +x+x.

Back to M05.02
M05.03Show solution

A conjugate converts a radical difference into a factor

Require x≥0x\ge0, x+h≥0x+h\ge0, and h≠0h\ne0. Then

x+h−xhx+h+xx+h+x=(x+h)−xh(x+h+x)=1x+h+x.\frac{\sqrt{x+h}-\sqrt x}{h} \frac{\sqrt{x+h}+\sqrt x}{\sqrt{x+h}+\sqrt x} =\frac{(x+h)-x}{h(\sqrt{x+h}+\sqrt x)} =\boxed{\frac1{\sqrt{x+h}+\sqrt x}}.

The conjugate is nonzero: if both square roots were zero, then x=0x=0 and x+h=0x+h=0, forcing h=0h=0, already excluded. The identity is therefore valid on the full stated domain.

Back to M05.03
M05.04Show solution

Average rates do not determine all intermediate behavior

The rates are (5−2)/(1−0)=3(5-2)/(1-0)=3 and (11−5)/(3−1)=3(11-5)/(3-1)=3 m/s. But a curved position rule s(t)=2+3t+t(t−1)(t−3)s(t)=2+3t+t(t-1)(t-3) matches every listed value while changing its slope between them. Thus the table does not prove constant instantaneous velocity. It only fixes the two average rates.

Back to M05.04
M05.05Show solution

Displacement and distance

Net displacement is 1−0=11-0=1 m, so average velocity is 1/5 m/s\boxed{1/5\text{ m/s}}. Total distance is 5+4=95+4=9 m, so average speed is 9/5 m/s\boxed{9/5\text{ m/s}}. The return portion subtracts from displacement but adds to distance. Both denominators use the full elapsed time, 2+3=52+3=5 s.

Back to M05.05
M05.06Show solution

Division must reach every term

The numerator factors as h(2x+h−3)h(2x+h-3). Canceling the common nonzero factor gives 2x+h−3\boxed{2x+h-3}, not 2x+h2−32x+h^2-3. The student’s error was to divide the first and third terms by hh but leave the middle term unchanged. Equivalently, h2/h=hh^2/h=h, because one factor of hh remains.

Back to M05.06
M05.07Show solution

A cubic secant

Expand (a+h)3=a3+3a2h+3ah2+h3(a+h)^3=a^3+3a^2h+3ah^2+h^3. Subtract a3a^3 and divide by h≠0h\ne0:

3a2+3ah+h2.\boxed{3a^2+3ah+h^2}.

As hh approaches zero, the last two terms approach zero, leaving 3a23a^2. For finite nonzero hh the displayed quotient is an average rate, not automatically the limiting rate.

Back to M05.07
M05.08Show solution

Symmetric samples cancel the error for a quadratic

The forward quotient is (2xh+h2)/h=2x+h(2xh+h^2)/h=2x+h. The centered numerator is

(x+h)2−(x−h)2=(x2+2xh+h2)−(x2−2xh+h2)=4xh.(x+h)^2-(x-h)^2 =(x^2+2xh+h^2)-(x^2-2xh+h^2)=4xh.

Dividing by 2h2h gives 2x\boxed{2x}. Symmetry cancels the h2h^2 terms. This exactness is special to quadratic functions (and lower degrees), not a guarantee for every function; for x3x^3 the centered quotient is 3x2+h23x^2+h^2.

Back to M05.08

I. Retention and readiness#

Rework M01.07 and M02.01 before M05.02. Explain why hh is nonzero during cancellation. A correct explanation says that the two input points must be distinct and division by zero is undefined; it does not say “hh is basically zero.” Advance only after you can build a fresh quotient from scratch and name its units.