Graph of y = csc x (Cosecant function)

· How we calculate · Free, no sign-up

Quick answer

The graph of y = csc x is a series of U- and ∩-shaped branches outside −1 < y < 1, with asymptotes at every multiple of π. Domain: x ≠ kπ; range: (−∞, −1] ∪ [1, ∞). x-intercept: None; y-intercept: None (undefined at x = 0). It is odd (symmetric about the origin).

Functiony = csc x
Domainx ≠ kπ
Range(−∞, −1] ∪ [1, ∞)
x-intercept(s)None
y-interceptNone (undefined at x = 0)
Derivative−csc x cot x
Graph of y = csc x for −2π ≤ x ≤ 2π−2π−3π/2−π−π/20π/2π3π/22π−5−4−3−2−1012345
Graph of y = csc x for −2π ≤ x ≤ 2π, −5 ≤ y ≤ 5. Dashed lines are asymptotes. Dots mark intercepts.
Zoom, pan and trace y = csc x next to y = sin x in the interactive grapher.Open the Graphing Calculator →

What the graph of y = csc x looks like

csc x = 1/sin x. It is undefined wherever sin x = 0 — at 0, ±π, ±2π … — so the y-axis itself is an asymptote and the graph has no intercepts at all. Between asymptotes the branches touch y = 1 at the sine peaks (x = π/2 + 2kπ) and y = −1 at the troughs.

Cosecant is odd like sine and repeats every 2π. Reading it next to the sine wave is the easiest way to sketch it: big where sine is small, equal to ±1 where sine is ±1, and with the same sign.

Key features of y = csc x

Key features of y = csc x
PropertyValue
Functiony = csc x (Cosecant function)
FamilyTrigonometric
Domainx ≠ kπ
Range(−∞, −1] ∪ [1, ∞)
x-intercept(s)None
y-interceptNone (undefined at x = 0)
SymmetryOdd — symmetric about the origin
AsymptotesVertical x = kπ
Period2π ≈ 6.2832
Increasing on[π/2 + 2kπ, π + 2kπ) and (π + 2kπ, 3π/2 + 2kπ]
Decreasing on(2kπ, π/2 + 2kπ] and [3π/2 + 2kπ, 2π + 2kπ)
Key pointsLocal minima 1 at x = π/2 + 2kπ; local maxima −1 at x = 3π/2 + 2kπ
Derivative f′(x)−csc x cot x
Antiderivative ∫ f(x) dxln|tan(x/2)| + C

Symmetry: Odd — symmetric about the origin. For example f(2) = 1.0998 while f(−2) = −1.0998, its negative, so the graph looks the same after a half-turn about the origin. Intercepts: the graph meets the x-axis at None and the y-axis at None (undefined at x = 0).

Table of values for y = csc x

Values of y = csc x
xy = csc xSlope f′(x)
−πundefinedundefined
−π/2−10
−π/4−1.4142−1.4142
0undefinedundefined
π/62−3.4641
π/41.4142−1.4142
π/31.1547−0.6667
π/210
2π/31.15470.6667
3π/41.41421.4142
πundefinedundefined
3π/2−10
2πundefinedundefined

How to sketch y = csc x by hand

Plot the points from the table — (−π/2, −1), (−π/4, −1.4142), (π/6, 2), (π/4, 1.4142), (π/3, 1.1547), (π/2, 1) — 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: [π/2 + 2kπ, π + 2kπ) and (π + 2kπ, 3π/2 + 2kπ]; decreasing: (2kπ, π/2 + 2kπ] and [3π/2 + 2kπ, 2π + 2kπ).

Derivative, tangent line and area

The derivative of y = csc x is −csc x cot x, which gives the slope of the curve at each point (the third column of the table). At x = 0.7854 the curve is at height 1.4142 and its slope is f′(0.7854) = −1.4142, so the tangent line there is y = −1.4142x + 2.5249.

The signed area under the curve from x = π/6 to x = π/2 is 1.317, found using the antiderivative ln|tan(x/2)| + C.

Related graphs and transformations

Browse all graphs of common functions by family, or open the graphing calculator.

Frequently asked questions

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

Domain: x ≠ kπ. Range: (−∞, −1] ∪ [1, ∞).

What are the intercepts of y = csc x?

x-intercept(s): None. y-intercept: None (undefined at x = 0).

What is the derivative of y = csc x?

f′(x) = −csc x cot x. At x = 0.7854 the curve is at height 1.4142 and its slope is f′(0.7854) = −1.4142, so the tangent line there is y = −1.4142x + 2.5249.

Is y = csc x even, odd or neither?

Odd — symmetric about the origin. For example f(2) = 1.0998 while f(−2) = −1.0998, its negative, so the graph looks the same after a half-turn about the origin.

Does y = csc x have asymptotes?

Vertical x = kπ. The function is periodic with period 2π ≈ 6.2832.