Estimating from
Graphs & Tables
Learn to approximate derivatives and integrals using discrete data: slopes between points and areas under curves.
Why Estimate from Data?
In real business scenarios, you rarely have a neat formula. Instead you have quarterly reports, sensor readings, or market snapshots: discrete data points on a graph or in a table.
Calculus still applies: you can approximate the instantaneous rate of change (derivative) and the accumulated total (integral) directly from this data.
Estimating the Derivative
The derivative \( f'(a) \) measures the instantaneous rate of change at \( x = a \). When we only have data points, we approximate it with a difference quotient:
This is the slope of the secant line through \( (a, f(a)) \) and \( (b, f(b)) \). It approximates the slope of the tangent line at \( a \).
Secant Line Approaches Tangent
Three Types of Difference Quotients
Uses the point ahead of \( a \).
Uses the point behind \( a \).
Averages both sides: most accurate.
Derivative vs. Integral Estimation
| Derivative Estimation | Integral Estimation | |
|---|---|---|
| Question asked | How fast is it changing at a point? | What is the total accumulation? |
| Tool | Difference quotient (slope) | Riemann sum (area) |
| From a graph | Slope of secant through two points | Sum of rectangular areas |
| From a table | \( \frac{\Delta y}{\Delta x} \) between rows | \( \sum f(x_i) \cdot \Delta x \) |
| Units | output units / input units | output units \( \times \) input units |
Estimating the Integral
The definite integral \( \displaystyle\int_a^b f(x)\,dx \) represents the signed area under the curve from \( a \) to \( b \). With data, we approximate it using Riemann sums:
Common choices for \( x_i^* \): left endpoint, right endpoint, or midpoint of each subinterval.
Left vs. Right Riemann Sums
The Core Formulas
Step-by-Step Approach
Example 1: Derivative from a Table
A company tracks revenue \( R(t) \) in thousands of dollars over time \( t \) (years):
| \( t \) | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| \( R(t) \) | 120 | 145 | 182 | 210 | 235 |
Estimate \( R'(2) \): the rate of revenue growth at \( t = 2 \).
Example 2: Integral from a Table
Using the same revenue data, estimate \( \displaystyle\int_0^4 R(t)\,dt \) with a left Riemann sum.
| \( t \) | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| \( R(t) \) | 120 | 145 | 182 | 210 | 235 |
Example 3: Derivative from a Graph
Estimate the slope of the curve at the green point using the two nearest labeled points.
Example 4: Integral from a Graph
A rate-of-sales function \( S(t) \) (units/month) is graphed below. Estimate \( \displaystyle\int_0^4 S(t)\,dt \) with a right Riemann sum using \( n = 4 \).
Common Mistakes
Summary: Estimation Toolkit
| Method | Formula | Best When |
|---|---|---|
| Forward Difference | \( \frac{f(a+h)-f(a)}{h} \) | Only data ahead of \( a \) |
| Backward Difference | \( \frac{f(a)-f(a-h)}{h} \) | Only data behind \( a \) |
| Central Difference | \( \frac{f(a+h)-f(a-h)}{2h} \) | Data on both sides |
| Left Riemann Sum | \( \sum f(x_i)\,\Delta x \) | Quick lower/upper bound |
| Right Riemann Sum | \( \sum f(x_{i+1})\,\Delta x \) | Quick lower/upper bound |
| Trapezoidal Rule | \( \frac{L_n + R_n}{2} \) | Best overall estimate |
Question 1 of 5
A table gives \( f(t) \) at \( t = 1, 3, 5, 7 \):
\( f(1) = 10,\; f(3) = 18,\; f(5) = 30,\; f(7) = 38 \)
Using a central difference, what is the best estimate for \( f'(5) \)?
Question 2 of 5
Revenue data: \( R(0)=50,\; R(2)=68,\; R(4)=90,\; R(6)=100 \) (in thousands of dollars), with \( t \) in years.
Estimate \( \displaystyle\int_0^6 R(t)\,dt \) using a left Riemann sum with \( \Delta t = 2 \).
Question 3 of 5
If \( f(2) = 10 \) and \( f(4) = 22 \), the forward difference estimate for \( f'(2) \) is:
Question 4 of 5
A right Riemann sum with 3 subintervals on \([0, 6]\) uses function values at which points?
Question 5 of 5
Which estimation method generally gives the most accurate derivative approximation from a data table?