So, I was minding my own business and I thought I had defined inverse cotangent in the natural fashion. In particular, we define inverse tangent as the inverse of tangent restricted to $(-\pi/2, \pi/2)$. We all know this. So, I thought, $y = \cot(x)$ has vertical asymptotes at $x = n \pi$ for any integer $n$ so surely the natural domain to restrict cotangent for inversion would be $(0, \pi)$. Then $0 < \cot^{-1}(x) < \pi$ and $\lim_{ x\rightarrow \infty} \cot^{-1}(x) = 0$ whereas $\lim_{x \rightarrow -\infty} \cot^{-1}(x) = \pi$.
Then I made the mistake of checking my work. I found that I have not followed the apparent proper path and inverted cotangent across its asymptote at $x=0$. Apparently, $cot^{-1}$ is understood as the inverse for cotangent restricted to $(-\pi/2,0) \cup (0, \pi/2]$ which leads to the graph of inverse cotangent having a hideous discontinuity as it jumps from $-\pi/2$ to $\pi/2$ at $x=0$.
See Mathword at Wolfram where the offensive (to my taste) definition is discussed at length. I guess this goes back to Euler. However, I also noticed I am not alone as the website above says:
A different but common convention (e.g., Zwillinger 1995, p. 466; Bronshtein and Semendyayev, 1997, p. 70; Jeffrey 2000, p. 125) defines the range of $\cot^{-1}x$ as $(0,\pi)$, thus giving a function that is continuous on the real line R. Extreme care should be taken where examining identities involving inverse trigonometric functions, since their range of applicability or precise form may differ depending on the convention being used.
My question is simply this:
Which definition of inverse cotangent do you favor in your teaching ?