y=cscxy = \csc x

Graph of the Cosecant Function y=cscxy = \csc x

The cosecant function y=cscxy = \csc x is the trigonometric function defined as the reciprocal of the sine; it is also written cosecx\operatorname{cosec} x. In a right triangle it is the ratio of the hypotenuse to the opposite side.

Definition

cscx=1sinx\csc x = \frac{1}{\sin x}

Domain and range

Where sinx=0\sin x = 0, at x=nπx = n\pi (with nn an integer), the denominator vanishes and the function is undefined. Its domain is all real numbers except these points. Since 1sinx1-1 \le \sin x \le 1 and sinx0\sin x \ne 0, we have cscx1|\csc x| \ge 1, so the range is y1y \le -1 or y1y \ge 1.

Symmetry and period

Because sinx\sin x is odd, csc(x)=cscx\csc(-x) = -\csc x, so y=cscxy = \csc x is an odd function with point symmetry about the origin. Its period is 2π2\pi, the same as sine.

Asymptotes and limits

There is a vertical asymptote at each x=nπx = n\pi. As xx approaches 00 from the right, sinx0+\sin x \to 0^{+} so cscx+\csc x \to +\infty; from the left, cscx\csc x \to -\infty.

Behavior and notable points

Between consecutive asymptotes the curve forms a UU shape or an inverted UU. Where sinx\sin x attains 11, at x=π2+2nπx = \dfrac{\pi}{2} + 2n\pi, cscx\csc x has a local minimum of 11; where sinx\sin x attains 1-1, at x=3π2+2nπx = \dfrac{3\pi}{2} + 2n\pi, cscx\csc x has a local maximum of 1-1. Its derivative is ddxcscx=cscxcotx\dfrac{d}{dx}\csc x = -\csc x \cot x.

Relation to other functions

It relates to the secant by cscx=sec(π2x)\csc x = \sec\left(\dfrac{\pi}{2} - x\right) and appears in the identity 1+cot2x=csc2x1 + \cot^2 x = \csc^2 x. Shifting the graph of secx\sec x left by π2\dfrac{\pi}{2} gives cscx\csc x.

Applications

The cosecant arises in the law of sines, in the analysis of oscillations and waves, and in integrals such as cscxdx=lntanx2+C\int \csc x\,dx = \ln\left|\tan\dfrac{x}{2}\right| + C.