Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Extension 1 (2026) Further Work with Functions

Graphs of sec x, cosec x and cot x

20 practice questions 0 video lessons Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The graphs of \(y=\sec x\), \(y=\operatorname{cosec}x\) and \(y=\cot x\) are the reciprocal graphs of \(\cos x\), \(\sin x\) and \(\tan x\). This Year 11 Mathematics Extension 1 page shows where their asymptotes and turning points are, their period, domain and range, and how to use the graphs to count and find the solutions of equations such as \(\operatorname{cosec}x=k\).

The three reciprocal trigonometric functions are

\[\sec x=\dfrac{1}{\cos x},\qquad \operatorname{cosec}x=\dfrac{1}{\sin x},\qquad \cot x=\dfrac{1}{\tan x}=\dfrac{\cos x}{\sin x}.\]

Their graphs are reciprocal graphs, so they follow the same rules as \(y=\dfrac{1}{f(x)}\): a vertical asymptote wherever the original function is \(0\), the same sign as the original function, and the graphs meet only where the original function equals \(1\) or \(-1\).

\(y=\sec x\) has asymptotes where \(\cos x=0\): \(x=\pm\dfrac{\pi}{2},\ \pm\dfrac{3\pi}{2},\ \dots\) (\(\pm90^\circ,\ \pm270^\circ,\ \dots\)). Since \(-1\leq\cos x\leq1\), the reciprocal satisfies \(\sec x\geq1\) or \(\sec x\leq-1\). The maximum points of \(y=\cos x\) become minimum turning points of \(y=\sec x\), such as \((0,1)\), and the minimum points of \(\cos x\) become maximum turning points, such as \((\pi,-1)\). The graph is a row of U-shaped branches, alternately opening up and down.

\(y=\operatorname{cosec}x\) has asymptotes where \(\sin x=0\): \(x=0,\ \pm\pi,\ \pm2\pi,\ \dots\) (\(x=180^\circ n\)). Its turning points are where \(\sin x=\pm1\), for example a local minimum at \(\left(\dfrac{\pi}{2},1\right)\).

\(y=\cot x\) has asymptotes where \(\sin x=0\) (where \(\tan x=0\)) and \(x\)-intercepts where \(\cos x=0\) (where \(\tan x\) has its asymptotes). Each branch decreases from \(+\infty\) to \(-\infty\), so the range is all real \(y\).

Each reciprocal function repeats when the original does, so \(\sec x\) and \(\operatorname{cosec}x\) have period \(2\pi\) (\(360^\circ\)) and \(\cot x\) has period \(\pi\) (\(180^\circ\)). \(\sec x\) is an even function, like \(\cos x\); \(\operatorname{cosec}x\) and \(\cot x\) are odd.

y = sec xy = cos x (dashed) and y = sec x (solid) for -pi <= x <= 2pi. Vertical asymptotes at x = -pi/2, pi/2 and 3pi/2, where cos x = 0. The U-shaped branches touch the cosine curve at (0, 1) and (2pi, 1) (minimum points) and at (-pi, -1) and (pi, -1) (maximum points). x y −π −π/2 π/2 π 3π/2 2π −3 −2 −1 1 2 3 (0, 1) (π, −1) y = sec x y = cos x
\(y=\sec x=\dfrac{1}{\cos x}\): asymptotes where \(\cos x=0\), and the branches touch \(y=\cos x\) where \(\cos x=\pm1\).
y = cosec xy = sin x (dashed) and y = cosec x (solid) for -pi < x < 2pi. Vertical asymptotes at x = -pi, 0, pi and 2pi, where sin x = 0. The branches touch the sine curve at (pi/2, 1) (minimum) and at (-pi/2, -1) and (3pi/2, -1) (maximum points). x y −π −π/2 π/2 π 3π/2 2π −3 −2 −1 1 2 3 (π/2, 1) (3π/2, −1) y = cosec x y = sin x
\(y=\operatorname{cosec}x=\dfrac{1}{\sin x}\): asymptotes where \(\sin x=0\), and the branches touch \(y=\sin x\) where \(\sin x=\pm1\).
y = cot xy = tan x (dashed) and y = cot x (solid) for -pi < x < 2pi. cot x has vertical asymptotes at x = -pi, 0, pi and 2pi, where sin x = 0, and x-intercepts at x = -pi/2, pi/2 and 3pi/2, where cos x = 0. Each branch decreases, passing through (pi/4, 1) and (3pi/4, -1). x y −π −π/2 π/2 π 3π/2 2π −3 −2 −1 1 2 3 (π/4, 1) (3π/4, −1)
\(y=\cot x=\dfrac{\cos x}{\sin x}\) (solid) with \(y=\tan x\) (dashed): asymptotes where \(\sin x=0\), \(x\)-intercepts where \(\cos x=0\). Every branch decreases.
\(y=\sec x\)\(y=\operatorname{cosec}x\)\(y=\cot x\)
Definition\(\dfrac{1}{\cos x}\)\(\dfrac{1}{\sin x}\)\(\dfrac{\cos x}{\sin x}\)
Asymptotes\(\cos x=0\): \(x=\dfrac{\pi}{2}+n\pi\)\(\sin x=0\): \(x=n\pi\)\(\sin x=0\): \(x=n\pi\)
Period\(2\pi\) (\(360^\circ\))\(2\pi\) (\(360^\circ\))\(\pi\) (\(180^\circ\))
Range\(y\leq-1\) or \(y\geq1\)\(y\leq-1\) or \(y\geq1\)all real \(y\)
Symmetryevenoddodd
\(x\)-interceptsnonenone\(\cos x=0\): \(x=\dfrac{\pi}{2}+n\pi\)

Here \(n\) is an integer. Exact values come from the exact values of \(\sin\), \(\cos\) and \(\tan\):

\(x\)\(\dfrac{\pi}{6}\ (30^\circ)\)\(\dfrac{\pi}{4}\ (45^\circ)\)\(\dfrac{\pi}{3}\ (60^\circ)\)
\(\sec x\)\(\dfrac{2}{\sqrt3}\)\(\sqrt2\)\(2\)
\(\operatorname{cosec}x\)\(2\)\(\sqrt2\)\(\dfrac{2}{\sqrt3}\)
\(\cot x\)\(\sqrt3\)\(1\)\(\dfrac{1}{\sqrt3}\)

Period of a horizontally dilated graph (\(n\gt 0\)):

\[y=\sec nx\ \text{ and }\ y=\operatorname{cosec}nx:\ \text{period }\dfrac{2\pi}{n};\qquad y=\cot nx:\ \text{period }\dfrac{\pi}{n}\]
sec n x and cosec n x have period 2 pi over n; cot n x has period pi over n

Solving a reciprocal equation (\(k\neq0\)):

\[\sec x=k\ \Leftrightarrow\ \cos x=\dfrac1k,\qquad \operatorname{cosec}x=k\ \Leftrightarrow\ \sin x=\dfrac1k\]
sec x equals k means cos x equals 1 over k; cosec x equals k means sin x equals 1 over k
Transforming the range. Start from \(\sec x\leq-1\) or \(\sec x\geq1\) and apply each step to both parts. For \(y=a\sec x+c\) with \(a\gt 0\): \(y\leq-a+c\) or \(y\geq a+c\).
Where a function meets its reciprocal. \(\sec x=\cos x\) gives \(\cos^2x=1\), so \(\cos x=\pm1\): the graphs only touch at the turning points. In the same way \(\operatorname{cosec}x=\sin x\) only where \(\sin x=\pm1\).
One graph is a translation of another. Since \(\sin\left(x+\dfrac{\pi}{2}\right)=\cos x\), \(\operatorname{cosec}\left(x+\dfrac{\pi}{2}\right)=\sec x\): the graph of \(y=\sec x\) is the graph of \(y=\operatorname{cosec}x\) translated \(\dfrac{\pi}{2}\) units to the left.

How to sketch \(y=\sec x\), \(y=\operatorname{cosec}x\) or \(y=\cot x\)

  1. Sketch the matching function lightly: \(y=\cos x\) for \(\sec x\), \(y=\sin x\) for \(\operatorname{cosec}x\), \(y=\tan x\) for \(\cot x\).
  2. Draw the asymptotes where the matching function is \(0\) (for \(\cot x\): where \(\sin x=0\)).
  3. Mark the turning points of \(\sec x\) and \(\operatorname{cosec}x\) where the matching function is \(1\) or \(-1\): the two graphs touch there, and a maximum becomes a minimum. For \(\cot x\), mark the \(x\)-intercepts where \(\cos x=0\) and the points \(\left(\dfrac{\pi}{4},1\right)\), \(\left(\dfrac{3\pi}{4},-1\right)\).
  4. Draw each branch on the same side of the \(x\)-axis as the matching function, curving away from the turning point towards the asymptotes. Each branch of \(\cot x\) decreases from \(+\infty\) to \(-\infty\).

How to solve \(\sec x=k\) or \(\operatorname{cosec}x=k\)

  1. Count the solutions with the line \(y=k\) on the graph. There are none if \(-1\lt k\lt 1\).
  2. Rewrite as \(\cos x=\dfrac1k\) or \(\sin x=\dfrac1k\).
  3. Solve using the related angle and the quadrants where the sign is right, then check that the number of answers matches the graph.
Example 1 — Sketch y = sec x in degrees
Sketch \(y=\sec x\) for \(-180^\circ\leq x\leq360^\circ\). Show the asymptotes, and the coordinates and nature of the turning points.
Solution

Asymptotes where \(\cos x=0\):

\(x\)\(=\)\(-90^\circ,\ 90^\circ,\ 270^\circ\)
x equals negative 90, 90 and 270 degrees

Turning points where \(\cos x=\pm1\):

\(\cos0^\circ=1\)\(\Rightarrow\)\(\sec0^\circ=\dfrac11=1\)
\(\cos180^\circ=-1\)\(\Rightarrow\)\(\sec180^\circ=\dfrac{1}{-1}=-1\)
cos 0 equals 1 so sec 0 equals 1; cos 180 equals negative 1 so sec 180 equals negative 1

\((0^\circ,1)\) is a maximum of \(\cos x\), so it is a local minimum of \(\sec x\). \((180^\circ,-1)\) is a minimum of \(\cos x\), so it is a local maximum of \(\sec x\).

End points: \(\sec(-180^\circ)=-1\) and \(\sec360^\circ=1\).

Between \(-90^\circ\) and \(90^\circ\), \(\cos x\gt 0\), so the branch opens upwards from \((0^\circ,1)\). Between \(90^\circ\) and \(270^\circ\), \(\cos x\lt 0\), so the branch opens downwards from \((180^\circ,-1)\).

y = sec x for −180° ≤ x ≤ 360°y = sec x (solid) and y = cos x (dashed) for -180 to 360 degrees, with asymptotes x = -90, 90 and 270 degrees, a local minimum (0, 1), a local maximum (180 degrees, -1) and end points (-180 degrees, -1) and (360 degrees, 1). x y −180° −90° 90° 180° 270° 360° −3 −2 −1 1 2 3 (0°, 1) (180°, −1) x = −90° x = 90° x = 270°
Example 2 — The graph of y = cot x
Consider \(y=\cot x\) for \(-180^\circ\lt x\lt 180^\circ\).
(i) Find its asymptote and \(x\)-intercepts.
(ii) Find \(\cot45^\circ\), \(\cot135^\circ\), \(\cot(-45^\circ)\) and \(\cot(-135^\circ)\), and sketch the graph.
(iii) Show that \(y=\cot x\) is an odd function.
Solution

(i) \(\cot x=\dfrac{\cos x}{\sin x}\). Asymptote where \(\sin x=0\): \(x=0^\circ\) (the ends, \(\pm180^\circ\), are also asymptotes). \(x\)-intercepts where \(\cos x=0\): \(x=\mathbf{\pm90^\circ}\).

(ii) \(\tan45^\circ=1\), so \(\cot45^\circ=1\) and \(\cot135^\circ=\dfrac{1}{\tan135^\circ}=\dfrac{1}{-1}=-1\).

\(\cot(-45^\circ)\)\(=\)\(\dfrac{1}{\tan(-45^\circ)}=-1\)
\(\cot(-135^\circ)\)\(=\)\(\dfrac{1}{\tan(-135^\circ)}=1\)
cot of negative 45 degrees is negative 1, cot of negative 135 degrees is 1

Each branch decreases from \(+\infty\) next to its left asymptote to \(-\infty\) next to its right asymptote, crossing the axis at \(\pm90^\circ\).

y = cot x for −180° < x < 180°y = cot x (solid) for -180 to 180 degrees, with asymptotes at x = -180, 0 and 180 degrees, x-intercepts at -90 and 90 degrees, and points (-135 degrees, 1), (-45 degrees, -1), (45 degrees, 1) and (135 degrees, -1). Each branch decreases. x y −180° −90° 90° 180° −3 −2 −1 1 2 3 (45°, 1) (135°, −1) (−45°, −1) (−135°, 1)

(iii)

\(\cot(-x)\)\(=\)\(\dfrac{\cos(-x)}{\sin(-x)}\)
\(\)\(=\)\(\dfrac{\cos x}{-\sin x}\)
\(\)\(=\)\(-\cot x\)
cot of negative x equals cos negative x over sin negative x equals cos x over negative sin x equals negative cot x

\(\therefore y=\cot x\) is odd: its graph has point symmetry about the origin.

Example 3 — Solve cosec x = k
(i) Use the graph of \(y=\operatorname{cosec}x\) to state the number of solutions of \(\operatorname{cosec}x=-\sqrt2\) for \(0\leq x\leq2\pi\).
(ii) Find these solutions exactly.
(iii) For which values of \(k\) does \(\operatorname{cosec}x=k\) have exactly one solution for \(0\leq x\leq2\pi\)?
Solution

(i) The lower branch (\(\pi\lt x\lt 2\pi\)) has a maximum turning point at \(\left(\dfrac{3\pi}{2},-1\right)\). The line \(y=-\sqrt2\) is below it, so it meets this branch twice: 2 solutions.

(ii)

\(\operatorname{cosec}x\)\(=\)\(-\sqrt2\)
\(\sin x\)\(=\)\(-\dfrac{1}{\sqrt2}\)
cosec x equals negative root 2, so sin x equals negative 1 over root 2

\(\sin x\lt 0\) in quadrants 3 and 4; related angle \(\dfrac{\pi}{4}\).

\(x\)\(=\)\(\pi+\dfrac{\pi}{4}=\dfrac{5\pi}{4}\)
\(x\)\(=\)\(2\pi-\dfrac{\pi}{4}=\dfrac{7\pi}{4}\)
x equals 5 pi over 4 or 7 pi over 4

\(\therefore x=\mathbf{\dfrac{5\pi}{4},\ \dfrac{7\pi}{4}}\)

(iii) A horizontal line meets the graph exactly once only when it just touches a turning point: \(k=1\) (at \(x=\dfrac{\pi}{2}\)) or \(k=-1\) (at \(x=\dfrac{3\pi}{2}\)). \(\therefore k=\mathbf{\pm1}\).

y = cosec x and y = −√2y = cosec x (solid) for 0 <= x <= 2pi with asymptotes x = 0, pi and 2pi, a local minimum (pi/2, 1) and a local maximum (3pi/2, -1). The line y = -root 2 meets the lower branch twice, at x = 5pi/4 and x = 7pi/4. x y π/2 π 3π/2 2π −3 −2 −1 1 2 3 (π/2, 1) (3π/2, −1) y = −√2 y = cosec x
Example 4 — A transformed graph
Consider \(y=3\operatorname{cosec}2x+1\).
(i) Find its period.
(ii) Find its range.
(iii) Find its asymptotes and turning points for \(0\leq x\leq\pi\), and sketch it.
Solution

(i) \(\operatorname{cosec}2x\) repeats when \(\sin2x\) repeats:

\(\text{period}\)\(=\)\(\dfrac{2\pi}{2}=\mathbf{\pi}\)
period equals 2 pi over 2 equals pi

(ii) Transform the range of \(\operatorname{cosec}\):

\(\operatorname{cosec}2x\leq-1\)\(\text{or}\)\(\operatorname{cosec}2x\geq1\)
\(3\operatorname{cosec}2x\leq-3\)\(\text{or}\)\(3\operatorname{cosec}2x\geq3\)
\(3\operatorname{cosec}2x+1\leq-2\)\(\text{or}\)\(3\operatorname{cosec}2x+1\geq4\)
cosec 2x is at most negative 1 or at least 1; times 3 and add 1 gives at most negative 2 or at least 4

\(\therefore\) range: \(\boldsymbol{y\leq-2}\) or \(\boldsymbol{y\geq4}\)

(iii) Asymptotes where \(\sin2x=0\): \(2x=0,\ \pi,\ 2\pi\), so \(x=0,\ \dfrac{\pi}{2},\ \pi\).

Turning points where \(\sin2x=\pm1\):

\(\sin2x\)\(=\)\(1\)
\(2x\)\(=\)\(\dfrac{\pi}{2}\)
\(x\)\(=\)\(\dfrac{\pi}{4}\)
\(y\)\(=\)\(3(1)+1=4\)
sin 2x equals 1, so 2x equals pi over 2, x equals pi over 4, and y equals 4
\(\sin2x\)\(=\)\(-1\)
\(2x\)\(=\)\(\dfrac{3\pi}{2}\)
\(x\)\(=\)\(\dfrac{3\pi}{4}\)
\(y\)\(=\)\(3(-1)+1=-2\)
sin 2x equals negative 1, so 2x equals 3 pi over 2, x equals 3 pi over 4, and y equals negative 2

\(\therefore\) local minimum \(\mathbf{\left(\dfrac{\pi}{4},4\right)}\) and local maximum \(\mathbf{\left(\dfrac{3\pi}{4},-2\right)}\).

y = 3 cosec 2x + 1y = 3 cosec 2x + 1 (solid) for 0 < x < pi, with asymptotes x = 0, pi/2 and pi, a local minimum (pi/4, 4) and a local maximum (3pi/4, -2). The curve y = 3 sin 2x + 1 (dashed) touches it at both turning points. x y π/4 3π/4 −6 −4 2 6 8 (π/4, 4) (3π/4, −2) x = π/2 x = π y = 3 cosec 2x + 1

Common pitfalls

Asymptotes of \(\cot x\) are where \(\sin x=0\). \(\cot x=\dfrac{\cos x}{\sin x}\), so it is undefined where \(\sin x=0\) (\(x=0,\ \pm\pi,\ \dots\)). Where \(\cos x=0\), \(\cot x=0\): those are its \(x\)-intercepts, even though \(\tan x\) is undefined there.
\(\sec x\) and \(\operatorname{cosec}x\) are never between \(-1\) and \(1\). Their range is \(y\leq-1\) or \(y\geq1\), so an equation such as \(\sec x=\dfrac12\) has no solutions. Rewriting it as \(\cos x=2\) confirms this.
The period of \(\cot x\) is \(\pi\), not \(2\pi\). \(\cot x\) repeats when \(\tan x\) repeats. Only \(\sec x\) and \(\operatorname{cosec}x\) have period \(2\pi\) (\(360^\circ\)). For \(y=\sec nx\) the period is \(\dfrac{2\pi}{n}\).
A reciprocal is not an inverse. \(\sec x=\dfrac{1}{\cos x}\), but \(\cos^{-1}x\) is the angle whose cosine is \(x\). On a calculator, find \(\sec x\) with \(1\div\cos x\), not with the \(\cos^{-1}\) key.

Frequently asked questions

What is sec x equal to?

\(\sec x=\dfrac{1}{\cos x}\). In the same way \(\operatorname{cosec}x=\dfrac{1}{\sin x}\) and \(\cot x=\dfrac{1}{\tan x}=\dfrac{\cos x}{\sin x}\). For example \(\sec60^\circ=\dfrac{1}{\cos60^\circ}=2\).

What does the graph of y = sec x look like?

A row of U-shaped branches between vertical asymptotes at \(x=\dfrac{\pi}{2}+n\pi\). The branches open upwards from minimum points such as \((0,1)\) and downwards from maximum points such as \((\pi,-1)\), touching \(y=\cos x\) at those points.

Where are the asymptotes of y = cosec x?

Where \(\sin x=0\): \(x=n\pi\) for any integer \(n\), that is \(x=0,\ \pm\pi,\ \pm2\pi,\ \dots\), or \(x=180^\circ n\) in degrees.

What is the period of cot x?

\(\pi\) radians, or \(180^\circ\), the same as \(\tan x\). The period of \(\sec x\) and \(\operatorname{cosec}x\) is \(2\pi\) (\(360^\circ\)).

What is the range of sec x and cosec x?

\(y\leq-1\) or \(y\geq1\), because \(-1\leq\cos x\leq1\) and \(-1\leq\sin x\leq1\), and the reciprocal of a non-zero number from \(-1\) to \(1\) is at most \(-1\) or at least \(1\). The range of \(\cot x\) is all real numbers.

Is sec x the same as inverse cos x?

No. \(\sec x=\dfrac{1}{\cos x}\) is a reciprocal. \(\cos^{-1}x\) is the inverse function, which gives an angle. For example \(\sec0=1\), but \(\cos^{-1}0=\dfrac{\pi}{2}\).