Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

Estimating Derivatives of a Function at a Point

Lesson ~10 min read

In simple terms: In simple terms, this topic is about how to make a smart guess for the instantaneous rate of change (the derivative) at a single point when you only have a table, a graph, or a calculator.

Why this matters

Imagine you're on a road trip from Dallas to Atlanta. Your friend is driving, and you're tracking the car's progress. You don't have a working speedometer, but every 15 minutes, you jot down the total miles traveled. At the three-hour mark, you wonder, "Exactly how fast were we going at this very moment?" You can't know for sure. But you can make a really good estimate.

You could calculate your average speed between 2 hours 45 minutes and 3 hours. Or your average speed between 3 hours and 3 hours 15 minutes. Better yet, you could average those two speeds together to get a sharp estimate for your speed at the 3-hour instant.

This is exactly what we're doing in calculus when we estimate derivatives. We're finding the instantaneous rate of change when we don't have a perfect function, just clues from a table or a graph. Let's learn how to turn those clues into solid estimates.

Concept overview

flowchart TD
    A[Start: Estimate f'(c)] --> B{What information do you have?};
    B --> C{Function f(x)};
    B --> D{Table of values};
    B --> E{Graph of f(x)};
    C --> C1[Use a calculator's nDeriv function];
    D --> D1[Find smallest interval around c, like (a, b)];
    D1 --> D2[Calculate slope: (f(b) - f(a)) / (b - a)];
    E --> E1[Draw the tangent line at x=c];
    E1 --> E2[Pick two points on the tangent line];
    E2 --> E3[Calculate slope between those two points];
    C1 --> F[Result is the estimated derivative];
    D2 --> F;
    E3 --> F;
This diagram is a flowchart that outlines the process for estimating a derivative at a point c. It starts by asking what information is given: a function, a table, or a graph. Each path then leads to the correct method: using a calculator for a function, calculating the slope over the smallest interval for a table, or drawing a tangent line for a graph.

Core explanation

Welcome back! In the last few topics, we've been building up the formal definition of the derivative. Now, we're going to get practical. The AP exam and the real world won't always hand you a nice, clean function like f(x) = x^2. Sometimes, you'll only have data points in a table or a picture of a graph.

Your goal is still the same: find the derivative, which means finding the slope at one specific point. But now, we have to estimate it. Let's break down the three ways you'll be asked to do this.

1. Estimating from a Table of Values

This is the most common scenario you'll see. Imagine a table that shows the temperature of a pizza, P(t), in degrees Fahrenheit, t minutes after it comes out of the oven.

t (minutes) 0 2 5 9 12
P(t) (°F) 450 380 290 210 180

Let's say we need to estimate the rate of change of the temperature at t = 5 minutes. In calculus terms, we want to estimate P'(5).

We can't use the limit definition of the derivative because we don't have a function. But we know the derivative is just a slope. So, we can calculate the slope of a line that's really close to the tangent line at t = 5. This is the slope of the secant line.

You have a few options:

  • Use the interval just before the point
    Calculate the slope between t=2 and t=5. Slope = (290 - 380) / (5 - 2) = -90 / 3 = -30 °F/min
  • Use the interval just after the point
    Calculate the slope between t=5 and t=9. Slope = (210 - 290) / (9 - 5) = -80 / 4 = -20 °F/min

Both are reasonable estimates. But which one is best?

The best estimate comes from the smallest possible interval that contains your point. In this case, the interval from t=2 to t=9 contains t=5.

So, for t=5, the best estimate uses the points at t=2 and t=9. P'(5) ≈ (P(9) - P(2)) / (9 - 2) = (210 - 380) / 7 = -170 / 7 ≈ -24.286 °F/min

This method is called the symmetric difference quotient when the points are equally spaced. It's like our road trip example: we're averaging our speed from a little before our target time and a little after. It gives us a more balanced picture.

2. Estimating from a Graph

What if you're given a graph of a function, say y = g(x), and asked to estimate g'(1)?

Here, the derivative g'(1) is the slope of the tangent line to the curve at x = 1. Your job is to be an artist and a mathematician.

  1. 1
    Find the point
    Locate x = 1 on the graph.
  2. 2
    Draw the tangent line
    Take a straightedge (like a ruler or the side of your ID card) and carefully draw a line that just "kisses" the curve at that one point. The line should match the steepness of the curve at that exact spot.
  3. 3
    Calculate the slope of your line
    Now, ignore the curve and focus on the straight line you just drew. Pick two points on your line that are easy to read from the grid. Let's say your line appears to go through (0, 1.5) and (3, 0).
  4. 4
    Use the slope formula
    m = (y₂ - y₁) / (x₂ - x₁) g'(1) ≈ (0 - 1.5) / (3 - 0) = -1.5 / 3 = -0.5

Because you are drawing the line, your estimate might be slightly different from a classmate's. That's okay! On the AP exam, they provide a range of acceptable answers for these questions. The key is to show your work by listing the two points you used to calculate the slope of your tangent line.

3. Using Technology

Finally, the easiest method! Your graphing calculator is a powerful tool for estimating derivatives. If you are given a function, like f(x) = x * cos(x), and asked for f'(2), you can use your calculator's built-in numerical derivative tool.

On a TI-84 calculator, the steps are:

  1. Press the MATH button.
  2. Scroll down to 8: nDeriv( and press ENTER.
  3. You'll see a template that looks like this: d/dx ( ) | x =
  4. Fill it in:
    • The variable is x.
    • The function is x * cos(x).
    • The point is x = 2.

Your screen will look like this:

d/dx (x*cos(x)) | x = 2

Press ENTER, and the calculator will give you the estimate: ≈ -2.728.

The calculator isn't doing magic. It's using a very, very precise version of the symmetric difference quotient with a tiny value for h (like h = 0.001). It calculates (f(2.001) - f(1.999)) / 0.002 to get an incredibly accurate estimate.

So, whether you have a table, a graph, or a function with a calculator, you have a strategy to find the instantaneous rate of change.

Worked examples

Let's walk through a couple of examples together so you can see these methods in action.

Example 1

Estimating from a Table

The population of a suburban town, P, is modeled by a differentiable function of time t, where t is years since 2010. The table below gives values of P(t) for selected years.

t (years) 0 3 4 7 9
P(t) (people) 12,500 13,100 13,400 14,200 14,900

Problem: Estimate the rate at which the population was changing in the year 2014. Show the computations that lead to your answer and indicate units of measure.

Solution Walkthrough:

  1. 1
    Identify the Goal
    The question asks for the "rate at which the population was changing" in 2014. This is code for the derivative. The year 2014 corresponds to t = 4. So, we need to estimate P'(4).
  2. 2
    Locate the Point in the Table
    Find t = 4 in our table. The data points immediately surrounding it are at t = 3 and t = 7.
  3. 3
    Choose the Best Method
    Since we have data on both sides of t = 4, we should use the average rate of change over the interval [3, 7]. This will give us the most balanced estimate.
  4. 4
    Perform the Calculation
    We'll use the slope formula with the points (3, 13100) and (7, 14200). P'(4) ≈ (P(7) - P(3)) / (7 - 3) P'(4) ≈ (14200 - 13100) / 4 P'(4) ≈ 1100 / 4 P'(4) ≈ 275
  5. 5
    State the Final Answer with Units
    The units for a derivative are always (units of y) / (units of x). Here, that's people / year. Answer: The population was changing at an estimated rate of 275 people per year in 2014.
Example 2

Estimating from a Graph

The graph of a function f(x) is shown below.

(Imagine a smooth, curvy graph. Let's say it passes through (-2, 3), has a local max near x=-1, passes through (0, 1), has a local min near x=1.5, and passes through (3, 0).)

Problem: Estimate the value of f'(0).

Solution Walkthrough:

  1. 1
    Identify the Goal
    We need to find the slope of the tangent line at x = 0.
  2. 2
    Locate the Point and Draw the Tangent
    Find x = 0 on the graph. The point is (0, 1). Now, take a straightedge and draw a line that just touches the curve at (0, 1) and has the same slope as the curve at that point. The curve is decreasing at x=0, so our line should have a negative slope.
  3. 3
    Find Two Points on Your Tangent Line
    Look carefully at the line you just drew. Find two points on it that are easy to read. Let's say your line appears to pass perfectly through (0, 1) and (2, -1). (Note: Your points might be slightly different, like (-1, 2) and (1, 0). That's okay! The process is what matters.)
  4. 4
    Calculate the Slope
    Use the slope formula with the two points you chose from your tangent line. f'(0) ≈ (y₂ - y₁) / (x₂ - x₁) f'(0) ≈ (-1 - 1) / (2 - 0) f'(0) ≈ -2 / 2 f'(0) ≈ -1
  5. 5
    State the Final Answer
    The estimated value of f'(0) is -1.

Try it yourself

Ready to try a couple on your own? Don't worry about getting the perfect answer; focus on applying the right process.

Problem 1 (Table): Maya is flying a drone. The drone's altitude A(t) in feet at time t in seconds is given in the table below.

t (seconds) 0 10 12 15 20
A(t) (feet) 5 60 72 90 110

Estimate A'(12). What are the units of your answer?

Hint: What's the smallest interval in the table that contains t=12? Use the endpoints of that interval to calculate the slope.


Problem 2 (Graph): Consider the graph of h(x) below. Estimate h'(-2).

(Imagine a graph that goes through (-4, 0), has a sharp corner (a "cusp") at (-3, 2), goes through (-2, 1), and has a horizontal tangent at (0, -1).)

Hint: Carefully draw a tangent line at x = -2. Then, find two points on that line and calculate the rise over run. What do you notice about the slope at x = -3? Can you estimate it?