Question
Question: What is the derivative of \( f\left( x \right) = \sin \left( {\ln x} \right) \) ?...
What is the derivative of f(x)=sin(lnx) ?
Solution
Hint : Here, we have to find the derivative of f(x)=sin(lnx) . Here, there are two functions in the given function. So, we will need to use the chain rule to find its derivative. According to chain rule, we need to differentiate both these functions and then multiply them in order to find the derivative of the main function. The chain rule is expressed as
dxd[f(g(x))]=f′(g(x))g′(x)
Complete step by step solution:
In this question, we have to find the derivative of f(x)=sin(lnx) .
Here, we are given two functions in the given function, sinlnx and lnx .
That means, we cannot differentiate the given function directly.
We have to use the chain rule for differentiating the above function. According to the chain rule, when two functions are given, we differentiate one function and then multiply it by the derivative of the second function. The chain rule is expressed as
⇒dxd[f(g(x))]=f′(g(x))g′(x)
According to our question,
f(x)=sin(lnx) and g(x)=lnx
So, we have to differentiate both sin(lnx) and lnx and then multiply them to get the derivative of the given function. Therefore,
⇒f(x)=sin(lnx)
Now, we know that the derivative of sinx is cosx and the derivative of lnx is x1 . Therefore,
⇒f′(x)=dxdsin(lnx) ⇒f′(x)=cos(lnx)⋅x1 ⇒f′(x)=xcos(lnx)
Hence, the derivative of the given function f(x)=sin(lnx) is xcos(lnx) .
So, the correct answer is “ xcos(lnx) ”.
Note : We learned the chain rule in this question, but there are two more important rules that we should learn. These two rules are
Product rule
Quotient rule
Product rule: The product rule tells us how to differentiate the product of two different functions.
⇒ dxduv=udxdv+vdxdu
For Example: dxd2xcosx=2xdxdcosx+cosxdxd2x=−2xsinx+2cosx
Quotient rule: Quotient rule is used for differentiating problems when one function is divided by another function.
⇒dxd(vu)=v2vdxdu−udxdv
For example: dxd(cosx2x)=cos2xcosxdxd2x−2xdxdcosx=cos2x2cosx+2xsinx