Angle \( \theta \) with initial side on the positive x axis (in standard position) and terminal side OM is shown below.
Given point \( M(x,y) \) on the terminal side, the cotangent function is defined as
\[ \cot(\theta) = \dfrac{x}{y} \]
\( \cot(\theta) \) may also be expressed in terms of \( \sin(\theta) \) and \( \cos(\theta) \) as follows:
\[ \cot(\theta) = \dfrac{x}{y} = \dfrac{x/r}{y/r} = \dfrac{\cos(\theta)}{\sin(\theta)}\]
Note that
1) \[ \cot(\theta+\pi) = \dfrac{\cos(\theta+\pi)}{\sin(\theta+\pi)} = \dfrac{-\cos(\theta)}{-\sin(\theta)}= \dfrac{\cos(\theta)}{\sin(\theta)} = \cot(\theta)\]
and we therefore conclude that \( \cot(\theta) \) is a periodic function with a period equal to \( \pi \).
2) \[ \cot(-\theta) = \dfrac{\cos(-\theta)}{\sin(-\theta)} = \dfrac{ \cos(\theta)}{-\sin(\theta)} = - \dfrac{\cos(\theta)}{\sin(\theta)} = - \cot(\theta)\]
and therefore \( \cot(\theta) \) is an odd function which also means that the graph of \( \cot(\theta) \) is symmetric with respect to the origin of the system of coordinates.
We now use a unit circle to find \( \sin(\theta)\) and \( \cos(\theta)\) and hence \( \cot(\theta)\) over one period extending from \( \theta = 0 \) to \( \theta = \pi \).
We know from the sine and cosine functions that the x and y coordinates on a unit circle gives the values of \( \sin(\theta)\) and \( \cos(\theta)\) as shown below.
Let us now put the values of the angles \( 0, \dfrac{\pi}{4} , \dfrac{\pi}{2} , \dfrac{3\pi}{4} , \pi \) and the corresponding values of \( \cos(\theta) \) and \( \sin(\theta) \) on a table as shown below.
| \( \theta \) | \( \cos(\theta) \) | \( \sin(\theta) \) | \( \cot(\theta) = \dfrac{\cos(\theta)}{\sin(\theta)}\) |
| \( 0 \) | \( 1 \) | \( 0 \) | \( undefined \) |
| \( \dfrac{\pi}{4} \) | \( \dfrac{\sqrt 2}{2} \) | \( \dfrac{\sqrt 2}{2} \) | \( 1 \) |
| \( \dfrac{\pi}{2} \) | \( 0 \) | \( 1 \) | \( 0 \) |
| \( \dfrac{3\pi}{4} \) | \( - \dfrac{\sqrt 2}{2} \) | \( \dfrac{\sqrt 2}{2} \) | \( - 1 \) |
| \( \pi \) | \( - 1 \) | 7\( 0 \) | \( undefined \) |
| \( \theta \) | \( \cot(\theta) \) |
| \( -0.1 \) | \( -9.966644423 \) |
| \( -0.01\) | \( -99.99666664 \) |
| \( -0.001 \) | \( -999.9996667 \) |
| \( -0.000001 \) | \( -1000000 \) |
| \( \theta \) | \( \cot(\theta) \) |
| \( 0.1 \) | \( 9.966644423 \) |
| \( 0.01\) | \( 99.99666664 \) |
| \( 0.001 \) | \( 999.9996667 \) |
| \( 0.000001 \) | \( 1000000 \) |
1) cot x has a period equal to \( \pi \).
2) \( \cot(x) \) has vertical asymptotes at all values of \( x = n\pi \) , \( n \) being any integer.
3) The domain of \( \cot(x) \) is the set of all real numbers except \( x = n\pi \) , \( n \) being any integer.
4) The graph of \( \cot(x) \) is symmetric with respect to the origin of the system of coordinates.
5) The range of \( \cot(x) \) is given by: \( (-\infty , +\infty) \)
6) \( \cot(x) \) is odd and its graph is symmetric with respect to the origin of the system of axes.
7) \( \cot(x) \) is decreasing on intervals.
The general cotangent function given by
\( f ( x ) = a \cot ( b x + c ) + d \)