
Section 05: Differential Calculus
Test your understanding of derivatives as rate of change
Using the limit definition, find \(f'(x)\) if \(f(x) = 3x^2\).
What is the derivative of \(g(x) = 5x\) using the limit definition?
For the cost function \(C(x) = 100 + 20x\), what is \(C'(x)\) and what does it mean in business terms?
If the slope of the tangent line to \(f(x)\) at \(x = 2\) is 5, what is \(f'(2)\)?
What questions do you have regarding the tasks?
Key Insight
Today we develop shortcuts that make differentiation fast and efficient, no more slow limit algebra!
The Problem: Computing derivatives from limit definition is tedious!
The Solution: Differentiation rules, formulas that work every time!
Power Rule: \[\frac{d}{dx}[x^n] = nx^{n-1}\]
where \(n\) is any real number.
Examples:

Constant Rule: \[\frac{d}{dx}[c] = 0\]
where \(c\) is any constant.
This is one is very easy, right?
Constant Multiple Rule: \[\frac{d}{dx}[c \cdot f(x)] = c \cdot f'(x)\]
Do you get the idea? Essentially, we just keep the constant if multiplied with a variable.
Sum Rule: \[\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\]
Also works for differences: \(\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)\)
Differentiate term by term!
Example: Differentiate \(f(x) = 3x^4 - 2x^2 + 5x - 7\)
\[f'(x) = 3(4x^3) - 2(2x) + 5(1) - 0 = 12x^3 - 4x + 5\]
Example: Differentiate \(g(x) = \frac{2}{x^3} + 4\sqrt{x} - 3\)
\[g(x) = 2x^{-3} + 4x^{1/2} - 3\]
\[g'(x) = 2(-3x^{-4}) + 4\left(\frac{1}{2}x^{-1/2}\right) - 0 = -\frac{6}{x^4} + \frac{2}{\sqrt{x}}\]
Product Rule: \[\frac{d}{dx}[u(x) \cdot v(x)] = u'(x) \cdot v(x) + u(x) \cdot v'(x)\]
“First times derivative of second, plus second times derivative of first”
Common Product Rule Mistakes
If in doubt, check by expanding first when possible!
Example: Differentiate \(f(x) = x^3(2x + 5)\)
Let \(u = x^3\) and \(v = 2x + 5\)
Check by expanding first
Some rules of thumb to remember:
Let’s practice these rules!
Work individually for 10 minutes
Differentiate the following:
\(f(x) = x^7 - 3x^4 + 2x - 5\)
\(g(x) = 4\sqrt{x} + \frac{2}{x} - 3\)
\(h(x) = (x^2 + 1)(3x - 2)\)
\(k(x) = x^4(x^2 - 5x + 1)\)
The Quotient Rule: \[\frac{d}{dx}\left[\frac{u(x)}{v(x)}\right] = \frac{u'(x) \cdot v(x) - u(x) \cdot v'(x)}{[v(x)]^2}\]
“Low d-High minus High d-Low, over Low squared”
Common Mistake
\(\left(\frac{f}{g}\right)' \neq \frac{f'}{g'}\) Always use the full quotient rule formula!
Example: Differentiate \(f(x) = \frac{x^2 + 1}{x - 3}\)
Let \(u = x^2 + 1\) and \(v = x - 3\)
Example: Differentiate \(g(x) = \frac{2x}{x + 1}\)
\[g'(x) = \frac{2(x + 1) - 2x(1)}{(x + 1)^2} = \frac{2x + 2 - 2x}{(x + 1)^2} = \frac{2}{(x + 1)^2}\]
Example: Differentiate \(h(x) = \frac{x^2 - 4}{x^2 + 4}\)
\[h'(x) = \frac{2x(x^2 + 4) - (x^2 - 4)(2x)}{(x^2 + 4)^2}\] \[= \frac{2x^3 + 8x - 2x^3 + 8x}{(x^2 + 4)^2} = \frac{16x}{(x^2 + 4)^2}\]
TL to \(y = f(x)\) at \(x = a\) has slope \(f'(a)\) and passes \((a, f(a))\).
Equation of Tangent Line: \[y - f(a) = f'(a)(x - a)\]
or in slope-intercept form: \[y = f(a) + f'(a)(x - a)\]
Example: Find the tangent line to \(f(x) = x^2 - 3x + 1\) at \(x = 2\).
Step 1: Find the point
Step 2: Find the slope
Step 3: Equation

Not too complicated, right?
Linear Approximation: For \(x\) near \(a\): \[f(x) \approx f(a) + f'(a)(x - a)\]
This uses the tangent line to estimate function values!
Business Application
When \(x\) changes slightly from \(a\), the change in \(f(x)\) is approximately: \[\Delta f \approx f'(a) \cdot \Delta x\]
This is the basis of sensitivity analysis in economics!
Example: A company’s profit is
\[P(x) = -0.1x^2 + 5x - 10\]
(in thousands €) where \(x\) is production in thousands of units.
Question: How would you estimate the profit change?
Work in pairs for 15 minutes
Differentiate the following using the quotient rule:
\(f(x) = \frac{x^2 + 3}{x - 1}\)
\(g(x) = \frac{2x - 5}{3x + 2}\)
\(h(x) = \frac{x^3}{x^2 + 1}\)
Continue working in pairs for 10 minutes
A company’s revenue function is \(R(x) = 50x - 0.5x^2\) where \(x\) is the number of units sold (in hundreds).
Find \(R'(x)\) and interpret its meaning.
Find the equation of the tangent line to \(R(x)\) at \(x = 30\).
Use the tangent line to estimate \(R(31)\).
Compare your estimate to the actual value \(R(31)\).
A manufacturer has:
where \(x\) is production in hundreds of units.
Marginal functions:
Question: At what production level is profit maximized?
Set \(MR = MC\): \[200 - x = 50 + x \rightarrow 150 = 2x\] \[x = 75 \text{ (hundreds of units)}\]
Optimal profit: \[P(75) = -(75)^2 + 150(75) - 1000 = 4625 \text{ hundred €}\]
The maximum profit is €462,500 at 7,500 units.

A software company’s monthly user base \(U(t)\) (in thousands) follows: \[U(t) = 10 + 2t + 0.1t^2\] where \(t\) is months since launch.
Revenue per user decreases with scale: \(r(u) = 20 - 0.05u\)
Total revenue: \(R(t) = U(t) \cdot r(U(t))\)
Question: How sensitive is revenue to time at \(t = 10\) months?
You’re consulting for a manufacturing company. They produce specialty components with:
where \(q\) is quantity in units.
Work in groups of 3-4
Find marginal cost \(MC(q)\) and marginal revenue \(MR(q)\) functions.
Determine profit-maximizing production level.
Calculate the actual maximum profit at this level.
Find the tangent line to the profit function at the optimal point.
The company is considering increasing production by 10 from the optimum. Use linear approximation to estimate the change in profit.
Discuss: Why is \(MR = MC\) the condition for profit maximization? What happens if \(MR > MC\) or \(MR < MC\)?
Think individually, then we discuss
Question: Consider two functions:
When finding derivatives:
We covered quite some rules today:
| Rule | Formula | When to Use |
|---|---|---|
| Power Rule | \(\frac{d}{dx}[x^n] = nx^{n-1}\) | Any power of \(x\) |
| Constant Rule | \(\frac{d}{dx}[c] = 0\) | Constants |
| Sum Rule | \((f + g)' = f' + g'\) | Sums/differences |
| Constant Multiple | \((cf)' = cf'\) | Constants times functions |
| Product Rule | \((uv)' = u'v + uv'\) | Products of functions |
| Quotient Rule | \(\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}\) | Quotients of functions |
Before differentiating, ask:
Work individually then we discuss
Find \(\frac{d}{dx}[x^4 - 2x^2 + 7]\).
Differentiate \(f(x) = x^2(3x + 1)\) using the product rule.
What is the equation of the tangent line to \(f(x) = x^3\) at \(x = 1\)?
True or False: The derivative of a quotient equals the quotient of derivatives.
Chain Rule & Implicit Differentiation
Complete Tasks 05-03!
Session 05-03 - Differentiation Rules & Tangent Lines | Dr. Nikolai Heinrichs & Dr. Tobias Vlćek | Home