Solveeit Logo

Question

Question: Differentiate the given function \(y=xsinx\) w.r.t x...

Differentiate the given function y=xsinxy=xsinx w.r.t x

Explanation

Solution

HINT- Proceed the solution of this question using product rule of differentiation as given function is product of two functions.

Complete step-by-step answer:
We have:

y=xsinx

Which is the product of two functions, and so we apply the Product Rule to find its Differentiation:
d(uv)dx=udvdx+vdudx\dfrac{{d{\text{(uv)}}}}{{dx}} = {\text{u}}\dfrac{{d{\text{v}}}}{{dx}} + {\text{v}}\dfrac{{d{\text{u}}}}{{dx}} or (uv)'= u(dv) +(du)v

So our question is y=xsinx;

Assume u=x, so on differentiate both side w.r.t x
dudx=dxdx\dfrac{{d{\text{u}}}}{{dx}} = \dfrac{{d{\text{x}}}}{{dx}}
dudx=1\dfrac{{d{\text{u}}}}{{dx}} = 1

And v=sinx, so again differentiate both side w.r.t x

dvdx=dsinxdx\dfrac{{d{\text{v}}}}{{dx}} = \dfrac{{d\sin {\text{x}}}}{{dx}} (Using dsinxdx=cosx\dfrac{{d\sin {\text{x}}}}{{dx}} = \cos {\text{x}})
dvdx=cosx\dfrac{{d{\text{v}}}}{{dx}} = \cos {\text{x}}

Then:
d(uv)dx=udvdx+vdudx\dfrac{{d{\text{(uv)}}}}{{dx}} = {\text{u}}\dfrac{{d{\text{v}}}}{{dx}} + {\text{v}}\dfrac{{d{\text{u}}}}{{dx}}

On putting: u=x, v=sinx, dudx=1\dfrac{{d{\text{u}}}}{{dx}} = 1, dvdx=cosx\dfrac{{d{\text{v}}}}{{dx}} = \cos {\text{x}}

Hence we get,
dx.sinxdx=x(cosx) + (1)sinx\dfrac{{d{\text{x}}{\text{.sinx}}}}{{dx}} = {\text{x(cosx) + (1)sinx}}

So, dydx=x.cosx + sinx\dfrac{{d{\text{y}}}}{{dx}} = {\text{x}}{\text{.cosx + sinx}}

Note-
Most derivative rules tell us how to differentiate a specific kind of function, like the rule for the derivative of sin(x) or the power rule. However, there are three very important rules that are generally applicable, and depend on the structure of the function we are differentiating. These are the product, quotient, and chain rules, so learn the basic formulas quickly.