Graph of y = sec x
The graph of y = sec x is a trigonometric function. Its domain is x ≠ π/2 + kπ and its range is y ≤ −1 or y ≥ 1. It never crosses the x-axis and the y-axis at (0, 1). It has a local maximum at (−9.42478, −1), a local minimum at (−6.28319, 1), a local maximum at (−3.14159, −1) and a local minimum at (0, 1). Asymptotes: Vertical at x = π/2 + kπ.
y=sec(x)
Key features
| Domain | x ≠ π/2 + kπ |
|---|---|
| Range | y ≤ −1 or y ≥ 1 |
| x-intercepts | none |
| y-intercept | (0, 1) |
| Turning points | max (−9.42478, −1); min (−6.28319, 1); max (−3.14159, −1); min (0, 1); max (3.14159, −1); min (6.28319, 1) (in the window shown) |
| Symmetry | even (symmetric about the y-axis) |
| Period | 2π |
| Asymptotes | Vertical at x = π/2 + kπ |
| End behavior | As x → −∞, y oscillates; as x → ∞, y oscillates |
| Derivative | y′ = sec(x)·tan(x) |
| Second derivative | y″ = sec(x)·tan(x)·tan(x) + sec³(x) |
Secant is 1/cos x. Its U-shaped branches touch the cosine wave at its peaks and troughs.
Table of values
| x | 0 | π/6 | π/4 | π/3 | π/2 | π | 3π/2 | 2π |
|---|---|---|---|---|---|---|---|---|
| y | 1 | 1.1547 | 1.41421 | 2 | 1.63312×10^16 | −1 | −5.44375×10^15 | 1 |
How to graph y = sec x
- Open the graphing calculator and type
y = sec(x). - Plot the y-intercept (0, 1).
- Mark the turning points: (−9.42478, −1), (−6.28319, 1), (−3.14159, −1), (0, 1).
- Draw the asymptotes as dashed lines: Vertical at x = π/2 + kπ.
- Use the table of values to add a few more points, then connect them with a smooth curve that follows the end behavior.
Compared with the parent function
y = sec x is a transformation of y = cos x. Trigonometric functions are periodic: the graph repeats after a fixed horizontal distance called the period. Angles are in radians.
y=cos(x)y=sec(x)
Frequently asked questions
What is the domain and range of y = sec x?
Domain: x ≠ π/2 + kπ. Range: y ≤ −1 or y ≥ 1.
What are the x-intercepts of y = sec x?
There are none; the graph never touches the x-axis.
What is the derivative of sec x?
sec(x)·tan(x). Graph it by defining f(x) = sec(x) and typing f'(x).
Is sec x even, odd or neither?
It is even (symmetric about the y-axis).