Differentiate exponential, log and trig functions
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)=5e^{2x+1}\) [1 mark]
- (b) \(y=\ln (4x^{2}+3)\) [1 mark]
- (c) \(f(x)=2\sin (3x)-\cos (x^{2})\) [2 marks]
- (d) \(y=x^{3}e^{-2x}\) (give your answer in factorised form) [2 marks]
- (e) \(y=\frac{e^{2x}}{x+1}\) (give your answer in simplest form) [2 marks]
The idea. Match each function to a rule first. A function of a function needs the chain rule, a product needs the product rule and a fraction needs the quotient rule. Then tidy the answer into the form the question asks for.
The answer, one mark at a time
-
Part (a)
Use the chain rule. The inside, \(2x + 1\), has derivative 2, which multiplies the 5.
\[f(x) = 5e^{2x + 1}\]\[f'(x) = 5e^{2x + 1} \times 2\]\[f'(x) = 10e^{2x + 1}\]determines \(f'(x)\) [1 mark]
-
Part (b)
The derivative of \(\ln(g(x))\) is \(\frac{g'(x)}{g(x)}\). Here \(g(x) = 4x^{2} + 3\), so \(g'(x) = 8x\).
\[y = \ln\left(4x^{2} + 3\right)\]\[\frac{dy}{dx} = \frac{8x}{4x^{2} + 3}\]determines \(\frac{dy}{dx}\) [1 mark]
-
Part (c)
Differentiate each term with the chain rule. For \(-\cos\left(x^{2}\right)\) the derivative of \(\cos\) is \(-\sin\), so the two negatives make a positive.
\[\frac{d}{dx}\left(2\sin(3x)\right) = 2\cos(3x) \times 3 = 6\cos(3x)\]\[\frac{d}{dx}\left(-\cos\left(x^{2}\right)\right)\]\[= -\left(-\sin\left(x^{2}\right)\right) \times 2x\]\[= 2x\sin\left(x^{2}\right)\]\[f'(x) = 6\cos(3x) + 2x\sin\left(x^{2}\right)\]differentiates \(2\sin (3x)\) [1 mark] differentiates \(-\cos (x^{2})\) [1 mark]
-
Part (d)
This is a product. Let \(u = x^{3}\) and \(v = e^{-2x}\), so \(v' = -2e^{-2x}\), and use \(u'v + uv'\).
\[u = x^{3}, \quad u' = 3x^{2}\]\[v = e^{-2x}, \quad v' = -2e^{-2x}\]\[\frac{dy}{dx} = 3x^{2}e^{-2x} + x^{3} \cdot (-2)e^{-2x}\]correctly applies the product rule [1 mark]
-
Both terms share \(x^{2}e^{-2x}\). Take it out as a common factor.
\[\frac{dy}{dx} = 3x^{2}e^{-2x} - 2x^{3}e^{-2x}\]\[\frac{dy}{dx} = x^{2}e^{-2x}(3 - 2x)\]factorises [1 mark]
-
Part (e)
A fraction of two functions calls for the quotient rule. Let \(u = e^{2x}\) and \(v = x + 1\), and use \(\frac{vu' - uv'}{v^{2}}\).
\[u = e^{2x}, \quad u' = 2e^{2x}, \quad v = x + 1, \quad v' = 1\]\[\frac{dy}{dx} = \frac{(x + 1) \cdot 2e^{2x} - e^{2x} \cdot 1}{(x + 1)^{2}}\]correctly applies the quotient rule [1 mark]
-
Take out \(e^{2x}\) on top and collect what is left in the bracket.
\[\frac{dy}{dx} = \frac{e^{2x}(2x + 2 - 1)}{(x + 1)^{2}}\]\[\frac{dy}{dx} = \frac{e^{2x}(2x + 1)}{(x + 1)^{2}}\]simplifies [1 mark]
Answer
Watch for. In part (c), watch the sign: \(-\cos\left(x^{2}\right)\) differentiates to \(+2x\sin\left(x^{2}\right)\). A sign slip on that term loses its mark.