Algebra and Trigonometry 10th Edition

$cot(-x)$ is not equal to $cot~x$
$cot(-x)=-cot~x$ $\frac{1}{tan~x}+cot(-x)=cot~x-cot~x=0$