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

xx – 2sin x

Given: xx – 2sin x

Let y= xx – 2sin x


Let y = u - v


u = xx and v = 2sin x


For, u = xx


Taking log on both sides, we get


log u = log xx


log u = x.log(x)


Now, differentiate both sides with respect to x






For, v = 2sin x


Taking log on both sides, we get


log v = log 2sin x


log v = sin x. log (2)


Now, differentiate both sides with respect to x






Because, y = u - v




5