Differentiate the following functions with respect to x :
xsinnx
Let y=xsinnx
Differentiating y w.r.t. x, we get
ddx= sinn×ddx(x)−xddx(sinnx)(sinnx)2 (By quotient formula)
=sinnx×1−xddx(sin x)nsin2nx
Differentiating (sin x)n−1 by chain rule,
=sinnx−nx(sin x)n−1ddx(sin x)sin2nx=sinnx−nx sinn−1x cos xsin2nx