Źródło TeX:
\left(\frac1x-\frac{1}{\mathrm{tg} x}\right)=\frac{\mathrm{tg} x-x}{x\mathrm{tg} x}