Differentiate with the chain, product and quotient rules
Unit 3 Topic 2: Differentiation of trigonometric functions and differentiation rules
The question
Determine the derivative of each of the following functions.
- (a) \(f(x)=e^{5x}+\ln (x)\) [2 marks]
- (b) \(f(x)=\sin (x^{2})\) [2 marks]
- (c) \(f(x)=x^{2}e^{-x}\) (give your answer in factorised form) [2 marks]
- (d) \(f(x)=\frac{\ln (x)}{x^{2}}\) (give your answer in simplest form) [2 marks]
The idea. Before you differentiate, decide what kind of function it is: a sum, a function of a function (chain rule), a product (product rule) or a quotient (quotient rule).
The answer, one mark at a time
-
Part (a)
This is a sum, so differentiate each term. The 5 inside \(e^{5x}\) comes out the front, and \(\ln(x)\) differentiates to \(\frac{1}{x}\).
\[f(x) = e^{5x} + \ln(x)\]\[\frac{d}{dx}\left(e^{5x}\right) = 5e^{5x}, \quad \frac{d}{dx}\left(\ln(x)\right) = \frac{1}{x}\]\[f'(x) = 5e^{5x} + \frac{1}{x}\]correctly differentiates \(e^{5x}\) [1 mark] correctly differentiates \(\ln (x)\) [1 mark]
-
Part (b)
Here \(\sin\) is applied to \(x^{2}\), a function of a function. Use the chain rule: differentiate the outside and keep the inside, then multiply by the derivative of the inside, \(2x\).
\[f(x) = \sin\left(x^{2}\right)\]\[f'(x) = \cos\left(x^{2}\right) \times 2x\]\[f'(x) = 2x\cos\left(x^{2}\right)\]recognises the chain rule [1 mark] determines \(f'(x)\) [1 mark]
-
Part (c)
This is a product. Let \(u = x^{2}\) and \(v = e^{-x}\), use \(u'v + uv'\), then take out the common factor \(xe^{-x}\).
\[u = x^{2}, \quad u' = 2x, \quad v = e^{-x}, \quad v' = -e^{-x}\]\[f'(x) = 2x \cdot e^{-x} + x^{2} \cdot \left(-e^{-x}\right)\]\[f'(x) = 2xe^{-x} - x^{2}e^{-x}\]\[f'(x) = xe^{-x}(2 - x)\]correctly applies the product rule [1 mark] factorises [1 mark]
-
Part (d)
For a fraction of two functions, use the quotient rule. Let \(u = \ln(x)\) and \(v = x^{2}\), use \(\frac{vu' - uv'}{v^{2}}\), then cancel the common factor \(x\) from the top and bottom.
\[u = \ln(x), \quad u' = \frac{1}{x}, \quad v = x^{2}, \quad v' = 2x\]\[f'(x) = \frac{x^{2} \cdot \frac{1}{x} - \ln(x) \cdot 2x}{\left(x^{2}\right)^{2}}\]\[f'(x) = \frac{x - 2x\ln(x)}{x^{4}}\]\[f'(x) = \frac{x\left(1 - 2\ln(x)\right)}{x^{4}}\]\[f'(x) = \frac{1 - 2\ln(x)}{x^{3}}\]correctly applies the quotient rule [1 mark] simplifies [1 mark]
Answer
Watch for. In the quotient rule the order matters: \(vu' - uv'\) on top. Swapping it flips the sign of your answer. In part (d), the mark needs the simplified form.