Let y=(logx)x−(cosx)cotx.
Term 1: u=(logx)x. logu=xlog(logx).
uu′=log(logx)+x⋅logx1⋅x1=log(logx)+logx1
u′=(logx)x[log(logx)+logx1]
Term 2: v=(cosx)cotx. logv=cotxlog(cosx).
vv′=−csc2xlog(cosx)+cotx(cosx−sinx)=−csc2xlog(cosx)−cotxtanx
Since cotxtanx=1:
vv′=−csc2xlog(cosx)−1⟹v′=(cosx)cotx[−csc2xlog(cosx)−1]
Combine (y=u−v, so y′=u′−v′): …