Question
Question: Differentiate the given function \(y=xsinx\) w.r.t x...
Differentiate the given function y=xsinx w.r.t x
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:
dxd(uv)=udxdv+vdxdu or (uv)'= u(dv) +(du)v
So our question is y=xsinx;
Assume u=x, so on differentiate both side w.r.t x
⇒dxdu=dxdx
⇒dxdu=1
And v=sinx, so again differentiate both side w.r.t x
⇒dxdv=dxdsinx (Using dxdsinx=cosx)
⇒dxdv=cosx
Then:
dxd(uv)=udxdv+vdxdu
On putting: u=x, v=sinx, dxdu=1, dxdv=cosx
Hence we get,
dxdx.sinx=x(cosx) + (1)sinx
So, dxdy=x.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.