Question
Question: How do you differentiate \(f\left( x \right)=\sin \left( \cos \left( \tan x \right) \right)\) using ...
How do you differentiate f(x)=sin(cos(tanx)) using the chain rule?
Solution
In this question we have the given expression in the form of a composite function therefore we will use the chain rule on the terms which is given by f′(x)=g′(h(x))h′(x) which is for two terms. We will modify this formula for three terms accordingly. In this question we have the composite function of three terms and we will use the chain rule from the outer function towards the inner function. In this question we will consider g(x)=sinx, h(x)=cosx and i(x)=tanx, and use the chain rule and simplify the terms to get the required solution.
Complete step-by-step solution:
We have the given equation as:
⇒f(x)=sin(cos(tanx))
Since we have to find the derivative of the term, it can be written as:
⇒f′(x)=dxdsin(cos(tanx))
Now since there is no direct formula for calculating the derivative of the given expression, we will use the chain rule.
Consider the outer function g(x)=sinx, we know that dxdsinx=cosx therefore on using the formula and applying chain rule, we get:
⇒f′(x)=cos(cos(tanx))dxdcos(tanx)
Consider the next outer function h(x)=cosx, we know that dxdcosx=−sinx therefore on using the formula and applying chain rule, we get:
⇒f′(x)=cos(cos(tanx))×−sin(tanx)dxdtanx
On simplifying, we get:
⇒f′(x)=−cos(cos(tanx))sin(tanx)dxdtanx
Now consider the innermost function i(x)=tanx, we know that dxdtanx=sec2x therefore on using the formula, we get:
⇒f′(x)=−cos(cos(tanx))sin(tanx)sec2x, which is the required solution.
Note: The various differentiation formulas should be remembered for doing these types of questions. It is to be remembered that the property of chain rule is only unique to differentiation and not integration and therefore the chain rule should not be used in integration questions. Also, the product rule is different for integration questions.