
Session 05-06 - Optimization & Curve Sketching
Section 05: Differential Calculus
Entry Quiz
Quick Review from Session 05-05
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}\)
Discriminant = 0: \((-4t)^2 - 4(1)(3) = 0\), so \(16t^2 = 12\), thus \(t = \pm\frac{\sqrt{3}}{2}\)
\(\lim_{x \to 4} \frac{(x-4)(x+4)}{x-4} = \lim_{x \to 4} (x+4) = 8\)
Check: \(\lim_{x \to 1^-} f(x) = 3\), \(\lim_{x \to 1^+} f(x) = 2\). Since these are different, the limit doesn’t exist, so not continuous.
Same degree (2): ratio of the leading coefficients, \(\lim_{n \to \infty} \frac{3n^2 + 5n}{2n^2 - 1} = \frac{3}{2}\)
Homework Discussion
Your questions from Session 05-05
What questions do you have regarding the previous session?
Learning Objectives
What You’ll Master Today
- Apply the first derivative test to classify critical points
- Use the second derivative test when applicable
- Find global extrema on closed intervals
- Master the complete curve sketching algorithm (6 steps)
- Solve optimization problems in business contexts
- Maximize profit and minimize cost using calculus
- Sketch complete, accurate graphs of functions
Optimization is the central application of calculus in business! Today’s techniques will help you maximize profit, minimize cost, and make optimal decisions.
Tests for Extrema
Critical Points Review
A critical point of \(f(x)\) occurs at \(x = c\) if:
- \(f'(c) = 0\) (horizontal tangent), OR
- \(f'(c)\) does not exist (sharp corner, vertical tangent, etc.)
Key Fact: Extrema (max/min) can only occur at:
- Critical points (inside the domain)
- Endpoints of the domain
- Points where \(f\) is not differentiable
First Derivative Test
To classify a critical point at \(x = c\), examine how \(f'(x)\) changes sign:
Local Maximum: If \(f'\) changes from \((+)\) to \((-)\) at \(x = c\)
- Function increases before \(c\), decreases after \(c\)
Local Minimum: If \(f'\) changes from \((-)\) to \((+)\) at \(x = c\)
- Function decreases before \(c\), increases after \(c\)
Saddle point (neither max nor min): If \(f'\) does not change sign at \(x = c\)
- Example: \(f(x) = x^3\) at \(x = 0\)
First Derivative Test Example
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)\):
Sign Chart Analysis
- \(f'\) changes from \((+)\) to \((-)\) at \(x = -1\) → Local maximum
- \(f'\) changes from \((-)\) to \((+)\) at \(x = 3\) → Local minimum
Visualizing the Function

Makes intuitive sense, doesn’t it?
Second Derivative Test
Alternative Method: If \(f'(c) = 0\) and \(f''(c)\) exists:
If \(f''(c) > 0\): \(f\) is concave up at \(c\) → Local minimum
- Think: holding water (bottom of a bowl)
If \(f''(c) < 0\): \(f\) is concave down at \(c\) → Local maximum
- Think: shedding water (top of a hill)
If \(f''(c) = 0\): The test is inconclusive → Use first derivative test
- First derivative test: Always works, requires sign chart
- Second derivative test: Faster when \(f''\) is easy to compute, but can be inconclusive
Second Derivative Test Example
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\]
When Second Derivative Test Fails
Example: \(f(x) = x^4\)
- \(f'(x) = 4x^3\), so \(f'(0) = 0\) (critical point at \(x = 0\))
- \(f''(x) = 12x^2\), so \(f''(0) = 0\) (inconclusive!)
Use first derivative test instead:
- For \(x < 0\): \(f'(x) = 4x^3 < 0\) (decreasing)
- For \(x > 0\): \(f'(x) = 4x^3 > 0\) (increasing)
- Sign changes from \((-)\) to \((+)\) → Local minimum at \(x = 0\)
Global Extrema
Extreme Value Theorem
If \(f\) is continuous on closed interval \([a; b]\), then \(f\) has both:
- An absolute maximum (global max)
- An absolute minimum (global min)
Strategy to find global extrema on \([a; b]\):
- Find all critical points \(c\) in \((a; b)\)
- Evaluate \(f\) at all critical points and both endpoints \(f(a)\), \(f(b)\)
- Largest value = absolute maximum, smallest value = absolute minimum
Example: Global Extrema
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.
Evaluation Table
| \(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.
- The global maximum/minimum might occur at \(x = a\) or \(x = b\)
- Always create a table comparing ALL candidates (critical points + endpoints)
- In business: Production constraints define your “endpoints”
Visualizing Global Extrema

- Squares indicate the interval endpoints
- Circles show where extrema occur
Quick Practice
Practice Problems
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.
\(g'(x) = 4x^3 - 12x^2 = 4x^2(x - 3) = 0\), so \(x = 0\) or \(x = 3\)
\(g''(x) = 12x^2 - 24x\)
- \(g''(0) = 0\) (inconclusive, but \(g'\) doesn’t change sign → neither)
- \(g''(3) = 12(9) - 24(3) = 108 - 72 = 36 > 0\) → local min
Critical point: \(h'(x) = 2x - 4 = 0\), so \(x = 2 \in [0; 5]\)
- \(h(0) = 1\), \(h(2) = 4 - 8 + 1 = -3\), \(h(5) = 25 - 20 + 1 = 6\)
- Absolute max: 6 at \(x = 5\); Absolute min: -3 at \(x = 2\)
\(f'(x) = 6x^2 - 6x - 12 = 6(x^2 - x - 2) = 6(x-2)(x+1)\)
- Critical points: \(x = -1, 2\)
- Sign chart: \((+)\) for \(x < -1\), \((-)\) for \(-1 < x < 2\), \((+)\) for \(x > 2\)
- \(x = -1\): local max; \(x = 2\): local min
Break
Curve Sketching
The 6-Step Algorithm
Master Process for Sketching \(y = f(x)\):
Domain and Intercepts
- Find where \(f\) is defined
- \(y\)-intercept: \(f(0)\)
- \(x\)-intercepts: solve \(f(x) = 0\)
Critical Points (\(f'(x) = 0\) or DNE)
- Find critical points, classify by first or second derivative test
Inflection Points (\(f''(x) = 0\) or DNE)
- Find where concavity changes
The 6-Step Algorithm (continued)
Sign Charts
- Sign chart for \(f'(x)\) (increasing/decreasing)
- Sign chart for \(f''(x)\) (concave up/down)
Asymptotic Behavior
- Vertical asymptotes: where denominator = 0
- Horizontal asymptotes: \(\lim_{x \to \pm\infty} f(x)\)
- End behavior
Complete Sketch
- Plot key points and include all features
Polynomial
Problem: Sketch \(g(x) = x^3 - 3x^2\)
Step 1: Domain and Intercepts
- Domain: All reals
- \(y\)-intercept: \(g(0) = 0\)
- \(x\)-intercepts: Solve \(x^3 - 3x^2 = x^2(x - 3) = 0 \implies x = 0, \, x = 3\)
Steps 2: Critical Points
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?
Steps 3: Inflection Points
Problem: Sketch \(g(x) = x^3 - 3x^2\)
Classification using second derivative:
\[g''(x) = 6x - 6\]
- \(g''(0) = -6 < 0\) → local max at \(x = 0\)
- \(g''(2) = 6 > 0\) → local min at \(x = 2\)
Inflection points:
\[g''(x) = 6x - 6 = 0 \implies x = 1\]
Steps 4-5: Sign Charts and Behavior
Problem: Sketch \(g(x) = x^3 - 3x^2\)
\(g'(x) = 3x(x-2)\):
- \((+)\) for \(x < 0\), \((-)\) for \(0 < x < 2\), \((+)\) for \(x > 2\)
\(g''(x) = 6x - 6 = 6(x-1)\):
- \((-)\) for \(x < 1\) (concave down), \((+)\) for \(x > 1\) (concave up)
End behavior:
- As \(x \to -\infty\): \(g(x) \to -\infty\), as \(x \to +\infty\): \(g(x) \to +\infty\) (leading term \(x^3\))
Step 6: Complete Sketch

Inflection Points: The Quick Test
Checking the sign change of \(f''\) always works, but there is a faster test:
- If \(f''(x_0) = 0\) and \(f'''(x_0) \neq 0\), then \(x_0\) is an inflection point
- If \(f'''(x_0) = 0\) as well, the test is inconclusive → check the sign change of \(f''\)
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 Inflectional Tangent
The tangent at an inflection point \(x_0\) (German: Wendetangente):
\[y = f'(x_0)(x - x_0) + f(x_0)\]
- At an inflection point, \(f'\) has an extremum → the graph is steepest there
- Economically: the moment of fastest growth (or fastest decline)
- Exam wording: “Determine the tangent at the inflection point and explain its meaning”
Example: An Exponential Model
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}\)):
- \(f'(t) = e^{-0.4t} \cdot 1 + t \cdot (-0.4)e^{-0.4t} = e^{-0.4t}(1 - 0.4t)\)
- \(f''(t) = -0.4e^{-0.4t}(1 - 0.4t) + e^{-0.4t}(-0.4) = e^{-0.4t}(0.16t - 0.8)\)
- \(f'''(t) = -0.4e^{-0.4t}(0.16t - 0.8) + e^{-0.4t}(0.16)\) \(= e^{-0.4t}(0.48 - 0.064t)\)
Since \(e^{-0.4t} > 0\) for all \(t\), only the bracket can become zero!
Maximum and Inflection Point
Maximum: \(f'(t) = 0 \iff 1 - 0.4t = 0 \iff t = 2.5\)
- \(f''(2.5) = e^{-1}(0.4 - 0.8) < 0\) → maximum at \((2.5, 2.5e^{-1}) \approx (2.5, 0.92)\)
Inflection point: \(f''(t) = 0 \iff 0.16t - 0.8 = 0 \iff t = 5\)
- \(f'''(5) = e^{-2}(0.48 - 0.32) = 0.16e^{-2} \neq 0\) ✓
- Inflection point at \((5, 5e^{-2}) \approx (5, 0.68)\)
- Meaning: after week 5 sales still fall, but the decline slows down
Inflectional Tangent and Limit
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\]
- This is the fastest decline: about 135 units per week
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.
Visualizing the Model

Quick Practice: Wendetangente
Work individually, then compare with a neighbor
For \(h(t) = 20 + t \cdot e^{-0.4t}\):
- Find the inflection point using the \(h'''\) test.
- Determine the inflectional tangent.
- What is \(\lim_{t \to \infty} h(t)\)?
The constant 20 vanishes when differentiating, so \(h'\), \(h''\), \(h'''\) are the same as in the example: \(h''(t) = 0 \iff t = 5\), \(h'''(5) = 0.16e^{-2} \neq 0\) → inflection point at \((5, 20 + 5e^{-2}) \approx (5, 20.68)\)
\(h'(5) = -e^{-2}\): \(y = -e^{-2}(t - 5) + 20 + 5e^{-2} = 20 + e^{-2}(10 - t) \approx 21.35 - 0.135t\)
\(\lim_{t \to \infty} h(t) = 20 + 0 = 20\) (sales settle at a base level of 20 thousand units)
Fewest Possible Inflection Points
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\).
- Between min and max: concave up at \(x = 1\), concave down at \(x = 4\), so the curvature changes sign → at least one inflection point in \((1; 4)\)
- After the max: \(f' < 0\) but \(f' \to 0\), so \(f'\) must increase again (concave up) → the curvature changes sign again for some \(x > 4\)
- So \(f\) has at least two inflection points
Guided Practice
Set A - Work in Pairs
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.
\(f'(x) = 4x^3 - 12x^2 = 4x^2(x-3)\), so \(x = 0\) or \(x = 3\)
- \(f''(x) = 12x^2 - 24x\)
- \(f''(0) = 0\) (inconclusive); \(f''(3) = 108 - 72 = 36 > 0\) → local min at \(x=3\)
- Use first derivative test for \(x=0\): \(f'\) doesn’t change sign → neither
Critical points: \(g'(x) = 3x^2 - 6x = 3x(x-2)\), so \(x = 0, 2\)
- \(g(-1) = -1 - 3 + 1 = -3\)
- \(g(0) = 1\)
- \(g(2) = 8 - 12 + 1 = -3\)
- \(g(3) = 27 - 27 + 1 = 1\)
- Abs max: 1 (at \(x=0\) and \(x=3\)); Abs min: -3 (at \(x=-1\) and \(x=2\))
- Domain: \(x \neq 0\)
- No \(y\)-intercept; \(x\)-intercepts: \(x^2 + 1 = 0\) (none, no real solutions)
- Vertical asymptote \(x = 0\); oblique asymptote \(y = x\) (since \(h(x) = x + \frac{1}{x}\))
\(f'(x) = 3x^2 - 3 = 3(x-1)(x+1)\)
- Increasing on \((-\infty; -1) \cup (1; \infty)\)
- Decreasing on \((-1; 1)\)
Set B - Work in Pairs
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\).
\(f'(x) = 4x^3 - 4x = 4x(x^2-1) = 4x(x-1)(x+1)\)
- Critical points: \(x = -1, 0, 1\)
- \(f''(x) = 12x^2 - 4\)
- Inflection points: \(12x^2 - 4 = 0\), so \(x = \pm\frac{1}{\sqrt{3}}\)
- [Students should draw sign charts]
\(g''(x) = 12x^2 - 24x = 12x(x-2)\)
- Set to 0: \(x = 0\) or \(x = 2\)
- Verify sign change: Yes at both
- Inflection points at \((0, 6)\) and \((2, -10)\)
\(h'(x) = 6x^2 - 18x + 12 = 6(x^2 - 3x + 2) = 6(x-1)(x-2)\)
- Critical points: \(x = 1, 2\) (both in \([0; 3]\))
- \(h(0) = 0\), \(h(1) = 2 - 9 + 12 = 5\), \(h(2) = 16 - 36 + 24 = 4\), \(h(3) = 54 - 81 + 36 = 9\)
- Abs max: 9 at \(x=3\); Abs min: 0 at \(x=0\)
\(f''(x) = 6x - 12 = 6(x-2)\)
- Concave down on \((-\infty; 2)\)
- Concave up on \((2; \infty)\)
Business Applications
Application 1: Profit Maximization
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\)
Classification of Critical Points
2. Use second derivative test: \(P''(x) = -12x + 30\)
- \(P''(1) = 18 > 0\) → minimum; \(\quad P''(4) = -18 < 0\) → maximum
- Answer: Maximum profit occurs at \(x = 4\) (4000 units)
3. Calculate profit at critical maximum point:
- \(P(4) = -2(64) + 15(16) - 24(4) + 20\) \(= -128 + 240 - 96 + 20 = 36\)
- Maximum profit: 36,000 EUR at 4000 units
Visualizing Profit

The max on the left is cut off because we have to produce at least 0 units.
Application 2: Cost Minimization
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?
Critical Points
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\]
Verification and Answer
2. Verify it’s a minimum using second derivative:
- \(\bar{C}''(x) = \frac{200}{x^3}\), at \(x = 5\sqrt{2}\): \(\bar{C}''(5\sqrt{2}) = \frac{200}{(5\sqrt{2})^3} > 0\) → minimum
3. Minimum average cost:
- \(\bar{C}(5\sqrt{2}) = \frac{100}{5\sqrt{2}} + 2(5\sqrt{2}) + 5 = \frac{20}{\sqrt{2}} + 10\sqrt{2} + 5\)
- \(10\sqrt{2} + 10\sqrt{2} + 5 = 20\sqrt{2} + 5 \approx 33.28\)
- Answer: Batch size of 707 units minimizes average cost at approximately 33.28 EUR per unit
Application 3: Maximizing Revenue
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?
- \(R'(x) = 50 - x = 0\) → \(x = 50\)
- Verify: \(R''(x) = -1 < 0\) → maximum!
- Maximum: \(R(50) = 50(50) - 0.5(50)^2 = 2500 - 1250 = 1250\)
- Answer: 1,250,000 EUR at 50,000 units sold
Team Problem-Solving
Group Challenge I
Scenario: A manufacturing company has the following functions:
- Cost: \(C(x) = 1000 + 5x + 0.01x^2\) (in euros)
- Revenue: \(R(x) = 25x - 0.02x^2\) (in euros)
where \(x\) is the number of units produced and sold.
Group Challenge II
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?
Part 1: Profit function \[P(x) = R(x) - C(x) = (25x - 0.02x^2) - (1000 + 5x + 0.01x^2)\] \[P(x) = -0.03x^2 + 20x - 1000\]
Part 2: Production level for maximum profit \[P'(x) = -0.06x + 20 = 0\] \[x = \frac{20}{0.06} = \frac{2000}{6} = 333.\overline{3}\]
Approximately 333 units
Part 3: Maximum profit \[P(333.33) = -0.03(333.33)^2 + 20(333.33) - 1000\] \[\approx -3333.33 + 6666.67 - 1000 = 2333.33\]
Maximum profit: approximately 2,333 EUR
Part 4: Break-even points (\(P(x) = 0\)) \[-0.03x^2 + 20x - 1000 = 0\]
Multiply by \(-1\): \(0.03x^2 - 20x + 1000 = 0\)
Using quadratic formula: \[x = \frac{20 \pm \sqrt{400 - 4(0.03)(1000)}}{2(0.03)} = \frac{20 \pm \sqrt{400 - 120}}{0.06}\] \[= \frac{20 \pm \sqrt{280}}{0.06} = \frac{20 \pm 16.73}{0.06}\]
\(x \approx 54.5\) or \(x \approx 612.2\)
Break-even at approximately 55 and 612 units
Part 6: Positive profit for \(55 < x < 612\) (approximately)
Coffee Break
FSP Workshop
Problem 1: Dash Cams
A company assembles dash cams (small cameras that film the road through a car’s windshield) and sells them to car accessory shops. Let \(x\) be the number of dash cams produced and sold per month in QU (1 QU = 100 dash cams, 1 MU = 100 EUR). At a price of 180 EUR per dash cam, the shops ordered 400 dash cams per month. After a price cut to 144 EUR, they ordered 800 dash cams per month. The demand is linear.
- Determine the linear demand function \(p(x)\) (price in MU per QU). Give the maximum price in EUR per dash cam and the market saturation in dash cams. Compute by how many percent the monthly revenue rose with the price cut. [4 pts.]
- 180 EUR per dash cam \(= 180 \cdot 100\) EUR per 100 dash cams \(= 180\) MU per QU. So the two observations are the points \((4, 180)\) and \((8, 144)\).
Slope between the two points:
\[ m = \frac{144 - 180}{8 - 4} = \frac{-36}{4} = -9 \]
Point-slope form with \((4, 180)\):
\[ p(x) = 180 - 9(x - 4) = 216 - 9x \]
Check: \(p(8) = 216 - 72 = 144\) ✓
- Maximum price (the shops order nothing): \(p(0) = 216\) MU per QU, i.e. 216 EUR per dash cam
- Market saturation (the shops order the most, at a price of 0): \(216 - 9x = 0 \iff x = 24\) QU, i.e. 2,400 dash cams
- Revenue before the cut: \(4 \cdot 180 = 720\) MU \(= 72{,}000\) EUR, after the cut: \(8 \cdot 144 = 1{,}152\) MU \(= 115{,}200\) EUR
\[ \frac{1152 - 720}{720} \cdot 100\,\% = \frac{432}{720} \cdot 100\,\% = 60\,\% \]
The price fell by 20 %, but the sales doubled, so the monthly revenue rose by 60 %.
Grading: 1 Pt. slope \(-9\), 1 Pt. \(p(x) = 216 - 9x\), 1 Pt. 216 EUR and 2,400 dash cams, 1 Pt. 60 %.
Dash Cams: Stationary Points
The monthly total costs are
\[ C(x) = x^3 - 24x^2 + 243x + 121 \]
MU for an output of \(x\) QU.
- Show that the monthly profit is \(P(x) = -x^3 + 15x^2 - 27x - 121\). Determine the nature and the coordinates of all stationary points of \(P\) with the second derivative test. [4 pts.]
(for verification: \(p(x) = 216 - 9x\))
- Revenue: \(R(x) = x \cdot p(x) = 216x - 9x^2\). Profit = revenue minus costs:
\[ P(x) = 216x - 9x^2 - (x^3 - 24x^2 + 243x + 121) = -x^3 + 15x^2 - 27x - 121 \quad ✓ \]
Necessary condition \(P'(x) = 0\) (power rule):
\[ P'(x) = -3x^2 + 30x - 27 = -3(x^2 - 10x + 9) = -3(x - 1)(x - 9) = 0 \]
So \(x = 1\) or \(x = 9\).
Sufficient condition (second derivative test): \(P''(x) = -6x + 30\)
- \(P''(1) = 24 > 0\): local minimum, \(P(1) = -1 + 15 - 27 - 121 = -134\)
- \(P''(9) = -24 < 0\): local maximum, \(P(9) = -729 + 1215 - 243 - 121 = 122\)
Local minimum \((1, -134)\), local maximum \((9, 122)\).
Grading: 1 Pt. \(P(x)\) with the bracket resolved, 1 Pt. \(P'(x)\) and \(x = 1\), \(x = 9\), 1 Pt. \(P''\) with both signs and the nature, 1 Pt. both coordinates.
Dash Cams: The Best Output
The company can assemble at most 1,500 dash cams per month (capacity). So it plans with the economic domain \([0; 15]\).
- Prove that the local maximum from b) really is the maximum profit on the whole interval \([0; 15]\). Give the maximum monthly profit in EUR and calculate the price per dash cam that the company has to ask for. [4 pts.]
(for verification: local minimum \((1, -134)\), local maximum \((9, 122)\))
- \(P\) is a polynomial, so it is continuous on the closed interval \([0; 15]\). Its global maximum lies at a stationary point inside the interval or at one of its ends. Compare all candidates:
| \(x\) | \(P(x)\) | Type |
|---|---|---|
| \(0\) | \(-121\) | End: no sales, only the fixed costs |
| \(1\) | \(-134\) | Local minimum |
| \(9\) | \(122\) | Local maximum |
| \(15\) | \(-3375 + 3375 - 405 - 121 = -526\) | End: capacity |
The largest value is \(P(9) = 122\), so the local maximum is the global maximum on \([0; 15]\): no other output brings a higher profit.
- Maximum profit: 122 MU \(= 122 \cdot 100\) EUR \(=\) 12,200 EUR per month at 900 dash cams
- Price: \(p(9) = 216 - 81 = 135\) MU per QU. 1 MU per QU is 100 EUR per 100 dash cams, i.e. 1 EUR per dash cam, so the company asks 135 EUR per dash cam
Grading: 1 Pt. \(P(0)\) and \(P(15)\), 1 Pt. comparison of all candidates with the conclusion, 1 Pt. 12,200 EUR, 1 Pt. 135 EUR per dash cam.
Dash Cams: The Largest Loss
The controller says: “Our largest possible monthly loss is 13,400 EUR, at 100 dash cams per month.”
- Assess this claim for the interval \([0; 15]\). Show that \(P(x) + 134 = -(x - 1)^2(x - 13)\) and determine all outputs in \([0; 15]\) at which the company loses more than at 100 dash cams. Give the answer in dash cams. [4 pts.]
- The claim is false. The table from c) shows \(P(15) = -526 < -134 = P(1)\). The global minimum on \([0; 15]\) lies at the end \(x = 15\): a loss of 52,600 EUR at full capacity. The local minimum from b) is only the lowest point close to \(x = 1\).
Expand the right side:
\[ (x - 1)^2(x - 13) = (x^2 - 2x + 1)(x - 13) = x^3 - 15x^2 + 27x - 13 \]
So \(-(x - 1)^2(x - 13) = -x^3 + 15x^2 - 27x + 13 = P(x) + 134\) ✓
The company loses more than at 100 dash cams if \(P(x) < -134\):
\[ P(x) + 134 < 0 \iff -(x - 1)^2(x - 13) < 0 \iff (x - 1)^2(x - 13) > 0 \]
\((x - 1)^2 > 0\) for \(x \neq 1\), and at \(x = 1\) the product is 0. So the inequality holds exactly when \(x - 13 > 0\), i.e. \(x \in (13; 15]\).
Check: \(P(14) = -2744 + 2940 - 378 - 121 = -303 < -134\), \(P(12) = -1728 + 2160 - 324 - 121 = -13 > -134\).
With more than 1,300 dash cams per month (up to the capacity of 1,500), the loss is larger than 13,400 EUR. Above 1,300 dash cams, the price falls below \(p(13) = 99\) EUR.
Grading: 1 Pt. claim false with the global minimum at \(x = 15\), 1 Pt. expansion, 1 Pt. sign argument to \(x > 13\), 1 Pt. more than 1,300 dash cams.
Wrap-Up & Takeaways
Summary of Session 05-06
Derivative Tests:
- First derivative test: Examine sign changes of \(f'\) to classify
- Second derivative test: Use \(f''(c)\) to classify when \(f'(c) = 0\)
- \(f''(c) > 0\) → local min; \(f''(c) < 0\) → local max
Global Extrema:
- On closed interval \([a; b]\): check critical points AND endpoints
- Largest value = absolute max; smallest value = absolute min
Curve Sketching Algorithm Recap
Question: Can anyone summarize the steps to sketching a curve?
- Domain & intercepts
- Critical points
- Inflection points
- Sign charts (\(f'\) and \(f''\))
- Asymptotes & end behavior
- Complete sketch
Follow these in the Feststellungsprüfung!
Calculator: Quick Reference
| 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) |
Calculator: Integrated Exercise
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})\)
Using polynomial solver: \(x \approx 7.64\) or \(x \approx 52.36\) (break-even points)
Using derivative: \(P'(x) = -x + 30\), so \(P'(x) = 0\) when \(x = 30\)
\(P(30) = -0.5(900) + 30(30) - 200 = -450 + 900 - 200 = 250\)
Complete the Calculator Training Tasks 01 worksheet to reinforce these skills!
Final Assessment
Quick Check
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.
\(f'(x) = 3x^2 - 6x = 3x(x-2)\), so \(x = 0\) or \(x = 2\)
- \(f''(x) = 6x - 6\)
- \(f''(0) = -6 < 0\) → local max
- \(f''(2) = 6 > 0\) → local min
Critical point: \(g'(x) = 2x - 4 = 0\), so \(x = 2\)
- \(g(0) = 1\), \(g(2) = -3\), \(g(4) = 1\)
- Abs max: 1 (at \(x=0\) and \(x=4\)); Abs min: -3 (at \(x=2\))
\(P'(x) = -2x + 100 = 0\), so \(x = 50\)
- \(P''(x) = -2 < 0\) confirms maximum
- Production level: 50 units
False - need to verify \(f''\) changes sign. Example: \(f(x) = x^4\) has \(f''(0) = 0\) but no inflection point.
Next Session Preview
Looking Ahead: Session 05-07
Function Determination & Related Rates
What’s coming:
- Finding functions from conditions (points, slopes, extrema)
- Setting up systems of equations from constraints
- Related rates problems (changing quantities)
- The 5-step strategy for related rates
- Business applications: cost functions, demand rates
Repeat the 6-step curve sketching algorithm! Both function determination and related rates share a key skill: setting up equations from conditions systematically.