y=cot⁡xy = \cot x

Graph of the Cotangent Function y=cot⁡xy = \cot x

The cotangent function y=cot⁡xy = \cot x is the trigonometric function defined as the cosine divided by the sine1. It is also the reciprocal of the tangent.

Definition

cot⁡x=cos⁡xsin⁡x=1tan⁡x\cot x = \frac{\cos x}{\sin x} = \frac{1}{\tan x}

Domain and range

  • The domain is every real number with x≠nπx \neq n\pi
  • The range is all real numbers
  • The period is π\pi
  • It is an odd function

As with the tangent, the values have no upper or lower bound.

Symmetry and period

Since cot⁡(−x)=−cot⁡x\cot(-x) = -\cot x it is an odd function with point symmetry about the origin. The period is π\pi, matching the tangent and shorter than the 2π2\pi of the sine and cosine.

Asymptotes and limits

There is a vertical asymptote at each x=nπx = n\pi.

Approachcot⁡x\cot x
x→0+x \to 0^{+}+∞+\infty
x→π−x \to \pi^{-}−∞-\infty

Monotonicity and zeros

The derivative is as follows.

ddxcot⁡x=−1sin⁡2x=−csc⁡2x\frac{d}{dx}\cot x = -\frac{1}{\sin^2 x} = -\csc^2 x

It is always negative, so the function decreases monotonically on each interval nπ<x<(n+1)πn\pi < x < (n+1)\pi. The zeros are the solutions of cos⁡x=0\cos x = 0, namely x=π2+nπx = \dfrac{\pi}{2} + n\pi.

Notable values

xxcot⁡x\cot x
π6\dfrac{\pi}{6}3\sqrt{3}
π4\dfrac{\pi}{4}11
π3\dfrac{\pi}{3}13\dfrac{1}{\sqrt{3}}
π2\dfrac{\pi}{2}00

Shape of the graph

Take a single interval such as 0<x<π0 < x < \pi. The curve starts near +∞+\infty at the left asymptote, crosses 00 at x=π2x = \dfrac{\pi}{2}, and descends toward −∞-\infty at the right asymptote. That shape repeats under a shift of π\pi, and each zero sits exactly at the center of its interval.

Comparison with the tangent

Itemtan⁡x\tan xcot⁡x\cot x
Asymptotesπ2+nπ\dfrac{\pi}{2} + n\pinπn\pi
Zerosnπn\piπ2+nπ\dfrac{\pi}{2} + n\pi
Behavior on one branchincreasingdecreasing
Derivativesec⁡2x\sec^2 x−csc⁡2x-\csc^2 x

The two are tied by cot⁡x=tan⁡(π2−x)\cot x = \tan\left( \dfrac{\pi}{2} - x \right), so the cotangent can also be read as the tangent reflected left to right and shifted by π2\dfrac{\pi}{2}.

Applications

  • The relation between angles and lengths in surveying and triangulation
  • The partial-fraction expansion πcot⁡πx\pi\cot\pi x in complex analysis
  • The antiderivative of csc⁡2x\csc^2 x in integral calculus
  1. Trigonometric functions, Wikipedia