Worksheet 05 - Special Derivatives
Section 05
Instructions
This worksheet covers the differentiation of exponential and logarithmic functions, alone and combined with powers. For each problem, find the derivative and simplify your result. Difficulty levels are indicated by (x) = basic, (xx) = moderate, (xxx) = challenging, (xxxx) = advanced.
Problem Set 1: Exponential Functions
1. Basic Exponential Derivatives (x)
Find the derivative of each function:
\(f(x) = e^{3x}\)
\(f(x) = 5e^x\)
\(f(x) = e^{-x}\)
\(f(x) = 3^x\)
Hint: Write \(3 = e^{\ln(3)}\), so \(3^x = e^{\ln(3) \cdot x}\).
Part a) \(f(x) = e^{3x}\):
Using the chain rule with \(g(x) = 3x\): \[f'(x) = e^{3x} \cdot 3 = 3e^{3x}\]
Part b) \(f(x) = 5e^x\):
The constant factor stays: \[f'(x) = 5e^x\]
Part c) \(f(x) = e^{-x}\):
Using the chain rule with \(g(x) = -x\): \[f'(x) = e^{-x} \cdot (-1) = -e^{-x}\]
Part d) \(f(x) = 3^x\):
Write \(3^x = e^{\ln(3) \cdot x}\) and use the chain rule with the inner derivative \(\ln(3)\): \[f'(x) = \ln(3) \cdot e^{\ln(3) \cdot x} = 3^x \cdot \ln(3)\]
2. Exponential Functions with Chain Rule (xx)
Find the derivative of each function:
\(f(x) = e^{x^2}\)
\(f(x) = e^{2x+1}\)
\(f(x) = 2^{3x}\)
\(f(x) = e^{-x^2/2}\)
Hint: For c), write \(2 = e^{\ln(2)}\) as in Problem 1 d).
Part a) \(f(x) = e^{x^2}\):
Chain rule with \(g(x) = x^2\), so \(g'(x) = 2x\): \[f'(x) = e^{x^2} \cdot 2x = 2x \cdot e^{x^2}\]
Part b) \(f(x) = e^{2x+1}\):
Chain rule with \(g(x) = 2x + 1\), so \(g'(x) = 2\): \[f'(x) = e^{2x+1} \cdot 2 = 2e^{2x+1}\]
Part c) \(f(x) = 2^{3x}\):
Write \(2^{3x} = e^{3\ln(2) \cdot x}\) and use the chain rule with the inner derivative \(3\ln(2)\): \[f'(x) = 3\ln(2) \cdot e^{3\ln(2) \cdot x} = 3\ln(2) \cdot 2^{3x}\]
Part d) \(f(x) = e^{-x^2/2}\):
Chain rule with \(g(x) = -\frac{x^2}{2}\), so \(g'(x) = -x\): \[f'(x) = e^{-x^2/2} \cdot (-x) = -x \cdot e^{-x^2/2}\]
3. Products and Quotients with Exponentials (xxx)
Find the derivative of each function:
\(f(x) = x^2 \cdot e^x\)
\(f(x) = \frac{e^x}{x}\)
\(f(x) = x \cdot e^{-x}\)
\(f(x) = \frac{e^{2x}}{e^x + 1}\)
Part a) \(f(x) = x^2 \cdot e^x\):
Product rule: \(f'(x) = 2x \cdot e^x + x^2 \cdot e^x = e^x(2x + x^2) = xe^x(2 + x)\)
Part b) \(f(x) = \frac{e^x}{x}\):
Quotient rule: \[f'(x) = \frac{e^x \cdot x - e^x \cdot 1}{x^2} = \frac{e^x(x - 1)}{x^2}\]
Part c) \(f(x) = x \cdot e^{-x}\):
Product rule: \[f'(x) = 1 \cdot e^{-x} + x \cdot (-e^{-x}) = e^{-x}(1 - x)\]
Part d) \(f(x) = \frac{e^{2x}}{e^x + 1}\):
Quotient rule with \(u = e^{2x}\), \(u' = 2e^{2x}\), \(v = e^x + 1\), \(v' = e^x\): \[f'(x) = \frac{2e^{2x}(e^x + 1) - e^{2x} \cdot e^x}{(e^x + 1)^2} = \frac{e^{2x}(2e^x + 2 - e^x)}{(e^x + 1)^2} = \frac{e^{2x}(e^x + 2)}{(e^x + 1)^2}\]
Problem Set 2: Logarithmic Functions
4. Basic Logarithmic Derivatives (x)
Find the derivative of each function:
\(f(x) = \ln(x)\)
\(f(x) = 3\ln(x)\)
\(f(x) = \log_{10}(x)\)
\(f(x) = \log_2(x)\)
Hint: For c) and d), first use the change of base formula from Session 01-05 to write the logarithm with \(\ln\).
Part a) \(f(x) = \ln(x)\):
\[f'(x) = \frac{1}{x}\]
Part b) \(f(x) = 3\ln(x)\):
\[f'(x) = \frac{3}{x}\]
Part c) \(f(x) = \log_{10}(x)\):
Change of base: \(\log_{10}(x) = \frac{1}{\ln(10)} \cdot \ln(x)\), and \(\frac{1}{\ln(10)}\) is a constant factor: \[f'(x) = \frac{1}{x \cdot \ln(10)}\]
Part d) \(f(x) = \log_2(x)\):
Change of base: \(\log_2(x) = \frac{1}{\ln(2)} \cdot \ln(x)\): \[f'(x) = \frac{1}{x \cdot \ln(2)}\]
5. Logarithmic Functions with Chain Rule (xx)
Find the derivative of each function:
\(f(x) = \ln(3x)\)
\(f(x) = \ln(x^2 + 1)\)
\(f(x) = \ln(\sqrt{x})\)
\(f(x) = \log_3(2x + 5)\)
Hint: For d), use the change of base formula as in Problem 4.
Part a) \(f(x) = \ln(3x)\):
Using \(\frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)}\) with \(g(x) = 3x\): \[f'(x) = \frac{3}{3x} = \frac{1}{x}\]
Note: This can also be seen from \(\ln(3x) = \ln(3) + \ln(x)\), and \(\ln(3)\) is a constant.
Part b) \(f(x) = \ln(x^2 + 1)\):
\[f'(x) = \frac{2x}{x^2 + 1}\]
Part c) \(f(x) = \ln(\sqrt{x})\):
Rewrite as \(f(x) = \ln(x^{1/2}) = \frac{1}{2}\ln(x)\): \[f'(x) = \frac{1}{2x}\]
Or directly: \(g(x) = \sqrt{x}\), \(g'(x) = \frac{1}{2\sqrt{x}}\): \[f'(x) = \frac{\frac{1}{2\sqrt{x}}}{\sqrt{x}} = \frac{1}{2x}\]
Part d) \(f(x) = \log_3(2x + 5)\):
Change of base: \(\log_3(2x + 5) = \frac{1}{\ln(3)} \cdot \ln(2x + 5)\), then the chain rule: \[f'(x) = \frac{1}{\ln(3)} \cdot \frac{2}{2x + 5} = \frac{2}{(2x + 5) \cdot \ln(3)}\]
6. Products and Quotients with Logarithms (xxx)
Find the derivative of each function:
\(f(x) = x \cdot \ln(x)\)
\(f(x) = \frac{\ln(x)}{x}\)
\(f(x) = \ln(x)^2\)
\(f(x) = x^2 \cdot \ln(x) - \frac{x^2}{2}\)
Part a) \(f(x) = x \cdot \ln(x)\):
Product rule: \[f'(x) = 1 \cdot \ln(x) + x \cdot \frac{1}{x} = \ln(x) + 1\]
Part b) \(f(x) = \frac{\ln(x)}{x}\):
Quotient rule: \[f'(x) = \frac{\frac{1}{x} \cdot x - \ln(x) \cdot 1}{x^2} = \frac{1 - \ln(x)}{x^2}\]
Part c) \(f(x) = [\ln(x)]^2\):
Chain rule with outer function \(u^2\) and inner function \(u = \ln(x)\): \[f'(x) = 2\ln(x) \cdot \frac{1}{x} = \frac{2\ln(x)}{x}\]
Part d) \(f(x) = x^2 \cdot \ln(x) - \frac{x^2}{2}\):
Product rule on the first term, power rule on the second: \[f'(x) = 2x \cdot \ln(x) + x^2 \cdot \frac{1}{x} - x = 2x\ln(x) + x - x = 2x\ln(x)\]
Problem Set 3: Powers, Exponentials and Logarithms Combined
7. Sums and Constant Factors (x)
Find the derivative of each function:
\(f(x) = 2e^x - 5\ln(x)\)
\(f(x) = x^4 + 6\ln(x)\)
\(f(x) = \frac{e^x}{4} - \frac{3}{x}\)
\(f(x) = \ln(x^3) + 7e^x\)
Hint: For d), first use the power law of logarithms from Session 01-05.
Part a) \(f(x) = 2e^x - 5\ln(x)\):
Differentiate term by term, the constant factors stay: \[f'(x) = 2e^x - \frac{5}{x}\]
Part b) \(f(x) = x^4 + 6\ln(x)\):
\[f'(x) = 4x^3 + \frac{6}{x}\]
Part c) \(f(x) = \frac{e^x}{4} - \frac{3}{x}\):
Write \(\frac{e^x}{4} = \frac{1}{4} \cdot e^x\) and \(\frac{3}{x} = 3x^{-1}\): \[f'(x) = \frac{1}{4}e^x - 3 \cdot (-1)x^{-2} = \frac{e^x}{4} + \frac{3}{x^2}\]
Part d) \(f(x) = \ln(x^3) + 7e^x\):
Power law: \(\ln(x^3) = 3\ln(x)\), so \[f'(x) = \frac{3}{x} + 7e^x\]
8. Chain Rule with Exponentials and Logarithms (xx)
Find the derivative of each function:
\(f(x) = e^{5 - 2x}\)
\(f(x) = (e^x + 3)^2\)
\(f(x) = \ln(x^3 + 2x)\)
\(f(x) = \sqrt{\ln(x)}\)
Part a) \(f(x) = e^{5 - 2x}\):
Chain rule with \(g(x) = 5 - 2x\), so \(g'(x) = -2\): \[f'(x) = e^{5 - 2x} \cdot (-2) = -2e^{5 - 2x}\]
Part b) \(f(x) = (e^x + 3)^2\):
Chain rule with outer function \(u^2\) and inner function \(u = e^x + 3\), so \(u' = e^x\): \[f'(x) = 2(e^x + 3) \cdot e^x = 2e^x(e^x + 3)\]
Part c) \(f(x) = \ln(x^3 + 2x)\):
Using \(\frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)}\) with \(g(x) = x^3 + 2x\): \[f'(x) = \frac{3x^2 + 2}{x^3 + 2x}\]
Part d) \(f(x) = \sqrt{\ln(x)}\):
Write \(f(x) = [\ln(x)]^{1/2}\). Chain rule with outer function \(u^{1/2}\) and inner function \(u = \ln(x)\): \[f'(x) = \frac{1}{2}[\ln(x)]^{-1/2} \cdot \frac{1}{x} = \frac{1}{2x\sqrt{\ln(x)}}\]
9. Products and Quotients with Powers (xxx)
Find the derivative of each function:
\(f(x) = (x + 2) \cdot e^{3x}\)
\(f(x) = \frac{x^2}{\ln(x)}\)
\(f(x) = x^4 \cdot \ln(x)\)
\(f(x) = \frac{e^x - 1}{e^x + 1}\)
Part a) \(f(x) = (x + 2) \cdot e^{3x}\):
Product rule with \(u = x + 2\), \(u' = 1\), \(v = e^{3x}\), \(v' = 3e^{3x}\): \[f'(x) = 1 \cdot e^{3x} + (x + 2) \cdot 3e^{3x} = e^{3x}(1 + 3x + 6) = e^{3x}(3x + 7)\]
Part b) \(f(x) = \frac{x^2}{\ln(x)}\):
Quotient rule: \[f'(x) = \frac{2x \cdot \ln(x) - x^2 \cdot \frac{1}{x}}{[\ln(x)]^2} = \frac{2x\ln(x) - x}{[\ln(x)]^2} = \frac{x(2\ln(x) - 1)}{[\ln(x)]^2}\]
Part c) \(f(x) = x^4 \cdot \ln(x)\):
Product rule: \[f'(x) = 4x^3 \cdot \ln(x) + x^4 \cdot \frac{1}{x} = 4x^3\ln(x) + x^3 = x^3(4\ln(x) + 1)\]
Part d) \(f(x) = \frac{e^x - 1}{e^x + 1}\):
Quotient rule with \(u = e^x - 1\), \(u' = e^x\), \(v = e^x + 1\), \(v' = e^x\): \[f'(x) = \frac{e^x(e^x + 1) - (e^x - 1) \cdot e^x}{(e^x + 1)^2} = \frac{e^{2x} + e^x - e^{2x} + e^x}{(e^x + 1)^2} = \frac{2e^x}{(e^x + 1)^2}\]
Problem Set 4: Mixed Functions
10. Combining All Function Types (xxx)
Find the derivative of each function:
\(f(x) = e^x \cdot \ln(x)\)
\(f(x) = \ln(x) \cdot e^{-x}\)
\(f(x) = e^{\sqrt{x}}\)
\(f(x) = \ln(1 + x e^x)\)
Part a) \(f(x) = e^x \cdot \ln(x)\):
Product rule: \[f'(x) = e^x \cdot \ln(x) + e^x \cdot \frac{1}{x} = e^x\left(\ln(x) + \frac{1}{x}\right)\]
Part b) \(f(x) = \ln(x) \cdot e^{-x}\):
Product rule, with \((e^{-x})' = -e^{-x}\) (chain rule): \[f'(x) = \frac{1}{x} \cdot e^{-x} + \ln(x) \cdot (-e^{-x}) = e^{-x}\left(\frac{1}{x} - \ln(x)\right)\]
Part c) \(f(x) = e^{\sqrt{x}}\):
Chain rule with \(g(x) = \sqrt{x} = x^{1/2}\), so \(g'(x) = \frac{1}{2\sqrt{x}}\): \[f'(x) = e^{\sqrt{x}} \cdot \frac{1}{2\sqrt{x}} = \frac{e^{\sqrt{x}}}{2\sqrt{x}}\]
Part d) \(f(x) = \ln(1 + x e^x)\):
Chain rule with \(g(x) = 1 + x e^x\). The product rule gives \(g'(x) = e^x + x e^x = e^x(1 + x)\): \[f'(x) = \frac{e^x(1 + x)}{1 + x e^x}\]
11. Business Applications (xxxx)
A company’s revenue follows \(R(t) = 500 \cdot e^{0.03t}\) thousand euros, where \(t\) is in years. Find the rate of change of revenue at \(t = 5\) years and interpret it.
The demand for a product is modeled by \(D(p) = 1000 \cdot e^{-0.02p}\), where \(p\) is the price in euros. Find \(D'(p)\) and evaluate it at \(p = 50\). What does the sign tell you?
A new product’s monthly sales are modeled by \(S(t) = 100 + 40\ln(t + 1) - 4t\) units, where \(t \geq 0\) is the number of months since the launch. Find \(S'(t)\) and determine after how many months the monthly sales are highest.
Part a) Revenue growth:
\[R'(t) = 500 \cdot 0.03 \cdot e^{0.03t} = 15e^{0.03t}\]
At \(t = 5\): \[R'(5) = 15e^{0.15} \approx 15 \cdot 1.1618 \approx 17.43\]
Interpretation: After 5 years, revenue is growing at approximately 17,430 euros per year.
Part b) Rate of change of demand:
\[D'(p) = 1000 \cdot (-0.02) \cdot e^{-0.02p} = -20e^{-0.02p}\]
At \(p = 50\): \[D'(50) = -20e^{-1} \approx -20 \cdot 0.3679 \approx -7.36\]
Interpretation: The negative sign means demand decreases as price increases (as expected). At a price of 50 euros, each additional euro in price reduces demand by approximately 7.36 units.
Part c) Highest monthly sales:
Chain rule for \(\ln(t + 1)\) with the inner derivative 1: \[S'(t) = \frac{40}{t + 1} - 4\]
\[S'(t) = 0 \iff \frac{40}{t + 1} = 4 \iff t + 1 = 10 \iff t = 9\]
For \(t < 9\), \(\frac{40}{t + 1} > 4\), so \(S'(t) > 0\) and sales rise. For \(t > 9\), \(S'(t) < 0\) and sales fall. So \(S\) has its maximum at \(t = 9\). (Also \(S''(t) = -\frac{40}{(t + 1)^2}\), so \(S''(9) = -0.4 < 0\).)
\[S(9) = 100 + 40\ln(10) - 36 \approx 156.10\]
Interpretation: The monthly sales are highest 9 months after the launch, at about 156 units. After that, the product loses sales.
Problem Set 5: Challenge Problems
12. Advanced Derivatives (xxxx)
Find the derivative of each function:
\(f(x) = \ln\left(\frac{x^2 + 1}{x^2 - 1}\right)\)
\(f(x) = x^2 \cdot e^{x} \cdot \ln(x)\)
\(f(x) = x^x\) (Hint: rewrite using \(e^{\ln(\cdot)}\))
\(f(x) = \frac{\ln(x^2)}{e^{2x}}\)
Part a) \(f(x) = \ln\left(\frac{x^2 + 1}{x^2 - 1}\right)\):
First simplify using log rules: \(f(x) = \ln(x^2 + 1) - \ln(x^2 - 1)\)
\[f'(x) = \frac{2x}{x^2 + 1} - \frac{2x}{x^2 - 1} = 2x\left(\frac{1}{x^2 + 1} - \frac{1}{x^2 - 1}\right)\]
\[= 2x \cdot \frac{(x^2 - 1) - (x^2 + 1)}{(x^2+1)(x^2-1)} = 2x \cdot \frac{-2}{x^4 - 1} = \frac{-4x}{x^4 - 1}\]
Part b) \(f(x) = x^2 \cdot e^{x} \cdot \ln(x)\):
Group the first two factors: \(u = x^2 e^x\) and \(v = \ln(x)\). The product rule gives \(u' = 2x e^x + x^2 e^x = x e^x(x + 2)\), and \(v' = \frac{1}{x}\): \[f'(x) = x e^x(x + 2) \cdot \ln(x) + x^2 e^x \cdot \frac{1}{x} = x e^x\left[(x + 2)\ln(x) + 1\right]\]
Part c) \(f(x) = x^x\):
Rewrite: \(f(x) = e^{x\ln(x)}\)
Let \(g(x) = x\ln(x)\), then \(g'(x) = \ln(x) + x \cdot \frac{1}{x} = \ln(x) + 1\)
\[f'(x) = e^{x\ln(x)} \cdot (\ln(x) + 1) = x^x(\ln(x) + 1)\]
Part d) \(f(x) = \frac{\ln(x^2)}{e^{2x}} = \frac{2\ln(x)}{e^{2x}}\):
Quotient rule: \[f'(x) = \frac{\frac{2}{x} \cdot e^{2x} - 2\ln(x) \cdot 2e^{2x}}{e^{4x}} = \frac{e^{2x}\left(\frac{2}{x} - 4\ln(x)\right)}{e^{4x}}\]
\[= \frac{2 - 4x\ln(x)}{x \cdot e^{2x}}\]