Secant Function \(\sec(x)\)

Definition and Graph of the Secant Function

Let angle \( \theta \) be in standard position, with its initial side on the positive x-axis and its terminal side OM, as shown below.

Angle theta in standard position with terminal side OM

For a point \((x,y)\) on the terminal side with \(r=\sqrt{x^2+y^2}\), the secant function is defined as:

\[ \sec(\theta) = \frac{r}{x}, \quad x \neq 0 \]

where \(r\) is the distance from the origin to the point (the hypotenuse in the reference right triangle).

This gives the reciprocal identity between secant and cosine:

\[ \sec(\theta) = \frac{r}{x} = \frac{1}{\cos(\theta)}, \quad \cos(\theta) \neq 0 \]

Key Observations

  • Periodicity: \( \sec(\theta + 2\pi) = \sec(\theta) \) — the fundamental period is \( 2\pi \).
  • Even function: \( \sec(-\theta) = \sec(\theta) \), so the graph is symmetric about the y-axis.

Using the unit circle, we can find the values of \( \cos(\theta) \) and, by extension, \( \sec(\theta) \) over one complete period \( [0, 2\pi] \):

Unit circle showing cosine values used to compute secant

Values at Quadrantal Angles

\( \theta \) (radians) \( \cos(\theta) \) \( \sec(\theta) = 1/\cos(\theta) \)
\( 0 \)\( 1 \)\( 1 \)
\( \pi/2 \)\( 0 \)Undefined
\( \pi \)\( -1 \)\( -1 \)
\( 3\pi/2 \)\( 0 \)Undefined
\( 2\pi \)\( 1 \)\( 1 \)

Behavior Near Vertical Asymptotes

Since \( \sec(\theta) = 1/\cos(\theta) \), the secant function is undefined wherever \( \cos(\theta) = 0 \), producing vertical asymptotes at those points.

As \( \theta \) approaches \( \pi/2 \approx 1.570796 \) from the left (\( \theta \to (\pi/2)^- \)):

\( \theta \)\( \sec(\theta) \)
1.50000014.1368
1.5700001255.766
1.570796\(\approx 3.06 \times 10^{6}\)

As \( \theta \) approaches \( \pi/2 \) from the right (\( \theta \to (\pi/2)^+ \)):

\( \theta \)\( \sec(\theta) \)
1.580000−108.654
1.571000−4909.826
1.570800\(\approx -3.06 \times 10^{6}\)

This asymptotic behavior is written with one-sided limits:

The same pattern repeats at every odd multiple of \( \pi/2 \), i.e., at \( x = \pi/2 + n\pi \) for any integer \( n \).

Graph of \( y = \sec(x) \)

Graph of y = sec(x) showing U-shaped branches and vertical asymptotes aligned with zeros of cos(x)

Note: The vertical asymptotes (dashed lines) align exactly with the x-intercepts (zeros) of \( \cos(x) \).

Fundamental Properties of \( \sec(x) \)

  1. Period: \( 2\pi \)
  2. Vertical asymptotes: \( x = \dfrac{\pi}{2} + n\pi \), for any integer \( n \)
  3. Domain: all real numbers \( x \neq \dfrac{\pi}{2} + n\pi \), \( n \in \mathbb{Z} \)
  4. Range: \( (-\infty, -1] \cup [1, \infty) \) — the function never takes values strictly between −1 and 1
  5. Symmetry: even function — the graph is symmetric about the y-axis

Interactive Tutorial: Transformations of \( f(x) = a\sec(bx + c) + d \)

Use the general form to explore how each parameter affects the graph. The key mappings are:

Example graph of a transformed secant function a·sec(bx + c) + d

Exploration Questions

1. Set \(a=1, b=1, c=0, d=0\). Note the period and asymptotes. How does changing \(a\) affect the range?

View solution
The parameter \(a\) is a vertical stretch/compression. The range changes from \((-\infty,-1]\cup[1,\infty)\) to \((-\infty,-|a|]\cup[|a|,\infty)\). (If \(a=0\), the graph is the horizontal line \(y=d\) and the range is just \(\{d\}\).)

2. Set \(a=1, c=0, d=0\) and vary \(b\). Compare the graph's period with \( \dfrac{2\pi}{|b|} \).

View solution
The parameter \(b\) scales the function horizontally. Increasing \(b\) compresses the waves, confirming that the period is exactly \(\dfrac{2\pi}{|b|}\).

3 & 4. Set \(a=1, b=1, d=0\) and increase \(c\) from 0. Observe the phase-shift direction. Repeat with negative \(c\).

View solution
The phase shift is \(-c/b\). With \(b>0\): a positive \(c\) shifts the graph left; a negative \(c\) shifts it right. If \(b<0\), the direction reverses.

5. Test with \(b=2, 3, 4\).

View solution
For \(b=2,3,4\), the period shortens to \(\pi\), \(\dfrac{2\pi}{3}\), and \(\dfrac{\pi}{2}\) respectively, producing more frequent asymptotes.

6. Set non-zero \(a, b, c\) and vary \(d\). What shift occurs?

View solution
\(d\) is the vertical shift: a positive \(d\) moves the entire graph up; a negative \(d\) moves it down.

7. Which parameters affect the asymptote positions? Explain analytically.

View solution
\(b\) and \(c\) shift the asymptotes. Since asymptotes occur where \(\cos(bx+c)=0\), we need \(bx+c=\dfrac{\pi}{2}+n\pi\), so \(x=\dfrac{\pi/2-c+n\pi}{b}=\dfrac{\pi}{2b}-\dfrac{c}{b}+\dfrac{n\pi}{b}\).

8. Which parameters affect the domain? Explain analytically.

View solution
The domain excludes the asymptotes, so \(b\) and \(c\) restrict it: \(x\neq \dfrac{\pi}{2b}-\dfrac{c}{b}+\dfrac{n\pi}{b}\).

9. Which parameters affect the range? Explain analytically.

View solution
\(a\) (vertical stretch) and \(d\) (vertical shift) affect the range. For \(a\neq0\), the new range is \((-\infty,-|a|+d]\cup[|a|+d,\infty)\); if \(a=0\), the range is \(\{d\}\).

Related Resources