Differentiate the functions given in w.r.t. x.

xsin x + (sin x)cos x

Given: xsin x + (sin x)cos x

Let y= xsin x + (sin x)cos x


Let y = u + v


u = xsin x and v = (sin x)cos x


For, u = xsin x


Taking log on both sides, we get


log u =log (xsin x )


log u = sin x.log(x)


Now, differentiate both sides with respect to x






For, v = (sin x)cos x


Taking log on both sides, we get


log v =log(sin x)cos x


log v = cos x. log (sin x)


Now, differentiate both sides with respect to x







Because, y = u + v




9