Differentiate trig functions using the derivative rules
Unit 3 Topic 2: Differentiation of trigonometric functions and differentiation rules
The question
Determine the derivative with respect to \(x\) of the following functions.
- (a) \(y=3\sin (4x)\) [1 mark]
- (b) \(y=\cos ^{2}(x)\) [1 mark]
- (c) \(y=x\sin (x)\) [2 marks]
- (d) \(y=\frac{\cos (x)}{x}\) (give your answer as a single fraction) [2 marks]
The idea. \(\sin\) differentiates to \(\cos\), and \(\cos\) to \(-\sin\). Everything else here is one of the rules: chain for a function inside a function, product for a product, quotient for a fraction.
The answer, one mark at a time
-
Part (a)
Use the chain rule. The inside, \(4x\), has derivative 4, which multiplies the 3.
\[y = 3\sin(4x)\]\[\frac{dy}{dx} = 3\cos(4x) \times 4\]\[\frac{dy}{dx} = 12\cos(4x)\]determines the derivative [1 mark]
-
Part (b)
\(\cos^{2}(x)\) means \((\cos(x))^{2}\). Bring down the power, then multiply by the derivative of \(\cos(x)\), which is \(-\sin(x)\).
\[y = (\cos(x))^{2}\]\[\frac{dy}{dx} = 2\cos(x) \cdot \left(-\sin(x)\right)\]\[\frac{dy}{dx} = -2\sin(x)\cos(x)\]applies the chain rule [1 mark]
-
Part (c)
This is a product. Let \(u = x\) and \(v = \sin(x)\), and use \(u'v + uv'\).
\[u = x, \quad u' = 1, \quad v = \sin(x), \quad v' = \cos(x)\]\[\frac{dy}{dx} = 1 \cdot \sin(x) + x \cdot \cos(x)\]\[\frac{dy}{dx} = \sin(x) + x\cos(x)\]correctly applies the product rule [1 mark] determines the derivative [1 mark]
-
Part (d)
For a fraction, use the quotient rule. Let \(u = \cos(x)\) and \(v = x\), use \(\frac{vu' - uv'}{v^{2}}\), then take the negative sign out the front.
\[u = \cos(x), \quad u' = -\sin(x)\]\[v = x, \quad v' = 1\]\[\frac{dy}{dx} = \frac{x\left(-\sin(x)\right) - \cos(x) \cdot 1}{x^{2}}\]\[\frac{dy}{dx} = \frac{-x\sin(x) - \cos(x)}{x^{2}}\]\[\frac{dy}{dx} = -\frac{x\sin(x) + \cos(x)}{x^{2}}\]correctly applies the quotient rule [1 mark] simplifies to a single fraction [1 mark]
Answer
Watch for. In part (b), \(\cos^{2}(x)\) is a square, so it needs the chain rule. Writing \(-\sin^{2}(x)\) differentiates the cosine but forgets to bring the power down.