This is LaTeX code:
[latex]
\cot f(x)=\displaystyle\frac{\displaystyle\frac{x}{x}-1}{x+\displaystyle\frac{1}{x}}
[/latex]