Section 05: Differential Calculus
Test your understanding of limits, continuity, and function families
For \(f_t(x) = x^2 - 4tx + 3\) (one function for each number \(t\)), find \(t\) such that \(f_t(x)\) has exactly one zero.
Evaluate \(\lim_{x \to 4} \frac{x^2 - 16}{x - 4}\)
Is \(f(x) = \begin{cases} x + 2 & x < 1 \\ 3 & x = 1 \\ 2x & x > 1 \end{cases}\) continuous at \(x = 1\)?
Find \(\lim_{n \to \infty} \frac{3n^2 + 5n}{2n^2 - 1}\)
What questions do you have regarding the previous session?
Optimization is the central application of calculus in business! Today’s techniques will help you maximize profit, minimize cost, and make optimal decisions.
A critical point of \(f(x)\) occurs at \(x = c\) if:
Key Fact: Extrema (max/min) can only occur at:
To classify a critical point at \(x = c\), examine how \(f'(x)\) changes sign:
Local Maximum: If \(f'\) changes from \((+)\) to \((-)\) at \(x = c\)
Local Minimum: If \(f'\) changes from \((-)\) to \((+)\) at \(x = c\)
Saddle point (neither max nor min): If \(f'\) does not change sign at \(x = c\)
Problem: Find and classify all critical points of \(f(x) = x^3 - 3x^2 - 9x + 5\).
Step 1: Find \(f'(x)\): \[f'(x) = 3x^2 - 6x - 9 = 3(x^2 - 2x - 3) = 3(x-3)(x+1)\]
Step 2: Find critical points (\(f'(x) = 0\)): \[x = -1 \text{ or } x = 3\]
Step 3: Create a sign chart for \(f'(x)\):
Makes intuitive sense, doesn’t it?
Alternative Method: If \(f'(c) = 0\) and \(f''(c)\) exists:
If \(f''(c) > 0\): \(f\) is concave up at \(c\) → Local minimum
If \(f''(c) < 0\): \(f\) is concave down at \(c\) → Local maximum
If \(f''(c) = 0\): The test is inconclusive → Use first derivative test
When to Use Which Test?
Problem: Use on \(f(x) = x^3 - 3x^2 - 9x + 5\) at \(x = -1\) and \(x = 3\).
Find \(f''(x)\): \[f''(x) = 6x - 6\]
At \(x = -1\): Local maximum \[f''(-1) = 6(-1) - 6 = -12 < 0\]
At \(x = 3\): Local minimum \[f''(3) = 6(3) - 6 = 12 > 0\]
Example: \(f(x) = x^4\)
Use first derivative test instead:
If \(f\) is continuous on closed interval \([a; b]\), then \(f\) has both:
Strategy to find global extrema on \([a; b]\):
Challenge: Find the absolute maximum and minimum of \(f(x) = x^3 - 3x + 2\) on \([-2; 2]\).
Step 1: Find critical points.
\[f'(x) = 3x^2 - 3 = 3(x^2 - 1) = 3(x-1)(x+1) = 0\]
\[x = -1 \text{ or } x = 1\]
Both are in \((-2; 2)\)
Step 2: Evaluate \(f\) at critical points and endpoints.
| \(x\) | \(f(x) = x^3 - 3x + 2\) | Type |
|---|---|---|
| \(-2\) | \((-2)^3 - 3(-2) + 2 = -8 + 6 + 2 = 0\) | Endpoint |
| \(-1\) | \((-1)^3 - 3(-1) + 2 = -1 + 3 + 2 = 4\) | Critical |
| \(1\) | \((1)^3 - 3(1) + 2 = 1 - 3 + 2 = 0\) | Critical |
| \(2\) | \((2)^3 - 3(2) + 2 = 8 - 6 + 2 = 4\) | Endpoint |
Common exam mistake: Finding critical points but forgetting to check endpoints.
Work individually, then compare with a neighbor
Find all critical points of \(g(x) = x^4 - 4x^3 + 5\).
Use the second derivative test to classify the critical points of \(g(x)\) from problem 1.
Find the absolute maximum and minimum of \(h(x) = x^2 - 4x + 1\) on \([0; 5]\).
For \(f(x) = 2x^3 - 3x^2 - 12x + 7\), use the first derivative test to classify all critical points.
Master Process for Sketching \(y = f(x)\):
Domain and Intercepts
Critical Points (\(f'(x) = 0\) or DNE)
Inflection Points (\(f''(x) = 0\) or DNE)
Sign Charts
Asymptotic Behavior
Complete Sketch
Problem: Sketch \(g(x) = x^3 - 3x^2\)
Step 1: Domain and Intercepts
Problem: Sketch \(g(x) = x^3 - 3x^2\)
Classification using first derivative:
\[g'(x) = 3x^2 - 6x\]
\[3x(x - 2) = 0\]
\[x = 0 \text{ or } x = 2\]
Rather easy, right?
Problem: Sketch \(g(x) = x^3 - 3x^2\)
Classification using second derivative:
\[g''(x) = 6x - 6\]
Inflection points:
\[g''(x) = 6x - 6 = 0 \implies x = 1\]
Problem: Sketch \(g(x) = x^3 - 3x^2\)
\(g'(x) = 3x(x-2)\):
\(g''(x) = 6x - 6 = 6(x-1)\):
End behavior:
Checking the sign change of \(f''\) always works, but there is a faster test:
Same idea as the second derivative test, one level up: \(f'''(x_0) \neq 0\) guarantees that \(f''\) changes sign at \(x_0\).
Check on \(g(x) = x^3 - 3x^2\): \(g''(x) = 6x - 6\), \(g'''(x) = 6 \neq 0\) → \(x = 1\) is an inflection point ✓
The tangent at an inflection point \(x_0\) (German: Wendetangente):
\[y = f'(x_0)(x - x_0) + f(x_0)\]
Problem: \(f(t) = t \cdot e^{-0.4t}\) describes weekly sales (in thousand units) \(t\) weeks after a launch.
Derivatives (product and chain rule, then factor out \(e^{-0.4t}\)):
Since \(e^{-0.4t} > 0\) for all \(t\), only the bracket can become zero!
Maximum: \(f'(t) = 0 \iff 1 - 0.4t = 0 \iff t = 2.5\)
Inflection point: \(f''(t) = 0 \iff 0.16t - 0.8 = 0 \iff t = 5\)
Slope at the inflection point: \(f'(5) = e^{-2}(1 - 2) = -e^{-2} \approx -0.135\)
\[y = -e^{-2}(t - 5) + 5e^{-2} = e^{-2}(10 - t) \approx 1.35 - 0.135t\]
Limit: \(\lim_{t \to \infty} t \cdot e^{-0.4t} = 0\)
The exponential beats the polynomial: \(e^{-kt}\) shrinks faster than any power \(t^n\) grows, so \(t^n \cdot e^{-kt} \to 0\) for \(k > 0\). Sales fade out completely in the long run.
Work individually, then compare with a neighbor
For \(h(t) = 20 + t \cdot e^{-0.4t}\):
FSP: “Assess how many inflection points \(f\) has to possess at least. Give a reason.”
Example: \(f\) has a local minimum at \(x = 1\), a local maximum at \(x = 4\), and afterwards falls towards the horizontal asymptote \(y = 0\).
Complete these problems in pairs
Find and classify all critical points of \(f(x) = x^4 - 4x^3 + 10\) using the second derivative test.
Find the absolute extrema of \(g(x) = x^3 - 3x^2 + 1\) on \([-1; 3]\).
For \(h(x) = \frac{x^2 + 1}{x}\), find: (a) domain, (b) intercepts, (c) asymptotes.
Determine the intervals where \(f(x) = x^3 - 3x + 2\) is increasing and decreasing.
Continue with your partner
Sketch a sign chart for \(f'(x)\) and \(f''(x)\) where \(f(x) = x^4 - 2x^2\).
Find all inflection points of \(g(x) = x^4 - 4x^3 + 6\).
For \(h(x) = 2x^3 - 9x^2 + 12x\), find the absolute extrema on \([0; 3]\).
Determine the concavity intervals for \(f(x) = x^3 - 6x^2 + 9x\).
A company’s profit function (in thousands) is:
\[P(x) = -2x^3 + 15x^2 - 24x + 20\]
where \(x\) is the number of units produced (in thousands).
Question: Find the production level that maximizes profit.
1. Find critical points:
\[P'(x) = -6x^2 + 30x - 24 = -6(x^2 - 5x + 4) = -6(x-1)(x-4)\]
Critical points: \(x = 1\) and \(x = 4\)
2. Use second derivative test: \(P''(x) = -12x + 30\)
3. Calculate profit at critical maximum point:
The max on the left is cut off because we have to produce at least 0 units.
Average cost per unit for a manufacturer is:
\[\bar{C}(x) = \frac{100}{x} + 2x + 5\]
where \(x\) is batch size (in hundreds).
Question: What batch size minimizes average cost?
1. Find critical points:
\[\bar{C}'(x) = -\frac{100}{x^2} + 2\]
\[-\frac{100}{x^2} + 2 = 0\]
\[2 = \frac{100}{x^2}\]
\[x^2 = 50\]
\[x = \sqrt{50} = 5\sqrt{2} \approx 7.07\]
2. Verify it’s a minimum using second derivative:
3. Minimum average cost:
A company’s revenue, where \(x\) is units sold (in thousands): \[R(x) = 50x - 0.5x^2\]
Question: What level maximizes revenue, and what is the maximum?
Scenario: A manufacturing company has the following functions:
where \(x\) is the number of units produced and sold.
Work in groups of 3-4 students
Find the profit function \(P(x) = R(x) - C(x)\).
Determine the production level that maximizes profit.
What is the maximum profit?
Find the break-even points (where \(P(x) = 0\)).
Sketch the profit function showing all key features.
What production range yields positive profit?
Think individually (2 min), then discuss with class
Before finalizing any optimization answer, always verify:
Show your verification work! Examiners want to see you confirmed the type of extremum!
Derivative Tests:
Global Extrema:
Question: Can anyone summarize the steps to sketching a curve?
Follow these in the Feststellungsprüfung!
| Problem Type | Calculator Mode/Function |
|---|---|
| Quadratic/cubic equations | MENU → A → 2 (Polynom-Gleich.) |
| Systems of equations | MENU → A → 1 (Gleichungssyst.) |
| Numerical equation solving | SHIFT + CALC (SOLVE) |
| Evaluate with variables | CALC button |
| Value tables | MENU → 9 (Tabellen) |
| Derivatives at a point | SHIFT + ∫ (d/dx template) |
| Prime factorization | SHIFT + FACT (after =) |
| GCD/LCM | ALPHA + × (GCD), ALPHA + ÷ (LCM) |
Combine everything you’ve learned today:
A company’s profit function is \(P(x) = -0.5x^2 + 30x - 200\)
Using your calculator:
Find the break-even points (where \(P(x) = 0\))
Find the production level that maximizes profit (where \(P'(x) = 0\))
Calculate the maximum profit \(P(x_{max})\)
Complete the Calculator Training Tasks 01 worksheet to reinforce these skills!
Complete individually - this helps me assess today’s learning
For \(f(x) = x^3 - 3x^2\), find all critical points and classify them using the second derivative test.
Find the absolute extrema of \(g(x) = x^2 - 4x + 1\) on \([0; 4]\).
A profit function is \(P(x) = -x^2 + 100x - 500\). What production level maximizes profit?
True or False: If \(f''(c) = 0\), then \(x = c\) is always an inflection point.
Function Determination & Related Rates
What’s coming:
Repeat the 6-step curve sketching algorithm! Both function determination and related rates share a key skill: setting up equations from conditions systematically.
Session 05-06 - Optimization & Curve Sketching | Dr. Nikolai Heinrichs & Dr. Tobias Vlćek | Home