differentiate ln(tanh2x)