Solveeit Logo

Question

Question: Find the derivative of function \(y = x\sin \left( {\dfrac{1}{x}} \right)\) ....

Find the derivative of function y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) .

Explanation

Solution

In the given problem, we are required to differentiate y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) with respect to x. Since, y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) is a product function, so we will have to apply product rule of differentiation in the process of differentiating y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) . Also derivatives of basic algebraic and trigonometric functions must be remembered thoroughly.

Complete step by step solution:
To find derivative of y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) with respect to xx , we have to find differentiate y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right)with respect to xx.
So, Derivative of y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) with respect to xxcan be calculated as ddx(xsin(1x))\dfrac{d}{{dx}}\left( {x\sin \left( {\dfrac{1}{x}} \right)} \right) .

Now, dydx=ddx(xsin(1x))\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {x\sin \left( {\dfrac{1}{x}} \right)} \right) .

Now, using the product rule of differentiation, we know that ddx(f(x)×g(x))=f(x)×ddx(g(x))+g(x)×ddx(f(x))\dfrac{d}{{dx}}\left( {f(x) \times g(x)} \right) = f(x) \times \dfrac{d}{{dx}}\left( {g(x)} \right) + g(x) \times \dfrac{d}{{dx}}\left( {f(x)} \right) .
So, Applying product rule to ddx(xsin(1x))\dfrac{d}{{dx}}\left( {x\sin \left( {\dfrac{1}{x}} \right)} \right), we get,

=dydx=(ddx(x))(sin(1x))+xddx(sin(1x)) = \dfrac{{dy}}{{dx}} = \left( {\dfrac{d}{{dx}}\left( x \right)} \right)\left( {\sin \left( {\dfrac{1}{x}} \right)} \right) + x\dfrac{d}{{dx}}\left( {\sin \left( {\dfrac{1}{x}} \right)} \right)
Substituting the derivative of x as 11,

=dydx=(1)(sin(1x))+xddx(sin(1x)) = \dfrac{{dy}}{{dx}} = \left( 1 \right)\left( {\sin \left( {\dfrac{1}{x}} \right)} \right) + x\dfrac{d}{{dx}}\left( {\sin \left( {\dfrac{1}{x}} \right)} \right)
Now, we have to differentiate sin(1x)\sin \left( {\dfrac{1}{x}} \right) with respect to x. But sin(1x)\sin \left( {\dfrac{1}{x}} \right) is a composite function and hence has to be differentiated layer by layer using the chain rule of differentiation.
=dydx=(1)(sin(1x))+x(cos(1x))ddx(1x)= \dfrac{{dy}}{{dx}} = \left( 1 \right)\left( {\sin \left( {\dfrac{1}{x}} \right)} \right) + x\left( {\cos \left( {\dfrac{1}{x}} \right)} \right)\dfrac{d}{{dx}}\left( {\dfrac{1}{x}} \right)

We know that the derivative of (1x)\left( {\dfrac{1}{x}} \right) is (1x2)\left( {\dfrac{{ - 1}}{{{x^2}}}} \right) .

=dydx=(1)(sin(1x))+x(cos(1x))(1x2) = \dfrac{{dy}}{{dx}} = \left( 1 \right)\left( {\sin \left( {\dfrac{1}{x}} \right)} \right) + x\left( {\cos \left( {\dfrac{1}{x}} \right)} \right)\left( {\dfrac{{ - 1}}{{{x^2}}}} \right)

On further simplifying, we get,
=dydx=sin(1x)cos(1x)x= \dfrac{{dy}}{{dx}} = \sin \left( {\dfrac{1}{x}} \right) - \dfrac{{\cos \left( {\dfrac{1}{x}} \right)}}{x}

So, the derivative of the function y=xsin(1x)y = x\sin \left( {\dfrac{1}{x}} \right) is dydx=sin(1x)cos(1x)x\dfrac{{dy}}{{dx}} = \sin \left( {\dfrac{1}{x}} \right) - \dfrac{{\cos \left( {\dfrac{1}{x}} \right)}}{x} .
Note: The given problem may also be solved using the first principle of differentiation. The derivatives of basic trigonometric and algebraic functions must be learned by heart in order to find derivatives of complex composite functions using product rule and chain rule of differentiation. The product rule of differentiation involves differentiating a product of two functions and the chain rule of differentiation involves differentiating a composite by introducing new unknowns to ease the process and examine the behaviour of function layer by layer.