Question
Question: How do you find the derivative of \( \sin (\cos x) \) ?...
How do you find the derivative of sin(cosx) ?
Solution
Here we have to derive the function sin(cosx) . We will derive the function with the help of chain rule of differentiation which states that the derivative of the composite function can be said as the derivative of the outer function which we multiply by the derivative of the inner function and can be written as dxdf(g(x))=f′(g(x))g′(x) .
Complete answer:
Differentiation is used to find the rates of change. It helps us to find the rate of change of the variable x with respect to the variable y .
The chain rule allows the differentiation of functions which are composite functions and we denote chain rule by f.g where f and g are two functions.
The chain rule of differentiation states that the derivative of the composite function can be said as the derivative of the outer function which we multiply by the derivative of the inner function and can be written as dxdf(g(x))=f′(g(x))g′(x) .
Here we have to differentiate the function sin(cosx) with respect to x .
Let us assume y=sin(cosx)
Now, let u=cosx , then y=sinu
Differentiating u=cosx with respect to x . We get,
dxdu=dxd(cosx)
We know that the derivative of cosx is −sinx . So,
⇒dxd(cosx)=−sinx
Now, differentiating y=sinu with respect to u . We get,
dudy=dud(sinu)
We know that the derivative of sinx is cosx . So,
⇒dud(sinu)=cosu
We have to calculate dxdy . So, according to chain rule
dxdy=dudy×dxdu
Putting dudy=cosu and dxdu=−sinx . We get,
⇒dxdy=cosu(−sinx)
Substituting u=cosx . We get,
⇒dxdy=cos(cosx)(−sinx)
Hence, the derivative of the function sin(cosx) is −sinxcos(cosx) .
Note:
Chain rule of differentiation is known as chain rule because we use it to take derivatives of composites of functions and this happens by changing together their derivatives. Note that we use product rule when two functions are being multiplied together and the chain rule is used if the functions are being composed. For example- if we want to find the derivative of the function f(x)=x2(sinx) we will use product rule, and if we want to the derivative of the function g(x)=sin(x2) we use the chain rule to differentiate it.