Skip to content

Unit 2: Differentiation: Definition and Fundamental Properties

Defining Average and Instantaneous Rates of Change at a Point

Compute an average rate of change as a difference quotient, then take its limit to get the instantaneous rate of change, the derivative at a point.

Topic 2.1 · 8 min read

A ball is thrown upward from a 20-meter ledge, and its height after tt seconds is s(t)=20+15t−4.9t2s(t) = 20 + 15t - 4.9t^2 meters. Asking how fast it is rising over the first two seconds has an easy answer: divide the change in height by the elapsed time. Asking how fast it is rising at exactly t=1t = 1 is harder, because at a single instant no time passes and nothing changes, so the division becomes 00\frac{0}{0}. Calculus answers the second question by taking a limit of the first.

Average rate of change: the difference quotient

The average rate of change of ff over an interval from aa to bb is the change in output divided by the change in input:

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

Geometrically, it is the slope of the secant line, the line through the two points (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)) on the graph. Its units are output units per input unit: for height in meters and time in seconds, meters per second.

For the ball, over [0,2][0, 2]:

s(2)−s(0)2−0=30.4−202=5.2 meters per second.\frac{s(2) - s(0)}{2 - 0} = \frac{30.4 - 20}{2} = 5.2 \text{ meters per second}.

This says the ball gained height at 5.2 meters per second on average over those two seconds. It does not say the ball was moving at that speed at any particular moment. The ball rose faster at first and slower later.

When the interval starts at a fixed point aa, two ways of naming the other endpoint are standard, and they give the same quotient:

  • Call the other endpoint xx. The average rate over the interval between aa and xx is f(x)−f(a)x−a\dfrac{f(x) - f(a)}{x - a}.
  • Call the length of the step hh, so the other endpoint is a+ha + h. The average rate is f(a+h)−f(a)h\dfrac{f(a + h) - f(a)}{h}.

Either expression is called a difference quotient. Substituting x=a+hx = a + h turns the first into the second. The step hh may be negative, which puts the second point to the left of aa; the quotient is still the slope of the secant line between the two points. It is never allowed to be 00, since then there would be no interval and the quotient would be 00\frac{0}{0}.

From average to instantaneous: the limit

To get the rate at exactly t=1t = 1, compute the average rate over the interval from 11 to 1+h1 + h for a general hh, and then watch what happens as the interval shrinks. Expand first:

s(1+h)=20+15(1+h)−4.9(1+2h+h2)=30.1+5.2h−4.9h2.s(1 + h) = 20 + 15(1 + h) - 4.9(1 + 2h + h^2) = 30.1 + 5.2h - 4.9h^2.

Since s(1)=30.1s(1) = 30.1,

s(1+h)−s(1)h=5.2h−4.9h2h=5.2−4.9h,h≠0.\frac{s(1 + h) - s(1)}{h} = \frac{5.2h - 4.9h^2}{h} = 5.2 - 4.9h, \qquad h \neq 0.

Dividing by hh is legal because h≠0h \neq 0. Now the quotient is a simple expression in hh, and you can see where it goes:

hh22110.50.50.10.10.010.01−0.01-0.01−0.1-0.1
average rate over [1,1+h][1, 1 + h] (m/s)−4.6-4.60.30.32.752.754.714.715.1515.1515.2495.2495.695.69

From both sides, the average rates close in on 5.25.2, and the formula 5.2−4.9h5.2 - 4.9h shows exactly why: the error is 4.9h4.9h, which goes to 00 with hh. So at the instant t=1t = 1, the ball is rising at 5.2 meters per second.

Look at what the limit did. Plugging h=0h = 0 into the original quotient gives 00\frac{0}{0}, which carries no information. The algebra cancels the factor of hh that causes the 00\frac{0}{0} (the same move as the limits of topic 1.6), and then direct substitution into 5.2−4.9h5.2 - 4.9h finishes the job.

The graph of the ball's height s(t) on 0 to 3.4 seconds, a downward-opening parabola starting at height 20, peaking near 31.5 at about t = 1.5, and falling to about 14 at t = 3.4. Point P = (1, 30.1) is marked. Dashed secant lines join P to Q1 = (3, 20.9), Q2 = (2, 30.4), and Q3 = (1.5, 31.475), with slopes negative 4.6, 0.3 and 2.75. A solid tangent line through P has slope 5.2. As Q moves toward P, the secant lines rotate toward the tangent line.

The figure shows the same thing geometrically. As the second point QQ slides along the curve toward PP, the secant line through PP and QQ rotates, and its slope approaches the slope of the tangent line at PP, the line that touches the curve at PP and matches its direction there. Topic 2.2 writes equations for tangent lines.

"Provided the limit exists" is a real condition. For f(x)=∣x∣f(x) = |x| at a=0a = 0, the difference quotient is ∣h∣h\frac{|h|}{h}, which equals 11 for every h>0h > 0 and −1-1 for every h<0h < 0. The one-sided limits disagree, so there is no instantaneous rate of change at 00, which matches the sharp corner in the graph. Topic 2.4 sorts out when derivatives fail to exist.

Reading a limit as a derivative

Because the definition has a fixed shape, a limit in that shape can be recognized as a derivative without evaluating it. In

lim⁡h→0(4+h)2−16h,\lim_{h \to 0}\frac{(4 + h)^2 - 16}{h},

the pieces match f(a+h)−f(a)h\frac{f(a + h) - f(a)}{h} with f(x)=x2f(x) = x^2 and a=4a = 4, because (4+h)2(4 + h)^2 is f(4+h)f(4 + h) and 1616 is f(4)f(4). So the limit is f′(4)f'(4), the instantaneous rate of change of x2x^2 at x=4x = 4, which is also the slope of the parabola y=x2y = x^2 at the point (4,16)(4, 16). Expanding gives 8h+h2h=8+h→8\frac{8h + h^2}{h} = 8 + h \to 8.

The test is that the subtracted term must be the same function evaluated at the base point. In lim⁡x→4x2−16x−4\lim\limits_{x \to 4}\frac{x^2 - 16}{x - 4}, the term 1616 is f(4)f(4) for f(x)=x2f(x) = x^2 and the denominator is x−4x - 4, so this is the same derivative in the other form, and factoring x2−16=(x−4)(x+4)x^2 - 16 = (x - 4)(x + 4) gives 88 again.

Worked examples

Worked exampleExample 1: the definition with a square root

Use the definition of the derivative to find the instantaneous rate of change of f(x)=xf(x) = \sqrt{x} at x=9x = 9.

Show solution

The xx-form keeps the algebra short here:

f′(9)=lim⁡x→9x−3x−9.f'(9) = \lim_{x \to 9}\frac{\sqrt{x} - 3}{x - 9}.

Direct substitution gives 00\frac{0}{0}, so rewrite. For x≥0x \geq 0, the denominator factors as a difference of squares, x−9=(x−3)(x+3)x - 9 = (\sqrt{x} - 3)(\sqrt{x} + 3). For x≠9x \neq 9 the common factor cancels:

x−3(x−3)(x+3)=1x+3.\frac{\sqrt{x} - 3}{(\sqrt{x} - 3)(\sqrt{x} + 3)} = \frac{1}{\sqrt{x} + 3}.

This new expression is continuous at x=9x = 9, so the limit is found by substitution:

f′(9)=19+3=16.f'(9) = \frac{1}{\sqrt{9} + 3} = \frac{1}{6}.

At x=9x = 9, the square root grows by about 16\frac{1}{6} of a unit per unit increase in xx. That is slow because x\sqrt{x} flattens as xx grows.

Worked exampleExample 2: average versus instantaneous, with units

A tank is draining, and the volume of water in it is V(t)=400−40t+t2V(t) = 400 - 40t + t^2 liters, tt minutes after the drain is opened, for 0≤t≤200 \leq t \leq 20.

(a) Find the average rate of change of VV over 0≤t≤50 \leq t \leq 5. Using correct units, interpret it.

(b) Use the definition of the derivative to find the instantaneous rate of change of VV at t=5t = 5. Using correct units, interpret it.

Show solution

(a) V(0)=400V(0) = 400 and V(5)=400−200+25=225V(5) = 400 - 200 + 25 = 225, so

V(5)−V(0)5−0=225−4005=−35 liters per minute.\frac{V(5) - V(0)}{5 - 0} = \frac{225 - 400}{5} = -35 \text{ liters per minute}.

Over the first 5 minutes, the volume of water decreased at an average rate of 35 liters per minute.

(b) Expand V(5+h)V(5 + h):

V(5+h)=400−40(5+h)+(5+h)2=225−30h+h2.V(5 + h) = 400 - 40(5 + h) + (5 + h)^2 = 225 - 30h + h^2.

Then

V′(5)=lim⁡h→0V(5+h)−V(5)h=lim⁡h→0−30h+h2h=lim⁡h→0(−30+h)=−30.V'(5) = \lim_{h \to 0}\frac{V(5 + h) - V(5)}{h} = \lim_{h \to 0}\frac{-30h + h^2}{h} = \lim_{h \to 0}(-30 + h) = -30.

At time t=5t = 5 minutes, the volume of water is decreasing at a rate of 30 liters per minute.

The two answers differ because the draining slows down: it averaged 35 liters per minute over the first five minutes but is down to 30 at the five-minute mark. The interpretation in (a) names the interval, and the one in (b) names the instant. Swapping them is a wrong interpretation.

Worked exampleExample 3: recognizing a derivative (exam-style multiple choice)
lim⁡h→0(1+h)3+2(1+h)−3h is\lim_{h \to 0}\frac{(1 + h)^3 + 2(1 + h) - 3}{h} \text{ is}

(A) 00 (B) 33 (C) 55 (D) nonexistent

Show solution

Look for the shape f(a+h)−f(a)h\frac{f(a + h) - f(a)}{h}. With f(x)=x3+2xf(x) = x^3 + 2x and a=1a = 1, the numerator's first two terms are f(1+h)f(1 + h), and f(1)=1+2=3f(1) = 1 + 2 = 3 is the subtracted term. So the limit is f′(1)f'(1), which exists because ff is a polynomial, which rules out (D).

To get its value, expand (1+h)3=1+3h+3h2+h3(1 + h)^3 = 1 + 3h + 3h^2 + h^3:

1+3h+3h2+h3+2+2h−3h=5h+3h2+h3h=5+3h+h2→5.\frac{1 + 3h + 3h^2 + h^3 + 2 + 2h - 3}{h} = \frac{5h + 3h^2 + h^3}{h} = 5 + 3h + h^2 \to 5.

The answer is (C). Choice (A) comes from substituting h=0h = 0 into the numerator only, and (B) from keeping only the cube's contribution and dropping the 2h2h from 2(1+h)2(1 + h).

The same limit can also be read as g′(0)g'(0) for g(x)=(1+x)3+2(1+x)g(x) = (1 + x)^3 + 2(1 + x). A limit determines a number; it does not determine one function and one point. Both readings give 5.

Where students lose points

On the exam

Average rates of change appear constantly in free-response contexts, usually as "find the average rate of change of ff over the interval" followed by "using correct units, interpret." Multiple-choice questions often present a limit in the shape of the definition and ask for its value; when the function is one whose derivative you know, recognize it rather than expanding. Questions that say "use the definition of the derivative" require the limit, written with lim⁡\lim on every line until hh (or x−ax - a) is gone.

Check yourself

  1. Question 1

    What is the average rate of change of g(x)=x3−xg(x) = x^3 - x over the interval −1≤x≤2-1 \leq x \leq 2?

    Show answer

    22

    g(2)=8−2=6g(2) = 8 - 2 = 6 and g(−1)=−1+1=0g(-1) = -1 + 1 = 0, so the average rate is 6−02−(−1)=63=2\frac{6 - 0}{2 - (-1)} = \frac{6}{3} = 2. Dividing by 2 instead of by the interval's length 3 gives 3, which is the most common slip.

  2. Question 2

    If lim⁡x→4f(x)−f(4)x−4=−2\lim\limits_{x \to 4}\dfrac{f(x) - f(4)}{x - 4} = -2, which of the following must be true?

    1. A

      f(4)=−2f(4) = -2

    2. B

      The instantaneous rate of change of ff at x=4x = 4 is −2-2.

    3. C

      The average rate of change of ff over 0≤x≤40 \leq x \leq 4 is −2-2.

    4. D

      f(x)−f(4)=−2(x−4)f(x) - f(4) = -2(x - 4) for all xx.

    Show answer

    B

    The limit is the xx-form of the definition of f′(4)f'(4), so f′(4)=−2f'(4) = -2. It says nothing about the value f(4)f(4) (choice A) or about any interval of fixed length (choice C). Choice D would make ff a straight line; the limit only describes the slope at the single point x=4x = 4.

  3. Question 3

    For f(x)=x2−6xf(x) = x^2 - 6x, a student simplifies the difference quotient f(3+h)−f(3)h\dfrac{f(3 + h) - f(3)}{h} to hh. Is that right, and what is f′(3)f'(3)?

    Show answer

    Yes; f′(3)=0f'(3) = 0.

    f(3+h)=9+6h+h2−18−6h=h2−9f(3 + h) = 9 + 6h + h^2 - 18 - 6h = h^2 - 9 and f(3)=−9f(3) = -9, so the quotient is h2h=h\frac{h^2}{h} = h for h≠0h \neq 0. Its limit as h→0h \to 0 is 0: the parabola has a horizontal tangent at its vertex (3,−9)(3, -9).

  4. Question 4

    The limit lim⁡h→0(2+h)5−32h\lim\limits_{h \to 0}\dfrac{(2 + h)^5 - 32}{h} represents which of the following?

    1. A

      The value of x5x^5 at x=2x = 2

    2. B

      The average rate of change of x5x^5 over 0≤x≤20 \leq x \leq 2

    3. C

      The slope of the line tangent to the graph of y=x5y = x^5 at x=2x = 2

    4. D

      The slope of the line tangent to the graph of y=x5y = x^5 at x=32x = 32

    Show answer

    C

    The numerator is f(2+h)−f(2)f(2 + h) - f(2) for f(x)=x5f(x) = x^5, since f(2)=32f(2) = 32, so the limit is f′(2)f'(2), the slope of the tangent line at x=2x = 2. Choice D mistakes the output 3232 for the input; choice B is a secant slope over a fixed interval, which is 32−02=16\frac{32 - 0}{2} = 16, not a limit.

Go deeper