Find derivative using logarithmic differentiation

F(x)= secx^cotx

f = secx^cotx

log f = cotx * log secx
1/f f' = (-csc^2 x * log secx) + (cotx * secx*tanx/secx)
f' = secx^cotx (1 - csc^2(x) log secx)