Proving $\cot(A)\cot(B)+\cot(B)\cot(C)+\cot(C)\cot(A)=1$ I was stumped by another past-year question:

In $\triangle ABC$, prove that $$\cot(A)\cot(B)+\cot(B)\cot(C)+\cot(C)\cot(A)=1.$$

Here's what I have done so far: I tried to replace $C$, using $C=180^\circ-(A+B)$. But after doing this, I don't know how to continue.
I would be really grateful for some help on this, thanks!

So, we want to show that
$$\cot(A)\cot(B)+(\cot(A)+\cot(B))\cot(\pi-A-B)=1$$
Remembering that $\cot$ is odd ($\cot(-u)=-\cot u$) and has period $\pi$ ($\cot(u+\pi)=\cot u$), we have
$$\cot(A)\cot(B)-(\cot(A)+\cot(B))\cot(A+B)=1$$
At this point, you might want to turn everything into sines and cosines, use the addition formulae, and combine what can be combined.
Alternatively, you can derive the addition formula
$$\cot(\theta+\varphi)=\frac{\cot\,\theta\cot\,\varphi-1}{\cot\,\theta+\cot\,\varphi}$$
from the addition formulae for $\sin$ and $\cos$ and then substitute into your original identity.
