Let:
y=(logx)cosx
Taking logs on both sides, we have:
logy=cosxlog(logx)
Differentiating both sides with respect to x:
y1⋅dxdy=cosx⋅dxd(log(logx))+log(logx)⋅dxd(cosx)
Now:
dxd(log(logx))=logx1⋅x1,dxd(cosx)=−sinx
Thus:
dxdy=y[logxcosx⋅x1−sinxlog(logx)]
Putting the value of y from the earlier equation:
dxdy=(logx)cosx[xlogxcosx−sinxlog(logx)]
Thus:
dxdy=(logx)cosx[xlogxcosx−sinxlog(logx)]