Module 8 · Periodic functions · Lesson 49 of 84

Graphs of the other trigonometric functions

The graphs of tangent, cotangent, secant and cosecant, with their periods and asymptotes.

In this lesson · about 18 minutes

  • Sketch y = tan x and y = cot x with their asymptotes
  • Sketch y = sec x and y = csc x from cos and sin
  • Find the period, domain and range of each
  • Graph transformations such as y = 2 tan(x/2)

Tangent and cotangent

tan x = sin x / cos x is zero where sin x is zero and blows up where cos x is zero. So its graph has vertical asymptotes at x = π/2 + kπ, and between them it climbs from −∞ to ∞ through (0, 0). It repeats every π, not 2π.

cot x = cos x / sin x is the mirror story: asymptotes at x = kπ, and between them it falls from ∞ to −∞, crossing zero at π/2. Its period is also π.

For y = A tan(Bx), the period is π/|B|. A stretches it; there is no amplitude because it has no top or bottom.

Secant and cosecant

The easiest way to draw sec x = 1/cos x is to draw cos x first, lightly:

  • Wherever cos x = 0, sec x has an asymptote.
  • Wherever cos x = ±1, sec x = ±1 too: the U shapes touch the cosine curve at its tops and bottoms.
  • Elsewhere, 1/(a number between −1 and 1) is bigger than 1 in size, so the U's open away from the x-axis.

csc x works the same way from sin x. Both have period 2π and range (−∞, −1] ∪ [1, ∞).

Try it · interactive

Graphs of tangent, cotangent, secant and cosecant

Switch between the four graphs. For sec and csc, see how each U touches the dashed sine or cosine curve.

Period

π

Asymptotes

x = π/2 + kπ

Domain

x ≠ π/2 + kπ

Range

(−∞, ∞)

Asymptotes sit where the bottom of the ratio is zero. Between them, the graph runs from −∞ to ∞.

−2π−3π/2−π−π/2π/2π3π/22π−4−3−2−11234

Whiteboard · watch and try

Drawing y = sec x from cos x

3 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Sorting drill

Period π or 2π?

Sort each function by its period.

  • y = tan x
  • y = sec x
  • y = cot x
  • y = csc x
  • y = sin(2x)
  • y = cos x + 3

0 of 6 sorted

Check your understanding0 of 4 correct

Question 1

1.Where are the asymptotes of y = tan x?

Question 2

2.What is the period of y = 3 tan(x/2)?

Question 3

3.What is the range of y = csc x?

Question 4

4.y = cot x crosses the x-axis at…

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 4

Tip: answer every quiz question correctly first.

Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.