How do you differentiate $y = {x^{2\cos x}}$?
Answer
609.9k+ views
Hint: In this problem we have given an equation and we are asked to differentiate the given term. The term which is given for us is somewhat difficult to differentiate. So we cannot differentiate normally, so we are going to chain rule methods to differentiate the given term.
Formula used: $\dfrac{d}{{dx}}\left( {{x^n}} \right) = n{x^{n - 1}}$
$\dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x$
$\dfrac{d}{{dx}}In\left( x \right) = \dfrac{1}{x}$
$uv = u{v'} - v{u'}$
Complete step-by-step solution:
Let us take $y = f\left( x \right) = {x^{2\cos x}}$
Now let’s differentiate $f\left( x \right)$ with respect to $x$, and we get
$ \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {{x^{2\cos x}}} \right)\dfrac{d}{{dx}}\left( {2\cos x} \right) - - - - - (1)$, here we use the formulas$\dfrac{d}{{dx}}\left( {{x^n}} \right) = n{x^{n - 1}}$ and $ \Rightarrow \dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x$ in the right hand side to derive the equation (1) and we get,
$ \Rightarrow \dfrac{{dy}}{{dx}} = \left( {2\cos x \times {x^{2\cos x - 1}}} \right)\left( { - 2\sin x} \right)$
Multiplying the terms on the right hand side, implies
$ \Rightarrow \dfrac{{dy}}{{dx}} = - 4\sin x\cos x \times {x^{2\cos x - 1}}$
Therefore, we have differentiated the given term and we get $\dfrac{{dy}}{{dx}} = - 4\sin x\cos x \times {x^{2\cos x - 1}}$ as the required answer.
Additional Information: The chain rule states that the derivative of $f\left( {g\left( x \right)} \right)$is${f'}\left( {g\left( x \right)} \right).{g'}\left( x \right)$. In other word, it helps us to differentiate composite functions. In calculus, logarithmic differentiation or differentiation by taking logarithms is a method used to differentiate functions by employing the logarithmic derivative of a function $f$, ${\left( {In{\text{ }}f} \right)'} = \dfrac{{{f'}}}{f}$. This technique is often performed in cases where it is easier to differentiate the logarithm of a function rather than the function itself.
Note: We can use some other method of logarithmic differentiation to derive $y = {x^{2\cos x}}$ .
Let’s rewrite the $y$ as $e$ to a power.
$\therefore y = {x^{2\cos x}} = {e^{2\cos xln(x)}} - - - - - \left( 1 \right)$
Now use the formula $\dfrac{d}{{dx}}\left( {{e^u}} \right) = {e^u}\dfrac{{du}}{{dx}}$in (1)
Differentiate (1), we get
$\dfrac{{dy}}{{dx}} = {e^{2\cos xln\left( x \right)}}\dfrac{d}{{dx}}2\cos xln\left( x \right)$
Differentiation of $In\left( x \right)$is$\dfrac{1}{x}$, and also we need to use $uv$ formula, now apply this in the above equation, we get
$\dfrac{{dy}}{{dx}} = {x^{2\cos x}}\left[ {\dfrac{{2\cos x}}{x} - 2\sin xln\left( x \right)} \right]$
This is also one of the ways to differentiate the given term by using logarithmic differentiation.
Formula used: $\dfrac{d}{{dx}}\left( {{x^n}} \right) = n{x^{n - 1}}$
$\dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x$
$\dfrac{d}{{dx}}In\left( x \right) = \dfrac{1}{x}$
$uv = u{v'} - v{u'}$
Complete step-by-step solution:
Let us take $y = f\left( x \right) = {x^{2\cos x}}$
Now let’s differentiate $f\left( x \right)$ with respect to $x$, and we get
$ \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {{x^{2\cos x}}} \right)\dfrac{d}{{dx}}\left( {2\cos x} \right) - - - - - (1)$, here we use the formulas$\dfrac{d}{{dx}}\left( {{x^n}} \right) = n{x^{n - 1}}$ and $ \Rightarrow \dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x$ in the right hand side to derive the equation (1) and we get,
$ \Rightarrow \dfrac{{dy}}{{dx}} = \left( {2\cos x \times {x^{2\cos x - 1}}} \right)\left( { - 2\sin x} \right)$
Multiplying the terms on the right hand side, implies
$ \Rightarrow \dfrac{{dy}}{{dx}} = - 4\sin x\cos x \times {x^{2\cos x - 1}}$
Therefore, we have differentiated the given term and we get $\dfrac{{dy}}{{dx}} = - 4\sin x\cos x \times {x^{2\cos x - 1}}$ as the required answer.
Additional Information: The chain rule states that the derivative of $f\left( {g\left( x \right)} \right)$is${f'}\left( {g\left( x \right)} \right).{g'}\left( x \right)$. In other word, it helps us to differentiate composite functions. In calculus, logarithmic differentiation or differentiation by taking logarithms is a method used to differentiate functions by employing the logarithmic derivative of a function $f$, ${\left( {In{\text{ }}f} \right)'} = \dfrac{{{f'}}}{f}$. This technique is often performed in cases where it is easier to differentiate the logarithm of a function rather than the function itself.
Note: We can use some other method of logarithmic differentiation to derive $y = {x^{2\cos x}}$ .
Let’s rewrite the $y$ as $e$ to a power.
$\therefore y = {x^{2\cos x}} = {e^{2\cos xln(x)}} - - - - - \left( 1 \right)$
Now use the formula $\dfrac{d}{{dx}}\left( {{e^u}} \right) = {e^u}\dfrac{{du}}{{dx}}$in (1)
Differentiate (1), we get
$\dfrac{{dy}}{{dx}} = {e^{2\cos xln\left( x \right)}}\dfrac{d}{{dx}}2\cos xln\left( x \right)$
Differentiation of $In\left( x \right)$is$\dfrac{1}{x}$, and also we need to use $uv$ formula, now apply this in the above equation, we get
$\dfrac{{dy}}{{dx}} = {x^{2\cos x}}\left[ {\dfrac{{2\cos x}}{x} - 2\sin xln\left( x \right)} \right]$
This is also one of the ways to differentiate the given term by using logarithmic differentiation.
Recently Updated Pages
Master Class 11 English: Engaging Questions & Answers for Success

Master Class 11 Physics: Engaging Questions & Answers for Success

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

Master Class 11 Chemistry: Engaging Questions & Answers for Success

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

Master Class 11 Accountancy: Engaging Questions & Answers for Success

Trending doubts
Difference Between Prokaryotic Cells and Eukaryotic Cells

Two of the body parts which do not appear in MRI are class 11 biology CBSE

One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

10 examples of friction in our daily life

Draw a diagram of nephron and explain its structur class 11 biology CBSE

Draw a diagram of a plant cell and label at least eight class 11 biology CBSE

