Question
Question: Differentiate each of the following w.r.t. x: \(\sqrt{\cos 3x}\)...
Differentiate each of the following w.r.t. x:
cos3x
Solution
We solve this question by using the first principle of derivation. We differentiate the given function cos3x by differentiating the outer root function and then the inner function which is cos3x. This method of differentiation is used for composite functions as given above. Then we use the standard differentiation formula to solve this question.
Complete step by step answer:
In order to solve this question, let us first write down the given term needed to be differentiated with respect to x as,
⇒dxdcos3x
Next, we know that the square root function is nothing but the value inside raised to the power 21. Thus, the above line can also be represented as,
⇒dxdcos213x
We differentiate this using the method using the composite function differentiation or also known as chain rule. This is represented as f(x)=h(g(x)),dxdf(x)=dxdh(g(x)).dxdg(x). This is given by the differentiation of the outer function multiplied by the differentiation of the inner function. Using this for the above equation,
⇒21.cos21−13xdxd(cos3x)
Simplifying the power of cos3x,
⇒21.cos−213xdxd(cos3x)
This negative half power indicated a square root term in the denominator. Also, we need use the chain rule again for cos3x. We know the differentiation of cost is given by, dxdcost=−sint. Using this,
⇒2cos3x1.−sin3xdxd(3x)
We now differentiate 3x with respect to x to get 3.
⇒2cos3x−sin3x.3
Hence, the derivative of cos3x with respect to x is 2cos3x−3sin3x.
Note: We need to know the concept of chain rule in differentiation in order to solve the above sum. We also need to know basic formulae for differentiation to solve differentiation sums easily. Care must be taken to ensure the chain rule is applied else it will lead to a wrong answer.