
Section 05: Differential Calculus
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 for trips up to 5km, then €8 for trips over 5km. Is the cost function continuous at 5km?
If \(\lim_{x \to a} f(x) = L\), must \(f(a) = L\)? Explain.
What questions do you have regarding the tasks?
Today’s Big Idea
The derivative measures how things change right now, the instantaneous rate of change. This is the foundation of all calculus!
Remember from linear functions: slope measures rate of change.
Question:If revenue increases from €1000 to €1500 when production goes from 10 to 15 units, by how much does revenue increase per additional unit?
Revenue increases by €100 per additional unit.
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}\]

Average rate of change from \(x=1\) to \(x=4\) is 3 (the slope of the secant line).
A company’s monthly revenue (in €1000s): \(R(t) = 2t^2 + 5t + 10\).

Notice: Revenue grows faster in later months (steeper secant line)!
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?
What if we want the rate of change at a single point?
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\).

As \(h \to 0\), the secant line approaches the tangent line!
The derivative of \(f\) at \(x = a\) is: \[f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}\]
The derivative is the LIMIT of average rates of change, not just “a very small” average rate!
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 tangent slope at \(x = 2\) is 4
Not too complicated, right?
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}\]
Example: If \(f(x) = x^2\), then \(f'(x) = 2x\) (we’ll prove this soon!)
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.
Not every function has a derivative everywhere!
Question: Ever hear the word Theorem before?
A Theorem is basically a statement that has been proven to be true.

At \(x = 0\), the limit doesn’t exist (left and right slopes differ).
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?
In economics, “marginal” means “the next one”:
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.
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)\]
A factory’s total cost function is: \(C(x) = 1000 + 5x + 0.01x^2\).

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

Revenue is maximized when \(MR = 0\)!
Since \(P(x) = R(x) - C(x)\), we have:
\[P'(x) = R'(x) - C'(x)\]
Interpretation: Marginal profit = Marginal revenue − Marginal cost
Makes sense, right? Profit is maximized when \(MR = MC\)!
Work for 5 minutes
Use the given derivatives to answer each question:
Work for 5 minutes
Use the given derivatives to answer each question:
A coffee shop’s daily profit depends on the number of drinks sold: \[P(x) = -0.02x^2 + 8x - 200\]
where \(x\) is the number of drinks and \(P\) is profit in euros.
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\).
Think → Discuss → Share
Question: A company finds that \(C'(500) = 12\) and \(R'(500) = 15\).
What should they do?
Explain your reasoning using marginal analysis.
The derivative is THE fundamental tool in calculus. It measures instantaneous rate of change. It tells us how things are changing right now!
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\).
Differentiation Rules
Complete Tasks 05-02!
Session 05-02 - The Derivative as Rate of Change | Dr. Nikolai Heinrichs & Dr. Tobias Vlćek | Home