
What is the derivative of \[y = {x^{\cos x}}\] ?
Answer
518.1k+ views
Hint: We are given with a function y. we have to find the derivative of the given function. The function has another trigonometric function as a power of the base function. So we will apply natural log on both sides and then we will use the product rule for it. That will give the derivative of the function.
Complete step by step solution:
Given that,
\[y = {x^{\cos x}}\]
The derivative of the function is given as;
\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}{x^{\cos x}}\]
Now we will apply the natural log to the given function first,
\[\ln y = \ln {x^{\cos x}}\]
We know the rule for natural log,
\[\ln y = \cos x.\ln x\]
Now applying the product rule on RHS that is taking the derivative of the first function and keeping the second function as it is and then adding the derivative of the second function keeping the first function as it is.
Here cos and natural log are the two functions.
We know that, \[\dfrac{d}{{dx}}\cos x = - \sin x\] and \[\dfrac{d}{{dx}}\ln x = \dfrac{1}{x}\]
\[\dfrac{1}{y}.\dfrac{{dy}}{{dx}} = \left( { - \sin x} \right)\ln x + \cos x\dfrac{1}{x}\]
rearranging the terms,
\[\dfrac{1}{y}.\dfrac{{dy}}{{dx}} = \left( { - \sin x} \right)\ln x + \dfrac{{\cos x}}{x}\]
Transposing y we get,
\[\dfrac{{dy}}{{dx}} = y\left[ {\left( { - \sin x} \right)\ln x + \dfrac{{\cos x}}{x}} \right] \]
Taking the positive term first,
\[\dfrac{{dy}}{{dx}} = y\left[ {\dfrac{{\cos x}}{x} - \sin x.\ln x} \right] \]
This is the derivative of the above function.
So, the correct answer is “ \[\dfrac{{dy}}{{dx}} = y\left[ {\dfrac{{\cos x}}{x} - \sin x.\ln x} \right] \] ”.
Note: Note that when two functions that can be derivated are there we use this product rule. If \[y = f\left( x \right).g\left( x \right)\] then the product rule says that \[y' = f\left( x \right).g'\left( x \right) + f'\left( x \right).g\left( x \right)\] Don’t get confused with integration by parts. It is the concept used in integration of the functions.
Complete step by step solution:
Given that,
\[y = {x^{\cos x}}\]
The derivative of the function is given as;
\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}{x^{\cos x}}\]
Now we will apply the natural log to the given function first,
\[\ln y = \ln {x^{\cos x}}\]
We know the rule for natural log,
\[\ln y = \cos x.\ln x\]
Now applying the product rule on RHS that is taking the derivative of the first function and keeping the second function as it is and then adding the derivative of the second function keeping the first function as it is.
Here cos and natural log are the two functions.
We know that, \[\dfrac{d}{{dx}}\cos x = - \sin x\] and \[\dfrac{d}{{dx}}\ln x = \dfrac{1}{x}\]
\[\dfrac{1}{y}.\dfrac{{dy}}{{dx}} = \left( { - \sin x} \right)\ln x + \cos x\dfrac{1}{x}\]
rearranging the terms,
\[\dfrac{1}{y}.\dfrac{{dy}}{{dx}} = \left( { - \sin x} \right)\ln x + \dfrac{{\cos x}}{x}\]
Transposing y we get,
\[\dfrac{{dy}}{{dx}} = y\left[ {\left( { - \sin x} \right)\ln x + \dfrac{{\cos x}}{x}} \right] \]
Taking the positive term first,
\[\dfrac{{dy}}{{dx}} = y\left[ {\dfrac{{\cos x}}{x} - \sin x.\ln x} \right] \]
This is the derivative of the above function.
So, the correct answer is “ \[\dfrac{{dy}}{{dx}} = y\left[ {\dfrac{{\cos x}}{x} - \sin x.\ln x} \right] \] ”.
Note: Note that when two functions that can be derivated are there we use this product rule. If \[y = f\left( x \right).g\left( x \right)\] then the product rule says that \[y' = f\left( x \right).g'\left( x \right) + f'\left( x \right).g\left( x \right)\] Don’t get confused with integration by parts. It is the concept used in integration of the functions.
Recently Updated Pages
Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

The pH of the pancreatic juice is A 64 B 86 C 120 D class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

