What the graph of y = cot x looks like
cot x = cos x / sin x = 1/tan x. It has vertical asymptotes where sin x = 0 (every multiple of π) and crosses the x-axis where cos x = 0 (π/2 + kπ). Each branch falls from +∞ just right of an asymptote to −∞ just left of the next one, so the graph looks like tan x reflected and shifted.
In fact cot x = −tan(x − π/2). Like tangent, cotangent repeats every π and is odd. Its derivative −csc² x is always ≤ −1, so every branch is strictly decreasing.
Key features of y = cot x
| Property | Value |
|---|---|
| Function | y = cot x (Cotangent function) |
| Family | Trigonometric |
| Domain | x ≠ kπ |
| Range | All real numbers (−∞, ∞) |
| x-intercept(s) | x = π/2 + kπ |
| y-intercept | None (undefined at x = 0) |
| Symmetry | Odd — symmetric about the origin |
| Asymptotes | Vertical x = kπ |
| Period | π ≈ 3.1416 |
| Increasing on | Never |
| Decreasing on | (kπ, π + kπ) for every integer k |
| Key points | Inflection points at (π/2 + kπ, 0); cot(π/4) = 1 |
| Derivative f′(x) | −csc² x |
| Antiderivative ∫ f(x) dx | ln|sin x| + C |
Symmetry: Odd — symmetric about the origin. For example f(2) = −0.4577 while f(−2) = 0.4577, its negative, so the graph looks the same after a half-turn about the origin. Intercepts: the graph meets the x-axis at x = π/2 + kπ and the y-axis at None (undefined at x = 0).
Table of values for y = cot x
| x | y = cot x | Slope f′(x) |
|---|---|---|
| −π | undefined | undefined |
| −π/2 | 0 | −1 |
| −π/4 | −1 | −2 |
| 0 | undefined | undefined |
| π/6 | 1.7321 | −4 |
| π/4 | 1 | −2 |
| π/3 | 0.5774 | −1.3333 |
| π/2 | 0 | −1 |
| 2π/3 | −0.5774 | −1.3333 |
| 3π/4 | −1 | −2 |
| π | undefined | undefined |
| 3π/2 | 0 | −1 |
| 2π | undefined | undefined |
How to sketch y = cot x by hand
Plot the points from the table — (−π/2, 0), (−π/4, −1), (π/6, 1.7321), (π/4, 1), (π/3, 0.5774), (π/2, 0) — on axes running from about −2π to 2π horizontally. Draw the asymptotes first (vertical x = kπ) as dashed lines; the curve gets ever closer to them without crossing in that direction. Then join the points with a smooth curve. As a check on the shape — increasing: Never; decreasing: (kπ, π + kπ) for every integer k.
Derivative, tangent line and area
The derivative of y = cot x is −csc² x, which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 0.6421 and its slope is f′(1) = −1.4123, so the tangent line there is y = −1.4123x + 2.0544.
The signed area under the curve from x = π/6 to x = π/2 is 0.6931, found using the antiderivative ln|sin x| + C.
Related graphs and transformations
- y = tan x — Reciprocal of cot x
- y = csc x — Its derivative is −csc² x
- y = cos x — Numerator
- y = sin x — Denominator
- y = 1/x — Hyperbola-like branches
Browse all graphs of common functions by family, or open the graphing calculator.