
Session 05-04 - Chain Rule & Implicit Differentiation
Section 05: Differential Calculus
Entry Quiz
Quick Review from Session 05-03
Test your understanding of differentiation rules
Find the derivative of \(f(x) = (x^2 + 1)(3x - 2)\).
Differentiate \(g(x) = \frac{x^2}{x + 1}\) using the quotient rule.
For \(h(x) = 5x^{10} - 3x^2 + 7\), find \(h'(x)\).
What is the tangent line to \(f(x) = x^2\) at \(x = 3\)?
Product rule: \(u = x^2 + 1\), \(u' = 2x\); \(v = 3x - 2\), \(v' = 3\)
\(f'(x) = 2x(3x - 2) + (x^2 + 1)(3) = 6x^2 - 4x + 3x^2 + 3 = 9x^2 - 4x + 3\)
Quotient rule: \(u = x^2\), \(u' = 2x\); \(v = x + 1\), \(v' = 1\)
\(g'(x) = \frac{2x(x + 1) - x^2(1)}{(x + 1)^2} = \frac{2x^2 + 2x - x^2}{(x + 1)^2} = \frac{x^2 + 2x}{(x + 1)^2} = \frac{x(x + 2)}{(x + 1)^2}\)
Power rule: \(h'(x) = 50x^9 - 6x\)
Point: \(f(3) = 9\); Slope: \(f'(x) = 2x\), so \(f'(3) = 6\)
Equation: \(y - 9 = 6(x - 3)\) or \(y = 6x - 9\)
Homework Discussion
Your questions from Session 05-03
What questions do you have regarding the tasks?
Learning Objectives
What You’ll Learn Today
- Master the chain rule for differentiating composite functions
- Combine chain rule with product and quotient rules effectively
- Use implicit differentiation when you can’t solve for \(y\)
- Apply related rates when quantities change over time
- Solve business problems with nested functions and changing rates
The chain rule unlocks differentiation of composite functions, one of the most powerful and widely used techniques in calculus!
The Chain Rule
Challenge: Composite Functions
The Problem: How do we differentiate \((x^2 + 3x + 1)^{100}\)?
- Could we expand it? No! Expansion would have hundreds of terms
- Current rules don’t help: Not a simple power, product, or quotient
- This is a composite function: A function inside another function
Challenge: Composite Functions II
The Structure:
- Outer function: \(f(u) = u^{100}\)
- Inner function: \(u = x^2 + 3x + 1\)
- Composite: \(f(g(x)) = (x^2 + 3x + 1)^{100}\)
The Chain Rule
Derivative of outer (evaluated at inner) times derivative of inner:
\[\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\]
Or in Leibniz notation, if \(y = f(u)\) and \(u = g(x)\):
\[\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}\]
Most Common Mistake: Forgetting to multiply by the derivative of the inner function!
Chain Rule Example
Example: Differentiate \(f(x) = (x^2 + 3x + 1)^{100}\)
Step 1: Identify inner and outer
- Outer: \(f(u) = u^{100}\), so \(f'(u) = 100u^{99}\)
- Inner: \(u = x^2 + 3x + 1\), so \(u' = 2x + 3\)
Step 2: Apply chain rule \[f'(x) = 100(x^2 + 3x + 1)^{99} \cdot (2x + 3)\]
Notice: We never had to expand the original function!
Visualizing the Chain Rule
- At \(x = -1\), both the function and derivative equal zero
- The derivative is always non-negative (parabola opening upward)
More Chain Rule Examples
Differentiate \(g(x) = \sqrt{3x^2 + 5}\), rewritten as \(g(x) = (3x^2 + 5)^{1/2}\)
- Outer: \(u^{1/2}\), so derivative is \(\frac{1}{2}u^{-1/2}\)
- Inner: \(3x^2 + 5\), so derivative is \(6x\)
- \(g'(x) = \frac{1}{2}(3x^2 + 5)^{-1/2} \cdot 6x = \frac{6x}{2\sqrt{3x^2 + 5}} = \frac{3x}{\sqrt{3x^2 + 5}}\)
Differentiate \(h(x) = \frac{1}{(2x - 1)^3}\), rewritten as \(h(x) = (2x - 1)^{-3}\)
- \(h'(x) = -3(2x - 1)^{-4} \cdot 2 = \frac{-6}{(2x - 1)^4}\)
Combining Rules
Chain Rule with Product Rule I
Strategy: When you have a product with composite functions:
- Apply product rule first (outer operation)
- Use chain rule for each composite factor
Example: Differentiate \(f(x) = x^2(3x + 1)^5\)
Chain Rule with Product Rule II
Product rule:
- \(u = x^2\), so \(u' = 2x\)
- \(v = (3x + 1)^5\), so \(v' = 5(3x + 1)^4 \cdot 3 = 15(3x + 1)^4\) (chain rule!)
- \(f'(x) = 2x(3x + 1)^5 + x^2 \cdot 15(3x + 1)^4\)
Factor:
- \(= (3x + 1)^4[2x(3x + 1) + 15x^2]\)
- \(= (3x + 1)^4[6x^2 + 2x + 15x^2]\)
- \(= (3x + 1)^4(21x^2 + 2x)\)
Simplified Chain Applications
Example: Differentiate \(h(x) = \sqrt{(2x + 1)^3}\)
Simplify first!
\[h(x) = (2x + 1)^{3/2}\]
\[h'(x) = \frac{3}{2}(2x + 1)^{1/2} \cdot 2\]
\[h'(x) = 3\sqrt{2x + 1}\]
Derivatives of \(e^x\) and \(\ln(x)\)
\[\frac{d}{dx}\left[e^x\right] = e^x \qquad \qquad \frac{d}{dx}\left[\ln(x)\right] = \frac{1}{x} \quad (x > 0)\]
- \(e^x\) is its own derivative: everywhere, the slope equals the height
- \(e^x > 0\) for all \(x\), so \(e^x\) is never zero
With the chain rule (inner function \(g(x)\)):
- \(\left(e^{g(x)}\right)' = e^{g(x)} \cdot g'(x)\), special case \(\left(e^{kx}\right)' = k \cdot e^{kx}\)
- \(\left(\ln(g(x))\right)' = \frac{g'(x)}{g(x)}\)
Example: Sales and Advertising
Weekly sales (thousand units): \(S(t) = (8 + 4t)e^{-0.25t}\), \(t\) in weeks
- Product rule, with \(\left(e^{-0.25t}\right)' = -0.25e^{-0.25t}\) by the chain rule:
\[S'(t) = 4e^{-0.25t} + (8 + 4t)(-0.25)e^{-0.25t} = e^{-0.25t}(2 - t)\]
\(e^{-0.25t} > 0\) for all \(t\): only the bracket can become zero, so \(S'(t) = 0 \iff t = 2\)
Revenue, budget \(a\) (both in thousand EUR): \(R(a) = 30\ln(2a + 5)\)
- \(R'(a) = 30 \cdot \frac{2}{2a + 5} = \frac{60}{2a + 5}\), so \(R'(5) = \frac{60}{15} = 4\)
- At \(a = 5\): 1,000 EUR more budget, ≈ 4,000 EUR more revenue
Quick Practice
Individual Exercise
Work individually for 10 minutes
Differentiate using the chain rule:
\(f(x) = (5x + 2)^4\)
\(g(x) = \sqrt{x^2 - 1}\)
\(h(x) = (x^2 + 1)^3(2x - 1)^2\)
\(k(x) = \frac{x}{(3x + 1)^2}\)
Outer: \(u^4\), Inner: \(5x + 2\)
\(f'(x) = 4(5x + 2)^3 \cdot 5 = 20(5x + 2)^3\)
\(g(x) = (x^2 - 1)^{1/2}\)
\(g'(x) = \frac{1}{2}(x^2 - 1)^{-1/2} \cdot 2x = \frac{x}{\sqrt{x^2 - 1}}\)
Product rule with chain rule:
\(u = (x^2 + 1)^3\), \(u' = 3(x^2 + 1)^2 \cdot 2x = 6x(x^2 + 1)^2\)
\(v = (2x - 1)^2\), \(v' = 2(2x - 1) \cdot 2 = 4(2x - 1)\)
\(h'(x) = 6x(x^2 + 1)^2(2x - 1)^2 + (x^2 + 1)^3 \cdot 4(2x - 1)\)
Factor: \(= 2(x^2 + 1)^2(2x - 1)[3x(2x - 1) + 2(x^2 + 1)]\)
\(= 2(x^2 + 1)^2(2x - 1)(6x^2 - 3x + 2x^2 + 2)\)
\(= 2(x^2 + 1)^2(2x - 1)(8x^2 - 3x + 2)\)
Quotient rule:
\(u = x\), \(u' = 1\); \(v = (3x + 1)^2\), \(v' = 2(3x + 1) \cdot 3 = 6(3x + 1)\)
\(k'(x) = \frac{1 \cdot (3x + 1)^2 - x \cdot 6(3x + 1)}{(3x + 1)^4}\)
\(= \frac{(3x + 1)[(3x + 1) - 6x]}{(3x + 1)^4} = \frac{1 - 3x}{(3x + 1)^3}\)
Break
Implicit Derivatives
Two Ways to Find a Derivative
Problem: Revenue constraint \(pq = 10000\). Find \(\frac{dq}{dp}\).
- \(q = \frac{10000}{p} = 10000p^{-1}\) (Solve for \(q\) then differentiate)
- \(\frac{dq}{dp} = -10000p^{-2} = -\frac{10000}{p^2}\)
- \(\frac{d}{dp}[pq] = \frac{d}{dp}[10000]\) (Differentiate both sides with respect to \(p\))
- \(q + p\frac{dq}{dp} = 0\) (Product rule on the left, then solve for \(\frac{dq}{dp}\))
- \(\frac{dq}{dp} = -\frac{q}{p} = -\frac{10000/p}{p} = -\frac{10000}{p^2}\) (Substitute the constraint)
Both methods give \(\frac{dq}{dp} = -\frac{10000}{p^2}\). Method 2 is called implicit differentiation.
Why Learn Implicit Differentiation?
Because sometimes Method 1 is impossible or complex!
Factory produces constant output \(Q = 100\) with labor \(L\) and capital \(K\):
\[L^{0.6} \cdot K^{0.4} = 100\]
When we write \(L^{0.6} \cdot K^{0.4} = 100\), we’re really saying:
\[L^{0.6} \cdot [K(L)]^{0.4} = 100\]
Question: What does this mean?
Every variable is secretly a function!
The Main Idea
\(K\) depends on \(L\), we just don’t know the explicit formula!
\[L^{0.6} \cdot K^{0.4} = 100\]
The Chain Rule applies:
\[\frac{d}{dL}[K^{0.4}] = 0.4 \cdot K^{-0.6} \cdot \frac{dK}{dL}\]
Whenever you differentiate a term containing \(K\), multiply by \(\frac{dK}{dL}\) because \(K\) is a function of \(L\).
Production Example
Step 1: Differentiate both sides with respect to \(L\)
\[\frac{d}{dL}[L^{0.6} \cdot K^{0.4}] = \frac{d}{dL}[100]\]
Step 2: Apply product rule on left side and solve for \(\frac{dK}{dL}\)
\[0.6L^{-0.4} \cdot K^{0.4} + L^{0.6} \cdot 0.4K^{-0.6} \cdot \frac{dK}{dL} = 0\]
\[\frac{dK}{dL} = -\frac{0.6L^{-0.4} \cdot K^{0.4}}{0.4L^{0.6} \cdot K^{-0.6}} = -\frac{0.6}{0.4} \cdot \frac{K}{L} = -\frac{3K}{2L}\]
Interpreting the Result
\[\frac{dK}{dL} = -\frac{3K}{2L}\]
- The negative sign: more labor → less capital needed (trade-off)
- The ratio \(\frac{K}{L}\) matters: if \(K = 20\) and \(L = 10\), then \(\frac{dK}{dL} = -3\)
- Each additional unit of labor saves 3 units of capital
- Marginal Rate of Technical Substitution (MRTS) in economics!
The MRTS tells managers how to substitute between inputs while maintaining the same output level, crucial for cost minimization!
Example: Constant Revenue
A company sells a product with a constant revenue of 5000:
Practice: \(pq = 5000\). Find \(\frac{dq}{dp}\) using implicit differentiation.
Result: \(\frac{dq}{dp} = -\frac{q}{p}\)
Interpretation: At any point on the demand curve, a 1% price increase requires approximately a 1% quantity decrease to maintain revenue.
- Solve first if it’s easy (linear equations, simple fractions)
- Implicit differentiation when solving is messy or impossible
- You need the rate of change without fully solving the equation
Guided Practice
Practice Set A: Chain Rule
Work in pairs for 15 minutes
Differentiate the following:
\(f(x) = (x^3 - 2x + 1)^{10}\)
\(g(x) = \sqrt{5x^2 + 3x - 1}\)
\(h(x) = \frac{1}{(x^2 + 1)^3}\)
\(k(x) = x(2x - 3)^4\)
\(f'(x) = 10(x^3 - 2x + 1)^9 \cdot (3x^2 - 2) = 10(3x^2 - 2)(x^3 - 2x + 1)^9\)
\(g(x) = (5x^2 + 3x - 1)^{1/2}\)
\(g'(x) = \frac{1}{2}(5x^2 + 3x - 1)^{-1/2} \cdot (10x + 3) = \frac{10x + 3}{2\sqrt{5x^2 + 3x - 1}}\)
\(h(x) = (x^2 + 1)^{-3}\)
\(h'(x) = -3(x^2 + 1)^{-4} \cdot 2x = \frac{-6x}{(x^2 + 1)^4}\)
Product rule:
\(u = x\), \(u' = 1\); \(v = (2x - 3)^4\), \(v' = 4(2x - 3)^3 \cdot 2 = 8(2x - 3)^3\)
\(k'(x) = 1 \cdot (2x - 3)^4 + x \cdot 8(2x - 3)^3\)
\(= (2x - 3)^3[(2x - 3) + 8x] = (2x - 3)^3(10x - 3)\)
Business Applications
Nested Economic Functions
Business Context: A company’s revenue depends on price \(p\), which itself depends on quantity \(x\):
- Price function: \(p(x) = 100 - 0.5x\)
- Revenue from price: \(R(p) = p(200 - 2p)\)
Question: Find \(\frac{dR}{dx}\), rate of change of revenue with respect to quantity.
Any idea how to approach this problem?
Chain Rule for Nested Functions I
Step 1: Express \(R\) in terms of \(p\) with \(R(p) = 200p - 2p^2\) \[\frac{dR}{dp} = 200 - 4p\]
Step 2: Find \(\frac{dp}{dx}\) with \(p(x) = 100 - 0.5x\) \[\frac{dp}{dx} = -0.5\]
Step 3: Apply chain rule: \(\;\frac{dR}{dx} = \frac{dR}{dp} \cdot \frac{dp}{dx} = (200 - 4p)(-0.5)\)
Chain Rule for Nested Functions II
Now just substitute \(p = 100 - 0.5x\) into expression for \(\frac{dR}{dx}\):
\[\frac{dR}{dx} = (200 - 4(100 - 0.5x))(-0.5)\]
\[\frac{dR}{dx} = 100 - x\]
- At \(x\), revenue changes at \((100 - x)\) EUR per unit
- When \(x = 50\): \(\frac{dR}{dx} = 50\) (revenue still increasing)
- When \(x = 100\): \(\frac{dR}{dx} = 0\) (revenue maximized!)
Team Problem-Solving
Challenge: Expanding Retail Chain
Profit \(P\) (in thousand EUR) of a chain with \(n\) stores, opening 4 new stores per year: \(P = 200\sqrt{n} - 5n\)
Write the relationship between \(\frac{dP}{dt}\) and \(\frac{dn}{dt}\).
How fast is profit changing when \(n = 25\) stores?
How fast is profit changing when \(n = 100\) stores?
At how many stores does profit stop growing? What does this mean for the company?
Discussion: Why does profit growth slow as the chain expands?
Differentiate with respect to time:
\(P = 200n^{1/2} - 5n\)
\(\frac{dP}{dt} = 200 \cdot \frac{1}{2}n^{-1/2} \cdot \frac{dn}{dt} - 5\frac{dn}{dt}\)
\(\frac{dP}{dt} = \left(\frac{100}{\sqrt{n}} - 5\right) \frac{dn}{dt}\)
When \(n = 25\):
\(\frac{dP}{dt} = \left(\frac{100}{\sqrt{25}} - 5\right) \cdot 4 = \left(\frac{100}{5} - 5\right) \cdot 4 = (20 - 5) \cdot 4 = 60\)
Profit is increasing at 60,000 EUR per year.
When \(n = 100\):
\(\frac{dP}{dt} = \left(\frac{100}{\sqrt{100}} - 5\right) \cdot 4 = \left(\frac{100}{10} - 5\right) \cdot 4 = (10 - 5) \cdot 4 = 20\)
Profit is increasing at 20,000 EUR per year (much slower!).
Profit stops growing when \(\frac{dP}{dt} = 0\):
\(\frac{100}{\sqrt{n}} - 5 = 0\)
\(\frac{100}{\sqrt{n}} = 5\)
\(\sqrt{n} = 20\), so \(n = 400\) stores
Check both sides: for \(n < 400\), \(\frac{100}{\sqrt{n}} > 5\), so profit still grows with every new store. For \(n > 400\), \(\frac{100}{\sqrt{n}} < 5\), so profit falls.
At 400 stores, profit is highest. Beyond this, each new store reduces overall profit.
Discussion points:
- Fixed costs spread thin: Initial stores share brand, logistics efficiently
- Market saturation: Stores start competing with each other (cannibalization)
- Management complexity: Larger chains are harder to coordinate
- Diminishing returns: The \(\sqrt{n}\) term captures this: each additional store adds less than the previous one
Coffee Break
FSP Workshop
Problem 1: A Solar Park in Summer
A solar park (a large field of solar panels) feeds electricity into the power grid. On a clear summer day, its output in MW (megawatts) is
\[ P(t) = 12e^{-0.08(t - 13.5)^2}, \qquad t \in [5; 22], \]
where \(t\) is the time in hours after midnight.
- Compute the output at 13:30 and at 8:00. Determine the first and the second derivative of \(P\). [4 pts.]
- Output: \(P(13.5) = 12e^{0} = 12\) MW and \(P(8) = 12e^{-0.08 \cdot 30.25} = 12e^{-2.42} \approx 1.07\) MW.
First derivative with the chain rule \(\left(e^{g(t)}\right)' = e^{g(t)} \cdot g'(t)\). Inner function \(g(t) = -0.08(t - 13.5)^2\), again by the chain rule \(g'(t) = -0.08 \cdot 2(t - 13.5) \cdot 1 = -0.16(t - 13.5)\):
\[ P'(t) = 12e^{-0.08(t - 13.5)^2} \cdot (-0.16)(t - 13.5) = -1.92(t - 13.5)e^{-0.08(t - 13.5)^2} \]
Second derivative with the product rule, \(u = t - 13.5\), \(u' = 1\), \(v = e^{-0.08(t - 13.5)^2}\), \(v' = -0.16(t - 13.5)e^{-0.08(t - 13.5)^2}\):
\[ P''(t) = -1.92\left[e^{-0.08(t - 13.5)^2} + (t - 13.5) \cdot (-0.16)(t - 13.5)e^{-0.08(t - 13.5)^2}\right] = -1.92\left(1 - 0.16(t - 13.5)^2\right)e^{-0.08(t - 13.5)^2} \]
Multiplied out: \(P''(t) = \left(0.3072(t - 13.5)^2 - 1.92\right)e^{-0.08(t - 13.5)^2}\). Check: both forms give \(P''(13.5) = -1.92\).
Grading: 1 Pt. \(P(13.5) = 12\) MW and \(P(8) \approx 1.07\) MW, 1 Pt. inner derivative \(-0.16(t - 13.5)\), 1 Pt. \(P'(t)\), 1 Pt. \(P''(t)\) with the product and the chain rule.
Solar Park: Rates of Change
- Compute \(P'(10.5)\) and \(P'(15.5)\), the rates at 10:30 and 15:30, rounded to two decimal places, and interpret both values with units. Show with the sign of \(P'\) that the output rises until 13:30 and falls afterwards, and give the peak output. [4 pts.]
(for verification: \(P'(t) = -1.92(t - 13.5)e^{-0.08(t - 13.5)^2}\))
- Insert into \(P'(t)\):
\[ P'(10.5) = -1.92 \cdot (-3) \cdot e^{-0.72} = 5.76e^{-0.72} \approx 2.80, \qquad P'(15.5) = -1.92 \cdot 2 \cdot e^{-0.32} = -3.84e^{-0.32} \approx -2.79 \]
- At 10:30 the output rises by about 2.80 MW per hour
- At 15:30 the output falls by about 2.79 MW per hour
Sign of \(P'\): \(e^{-0.08(t - 13.5)^2} > 0\) for all \(t\), so the sign of \(P'(t)\) is the sign of \(-1.92(t - 13.5)\).
- For \(t < 13.5\): \(t - 13.5 < 0\), so \(P'(t) > 0\) and the output rises
- For \(t > 13.5\): \(t - 13.5 > 0\), so \(P'(t) < 0\) and the output falls
The output rises until 13:30 and falls afterwards, so it peaks at 13:30 with \(P(13.5) = 12\) MW.
Grading: 1 Pt. \(P'(10.5) \approx 2.80\) MW per hour with meaning, 1 Pt. \(P'(15.5) \approx -2.79\) MW per hour with meaning, 1 Pt. sign argument with \(e^{\dots} > 0\) on both sides of 13.5, 1 Pt. peak 12 MW at 13:30.
Solar Park: Charging the Battery
The park also runs a large battery (an electricity store). The battery is charged only while the park delivers at least 3 MW.
- Determine the two times at which the output is exactly 3 MW, to the nearest minute. Explain with b) why the output is at least 3 MW between these times. Give the length of the charging period from your rounded times. [4 pts.]
- Set \(P(t) = 3\) and divide by 12:
\[ 12e^{-0.08(t - 13.5)^2} = 3 \iff e^{-0.08(t - 13.5)^2} = 0.25 \]
Take the natural logarithm of both sides (\(\ln(e^x) = x\)) and divide by \(-0.08\), with \(\ln(0.25) = -\ln(4) \approx -1.3863\):
\[ -0.08(t - 13.5)^2 = \ln(0.25) \iff (t - 13.5)^2 = \frac{\ln(4)}{0.08} \approx 17.33 \iff t - 13.5 = \pm\sqrt{17.33} \approx \pm 4.1628 \]
- \(t_1 \approx 13.5 - 4.1628 = 9.3372\), and \(0.3372 \cdot 60 \approx 20\) min: 9:20
- \(t_2 \approx 13.5 + 4.1628 = 17.6628\), and \(0.6628 \cdot 60 \approx 40\) min: 17:40
By b), the output rises from 3 MW at \(t_1\) to 12 MW at 13:30 and then falls back to 3 MW at \(t_2\). So it is at least 3 MW between the two times and below 3 MW outside them. The battery is charged from 9:20 to 17:40, for 8 h 20 min.
Grading: 1 Pt. \(e^{-0.08(t - 13.5)^2} = 0.25\) and the logarithm, 1 Pt. \((t - 13.5)^2 \approx 17.33\) with both roots, 1 Pt. 9:20 and 17:40, 1 Pt. reason with b) and 8 h 20 min.
Solar Park: The Log Forecast
The grid operator (the company that runs the power lines) forecasts with the logarithm of the output, \(L(t) = \ln(P(t))\).
- Show that \(L(t) = \ln(12) - 0.08(t - 13.5)^2\). Determine \(L'(t)\) in two ways: from this form, and from \(L(t) = \ln(P(t))\) with the chain rule. Compute \(L'(10.5)\) and interpret it as a percentage: by what percentage of the output at 10:30 does the output rise per hour at 10:30? [4 pts.]
(for verification: \(P'(t) = -1.92(t - 13.5)e^{-0.08(t - 13.5)^2}\))
- With the log laws \(\ln(a \cdot b) = \ln(a) + \ln(b)\) and \(\ln(e^x) = x\):
\[ L(t) = \ln\left(12 \cdot e^{-0.08(t - 13.5)^2}\right) = \ln(12) + \ln\left(e^{-0.08(t - 13.5)^2}\right) = \ln(12) - 0.08(t - 13.5)^2 \]
- From this form: \(\ln(12)\) is a constant, so \(L'(t) = -0.08 \cdot 2(t - 13.5) = -0.16(t - 13.5)\)
- With the chain rule \(\left(\ln(g(t))\right)' = \frac{g'(t)}{g(t)}\):
\[ L'(t) = \frac{P'(t)}{P(t)} = \frac{-1.92(t - 13.5)e^{-0.08(t - 13.5)^2}}{12e^{-0.08(t - 13.5)^2}} = -0.16(t - 13.5) \]
Both ways give the same result. \(L'(10.5) = -0.16 \cdot (-3) = 0.48\), so \(P'(10.5) = 0.48 \cdot P(10.5)\): at 10:30 the output rises by 48 % of the current output per hour. Check with b): \(P(10.5) = 12e^{-0.72} \approx 5.84\) MW and \(0.48 \cdot 5.84 \approx 2.80\) MW per hour \(= P'(10.5)\).
Grading: 1 Pt. \(L(t)\) with both log laws, 1 Pt. \(L'(t) = -0.16(t - 13.5)\) from the form, 1 Pt. \(L'(t) = \frac{P'(t)}{P(t)}\) with the same result, 1 Pt. \(L'(10.5) = 0.48\) as 48 % of the current output per hour.
Wrap-Up & Takeaways
Today’s Essential Techniques
| Technique | When to Use | Key Idea |
|---|---|---|
| Chain Rule | Composite \(f(g(x))\) | Outer derivative × inner derivative |
| Chain + Product | Product with composites | Product rule first, then chain |
| Implicit Diff | Variables intertwined | Differentiate both, solve for derivative |
| Related Rates | Quantities change over time | Differentiate with respect to \(t\) |
| \(e^x\) and \(\ln(x)\) | Exponential and log models | \(e^{g(x)} \to e^{g(x)} \cdot g'(x)\), \(\;\ln(g(x)) \to \frac{g'(x)}{g(x)}\) |
Never forget the inner derivative! This is the main mistake in chain rule problems.
Final Assessment
Quick Check
Work individually and then we compare
Differentiate \((3x^2 + 1)^4\).
Price \(p\) and quantity \(q\) satisfy \(pq = 800\). Find \(\frac{dq}{dp}\).
Profit \(P = 50\sqrt{Q}\) and production grows at 8 units/month. How fast is profit growing when \(Q = 100\)?
True or False: \(\frac{d}{dx}[f(g(x))] = f'(x) \cdot g'(x)\)
\(\frac{d}{dx}[(3x^2 + 1)^4] = 4(3x^2 + 1)^3 \cdot 6x = 24x(3x^2 + 1)^3\)
Differentiate \(pq = 800\): \(q + p\frac{dq}{dp} = 0\), so \(\frac{dq}{dp} = -\frac{q}{p}\)
\(\frac{dP}{dt} = \frac{50}{2\sqrt{Q}} \cdot \frac{dQ}{dt} = \frac{25}{\sqrt{100}} \cdot 8 = \frac{25}{10} \cdot 8 = 20\) EUR/month
False! The correct chain rule is \(\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\)
The outer derivative must be evaluated at the inner function, not at \(x\)!
Next Session Preview
Session 05-05
Graphical Calculus Mastery
- From \(f\) to \(f'\): Sketching derivatives from function graphs
- From \(f'\) to \(f\): Determining function properties from derivative
- Second derivatives: Understanding \(f''\) and concavity
- Critical points: Where \(f'(x) = 0\) or doesn’t exist
- Inflection points: Where \(f''(x) = 0\) and concavity changes
- Heavily tested on exams! Visual analysis is crucial
Complete Tasks 05-04!