Secant Function
Secant function
The secant function $f ( x ) = sec ( x )$ is defined as the reciprocal of the cosine function. For any real angle $x$ (measured in radians), the secant takes the value:
\[sec ( x ) = \frac{1}{cos ( x )}\]as long as the $cos ( x ) \neq 0 )$. This reciprocal relationship means that the behaviour of the secant function is entirely determined by the properties of the cosine function.
This section focuses on the analytical properties of the secant function. For a geometric interpretation based on the unit circle, including how the secant arises from the extension of the radius and the corresponding right–triangle construction, see the dedicated entry.
Its graph is a periodic curve with period $2 \pi$. Because cosine reaches the value zero at isolated and regularly spaced points, the secant function exhibits vertical asymptotes at:
\[x = \frac{\pi}{2} + k \pi k \in \mathbb{Z}\]where the reciprocal $1 / cos ( x )$ becomes undefined.

These asymptotes separate the graph into distinct branches in which the function grows without bound as the angle approaches any of these points. The domain of $sec ( x )$ is therefore the set of all real numbers except the points where $cos ( x ) = 0$. Its range consists of the unbounded intervals $( - \infty , - 1 ] \cup [ 1 , \infty )$ reflecting the fact that the cosine function never takes values whose absolute value exceeds $1$, making its reciprocal always greater than or equal to 1 in magnitude.
Key properties
- Domain: $x \in \mathbb{R} : cos ( x ) \neq 0 = x \in \mathbb{R} : x \neq \pi / 2 + k \pi \text{for all} k \in \mathbb{Z} .$
- Range: $y \in ( - \infty , - 1 ] \cup [ 1 , \infty ) .$
- Periodicity: periodic in $x$ with period $2 \pi .$
- Parity: even, $sec ( - x ) = sec ( x ) .$
- The graph has vertical asymptotes at $x = \frac{\pi}{2} + k \pi .$
Additional identity
There is a simple but meaningful relation that ties the secant and the tangent together. Starting from the pythagorean identity for sine and cosine and rewriting everything in terms of cosine, we arrive at:
\[sec^{2} ( x ) = 1 + tan^{2} ( x )\]This identity shows how closely the two functions are linked: when the tangent becomes large, the secant grows as well, and both share the same vertical asymptotes. It is a handy relation that often appears in calculus, especially when dealing with derivatives, integrals, or trigonometric equations involving reciprocal functions.
Limits, derivatives, and integrals of the secant function
Several limits help illustrate how the secant function behaves near key points of its domain. When the angle approaches values where the cosine is close to one, the secant remains bounded and approaches a finite value. As the angle nears those points at which the cosine tends to zero, the reciprocal grows without bound, giving rise to the vertical asymptotes characteristic of the function. These behaviours can be summarised through the following limits:
\(1. \underset{x \rightarrow 0}{lim} sec ( x ) = 1\) \(2. \underset{x \rightarrow (\frac{\pi}{2})^{-}}{lim} sec ( x ) = + \infty\) \(3. \underset{x \rightarrow (\frac{\pi}{2})^{+}}{lim} sec ( x ) = - \infty\)
The secant function is continuous and differentiable at every point where it is defined, that is, on the entire real line except at the angles where the cosine function vanishes. Within this domain it varies smoothly, and its rate of change follows from differentiating the reciprocal of the cosine. Using standard differentiation rules gives the derivative:
\[4. \frac{d}{d x} sec ( x ) = sec ( x ) tan ( x )\]which expresses how the secant function grows or decreases depending on the combined behaviour of $sec ( x )$ and $tan ( x )$ at each point of its domain.
The antiderivative of the secant function can be obtained by a classical substitution that rewrites the integrand in a form suitable for logarithmic integration. This procedure leads to a compact expression involving both the secant and the tangent functions. The result is the following indefinite integral:
\[5. \int sec ( x ) d x = ln | sec ( x ) + tan ( x ) | + c\]A comprehensive overview of trigonometric integrals, together with the most useful transformation and substitution techniques for handling more complex cases, is available in the page on trigonometric function integrals.
An alternative expression for the function $sec ( x )$ can be obtained by rewriting the cosine in exponential form through Euler’s identity. This approach highlights the connection between trigonometric and complex exponential functions, and it often proves useful in contexts such as Fourier analysis or complex integration. Using the identity:
\[6. cos ( x ) = \frac{e^{i x} + e^{- i x}}{2}\]the secant function can be expressed as the reciprocal of this quantity, which yields:
\[7. sec ( x ) = \frac{2}{ e^{i x} + e^{- i x} }\]This formulation emphasises the analytic structure of $sec ( x )$ and provides a bridge between its trigonometric definition and its complex exponential representation.