Skip to content

Unit 2: Differentiation: Definition and Fundamental Properties

Estimating Derivatives of a Function at a Point

Estimate a derivative from a table with the right difference quotient, from a graph with a tangent line, and with a calculator, and know each method's limits.

Topic 2.3 · 7 min read

The derivative is a limit as h→0h \to 0 (topic 2.1), but measured data stops at the measurements. If a thermometer was read at 10 minutes and at 12 minutes, there is no reading at 10.001 minutes to put in the difference quotient. So when a function is known only through a table or a graph, you estimate its derivative with the smallest interval you actually have, and you say it is an estimate.

From a table: the difference quotient on the tightest interval

To estimate f′(a)f'(a) from a table, compute the average rate of change over the shortest interval in the table that contains aa:

  • If aa falls between two table entries x1<a<x2x_1 < a < x_2, use those two: f′(a)≈f(x2)−f(x1)x2−x1f'(a) \approx \dfrac{f(x_2) - f(x_1)}{x_2 - x_1}.
  • If aa is itself a table entry with entries on both sides, use the entries on either side of it.
  • If aa is the first or last entry, the only choice is a one-sided quotient using its single neighbor.

The tightest interval is the best choice because a smaller hh puts the difference quotient closer to its limit. A wider interval measures the average behavior over a longer stretch, which can differ a lot from the behavior at aa.

Write the estimate with ≈\approx, show the quotient with the actual table values (that quotient is what earns credit), and give units: output units per input unit.

Why a centered quotient beats a one-sided one

When aa has table entries equally spaced on both sides, the centered (or symmetric) difference quotient

f′(a)≈f(a+h)−f(a−h)2hf'(a) \approx \frac{f(a + h) - f(a - h)}{2h}

is usually far more accurate than a one-sided quotient with the same hh. A one-sided secant on a curving graph tilts too much in one direction; the centered secant spans both sides of aa, and the errors from the two sides largely cancel. In fact, the centered quotient is exactly the average of the left-side and right-side quotients.

Topic 2.1 showed that f(x)=xf(x) = \sqrt{x} has f′(9)=16≈0.16667f'(9) = \frac{1}{6} \approx 0.16667. Compare two estimates using h=1h = 1:

EstimateValueError
one-sided, 10−91\dfrac{\sqrt{10} - \sqrt{9}}{1}0.162280.162280.004390.00439
centered, 10−82\dfrac{\sqrt{10} - \sqrt{8}}{2}0.166930.166930.000260.00026

The centered estimate is about 17 times closer. For a quadratic it is exact: (a+h)2−(a−h)22h=4ah2h=2a\frac{(a + h)^2 - (a - h)^2}{2h} = \frac{4ah}{2h} = 2a for every hh.

From a graph: the slope of a tangent line

On a graph, f′(a)f'(a) is the slope of the tangent line at x=ax = a. If the tangent line is drawn, pick two points on the line itself (not on the curve), as far apart as the picture allows and preferably at grid intersections, and compute rise over run. If it isn't drawn, lay a straightedge along the curve so that it touches at x=ax = a and matches the curve's direction there, then read its slope the same way. The result is an estimate whose accuracy depends on the drawing.

Two shortcuts are exact. Where the graph is a straight segment, f′f' at any interior point of the segment is the segment's slope. Where the graph has a horizontal tangent (a smooth peak or valley), f′f' is 00.

With technology

A graphing calculator computes the value of a derivative at a point numerically. On the TI-84 this is the ddx\frac{d}{dx} template (or the nDeriv command): you enter the function, the variable and the point. The calculator does not take a limit. It evaluates a centered difference quotient with a very small hh (the TI-84's default is h=0.001h = 0.001), which is accurate to many decimal places for the smooth functions on the exam.

Because it is only a difference quotient, the calculator returns a number even where the derivative does not exist:

  • for f(x)=∣x∣f(x) = |x| at x=0x = 0, the centered quotient is ∣0.001∣−∣−0.001∣0.002=0\frac{|0.001| - |-0.001|}{0.002} = 0, though ∣x∣|x| has a corner there and no derivative (topic 2.4);
  • for f(x)=x3f(x) = \sqrt[3]{x} at x=0x = 0, it is 0.1−(−0.1)0.002=100\frac{0.1 - (-0.1)}{0.002} = 100, though the tangent line there is vertical and has no slope.

So a calculator value is trustworthy only where you already know the function is differentiable.

Worked examples

Worked exampleExample 1: a cooling drink

A cup of tea cools on a counter. Its temperature T(t)T(t), in degrees Celsius, is measured at selected times tt, in minutes.

t (minutes)04101220T(t) (∘C)9078646049\begin{array}{c|ccccc} t \text{ (minutes)} & 0 & 4 & 10 & 12 & 20 \\ \hline T(t) \ (^\circ\text{C}) & 90 & 78 & 64 & 60 & 49 \end{array}

(a) Use the data in the table to estimate T′(7)T'(7). Using correct units, interpret the estimate.

(b) Use the data to estimate T′(20)T'(20).

Show solution

(a) The time t=7t = 7 lies between the entries t=4t = 4 and t=10t = 10, so use that interval:

T′(7)≈T(10)−T(4)10−4=64−786=−73≈−2.333 ∘C per minute.T'(7) \approx \frac{T(10) - T(4)}{10 - 4} = \frac{64 - 78}{6} = -\frac{7}{3} \approx -2.333 \ ^\circ\text{C per minute}.

At time t=7t = 7 minutes, the temperature of the tea is decreasing at a rate of about 2.333 degrees Celsius per minute.

Using t=0t = 0 and t=20t = 20 instead would give 49−9020=−2.05\frac{49 - 90}{20} = -2.05, the average cooling rate over the whole 20 minutes, which says little about minute 7.

(b) The time t=20t = 20 is the last entry, so only a one-sided quotient is possible:

T′(20)≈T(20)−T(12)20−12=49−608=−1.375 ∘C per minute.T'(20) \approx \frac{T(20) - T(12)}{20 - 12} = \frac{49 - 60}{8} = -1.375 \ ^\circ\text{C per minute}.

This interval is long and sits entirely before t=20t = 20. The tea's cooling slows as it nears room temperature, so the true rate at t=20t = 20 is probably smaller in size than 1.375.

Worked exampleExample 2: reading a slope from a graph

The graph of ff is shown below, together with the line tangent to it at x=2x = 2 (dashed).

The graph of f on about negative 0.2 to 5.6: a downward-opening curve that rises through (2, 4), levels off at a peak at about (3.5, 5.1), and descends to (5, 4). A dashed tangent line touches the curve at the marked point (2, 4) and passes through the grid point (4, 7).

(a) Estimate f′(2)f'(2).

(b) A student estimates f′(2)f'(2) with the average rate of change of ff over [2,4][2, 4]. What estimate does that give, and why is it poor here?

(c) Estimate the value of xx in 0<x<50 < x < 5 at which f′(x)=0f'(x) = 0.

Show solution

(a) The tangent line passes through (2,4)(2, 4) and (4,7)(4, 7), both on grid intersections, so

f′(2)≈7−44−2=32=1.5.f'(2) \approx \frac{7 - 4}{4 - 2} = \frac{3}{2} = 1.5.

(b) From the graph, f(4)=5f(4) = 5, so the secant slope is 5−44−2=0.5\frac{5 - 4}{4 - 2} = 0.5. The graph bends downward between x=2x = 2 and x=4x = 4, rising steeply at first and leveling off near x=3.5x = 3.5, so the secant line over [2,4][2, 4] is much flatter than the tangent line at x=2x = 2. An interval two units wide is too wide for a curve that bends this much.

(c) f′(x)=0f'(x) = 0 where the tangent line is horizontal, at the peak of the graph: x≈3.5x \approx 3.5.

Worked exampleExample 3: data and a model (exam level, calculator active)

The depth of water in a tidal channel is measured at selected times tt, in hours after midnight.

t (hours)025710D(t) (feet)3.04.44.83.71.5\begin{array}{c|ccccc} t \text{ (hours)} & 0 & 2 & 5 & 7 & 10 \\ \hline D(t) \text{ (feet)} & 3.0 & 4.4 & 4.8 & 3.7 & 1.5 \end{array}

(a) Use the data in the table to estimate D′(6)D'(6). Show the computations that lead to your answer. Using correct units, interpret your answer in the context of the problem.

(b) A model for the depth is M(t)=3+2sin⁡(0.4t)M(t) = 3 + 2\sin(0.4t) feet. Find M′(6)M'(6). Is the model's rate of change at t=6t = 6 consistent with your estimate from part (a)?

Show solution

(a) The time t=6t = 6 lies between t=5t = 5 and t=7t = 7:

D′(6)≈D(7)−D(5)7−5=3.7−4.82=−0.55 feet per hour.D'(6) \approx \frac{D(7) - D(5)}{7 - 5} = \frac{3.7 - 4.8}{2} = -0.55 \text{ feet per hour}.

At 6 a.m. (t=6t = 6 hours), the depth of the water is decreasing at a rate of about 0.55 foot per hour.

(b) With the calculator in radian mode, the numerical derivative of MM at t=6t = 6 gives

M′(6)=−0.590 feet per hourM'(6) = -0.590 \text{ feet per hour}

(the calculator shows −0.58991…-0.58991\ldots). The model has the depth falling at about 0.590 foot per hour at t=6t = 6, close to the estimate of 0.55 foot per hour from the data, so the two are consistent.

On a calculator-active free-response part, the setup M′(6)M'(6) and the three-decimal answer are what is scored; you do not need to differentiate by hand. Store unrounded values if they feed later parts.

Where students lose points

On the exam

A derivative estimate from a table can be asked on either section. On no-calculator parts, an unsimplified quotient like 3.7−4.82\frac{3.7 - 4.8}{2} is an acceptable answer. On calculator-active parts, a derivative value at a point is expected from the calculator rather than from hand work, reported correct to three decimal places.

Check yourself

  1. Question 1

    Values of a differentiable function ff are given in the table: f(1)=5f(1) = 5, f(3)=9f(3) = 9, f(4)=6f(4) = 6, f(8)=2f(8) = 2. Using the data, what is the best estimate of f′(3.5)f'(3.5)?

    1. A

      −3-3

    2. B

      13\dfrac{1}{3}

    3. C

      −37-\dfrac{3}{7}

    4. D

      22

    Show answer

    A

    The shortest interval in the table containing 3.53.5 is [3,4][3, 4], so f′(3.5)≈6−94−3=−3f'(3.5) \approx \frac{6 - 9}{4 - 3} = -3. Choice B uses [1,4][1, 4] and choice C uses [1,8][1, 8], both much wider; choice D uses [1,3][1, 3], which does not contain 3.5.

  2. Question 2

    For f(x)=x2f(x) = x^2, compute the centered difference quotient f(5.1)−f(4.9)0.2\dfrac{f(5.1) - f(4.9)}{0.2}. How does it compare with f′(5)f'(5), and why?

    Show answer

    It equals 1010, exactly f′(5)f'(5).

    26.01−24.010.2=20.2=10\frac{26.01 - 24.01}{0.2} = \frac{2}{0.2} = 10. For any quadratic the centered quotient is exact: (a+h)2−(a−h)22h=2a\frac{(a + h)^2 - (a - h)^2}{2h} = 2a, and f′(5)=2(5)=10f'(5) = 2(5) = 10.

  3. Question 3

    A calculator's numerical derivative of f(x)=∣x−2∣f(x) = |x - 2| at x=2x = 2 returns 00. Which statement is correct?

    1. A

      f′(2)=0f'(2) = 0, so the graph of ff has a horizontal tangent at x=2x = 2.

    2. B

      f′(2)f'(2) does not exist; the calculator's centered quotient averaged the slopes −1-1 and 11.

    3. C

      f′(2)f'(2) is 11, and the calculator rounded it.

    4. D

      ff is not continuous at x=2x = 2, so the calculator's value is meaningless.

    Show answer

    B

    The graph has a corner at x=2x = 2, with slope −1-1 on the left and 11 on the right, so the derivative does not exist there. A centered difference quotient straddles the corner and gets 00. Choice D is wrong because ff is continuous at 2; the failure is the corner, not a break.

  4. Question 4

    On a graph of ff, the line tangent at x=−1x = -1 is drawn and passes through the points (−3,2)(-3, 2) and (1,−4)(1, -4). Estimate f′(−1)f'(-1).

    Show answer

    f′(−1)≈−1.5f'(-1) \approx -1.5

    The slope of the tangent line is −4−21−(−3)=−64=−1.5\frac{-4 - 2}{1 - (-3)} = \frac{-6}{4} = -1.5. The two points are on the tangent line, not necessarily on the curve, which is exactly what you want for a tangent slope.

Go deeper