\( f(x)=\dfrac{1}{1+\tan (x)}= \dfrac{\cos(x)}{\cos(x)+\sin(x)}\)
\( f'(x)= \dfrac{-\sin x(\cos x+\sin x)-\cos x(-\sin x+\cos x)}{(\cos x+\sin x)^2}\)
\( f'(x)= \dfrac{-\sin^2 x-\cos^2 x}{\cos^2 x+2\sin x \cos x +\sin^2 x}\)
\( f'(x)= \dfrac{-1}{1+2\sin x\cos x}\)
\( f'(x)= \dfrac{-1}{1+\sin 2x}\)