
How do you differentiate $y = {x^{2\cos x}}$?
Answer
495.6k+ 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 Economics: Engaging Questions & Answers for Success

Master Class 11 Accountancy: Engaging Questions & Answers for Success

Master Class 11 English: Engaging Questions & Answers for Success

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

Master Class 11 Biology: Engaging Questions & Answers for Success

Master Class 11 Physics: Engaging Questions & Answers for Success

Trending doubts
1 ton equals to A 100 kg B 1000 kg C 10 kg D 10000 class 11 physics CBSE

Difference Between Prokaryotic Cells and Eukaryotic Cells

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

1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

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

Explain zero factorial class 11 maths CBSE
