Tasks: Chain Rule & Implicit Differentiation
Session 05-04 Practice Problems
1 Problem 1: Basic Chain Rule (x)
Differentiate the following functions using the chain rule:
\(f(x) = (3x + 7)^6\)
\(g(x) = \sqrt{5x - 2}\)
\(h(x) = (x^2 - 4x + 1)^{10}\)
\(k(x) = \frac{1}{(2x + 3)^4}\)
a) \(f(x) = (3x + 7)^6\)
- Outer: \(u^6\), derivative: \(6u^5\)
- Inner: \(3x + 7\), derivative: \(3\)
\[f'(x) = 6(3x + 7)^5 \cdot 3 = 18(3x + 7)^5\]
b) \(g(x) = \sqrt{5x - 2} = (5x - 2)^{1/2}\)
- Outer: \(u^{1/2}\), derivative: \(\frac{1}{2}u^{-1/2}\)
- Inner: \(5x - 2\), derivative: \(5\)
\[g'(x) = \frac{1}{2}(5x - 2)^{-1/2} \cdot 5 = \frac{5}{2\sqrt{5x - 2}}\]
c) \(h(x) = (x^2 - 4x + 1)^{10}\)
- Outer: \(u^{10}\), derivative: \(10u^9\)
- Inner: \(x^2 - 4x + 1\), derivative: \(2x - 4\)
\[h'(x) = 10(x^2 - 4x + 1)^9 \cdot (2x - 4) = 20(x - 2)(x^2 - 4x + 1)^9\]
d) \(k(x) = \frac{1}{(2x + 3)^4} = (2x + 3)^{-4}\)
- Outer: \(u^{-4}\), derivative: \(-4u^{-5}\)
- Inner: \(2x + 3\), derivative: \(2\)
\[k'(x) = -4(2x + 3)^{-5} \cdot 2 = \frac{-8}{(2x + 3)^5}\]
2 Problem 2: Chain Rule with Product Rule (xx)
Differentiate the following functions:
\(f(x) = x^3(2x - 1)^4\)
\(g(x) = (x^2 + 1)^2(3x - 5)^3\)
\(h(x) = \frac{x^2}{(x + 1)^3}\)
a) \(f(x) = x^3(2x - 1)^4\) — Product rule needed
- \(u = x^3\), \(u' = 3x^2\)
- \(v = (2x - 1)^4\), \(v' = 4(2x - 1)^3 \cdot 2 = 8(2x - 1)^3\) (chain rule!)
\[f'(x) = 3x^2(2x - 1)^4 + x^3 \cdot 8(2x - 1)^3\]
Factor out \(x^2(2x - 1)^3\): \[= x^2(2x - 1)^3[3(2x - 1) + 8x] = x^2(2x - 1)^3(14x - 3)\]
b) \(g(x) = (x^2 + 1)^2(3x - 5)^3\) — Product of composites
- \(u = (x^2 + 1)^2\), \(u' = 2(x^2 + 1) \cdot 2x = 4x(x^2 + 1)\)
- \(v = (3x - 5)^3\), \(v' = 3(3x - 5)^2 \cdot 3 = 9(3x - 5)^2\)
\[h'(x) = 4x(x^2 + 1)(3x - 5)^3 + (x^2 + 1)^2 \cdot 9(3x - 5)^2\]
Factor \((x^2 + 1)(3x - 5)^2\): \[= (x^2 + 1)(3x - 5)^2[4x(3x - 5) + 9(x^2 + 1)]\] \[= (x^2 + 1)(3x - 5)^2(21x^2 - 20x + 9)\]
c) \(g(x) = \frac{x^2}{(x + 1)^3}\) — Quotient rule needed
- \(u = x^2\), \(u' = 2x\)
- \(v = (x + 1)^3\), \(v' = 3(x + 1)^2\) (chain rule!)
\[g'(x) = \frac{2x(x + 1)^3 - x^2 \cdot 3(x + 1)^2}{(x + 1)^6}\]
Factor \((x + 1)^2\) from numerator: \[= \frac{(x + 1)^2[2x(x + 1) - 3x^2]}{(x + 1)^6} = \frac{-x^2 + 2x}{(x + 1)^4} = \frac{x(2 - x)}{(x + 1)^4}\]
3 Problem 3: Simplifying Before Differentiating (x)
Differentiate by simplifying first:
\(f(x) = \sqrt{(2x + 1)^3}\)
\(g(x) = \frac{1}{\sqrt{x^2 + 1}}\)
a) \(f(x) = \sqrt{(2x + 1)^3} = (2x + 1)^{3/2}\)
\[f'(x) = \frac{3}{2}(2x + 1)^{1/2} \cdot 2 = 3\sqrt{2x + 1}\]
b) \(g(x) = \frac{1}{\sqrt{x^2 + 1}} = (x^2 + 1)^{-1/2}\)
\[g'(x) = -\frac{1}{2}(x^2 + 1)^{-3/2} \cdot 2x = \frac{-x}{(x^2 + 1)^{3/2}}\]
4 Problem 4: Implicit Differentiation - Business Contexts (x)
Find the derivative for each business relationship:
A company’s price \(p\) and quantity \(q\) satisfy a constant revenue constraint: \(pq = 5000\). Find \(\frac{dq}{dp}\).
Marketing spend \(M\) and sales \(S\) follow: \(MS = 12000\). Find \(\frac{dS}{dM}\).
Budget constraint: \(30L + 50K = 9000\) where \(L\) = labor hours and \(K\) = capital units. Find \(\frac{dK}{dL}\).
a) \(pq = 5000\)
Differentiate both sides with respect to \(p\): \[q + p\frac{dq}{dp} = 0\] \[\frac{dq}{dp} = -\frac{q}{p}\]
Interpretation: If price doubles, quantity must halve to maintain revenue.
b) \(MS = 12000\)
Differentiate with respect to \(M\): \[S + M\frac{dS}{dM} = 0\] \[\frac{dS}{dM} = -\frac{S}{M}\]
Interpretation: Increasing marketing requires proportionally less sales to maintain the same product.
c) \(30L + 50K = 9000\)
Differentiate with respect to \(L\): \[30 + 50\frac{dK}{dL} = 0\] \[\frac{dK}{dL} = -\frac{30}{50} = -\frac{3}{5}\]
Interpretation: For every 5 additional labor hours, capital must decrease by 3 units to stay on budget.