Find a formula for the nth derivative of \[f\left( x \right) = x\sin x\] ?
Answer
512.7k+ views
Hint: In order to solve this question, we will first differentiate the given function using the product rule of differentiation i.e., \[\dfrac{d}{{dx}}\left( {uv} \right) = u\dfrac{d}{{dx}}\left( v \right) + v\dfrac{d}{{dx}}\left( u \right)\] .After that we will differentiate again and find a few more derivatives and try to transform in the form of a given function and in the form of first derivative. Then finally generalise them to get the nth derivative.
Complete step by step answer:
The given function is
\[f\left( x \right) = x\sin x{\text{ }} - - - \left( i \right)\]
Now in order to find the nth derivative, we will find the first few derivatives. For this we shall consider 1st, 2nd, and 3rd derivatives of the given function.
Now we know that according to the product rule of differentiation
\[\dfrac{d}{{dx}}\left( {uv} \right) = u\dfrac{d}{{dx}}\left( v \right) + v\dfrac{d}{{dx}}\left( u \right)\]
Therefore, on differentiating equation \[\left( i \right)\] we get
\[{f^{\left( 1 \right)}}\left( x \right) = x \cdot \dfrac{d}{{dx}}\left( {\sin x} \right) + \sin x \cdot \dfrac{d}{{dx}}\left( x \right)\]
Therefore, on solving we get
\[{f^{\left( 1 \right)}}\left( x \right) = x \cdot \cos x + \sin x\]
Now we know \[\cos x = \sin \left( {\dfrac{\pi }{2} + x} \right)\]
\[ \Rightarrow {f^{\left( 1 \right)}}\left( x \right) = \sin x + x \cdot \sin \left( {\dfrac{\pi }{2} + x} \right){\text{ }} - - - \left( i \right)\]
Now let us consider \[{f^{\left( 1 \right)}}\left( x \right)\] and differentiating it, we will get
\[{f^{\left( 2 \right)}}\left( x \right) = \dfrac{d}{{dx}}\left( {x \cdot \cos x} \right) + \dfrac{d}{{dx}}\left( {\sin x} \right)\]
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = x \cdot \dfrac{d}{{dx}}\left( {\cos x} \right) + \cos x \cdot \dfrac{d}{{dx}}\left( x \right) + \dfrac{d}{{dx}}\left( {\sin x} \right)\]
Therefore, on solving we get
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = x \cdot \left( { - \sin x} \right) + \cos x + \cos x\]
After simplification, we get
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = 2\cos x - x\sin x\]
We know \[\sin \left( {\pi + x} \right) = - \sin x\] and \[\cos x = \sin \left( {\dfrac{\pi }{2} + x} \right)\]
Therefore, we have
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = 2\sin \left( {\dfrac{\pi }{2} + x} \right) + x\sin \left( {\pi + x} \right)\]
Now we will try to write this in terms of first derivative,
Therefore, we get
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = 2\sin \left( {\dfrac{\pi }{2} + x} \right) + x\sin \left( {2 \cdot \dfrac{\pi }{2} + x} \right){\text{ }} - - - \left( {iii} \right)\]
Now similarly let us consider \[{f^{\left( 2 \right)}}\left( x \right)\] and differentiating it, we will get
\[{f^{\left( 3 \right)}}\left( x \right) = \dfrac{d}{{dx}}\left( {2\cos x} \right) - \dfrac{d}{{dx}}\left( {x\sin x} \right)\]
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = \dfrac{d}{{dx}}\left( {2\cos x} \right) - \left[ {x \cdot \dfrac{d}{{dx}}\left( {\sin x} \right) + \sin x \cdot \dfrac{d}{{dx}}\left( x \right)} \right]\]
Therefore, on solving we have
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = 2\left( { - \sin x} \right) - \left[ {x \cdot \left( {\cos x} \right) + \sin x} \right]\]
After simplification, we get
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = - 3\sin x - x\cos x{\text{ }}\]
We know \[\sin \left( {\pi + x} \right) = - \sin x\] and \[ - \cos x = \sin \left( {\dfrac{{3\pi }}{2} + x} \right)\]
Therefore, we have
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = 3\sin \left( {\pi + x} \right) + x\sin \left( {\dfrac{{3\pi }}{2} + x} \right)\]
Now we will try to write this in terms of first derivative,
Therefore, we get
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = 3\sin \left( {2 \cdot \dfrac{\pi }{2} + x} \right) + x\sin \left( {\dfrac{{3\pi }}{2} + x} \right){\text{ }} - - - \left( {iii} \right)\]
and so on….
Therefore, by observing equation \[\left( i \right),\left( {ii} \right)\] and \[\left( {iii} \right)\] we get the nth derivative as,
\[{f^{\left( n \right)}}\left( x \right) = n\sin \left( {x + \dfrac{{\left( {n - 1} \right)\pi }}{2}} \right) + x\sin \left( {x + \dfrac{{n\pi }}{2}} \right)\]
Hence, the formula for the nth derivative of \[f\left( x \right) = x\sin x\] is \[{f^{\left( n \right)}}\left( x \right) = n\sin \left( {x + \dfrac{{\left( {n - 1} \right)\pi }}{2}} \right) + x\sin \left( {x + \dfrac{{n\pi }}{2}} \right)\].
Note: In this type of questions, the key point is that we have to simplify at least 3-4 differentiation of the given function to get some kind of variation. Also note that the main key point is expressing all the derivatives in the form of a given function. In this way we can observe the similarity between the derivatives in order to find the nth derivative.
Complete step by step answer:
The given function is
\[f\left( x \right) = x\sin x{\text{ }} - - - \left( i \right)\]
Now in order to find the nth derivative, we will find the first few derivatives. For this we shall consider 1st, 2nd, and 3rd derivatives of the given function.
Now we know that according to the product rule of differentiation
\[\dfrac{d}{{dx}}\left( {uv} \right) = u\dfrac{d}{{dx}}\left( v \right) + v\dfrac{d}{{dx}}\left( u \right)\]
Therefore, on differentiating equation \[\left( i \right)\] we get
\[{f^{\left( 1 \right)}}\left( x \right) = x \cdot \dfrac{d}{{dx}}\left( {\sin x} \right) + \sin x \cdot \dfrac{d}{{dx}}\left( x \right)\]
Therefore, on solving we get
\[{f^{\left( 1 \right)}}\left( x \right) = x \cdot \cos x + \sin x\]
Now we know \[\cos x = \sin \left( {\dfrac{\pi }{2} + x} \right)\]
\[ \Rightarrow {f^{\left( 1 \right)}}\left( x \right) = \sin x + x \cdot \sin \left( {\dfrac{\pi }{2} + x} \right){\text{ }} - - - \left( i \right)\]
Now let us consider \[{f^{\left( 1 \right)}}\left( x \right)\] and differentiating it, we will get
\[{f^{\left( 2 \right)}}\left( x \right) = \dfrac{d}{{dx}}\left( {x \cdot \cos x} \right) + \dfrac{d}{{dx}}\left( {\sin x} \right)\]
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = x \cdot \dfrac{d}{{dx}}\left( {\cos x} \right) + \cos x \cdot \dfrac{d}{{dx}}\left( x \right) + \dfrac{d}{{dx}}\left( {\sin x} \right)\]
Therefore, on solving we get
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = x \cdot \left( { - \sin x} \right) + \cos x + \cos x\]
After simplification, we get
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = 2\cos x - x\sin x\]
We know \[\sin \left( {\pi + x} \right) = - \sin x\] and \[\cos x = \sin \left( {\dfrac{\pi }{2} + x} \right)\]
Therefore, we have
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = 2\sin \left( {\dfrac{\pi }{2} + x} \right) + x\sin \left( {\pi + x} \right)\]
Now we will try to write this in terms of first derivative,
Therefore, we get
\[ \Rightarrow {f^{\left( 2 \right)}}\left( x \right) = 2\sin \left( {\dfrac{\pi }{2} + x} \right) + x\sin \left( {2 \cdot \dfrac{\pi }{2} + x} \right){\text{ }} - - - \left( {iii} \right)\]
Now similarly let us consider \[{f^{\left( 2 \right)}}\left( x \right)\] and differentiating it, we will get
\[{f^{\left( 3 \right)}}\left( x \right) = \dfrac{d}{{dx}}\left( {2\cos x} \right) - \dfrac{d}{{dx}}\left( {x\sin x} \right)\]
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = \dfrac{d}{{dx}}\left( {2\cos x} \right) - \left[ {x \cdot \dfrac{d}{{dx}}\left( {\sin x} \right) + \sin x \cdot \dfrac{d}{{dx}}\left( x \right)} \right]\]
Therefore, on solving we have
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = 2\left( { - \sin x} \right) - \left[ {x \cdot \left( {\cos x} \right) + \sin x} \right]\]
After simplification, we get
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = - 3\sin x - x\cos x{\text{ }}\]
We know \[\sin \left( {\pi + x} \right) = - \sin x\] and \[ - \cos x = \sin \left( {\dfrac{{3\pi }}{2} + x} \right)\]
Therefore, we have
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = 3\sin \left( {\pi + x} \right) + x\sin \left( {\dfrac{{3\pi }}{2} + x} \right)\]
Now we will try to write this in terms of first derivative,
Therefore, we get
\[ \Rightarrow {f^{\left( 3 \right)}}\left( x \right) = 3\sin \left( {2 \cdot \dfrac{\pi }{2} + x} \right) + x\sin \left( {\dfrac{{3\pi }}{2} + x} \right){\text{ }} - - - \left( {iii} \right)\]
and so on….
Therefore, by observing equation \[\left( i \right),\left( {ii} \right)\] and \[\left( {iii} \right)\] we get the nth derivative as,
\[{f^{\left( n \right)}}\left( x \right) = n\sin \left( {x + \dfrac{{\left( {n - 1} \right)\pi }}{2}} \right) + x\sin \left( {x + \dfrac{{n\pi }}{2}} \right)\]
Hence, the formula for the nth derivative of \[f\left( x \right) = x\sin x\] is \[{f^{\left( n \right)}}\left( x \right) = n\sin \left( {x + \dfrac{{\left( {n - 1} \right)\pi }}{2}} \right) + x\sin \left( {x + \dfrac{{n\pi }}{2}} \right)\].
Note: In this type of questions, the key point is that we have to simplify at least 3-4 differentiation of the given function to get some kind of variation. Also note that the main key point is expressing all the derivatives in the form of a given function. In this way we can observe the similarity between the derivatives in order to find the nth derivative.
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 Maths: Engaging Questions & Answers for Success

Trending doubts
Which is more stable and why class 12 chemistry CBSE

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

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

Sulphuric acid is known as the king of acids State class 12 chemistry CBSE

