Graph of y = cot x

Trigonometric functions · Updated 2026-11-26

Quick answer

The graph of y = cot x is a trigonometric function. Its domain is x ≠ kπ and its range is all real numbers. It crosses the x-axis at (−4.71239, 0), (−1.5708, 0), (1.5708, 0) and (4.71239, 0), and it has no y-intercept. Asymptotes: Vertical at x = kπ.

−8−6−4−22468−5−4−3−2−112345
  • y=cot(x)
Open in graphing calculator

Click the curve to show intercepts and turning points.

Key features

Domainx ≠ kπ
RangeAll real numbers
x-intercepts(−4.71239, 0), (−1.5708, 0), (1.5708, 0) and (4.71239, 0) (shown for −2π ≤ x ≤ 2π; the pattern repeats)
y-interceptNone
Turning pointsNone
Symmetryodd (symmetric about the origin)
Periodπ
AsymptotesVertical at x = kπ
End behaviorAs x → −∞, y oscillates; as x → ∞, y oscillates
Derivativey′ = −csc²(x)
Second derivativey″ = 2csc(x)(csc(x)·cot(x))

Cotangent is cos x / sin x. It decreases on every branch, unlike tangent.

Table of values

xπ/6π/4π/3π/2π3π/22π
y1.7320510.577350−8.16562×10^150−4.08281×10^15

How to graph y = cot x

  1. Open the graphing calculator and type y = cot(x).
  2. Plot the x-intercepts: (−4.71239, 0), (−1.5708, 0), (1.5708, 0), (4.71239, 0).
  3. Draw the asymptotes as dashed lines: Vertical at x = kπ.
  4. Use the table of values to add a few more points, then connect them with a smooth curve that follows the end behavior.

Compared with the parent function

y = cot x is a transformation of y = tan x. Trigonometric functions are periodic: the graph repeats after a fixed horizontal distance called the period. Angles are in radians.

−8−6−4−22468−5−4−3−2−112345
  • y=tan(x)
  • y=cot(x)
Open in graphing calculator

Frequently asked questions

What is the domain and range of y = cot x?

Domain: x ≠ kπ. Range: All real numbers.

What are the x-intercepts of y = cot x?

(−4.71239, 0), (−1.5708, 0), (1.5708, 0) and (4.71239, 0).

What is the derivative of cot x?

−csc²(x). Graph it by defining f(x) = cot(x) and typing f'(x).

Is cot x even, odd or neither?

It is odd (symmetric about the origin).