01 / 21

Estimating from
Graphs & Tables

Learn to approximate derivatives and integrals using discrete data: slopes between points and areas under curves.

Business Calculus

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

x y a b (far) b (close) tangent far secant close secant tangent

Three Types of Difference Quotients

Forward
\( \dfrac{f(a+h) - f(a)}{h} \)

Uses the point ahead of \( a \).
Backward
\( \dfrac{f(a) - f(a-h)}{h} \)

Uses the point behind \( a \).
Central
\( \dfrac{f(a+h) - f(a-h)}{2h} \)

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

Left Sum 0 1 2 3 4 Right Sum 0 1 2 3 4

The Core Formulas

Derivative Estimate
$$ f'(a) \approx \frac{f(a+h) - f(a-h)}{2h} $$ Central difference: use the two nearest data points flanking \( a \).
Integral Estimate
$$ \int_a^b f(x)\,dx \approx \sum_{i=0}^{n-1} f(x_i)\,\Delta x $$ Left Riemann sum with \( n \) rectangles of equal width \( \Delta x = \frac{b-a}{n} \).

Step-by-Step Approach

1
Identify the question: Are you estimating a derivative (rate) or an integral (total)?
2
Locate your data: Find the relevant rows in a table or points on a graph near the value of interest.
3
For derivatives: Compute \( \frac{\Delta y}{\Delta x} \) using the two closest data points. Prefer the central difference when possible.
4
For integrals: Multiply each function value by the subinterval width \( \Delta x \), then sum. State whether you used left, right, or midpoint.
5
Include units: Derivative units are \( \frac{\text{output}}{\text{input}} \). Integral units are output \( \times \) input.

Example 1: Derivative from a Table

A company tracks revenue \( R(t) \) in thousands of dollars over time \( t \) (years):

\( t \) 01234
\( R(t) \) 120145182210235

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 \) 01234
\( R(t) \) 120145182210235

Example 3: Derivative from a Graph

Estimate the slope of the curve at the green point using the two nearest labeled points.

t C(t) 0 10 20 30 1 2 3 4 5 (1, 5) (3, 22) (5, 30)

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 \).

t S(t) 0 1 2 3 4 20 40 60 80

Common Mistakes

Wrong \( \Delta x \)
Using 1 when the table spacing is actually 2, 5, or uneven. Always check the actual gap between your data points.
Mixing Up Left/Right
For a left sum, use the first \( n \) values. For a right sum, use the last \( n \) values. Off-by-one errors change the answer.
Forgetting Units
Derivative units: \(\text{output}/\text{input}\). Integral units: \(\text{output} \times \text{input}\). Missing units costs points on exams.

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

Using a central difference, what is the best estimate for \( f'(5) \)?

Question 2 of 5

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?