Cotangent
TrigonometryCotangent is the reciprocal of tangent, defined as the ratio of the adjacent side to the opposite side in a right triangle.
Formula
\cot(\theta) = \frac{1}{\tan(\theta)} = \frac{\text{adjacent}}{\text{opposite}} = \frac{\cos(\theta)}{\sin(\theta)}
Definition
Cotangent (written "cot") is the flip of tangent. Instead of opposite over adjacent, it is adjacent over opposite.
Example
If $\tan(45^\circ) = 1$, then $\cot(45^\circ) = 1/1 = 1$. If $\tan(30^\circ) \approx 0.577$, then $\cot(30^\circ) \approx 1/0.577 \approx 1.732$.
Key Insight
Cotangent is like tangent looking at the angle from the other side of the triangle.
Definition
$\cot(\theta) = \cos(\theta)/\sin(\theta) = \text{adjacent}/\text{opposite} = 1/\tan(\theta)$. It is undefined when $\sin(\theta) = 0$. The Pythagorean identity involving cotangent is: $1 + \cot^2(\theta) = \csc^2(\theta)$.
Example
$\cot(60^\circ) = \cos(60^\circ)/\sin(60^\circ) = (1/2)/(\sqrt{3}/2) = 1/\sqrt{3} = \sqrt{3}/3 \approx 0.577$.
Key Insight
The identity $1 + \cot^2(\theta) = \csc^2(\theta)$ comes from dividing $\sin^2 + \cos^2 = 1$ by $\sin^2$. Cotangent has period $\pi$, the same as tangent, because both repeat every half-rotation.
Definition
$\cot(x) = \cos(x)/\sin(x)$ has period $\pi$, poles at every integer multiple of $\pi$, and the Laurent series $\cot(x) = 1/x - x/3 - x^3/45 - 2x^5/945 - \ldots$ The partial fraction expansion $\cot(\pi x) = 1/x + \sum (1/(x-n) + 1/(x+n))$ over positive integers $n$ is a classical result of Euler.
Example
$d/dx[\cot(x)] = -\csc^2(x)$. The integral of $\cot(x) = \ln|\sin(x)| + C$. These derivatives and integrals arise naturally in computing integrals of rational trig expressions.
Key Insight
Euler's partial fraction expansion of $\cot(\pi x)$, combined with evaluating at $x = 1/2$, provides an elegant proof that $\sum 1/n^2 = \pi^2/6$, solving the Basel problem.