
Session 05-02 - The Derivative as Rate of Change
Section 05: Differential Calculus
Entry Quiz
Quick Review from Session 05-01
Test your understanding of limits and continuity
Evaluate: \(\lim_{x \to 3} \frac{x^2 - 9}{x - 3}\)
For \(f(x) = \begin{cases} x^2 & \text{if } x < 2 \\ 4 & \text{if } x = 2 \\ 2x & \text{if } x > 2 \end{cases}\), is \(f\) continuous at \(x = 2\)?
A taxi charges 5 EUR for trips up to 5km, then 8 EUR for trips over 5km. Is the cost function continuous at 5km?
If \(\lim_{x \to a} f(x) = L\), must \(f(a) = L\)? Explain.
Limit evaluation:
- Factor: \(\frac{(x-3)(x+3)}{x-3} = x + 3\) for \(x \neq 3\)
- Therefore: \(\lim_{x \to 3} \frac{x^2 - 9}{x - 3} = 6\)
Continuity check:
- \(f(2) = 4\) ✓ (defined)
- \(\lim_{x \to 2^-} f(x) = 2^2 = 4\)
- \(\lim_{x \to 2^+} f(x) = 2(2) = 4\)
- Since all three equal 4, YES, continuous at x = 2
Taxi cost:
- Left limit: 5 EUR
- Right limit: 8 EUR
- Since left ≠ right, NO, not continuous (jump discontinuity)
Limit vs function value:
- NO, the limit can exist without \(f(a)\) being defined
- Example: removable discontinuities (holes)
- Limits describe approaching behavior, not the actual value
Homework Discussion
Your questions from Session 05-01
What questions do you have regarding the tasks?
Learning Objectives
What You’ll Master Today
- Understand rate of change as slope between points
- Develop the derivative from average to instantaneous rates
- Master derivative notation and terminology
- Apply marginal analysis to business decisions
- Interpret derivatives in economic contexts
The derivative measures how things change right now, the instantaneous rate of change. This is the foundation of all calculus!
Average Rate
Slope Review
Remember from linear functions: slope measures rate of change.
- Formula: \(m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}\)
- Interpretation: How much \(y\) changes per unit change in \(x\)
- Business meaning: Rate of growth, cost per unit, etc.
Question:If revenue increases from 1000 EUR to 1500 EUR when production goes from 10 to 15 units, by how much does revenue increase per additional unit?
Revenue increases by 100 EUR per additional unit.
Average Rate of Change
For ANY function (not just linear), we can measure average change:
Average Rate of Change from \(a\) to \(b\): \[\text{ARC} = \frac{f(b) - f(a)}{b - a}\]
- This is the slope of the secant line through \((a, f(a))\) and \((b, f(b))\)
- Tells us the average change over an interval
- For linear functions, ARC is constant
- For nonlinear functions, ARC varies by interval
Visual: Secant Line
Average rate of change from \(x=1\) to \(x=4\) is 3 (the slope of the secant line).
Business Example: Revenue Growth
A company’s monthly revenue (in thousands EUR): \(R(t) = 2t^2 + 5t + 10\).

Notice: Revenue grows faster in later months (steeper secant line)!
Quick Practice
Calculate Average Rates
Work individually for 5 minutes
For \(f(x) = x^2 + 3x\):
Find the average rate of change from \(x = 1\) to \(x = 3\)
Find the average rate of change from \(x = 1\) to \(x = 2\)
Find the average rate of change from \(x = 1\) to \(x = 1.5\)
What pattern do you notice as the interval gets smaller?
From x = 1 to x = 3:
- \(f(1) = 1 + 3 = 4\)
- \(f(3) = 9 + 9 = 18\)
- \(\text{ARC} = \frac{18 - 4}{3 - 1} = \frac{14}{2} = 7\)
From x = 1 to x = 2:
- \(f(2) = 4 + 6 = 10\)
- \(\text{ARC} = \frac{10 - 4}{2 - 1} = 6\)
From x = 1 to x = 1.5:
- \(f(1.5) = 2.25 + 4.5 = 6.75\)
- \(\text{ARC} = \frac{6.75 - 4}{1.5 - 1} = \frac{2.75}{0.5} = 5.5\)
Pattern:
- As the interval gets smaller (closer to x = 1), the average rate approaches 5
- This suggests the instantaneous rate of change at x = 1 is 5!
Instantaneous Rate
The Limit Process
What if we want the rate of change at a single point?
- Average rate needs TWO points
- At ONE point, there’s no interval to measure over
- Solution: Make the interval infinitesimally small!
- Use limits to let the second point approach the first
Instantaneous Rate of Change at \(x = a\): \(\lim_{h \to 0} \frac{f(a + h) - f(a)}{h}\)
This limit (if it exists) is called the derivative of \(f\) at \(a\).
Visual: Secant Becoming Tangent

As \(h \to 0\), the secant line approaches the tangent line!
The Derivative Definition
The derivative of \(f\) at \(x = a\) is: \[f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}\]
- Geometric meaning: Tangential gradient (slope of the tangent) at \((a, f(a))\)
- Physical meaning: Instantaneous rate of change
- Verbal: “f prime of a” or “the derivative of f at a”
The derivative is the LIMIT of average rates of change, not just “a very small” average rate!
Derivative from the Definition
Example: Find \(f'(2)\) if \(f(x) = x^2\).
Definition: \(f'(2) = \lim_{h \to 0} \frac{f(2 + h) - f(2)}{h}\)
Substitute: \(= \lim_{h \to 0} \frac{(2+h)^2 - 4}{h}\)
Expand & factor: \(= \lim_{h \to 0} \frac{4h + h^2}{h} = \lim_{h \to 0}(4 + h)\)
Evaluate: \(= 4\) → The tangential gradient at \(x = 2\) is 4, bigger than the slope 2 of the secant on \([0; 2]\)
Not too complicated, right?
Notation & Terms
The Derivative as a Function
When \(f'(x)\) (not \(f'(a)\)), we mean the derivative at ANY point \(x\):
\[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\]
- This defines a NEW function \(f'\) from the original function \(f\)
- \(f'(x)\) gives the tangential gradient at each \(x\)
Example: If \(f(x) = x^2\), then \(f'(x) = 2x\) (we’ll prove this soon!)
- At \(x = 1\): slope is \(2(1) = 2\) and at \(x = 3\): slope is \(2(3) = 6\), so the function gets steeper as \(x\) increases
Multiple Notations
There are several ways to write “the derivative of \(f\) at \(x\)”:
| Notation | Read as | Context |
|---|---|---|
| \(f'(x)\) | “f prime of x” | Function notation |
| \(\frac{df}{dx}\) | “derivative of f with respect to x” | Leibniz notation |
| \(\frac{dy}{dx}\) | “dy dx” | When y = f(x) |
| \(\frac{d}{dx}[f(x)]\) | “d dx of f of x” | Operator notation |
We’ll primarily use \(f'(x)\) for general work and \(\frac{dy}{dx}\) when emphasizing the variables.
Differentiability vs Continuity
Not every function has a derivative everywhere!
- If \(f'(a)\) exists, we say \(f\) is differentiable at \(a\)
- Theorem: If \(f\) is differentiable at \(a\), then \(f\) is continuous at \(a\)
- Converse is false: Continuous functions may not be differentiable
Question: Ever hear the word Theorem before?
A Theorem is basically a statement that has been proven to be true.
Continuous but not differentiable

At \(x = 0\), the limit doesn’t exist (left and right slopes differ).
Practice: Derivative from Definition
Work in pairs for 15 minutes
Use the limit definition to find \(f'(a)\) at the given point:
\(f(x) = 3x + 2\) at \(a = 1\)
\(f(x) = x^2 - 4x\) at \(a = 3\)
\(f(x) = \frac{1}{x}\) at \(a = 2\)
Interpret each derivative: what does the value tell you?
- \(f(x) = 3x + 2\) at \(a = 1\):
\[\begin{align} f'(1) &= \lim_{h \to 0} \frac{f(1+h) - f(1)}{h} \\ &= \lim_{h \to 0} \frac{[3(1+h) + 2] - [3 + 2]}{h} \\ &= \lim_{h \to 0} \frac{3 + 3h + 2 - 5}{h} \\ &= \lim_{h \to 0} \frac{3h}{h} = 3 \end{align}\]
Interpretation: The function increases at a constant rate of 3 units per unit increase in x.
- \(f(x) = x^2 - 4x\) at \(a = 3\):
\[\begin{align} f'(3) &= \lim_{h \to 0} \frac{f(3+h) - f(3)}{h} \\ &= \lim_{h \to 0} \frac{[(3+h)^2 - 4(3+h)] - [9 - 12]}{h} \\ &= \lim_{h \to 0} \frac{[9 + 6h + h^2 - 12 - 4h] - (-3)}{h} \\ &= \lim_{h \to 0} \frac{-3 + 2h + h^2 + 3}{h} \\ &= \lim_{h \to 0} \frac{2h + h^2}{h} \\ &= \lim_{h \to 0} (2 + h) = 2 \end{align}\]
Interpretation: At x = 3, the function is increasing at a rate of 2 units per unit increase in x.
- \(f(x) = \frac{1}{x}\) at \(a = 2\):
\[\begin{align} f'(2) &= \lim_{h \to 0} \frac{f(2+h) - f(2)}{h} \\ &= \lim_{h \to 0} \frac{\frac{1}{2+h} - \frac{1}{2}}{h} \\ &= \lim_{h \to 0} \frac{1}{h} \cdot \frac{2 - (2+h)}{2(2+h)} \\ &= \lim_{h \to 0} \frac{-h}{h \cdot 2(2+h)} \\ &= \lim_{h \to 0} \frac{-1}{2(2+h)} = \frac{-1}{4} \end{align}\]
Interpretation: At x = 2, the function is decreasing at a rate of 0.25 units per unit increase in x (negative slope means decreasing).
General interpretation:
- Positive derivative: function increasing
- Negative derivative: function decreasing
- Larger magnitude: faster rate of change
Break
Marginal Analysis
The Marginal Concept
In economics, “marginal” means “the next one”:
- Marginal cost: Cost of producing one more unit
- Marginal revenue: Revenue from selling one more unit
- Marginal profit: Profit from one more unit
Question: How can we apply this now with what we’ve learned?
The derivative tells us the instantaneous rate of increase in cost per unit of production.
Derivatives Give Marginal Values
True marginal cost at \(x = 100\) units: \[MC(100) = C(101) - C(100)\]
But this is approximately: \[C'(100) = \lim_{h \to 0} \frac{C(100 + h) - C(100)}{h}\]
When \(h = 1\) (one more unit), the approximation is very good: \[C'(100) \approx \frac{C(101) - C(100)}{1} = C(101) - C(100)\]
Example: Marginal Cost
A factory’s total cost function is: \(C(x) = 1000 + 5x + 0.01x^2\).

\(MC(100) = C'(100) = 5 + 0.02(100) = 7\text{ EUR}\) per unit
Marginal Revenue
Revenue: \(R(x) = x \cdot p = x(100 - 0.5x) = 100x - 0.5x^2\)

Revenue is maximized when \(MR = 0\)!
Marginal Profit
Since \(P(x) = R(x) - C(x)\), we have:
\[P'(x) = R'(x) - C'(x)\]
Marginal profit = Marginal revenue − Marginal cost
- Produce more if \(MR > MC\) (next unit adds more revenue than cost)
- Produce less if \(MR < MC\) (next unit costs more than it earns)
- Optimal: \(MR = MC\) (marginal revenue equals marginal cost)
Makes sense, right? Profit is maximized when \(MR = MC\)!
Practice Set: Marginal Analysis I
Work for 5 minutes
Use the given derivatives to answer each question:
Cost function \(C(x) = 500 + 3x + 0.02x^2\)
- Given: \(C'(x) = 3 + 0.04x\)
- Calculate \(C'(50)\) and interpret what it means for the business
Revenue function \(R(x) = 80x - 0.5x^2\)
- Given: \(R'(x) = 80 - x\)
- At what quantity does \(R'(x) = 0\)? What does this mean?
Practice Set: Marginal Analysis II
Work for 5 minutes
Use the given derivatives to answer each question:
Given: \(P'(x) = R'(x) - C'(x) = 77 - 1.04x\)
- What production level maximizes profit (set \(P'(x) = 0\))?
Interpretation: If \(C'(100) = 7\) and \(R'(100) = 5\), should the company increase or decrease production?
Marginal cost:
- \(C'(x) = 3 + 0.04x\)
- \(C'(50) = 3 + 2 = 5\text{ EUR}\) per unit
- Meaning: The 51st unit costs approximately 5 EUR more to produce
Marginal revenue:
- \(R'(x) = 80 - x\)
- \(R'(x) = 0\) when \(x = 80\)
- Meaning: Revenue is maximized at 80 units (after this, each additional sale reduces total revenue due to price drops)
Profit maximization:
- \(P(x) = 80x - 0.5x^2 - 500 - 3x - 0.02x^2\)
- \(P(x) = -0.52x^2 + 77x - 500\)
- \(P'(x) = -1.04x + 77\)
- \(P'(x) = 0 \implies x = 77/1.04 \approx 74\) units
Interpretation:
- Marginal profit = \(R'(100) - C'(100) = 5 - 7 = -2\)
- Negative marginal profit means producing unit 101 would decrease total profit by 2 EUR
- Decision: Decrease production! They’re past the optimal point.
Team Problem-Solving
Coffee Shop Economics
Daily profit in euros from \(x\) drinks sold: \[P(x) = -0.02x^2 + 8x - 200\]
Find the average rate of change of profit from 100 to 150 drinks.
Estimate \(P'(150)\) by computing \(\frac{P(151) - P(150)}{1}\).
Interpret: What does \(P'(150)\) tell the shop owner?
Determine: Should they try to sell more than 150 drinks?
Find where \(P'(x) = 0\) by solving \(8 - 0.04x = 0\).
Explain the business significance of the point where \(P'(x) = 0\).
Average rate of change:
- \(P(100) = -0.02(10000) + 800 - 200 = 400\)
- \(P(150) = -0.02(22500) + 1200 - 200 = 550\)
- \(\text{ARC} = \frac{550 - 400}{150 - 100} = \frac{150}{50} = 3\) EUR/drink
Marginal profit at x = 150:
- \(P(151) = -0.02(22801) + 1208 - 200 = 551.98\)
- \(P'(150) \approx P(151) - P(150) = 551.98 - 550 = 1.98\) EUR/drink
Interpretation:
- The 151st drink will add approximately 2 EUR to daily profit
- Profit is still increasing at 150 drinks
Should they sell more?
- Yes! Since \(P'(150) > 0\), profit is still increasing
- Each additional drink (near 150) adds about 2 EUR in profit
- Continue until \(P'(x) = 0\)
Finding where \(P'(x) = 0\):
- \(8 - 0.04x = 0\)
- \(0.04x = 8\)
- \(x = 200\) drinks
Business significance of \(P'(x) = 0\):
- At x = 200, marginal profit is zero
- This is where profit is maximized (600 EUR)
- Selling fewer or more than 200 drinks reduces profit
- Optimal production: 200 specialty drinks per day

Coffee Break
FSP Workshop
Problem 1: Hot-Smoked Salmon
A smokehouse (a food company that smokes fish) hot-smokes salmon fillets in a smoking chamber with an air temperature of 80 °C. A probe (a thermometer pushed into the thickest fillet) measures the core temperature, the temperature in the middle of the fillet. In a test run of 50 minutes, the core temperature in °C is described by
\[T(t) = -0.015t^2 + 1.95t + 9, \qquad 0 \leq t \leq 50\]
where \(t\) is the time in minutes after the fillets go into the chamber.
Smoking: Average Rates
- Compute the average rate of change of \(T\) on \([0; 20]\) and on \([30; 50]\). Give the units and interpret both values. Explain what the difference between the two values tells you about the smoking process. [4 pts.]
- The values of \(T\) at the interval ends:
\[ T(0) = 9, \quad T(20) = -6 + 39 + 9 = 42, \quad T(30) = -13.5 + 58.5 + 9 = 54, \quad T(50) = -37.5 + 97.5 + 9 = 69 \]
Average rate of change \(\frac{T(b) - T(a)}{b - a}\), the slope of the secant:
\[ \frac{T(20) - T(0)}{20 - 0} = \frac{42 - 9}{20} = 1.65, \qquad \frac{T(50) - T(30)}{50 - 30} = \frac{69 - 54}{20} = 0.75 \]
The unit is °C per minute. In the first 20 minutes, the core warms on average by 1.65 °C per minute. From minute 30 to minute 50, it warms on average by only 0.75 °C per minute.
The core still gets warmer, but more and more slowly: the secants get flatter, so the graph of \(T\) flattens. The closer the core comes to the 80 °C of the chamber air, the more slowly it warms.
Grading: 1 Pt. \(T(0)\), \(T(20)\), \(T(30)\), \(T(50)\), 1 Pt. both average rates with the unit °C per minute, 1 Pt. interpretation of both values, 1 Pt. explanation: the warming slows down.
Smoking: The Limit Definition
- Show with the limit definition that \(T'(t) = 1.95 - 0.03t\). [3 pts.]
- Insert \(t + h\) and expand:
\[ T(t + h) = -0.015(t^2 + 2th + h^2) + 1.95t + 1.95h + 9 = -0.015t^2 - 0.03th - 0.015h^2 + 1.95t + 1.95h + 9 \]
Subtract \(T(t)\). The terms \(-0.015t^2\), \(1.95t\) and \(9\) cancel:
\[ T(t + h) - T(t) = -0.03th - 0.015h^2 + 1.95h = h(1.95 - 0.03t - 0.015h) \]
Divide by \(h \neq 0\) and let \(h \to 0\):
\[ T'(t) = \lim_{h \to 0} \frac{h(1.95 - 0.03t - 0.015h)}{h} = \lim_{h \to 0} (1.95 - 0.03t - 0.015h) = 1.95 - 0.03t \quad \checkmark \]
Grading: 1 Pt. difference quotient with \(T(t + h)\) expanded, 1 Pt. \(T(t + h) - T(t) = h(1.95 - 0.03t - 0.015h)\), 1 Pt. cancelling \(h\) and the limit.
Smoking: Rates at a Moment
- Compute \(T'(0)\) and \(T'(50)\) and interpret both values with units. Compute the average rate of change of \(T\) on \([0; 50]\). Determine the moment (in minutes after the start) at which the core warms exactly at this average rate and explain what this means for the tangent and the secant. [5 pts.]
(for verification: \(T'(t) = 1.95 - 0.03t\))
- Instantaneous rates of change, the slopes of the tangents:
- \(T'(0) = 1.95\) °C per minute: right at the start, the core warms by about 1.95 °C per minute. The tangent at \((0, 9)\) has slope 1.95.
- \(T'(50) = 1.95 - 1.5 = 0.45\) °C per minute: at the end of the test run, the core warms by only about 0.45 °C per minute. The tangent at \((50, 69)\) is much flatter.
Average rate of change on \([0; 50]\):
\[ \frac{T(50) - T(0)}{50 - 0} = \frac{69 - 9}{50} = 1.2 \]
The core warms on average by 1.2 °C per minute.
Instantaneous rate = average rate:
\[ 1.95 - 0.03t = 1.2 \iff 0.03t = 0.75 \iff t = 25 \]
Check: \(T'(25) = 1.95 - 0.75 = 1.2\). At minute 25, the core warms exactly at the average rate of the whole test run. There, the tangent to the graph of \(T\) has the same slope as the secant through \((0, 9)\) and \((50, 69)\): tangent and secant are parallel.
Grading: 1 Pt. \(T'(0) = 1.95\) °C per minute with interpretation, 1 Pt. \(T'(50) = 0.45\) °C per minute with interpretation, 1 Pt. average rate 1.2 °C per minute, 1 Pt. equation \(T'(t) = 1.2\), 1 Pt. \(t = 25\) with check and parallel tangent.
Smoking: The Safety Check
The food-safety plan requires a core temperature of at least 63 °C. A trainee argues: “On average, the core warms by 1.2 °C per minute. It starts at 9 °C, so it reaches 63 °C after \(\frac{63 - 9}{1.2} = 45\) minutes.”
- Determine the time at which the core temperature reaches 63 °C and assess the trainee’s argument. [4 pts.]
- Set \(T(t) = 63\) and bring the equation into standard form. The last step divides by \(-0.015\):
\[ -0.015t^2 + 1.95t + 9 = 63 \iff -0.015t^2 + 1.95t - 54 = 0 \iff t^2 - 130t + 3600 = 0 \]
Quadratic formula with \(a = 1\), \(b = -130\), \(c = 3600\):
\[ t = \frac{130 \pm \sqrt{130^2 - 4 \cdot 3600}}{2} = \frac{130 \pm \sqrt{2500}}{2} = \frac{130 \pm 50}{2}, \qquad t_1 = 40, \quad t_2 = 90 \]
\(t_2 = 90\) lies outside the test run \([0; 50]\). The core reaches 63 °C after 40 minutes. Check: \(T(40) = -24 + 78 + 9 = 63\).
The trainee’s argument is wrong: 45 minutes is 5 minutes too late. The 1.2 °C per minute is the slope of the secant over the whole 50 minutes. The trainee treats it as a constant rate, as if the graph were a straight line. But in the first 25 minutes, the core warms faster than 1.2 °C per minute (part c), so it reaches 63 °C earlier. After 45 minutes, the core already has \(T(45) = 66.375 \approx 66.4\) °C.
Grading: 1 Pt. equation in standard form, 1 Pt. quadratic formula with \(t = 40\) and \(t = 90\), 1 Pt. \(t = 40\) with reason and check, 1 Pt. assessment: 5 minutes too late, the average rate is not a constant rate.
Wrap-Up & Takeaways
Drive the Car
Accelerate for a few seconds, coast, then brake to a stop. Before you drive, predict which graph will go flat as soon as you start coasting and which will keep rising.
Select Start, then hold → to accelerate or ← to brake. Release to coast. Select Pause to compare the graphs.
Hold a pedal. Release to coast.
Ready to drive.
While coasting, the car covers equal distances in equal times. Its position graph rises in a straight line. Its velocity graph is flat, and acceleration is zero. When you brake, the position graph still rises until the car stops, but it gets less steep.
The slope of the position graph gives velocity, \(v(t) = x'(t)\). The slope of the velocity graph gives acceleration, \(a(t) = v'(t)\).
Today’s Essential Concepts
- Average rate of change is the slope of a secant line
- Instantaneous rate is the limit as the interval shrinks to zero
- The derivative \(f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\)
- Marginal analysis: Derivatives give marginal cost, revenue, profit
- Optimization: Maximize profit where \(MR = MC\) (where \(P'(x) = 0\))
The derivative is THE fundamental tool in calculus. It measures instantaneous rate of change. It tells us how things are changing right now!
Final Assessment
Quick Check
Work individually, then we discuss
If \(f(3) = 7\) and \(f(3.1) = 7.5\), estimate \(f'(3)\).
A cost function has \(C'(200) = 8\). What does this tell you?
For profit maximization, we set _______ = _______.
True or False: If a function is continuous at \(x = a\), it must be differentiable at \(x = a\).
Estimate of \(f'(3)\): \[f'(3) \approx \frac{f(3.1) - f(3)}{3.1 - 3} = \frac{7.5 - 7}{0.1} = \frac{0.5}{0.1} = 5\]
Interpretation of \(C'(200) = 8\):
- The marginal cost at 200 units is 8 EUR
- The 201st unit costs approximately 8 EUR to produce
- Cost is increasing at a rate of 8 EUR per unit at this production level
Profit maximization:
- Set MR = MC (marginal revenue = marginal cost)
- Equivalently: \(P'(x) = 0\) (marginal profit = 0)
FALSE
- Differentiable → continuous (TRUE)
- Continuous → differentiable (FALSE)
- Counterexample: \(f(x) = |x|\) is continuous at \(x = 0\) but not differentiable there
Next Session Preview
Coming Up
Differentiation Rules
- Power rule, sum rule, constant multiple rule
- Product and quotient rules
- Finding equations of tangent lines
- More business applications
- NO MORE tedious limit calculations!
Complete Tasks 05-02!