The cotangent function is the trigonometric function defined as cosine divided by sine; it is also the reciprocal of the tangent.
Definition
Domain and range
Where , at (with an integer), the function is undefined. Its domain is all real numbers except these points, and its range is all real numbers: like the tangent, its values are unbounded above and below.
Symmetry and period
It is an odd function, , with point symmetry about the origin. Its period is — shorter than the of sine and cosine, matching the tangent.
Asymptotes and limits
There is a vertical asymptote at each . As (from the right), ; as (from the left), .
Behavior and zeros
On each interval the function is strictly decreasing, falling from to . Its derivative is always negative, confirming the decrease. Its zeros occur where , at .
Here are some specific values.
Shape of the graph
On a single interval such as , the curve starts near at the left asymptote, crosses at , and descends toward at the right asymptote. This shape repeats under a shift of , and each zero sits exactly at the center of its interval.
Relation to other functions
It relates to the tangent by .
Applications
The cotangent appears in surveying and triangulation, and in complex analysis and series, such as the partial-fraction expansion of .