What is the derivative of \[y = {x^{\cos x}}\] ?
Answer
566.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 Chemistry: Engaging Questions & Answers for Success

Master Class 12 Biology: Engaging Questions & Answers for Success

Class 12 Question and Answer - Your Ultimate Solutions Guide

Master Class 11 English: Engaging Questions & Answers for Success

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

Trending doubts
Which are the Top 10 Largest Countries of the World?

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

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

Why is the cell called the structural and functional class 12 biology CBSE

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Which is the correct genotypic ratio of mendel dihybrid class 12 biology CBSE

