Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

The Secant, Cosecant, and Cotangent Functions

Lesson ~10 min read 8 MCQs

In simple terms: In simple terms, this topic introduces three new trig functions—secant, cosecant, and cotangent—which are just the reciprocals (the "one-over") of the cosine, sine, and tangent functions you already know.

Why this matters

Imagine you're designing a roller coaster. You've meticulously planned the track—the smooth, wavy path of hills and valleys—using sine and cosine functions. That's the fun part! But what about the support structure that holds the track up? The support beams can't go just anywhere. They have to be placed strategically, and they certainly can't exist where the track touches the ground.

The secant, cosecant, and cotangent functions are like the blueprints for that support structure. They are directly related to the sine and cosine "tracks," but they describe a different reality. They shoot up to infinity where the main track is at its middle point, and they are undefined where the track might be at ground level. In this lesson, we'll explore these "other" trig functions. You'll learn how they are built directly from the ones you know and how to predict their unique, dramatic graphs.

The dramatic relationship between cosine and secant functions.

Concept overview

flowchart TD
    A[Start: Graph y = A sec(Bx)] --> B{What's the guide function?};
    B --> C[y = A cos(Bx)];
    C --> D{Sketch the guide function};
    D --> E{Find where guide = 0};
    E --> F[Draw Vertical Asymptotes at the zeros];
    D --> G{Find peaks & valleys of guide};
    G --> H[Draw U-shapes from peaks/valleys];
    F & H --> I[Finished Graph];
This flowchart diagram shows the step-by-step process for graphing a secant function. It starts by identifying the corresponding cosine function as a guide, then using the guide's zeros to place asymptotes and its peaks and valleys to draw the final curves.

Core explanation

Alright, let's dive into the family of trigonometric functions. You've spent a lot of time with sine, cosine, and tangent. Now, we'll meet their reciprocals. This isn't about learning six totally new things; it's about understanding how three new functions are perfectly related to the three you already know.

The Reciprocal Identities: Your Starting Point

Everything we're about to do is built on three simple definitions. I recommend making these your new best friends.

  • The secant function (sec) is the reciprocal of cosine. sec(θ) = 1 / cos(θ)

  • The cosecant function (csc) is the reciprocal of sine. csc(θ) = 1 / sin(θ)

  • The cotangent function (cot) is the reciprocal of tangent. cot(θ) = 1 / tan(θ)

Notice the pairings: sec goes with cos, and csc goes with sin. This is a classic spot for mistakes. The 's' and 'c' are swapped! Cosecant is the reciprocal of sine, not cosine. Keep that straight, and you're already ahead of the game.

Since tan(θ) = sin(θ) / cos(θ), we can also write cotangent another way, which is often even more useful:

cot(θ) = cos(θ) / sin(θ)

Understanding Asymptotes: The "Can't Divide by Zero" Rule

What's the one unbreakable rule in math? You can't divide by zero. This single rule explains the most dramatic feature of these new graphs: vertical asymptotes.

Think about f(θ) = sec(θ). This is the same as f(θ) = 1 / cos(θ). This function will be undefined whenever its denominator, cos(θ), is equal to zero.

When is cos(θ) = 0? On the unit circle, that happens at π/2, 3π/2, 5π/2, and so on (and in the negative direction). At each of these x-values, the graph of y = sec(θ) will have a vertical asymptote. It's a boundary line the graph can approach but never, ever touch.

The same logic applies to csc(θ) and cot(θ).

  • y = csc(θ) has vertical asymptotes wherever sin(θ) = 0. This happens at θ = 0, π, 2π, ... (all integer multiples of π).
  • y = cot(θ) also has vertical asymptotes wherever sin(θ) = 0, because its denominator is sin(θ).

Graphing Secant and Cosecant

The best way to graph y = sec(x) is to use y = cos(x) as your guide.

  1. 1
    Sketch the Guide Function
    Lightly sketch the graph of y = cos(x). It's your familiar wave starting at a peak at x=0.
  2. 2
    Find the Zeros
    Identify where your guide function y = cos(x) crosses the x-axis. These are the zeros. For cosine, this happens at x = ... -π/2, π/2, 3π/2, ....
  3. 3
    Draw the Asymptotes
    At each zero you found, draw a vertical dashed line. These are your asymptotes for the secant graph.
  4. 4
    Draw the Curves
    Now, look at the peaks and valleys of your cosine wave.
    • A peak on the cosine wave (where cos(x) = 1) will be a minimum point on the secant graph (since 1/1 = 1). From this point, draw a U-shaped curve that goes up towards the asymptotes on either side.
    • A valley on the cosine wave (where cos(x) = -1) will be a maximum point on the secant graph (since 1/(-1) = -1). From this point, draw an upside-down U-shaped curve that goes down towards the asymptotes.

This process works exactly the same for graphing y = csc(x) using y = sin(x) as your guide.

The Range: A Mysterious Gap

Notice something weird? The U-shaped curves for secant and cosecant never enter the space between y = -1 and y = 1. Why?

Think about the values of sin(θ) and cos(θ). They are always between -1 and 1.

  • When you take the reciprocal of a number between 0 and 1 (like 1/2), you get a number greater than or equal to 1 (like 2).
  • When you take the reciprocal of a number between -1 and 0 (like -1/2), you get a number less than or equal to -1 (like -2).

You can never get a value like 0.5 or -0.5 by calculating 1/cos(θ). This creates a "gap" in the possible output values.

The range of both y = sec(θ) and y = csc(θ) is (–∞, –1] ∪ [1, ∞).

The Cotangent Function

Cotangent behaves a little differently. We know its asymptotes are where sin(θ) = 0 (at 0, π, 2π, ...). But what does the curve look like between them?

Let's look at y = cot(θ) on the interval (0, π).

  • As θ approaches 0 from the right, sin(θ) is a tiny positive number and cos(θ) is close to 1. So, cot(θ) = cos(θ)/sin(θ) is a huge positive number. The graph shoots up to +∞.
  • When θ = π/2, cos(π/2) = 0, so cot(π/2) = 0. The graph crosses the x-axis.
  • As θ approaches π from the left, sin(θ) is a tiny positive number and cos(θ) is close to -1. So, cot(θ) is a huge negative number. The graph dives down to -∞.

Unlike tangent, which is an increasing function between its asymptotes, the cotangent function is always decreasing between its asymptotes. It looks like a mirror image of the tangent graph, shifted and flipped.

And that's the core of it. By understanding how these three functions are simply reciprocals, you can derive all their key features—asymptotes, graphs, and ranges—from the sine and cosine functions you already know so well.

Visualizing sine and cosecant, highlighting their reciprocal relationship and asymptotes.

Worked examples

Let's put these concepts into practice. The key is always to connect back to sine and cosine.

Example 1

Graphing a Transformed Secant Function

Problem: Identify the vertical asymptotes and sketch the graph of f(x) = 3 sec(x).

Solution:

  1. 1
    Identify the Guide Function
    The function is based on secant, so our guide function is its reciprocal, cosine. Specifically, we'll use y = 3 cos(x). The '3' is an amplitude stretch.
  2. 2
    Sketch the Guide
    Let's sketch y = 3 cos(x). It's a cosine wave that starts at (0, 3), goes down to (π, -3), and comes back up to (2π, 3). Its range is [-3, 3].
  3. 3
    Find the Asymptotes
    The asymptotes for sec(x) occur where cos(x) = 0. The vertical stretch 3 doesn't change the zeros of the function. cos(x) is zero at x = π/2, x = 3π/2, and so on. So, we'll draw vertical dashed lines at these x-values.
  4. 4
    Draw the Secant Curves
    • The peak of our guide function is at (0, 3). This becomes a local minimum for our secant graph. We'll draw a U-shaped curve starting at (0, 3) and heading up towards the asymptotes at x = -π/2 and x = π/2.
    • The valley of our guide function is at (π, -3). This becomes a local maximum for our secant graph. We'll draw an upside-down U-shaped curve starting at (π, -3) and heading down towards the asymptotes at x = π/2 and x = 3π/2.
Example 2

Finding a Value with Cotangent

Problem: Given that sin(θ) = 4/5 and θ is in Quadrant II, find the value of cot(θ).

Solution:

  1. 1
    Choose the Right Identity
    We need cot(θ). The most direct identity is cot(θ) = cos(θ) / sin(θ). We are given sin(θ), so we just need to find cos(θ).
  2. 2

    Find the Missing Piece (cos(θ)): We can use the Pythagorean identity: sin²(θ) + cos²(θ) = 1.

    • (4/5)² + cos²(θ) = 1
    • 16/25 + cos²(θ) = 1
    • cos²(θ) = 1 - 16/25
    • cos²(θ) = 9/25
    • cos(θ) = ±√(9/25) = ±3/5
  3. 3
    Use the Quadrant Information
    This is the critical step. We are told θ is in Quadrant II. In Quadrant II, x-values (cosine) are negative and y-values (sine) are positive. Therefore, we must choose the negative value for cosine.
    • cos(θ) = -3/5
  4. 4
    Calculate the Final Answer
    Now we have everything we need.
    • cot(θ) = cos(θ) / sin(θ)
    • cot(θ) = (-3/5) / (4/5)
    • cot(θ) = -3/4
Graph of y = 3 sec(x) showing its relationship to y = 3 cos(x).

Try it yourself

Ready to try on your own? Remember to connect everything back to sine and cosine.

Problem 1: Identify the vertical asymptotes of the function g(x) = csc(2x) on the interval [0, 2π].

  • Hint: Start by asking yourself: Cosecant is the reciprocal of which function? The asymptotes will occur where that function is equal to zero. Be careful with the 2x inside the function—that's a horizontal compression!

Problem 2: If cos(θ) = -12/13 and θ is in Quadrant III, what is the value of csc(θ)?

  • Hint: You need to find sin(θ) first. Use the Pythagorean identity. Pay close attention to the quadrant to determine the correct sign for sine before you calculate the final reciprocal.
Graph of y = csc(2x) showing its horizontal compression and asymptotes.