Secant Function — Formula, Graph, Properties, Examples

#Trigonometry
TL;DR
The secant function sec⁡θ=1/cos⁡θ\sec\theta = 1/\cos\theta is the reciprocal of cosine — defined wherever cosine is non-zero, with vertical asymptotes at θ=(2n+1)π/2\theta = (2n+1)\pi/2 and range (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty). This article gives the formula, the graph paired with cosine, the table of values at special angles, the even-function symmetry, three worked examples in degrees and radians, and the common mistakes.
BT
Bhanzu TeamLast updated on June 1, 202611 min read

The secant function is defined as the multiplicative reciprocal of the cosine function. For any angle θ\theta where cos⁡θ≠0\cos\theta \ne 0:

sec⁡θ=1cos⁡θ.\sec\theta = \dfrac{1}{\cos\theta}.

The function inherits its sign pattern, its period, and its domain restrictions from cosine — but its range and graphical shape are very different.

The Formula and Triangle Definition

;sec⁡θ=1cos⁡θ=hypotenuseadjacent;\boxed{;\sec\theta = \dfrac{1}{\cos\theta} = \dfrac{\text{hypotenuse}}{\text{adjacent}};}

In a right triangle with one acute angle θ\theta, the secant is the ratio of the hypotenuse to the adjacent leg — the reciprocal of the cosine ratio (adjacent over hypotenuse).

On the unit circle, where a point at angle θ\theta has coordinates (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta):

sec⁡θ=1cos⁡θ=1x-coordinate.\sec\theta = \dfrac{1}{\cos\theta} = \dfrac{1}{x\text{-coordinate}}.

Quick facts.

  • Reciprocal partner: cosine. sec⁡θ⋅cos⁡θ=1\sec\theta \cdot \cos\theta = 1 wherever both are defined.

  • Domain: θ∈R,θ≠(2n+1)π2\theta \in \mathbb{R}, \theta \ne (2n+1)\dfrac{\pi}{2} for integer nn. In degrees, θ≠90°,270°,450°,…\theta \ne 90°, 270°, 450°, \dots

  • Range: (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty). The value ∣sec⁡θ∣≥1|\sec\theta| \ge 1 everywhere it's defined.

  • Period: 2π2\pi (360°360°) — same as cosine.

  • Symmetry: even function — sec⁡(−θ)=sec⁡θ\sec(-\theta) = \sec\theta. The graph is symmetric about the yy-axis.

  • Special values: sec⁡0=1\sec 0 = 1, sec⁡(π/3)=2\sec(\pi/3) = 2, sec⁡(π/4)=2\sec(\pi/4) = \sqrt{2}, sec⁡(π/6)=2/3\sec(\pi/6) = 2/\sqrt{3}, sec⁡(π/2)\sec(\pi/2) undefined.

  • Derivative: ddθsec⁡θ=sec⁡θtan⁡θ\dfrac{d}{d\theta}\sec\theta = \sec\theta \tan\theta.

  • Grade introduced: CCSS-M F-TF.C.8; NCERT Class 11 Chapter 3 — Trigonometric Functions.

Double-Anchoring — Right Triangle and Unit Circle

The same secant value reads cleanly two ways.

From the right triangle. Consider a 30−60−9030-60-90 triangle with sides 1,3,21, \sqrt{3}, 2 — the side opposite 30°30° is 11, the side opposite 60°60° is 3\sqrt{3}, and the hypotenuse is 22. For θ=60°\theta = 60°:

  • cos⁡60°=adjacent/hypotenuse=1/2\cos 60° = \text{adjacent}/\text{hypotenuse} = 1/2.

  • sec⁡60°=hypotenuse/adjacent=2/1=2\sec 60° = \text{hypotenuse}/\text{adjacent} = 2/1 = 2.

Reciprocal of 1/21/2 is 22. ✓

From the unit circle. At θ=π/3\theta = \pi/3 (i.e., 60°60°), the unit-circle point is (cos⁡(π/3),sin⁡(π/3))=(1/2,3/2)(\cos(\pi/3), \sin(\pi/3)) = (1/2, \sqrt{3}/2). So:

sec⁡(π/3)=1x-coord=11/2=2.\sec(\pi/3) = \dfrac{1}{x\text{-coord}} = \dfrac{1}{1/2} = 2.

Same answer, two views.

The Graph of sec⁡θ\sec\theta

The secant graph is most easily understood by overlaying it on the cosine graph.

  • Where cos⁡θ=1\cos\theta = 1 (at θ=0,2π,…\theta = 0, 2\pi, \dots), sec⁡θ=1\sec\theta = 1 — the secant graph touches the cosine graph from above.

  • Where cos⁡θ=−1\cos\theta = -1 (at θ=π,3π,…\theta = \pi, 3\pi, \dots), sec⁡θ=−1\sec\theta = -1 — the secant graph touches from below.

  • Where cos⁡θ=0\cos\theta = 0 (at θ=π/2,3π/2,…\theta = \pi/2, 3\pi/2, \dots), sec⁡θ\sec\theta is undefined — vertical asymptote.

  • Between the asymptotes, the secant graph is a "U" opening upward (in regions where cosine is positive) or a "U" opening downward (where cosine is negative).

Table of Special Values

θ\theta (rad)

θ\theta (deg)

cos⁡θ\cos\theta

sec⁡θ\sec\theta

00

0°0°

11

11

π/6\pi/6

30°30°

3/2\sqrt{3}/2

2/32/\sqrt{3}

π/4\pi/4

45°45°

2/2\sqrt{2}/2

2\sqrt{2}

π/3\pi/3

60°60°

1/21/2

22

π/2\pi/2

90°90°

00

undefined

2π/32\pi/3

120°120°

−1/2-1/2

−2-2

3π/43\pi/4

135°135°

−2/2-\sqrt{2}/2

−2-\sqrt{2}

5π/65\pi/6

150°150°

−3/2-\sqrt{3}/2

−2/3-2/\sqrt{3}

π\pi

180°180°

−1-1

−1-1

3π/23\pi/2

270°270°

00

undefined

Properties of Secant Function

  • Even function. sec⁡(−θ)=1/cos⁡(−θ)=1/cos⁡θ=sec⁡θ\sec(-\theta) = 1/\cos(-\theta) = 1/\cos\theta = \sec\theta. The graph is symmetric about the yy-axis.

  • Periodic with period 2π2\pi. sec⁡(θ+2π)=sec⁡θ\sec(\theta + 2\pi) = \sec\theta.

  • Range outside (−1,1)(-1, 1). The function never takes a value strictly inside (−1,1)(-1, 1) — a direct consequence of ∣cos⁡θ∣≤1|\cos\theta| \le 1.

  • Has no amplitude. Unlike sine and cosine, secant is unbounded — no "max" or "min" value.

  • Pythagorean form: sec⁡2θ−tan⁡2θ=1\sec^2\theta - \tan^2\theta = 1 — derived from sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1 divided by cos⁡2\cos^2.

  • Reciprocal Pythagorean: sec⁡2θ=1+tan⁡2θ\sec^2\theta = 1 + \tan^2\theta.

Three Worked Examples of Secant Function

Quick. Compute sec⁡(π/3)\sec(\pi/3).

By the reciprocal identity:

sec⁡(π/3)=1cos⁡(π/3)=11/2=2.\sec(\pi/3) = \dfrac{1}{\cos(\pi/3)} = \dfrac{1}{1/2} = 2.

In degrees, π/3=60°\pi/3 = 60°, so sec⁡60°=2\sec 60° = 2.

Final answer: sec⁡(π/3)=sec⁡60°=2\sec(\pi/3) = \sec 60° = 2.

Standard (Wrong Path First — Two Routes to the Same Problem). Given tan⁡θ=5/12\tan\theta = 5/12 and θ\theta in the first quadrant, find sec⁡θ\sec\theta.

The wrong path. A student writes "sec⁡\sec and tan⁡\tan are reciprocals" — they aren't — and concludes sec⁡θ=12/5\sec\theta = 12/5. That's wrong; sec⁡θ\sec\theta is the reciprocal of cos⁡θ\cos\theta, not of tan⁡θ\tan\theta. The reciprocal of tan is cot.

The flaw: the three reciprocal pairs are (sin, csc), (cos, sec), (tan, cot). Sec pairs with cos, not with tan. To get from tan to sec, the bridge is the Pythagorean identity sec⁡2=1+tan⁡2\sec^2 = 1 + \tan^2.

The rescue. Apply sec⁡2θ=1+tan⁡2θ\sec^2\theta = 1 + \tan^2\theta:

sec⁡2θ=1+(5/12)2=1+25/144=169/144.\sec^2\theta = 1 + (5/12)^2 = 1 + 25/144 = 169/144.

Since θ\theta is in the first quadrant, sec⁡θ>0\sec\theta > 0, so sec⁡θ=13/12\sec\theta = 13/12.

Cross-check: cos⁡θ=1/sec⁡θ=12/13\cos\theta = 1/\sec\theta = 12/13, sin⁡θ=tan⁡θ⋅cos⁡θ=(5/12)(12/13)=5/13\sin\theta = \tan\theta \cdot \cos\theta = (5/12)(12/13) = 5/13. The triangle is a 5-12-13 right triangle — a classic Pythagorean triple.

Final answer: sec⁡θ=13/12\sec\theta = 13/12.

Stretch. Find the area of one full "smile" of the secant graph between two consecutive vertical asymptotes — specifically, evaluate ∫−π/2π/2sec⁡θ,dθ\displaystyle\int_{-\pi/2}^{\pi/2} \sec\theta , d\theta, treating the integral as an improper integral via limits.

The antiderivative of sec⁡θ\sec\theta is ln⁡∣sec⁡θ+tan⁡θ∣+C\ln|\sec\theta + \tan\theta| + C.

∫0π/2−ϵsec⁡θ,dθ=[ln⁡∣sec⁡θ+tan⁡θ∣]0π/2−ϵ=ln⁡∣sec⁡(π/2−ϵ)+tan⁡(π/2−ϵ)∣−ln⁡(1+0).\int_0^{\pi/2 - \epsilon} \sec\theta , d\theta = [\ln|\sec\theta + \tan\theta|]_0^{\pi/2 - \epsilon} = \ln|\sec(\pi/2 - \epsilon) + \tan(\pi/2 - \epsilon)| - \ln(1 + 0).

As ϵ→0+\epsilon \to 0^+, both sec⁡(π/2−ϵ)\sec(\pi/2 - \epsilon) and tan⁡(π/2−ϵ)→+∞\tan(\pi/2 - \epsilon) \to +\infty, so the logarithm diverges. The integral ∫0π/2sec⁡θ,dθ=+∞\displaystyle\int_0^{\pi/2} \sec\theta , d\theta = +\infty — and by even symmetry, the full integral ∫−π/2π/2sec⁡θ,dθ=+∞\displaystyle\int_{-\pi/2}^{\pi/2} \sec\theta , d\theta = +\infty.

In radians, the "area under one smile of secant" is unbounded. The graph approaches its asymptotes too slowly for the tail to converge.

Final answer: The improper integral diverges to +∞+\infty.

This is a useful diagnostic for understanding why secant isn't "small near its asymptotes" the way the reciprocal of a steeper function would be. Sec grows like 1/(π/2−θ)1/(\pi/2 - \theta) as θ→π/2−\theta \to \pi/2^- — a 1/x1/x-type singularity, whose integral classically diverges.

Where Secant Earns Its Place in the Toolkit

The secant function shows up in any setting where a ratio of total-to-projected length matters.

  • Mercator projection in cartography. The Mercator world map scales latitude by sec⁡ϕ\sec\phi where ϕ\phi is the latitude. That's why Greenland looks the size of Africa near the poles — the secant grows without bound as latitude approaches 90°90°.

  • Optics — refraction angles at glancing incidence. Snell's law in the limit of grazing incidence behaves like 1/cos⁡θ=sec⁡θ1/\cos\theta = \sec\theta, which is why glints off water at sunset are spectacularly bright.

  • Tilted-axis sensor calibration. A solar panel tilted at angle θ\theta from perpendicular to incoming light receives flux proportional to cos⁡θ\cos\theta; the calibration factor used to compare it to a perpendicular reference panel is sec⁡θ\sec\theta.

  • Calculus — the antiderivative ∫sec⁡θ,dθ\int \sec\theta , d\theta. The Mercator-projection formula's exact integral is ln⁡∣sec⁡θ+tan⁡θ∣\ln|\sec\theta + \tan\theta| — a classical secant integral that took 17th-century mathematicians decades to evaluate. Henry Bond conjectured the formula in 1645; Isaac Barrow proved it rigorously in 1670.

  • Beam structures and shear. In a tilted beam, the secant of the tilt angle multiplies the cross-section area to compute the effective load-bearing thickness.

The secant function is the multiplier that grows wherever a projection shrinks.

A Brief History of Secant Function

Edmund Gunter (1581–1626, England) coined secant in his Canon Triangulorum (1620) — from the Latin secare, to cut. He referred to it as the length of the line segment cutting from a circle's centre through the angle's endpoint to a tangent line — a geometric quantity used by sailors and surveyors.

Thomas Fincke (1561–1656, Denmark) had already introduced secans in his Geometria Rotundi (1583) — paired with tangens as one of the six core trig quantities for working surveyors.

The story worth telling — Gerardus Mercator (1512–1594, Flanders). Mercator published his famous world projection in 1569 — the navigational map where straight lines correspond to lines of constant compass bearing. The mathematical secret of the projection is that latitude is stretched by a factor of sec⁡ϕ\sec\phi at each latitude ϕ\phi, so a navigator can plot a course as a straight line and follow it with a steady compass.

But Mercator never published the exact formula — he produced his map by trial and error using ratio tables. It took until 1645 for Henry Bond to conjecture that the cumulative scale factor was the integral ∫sec⁡ϕ,dϕ=ln⁡∣sec⁡ϕ+tan⁡ϕ∣\int \sec\phi , d\phi = \ln|\sec\phi + \tan\phi|, and Isaac Barrow to prove it.

Three centuries of navigation depended on the secant function's integral being computed correctly — long before calculus had the language for the question. The Mercator map remains the most widely used navigation chart on Earth, and every modern web map (Google Maps, OpenStreetMap, Apple Maps) uses a variant of it.

Where Things Go Sideways With Secant Function

1. Confusing sec⁡θ\sec\theta with sin⁡θ\sin\theta because of similar abbreviations

Where it slips in: A student sees "sec" and reads "sin" on autopilot — especially in handwritten work where the second letter blurs.

Don't do this: Read trig abbreviations mechanically without verifying which function.

The correct way: sec⁡=1/cos⁡\sec = 1/\cos, not 1/sin⁡1/\sin (that's csc⁡\csc). sec⁡\sec pairs with cos⁡\cos; csc⁡\csc pairs with sin⁡\sin. The "c" in sec⁡\sec is the second letter of "cosine"; the "s" in csc⁡\csc is the first letter of "sine."

2. Forgetting the asymptotes when sketching the graph

Where it slips in: A student draws y=sec⁡xy = \sec x as a smooth curve passing through the entire xx-axis.

Don't do this: Treat secant as a continuous function everywhere.

The correct way: sec⁡x\sec x has vertical asymptotes at x=(2n+1)π/2x = (2n+1)\pi/2 — these break the graph into separate "U" branches. Mark the asymptotes as dashed vertical lines before sketching the curve.

3. Including sec⁡θ\sec\theta values in (−1,1)(-1, 1)

Where it slips in: A student computes sec⁡(π/2−ϵ)\sec(\pi/2 - \epsilon) for small ϵ\epsilon and writes a value between −1-1 and 11.

Don't do this: Forget the range constraint.

The correct way: The range of sec⁡θ\sec\theta is (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty) — no value lives in (−1,1)(-1, 1) because ∣cos⁡θ∣≤1|\cos\theta| \le 1 forces ∣sec⁡θ∣≥1|\sec\theta| \ge 1. As ϵ→0\epsilon \to 0, sec⁡(π/2−ϵ)→+∞\sec(\pi/2 - \epsilon) \to +\infty, never below 11.

4. Mixing degree-mode and radian-mode evaluation

Where it slips in: A student computes sec⁡(π/2)\sec(\pi/2) in degree mode — getting sec⁡(1.5708°)≈1.0004\sec(1.5708°) \approx 1.0004 — and concludes "sec(π/2) ≈ 1."

Don't do this: Plug π/2\pi/2 as a number into degree mode (or 9090 into radian mode).

The correct way: Set the calculator to radian mode before evaluating angle expressions in radians. sec⁡(π/2)\sec(\pi/2) in radian mode returns an error (division by zero) — the correct answer.

The real-world version. In 1991, the Patriot missile failure at Dhahran involved a secant-related precision error. The system's radar computed the missile's flight path using sec⁡\sec of the elevation angle for slant-range conversion.

After 100 hours of continuous operation, the on-board clock had drifted by 0.340.34 seconds — and the slant-range calculation, which included a secant amplification, magnified the error to a ∼600\sim 600-metre tracking offset.

The Patriot interceptor missed an incoming Scud by enough that the missile struck an army barracks, killing 28 soldiers. The lesson: secant amplifies — when its argument has a small error, the output is not an approximation, it's an amplification of the error.

Wrapping Up

  • The secant function sec⁡θ=1/cos⁡θ\sec\theta = 1/\cos\theta is the reciprocal of cosine — undefined wherever cosine is zero.

  • The domain is θ≠(2n+1)π/2\theta \ne (2n+1)\pi/2; the range is (−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty); the period is 2π2\pi.

  • The graph is a sequence of U-shaped branches separated by vertical asymptotes, with ∣y∣≥1|y| \ge 1 everywhere.

  • The single most common student mistake is treating sec and tan as reciprocal partners — they aren't; sec pairs with cos.

  • The secant function powers Mercator projection, solar-panel calibration, and the integral that took 17th-century mathematicians a generation to evaluate.

Three Practice Problems

  1. Compute sec⁡(5π/4)\sec(5\pi/4) and sec⁡(−π/6)\sec(-\pi/6) in exact form.

  2. Given sec⁡θ=25/7\sec\theta = 25/7 and θ\theta in the fourth quadrant, find sin⁡θ\sin\theta, cos⁡θ\cos\theta, tan⁡θ\tan\theta.

  3. Find the value of θ\theta in [0,2π)[0, 2\pi) where sec⁡θ=−2\sec\theta = -2. Express in radians and degrees.

If Problem 3 returns angles not in the second or third quadrant, return to the sign-table — sec is negative only where cos is negative.

Want a live Bhanzu trainer to walk your child through Class 11 trigonometric functions and the secant-function chapter? Book a free demo class — online globally.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the secant function in trigonometry?
The secant function sec⁡θ=1/cos⁡θ\sec\theta = 1/\cos\theta is the reciprocal of cosine. In a right triangle, it equals the hypotenuse divided by the adjacent leg.
What is the domain of sec⁡θ\sec\theta?
All real numbers except θ=(2n+1)π/2\theta = (2n+1)\pi/2 — those are the angles where cosine is zero and the reciprocal blows up. In degrees, the excluded angles are 90°,270°,450°,…90°, 270°, 450°, \dots
What is the range of sec⁡θ\sec\theta?
(−∞,−1]∪[1,∞)(-\infty, -1] \cup [1, \infty). The function never takes a value in (−1,1)(-1, 1)
What is the period of the secant function?
2π2\pi (360°360°) — the same as cosine. Sec inherits its period from cosine
Is secant an even or odd function?
Even. sec⁡(−θ)=sec⁡θ\sec(-\theta) = \sec\theta. The graph is symmetric about the yy-axis
What is the derivative of sec⁡θ\sec\theta?
ddθsec⁡θ=sec⁡θtan⁡θ\dfrac{d}{d\theta}\sec\theta = \sec\theta \tan\theta
Where does the secant function appear in real life?
Mercator-projection mapping, solar-panel tilt calibration, optical refraction at grazing angles, beam-structure analysis, and the classical ∫sec⁡θ,dθ=ln⁡∣sec⁡θ+tan⁡θ∣\int \sec\theta , d\theta = \ln|\sec\theta + \tan\theta| that underpins modern web maps.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →