ArticleslgStudy

mathematics

Integral of the secant function

Integral of the secant function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Integral of the secant function rather than just read about it. In short: In calculus, the integral of the secant function can be evaluated using a variety of methods and there are multiple ways of expressing the antiderivative, all of which can be shown to be equivalent via trigonometric identities, ∫sec⁡θdθ={12ln⁡1+sin⁡θ1−sin⁡θ+Cln⁡|sec⁡θ+tan⁡θ|+Cln⁡|tan(θ2+π4)|+C This formula is useful for evaluating various trigonometric integrals. In particular, it can be used to evaluate the integra…

Integral of the secant function — main illustration
Integral of the secant function — illustration

Key takeaways

  • Integral of the secant function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Integral of the secant function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Integral of the secant function from memory before moving on to harder problems.

Reference excerpt

In calculus, the integral of the secant function can be evaluated using a variety of methods and there are multiple ways of expressing the antiderivative, all of which can be shown to be equivalent via trigonometric identities,

∫sec⁡θdθ={12ln⁡1+sin⁡θ1−sin⁡θ+Cln⁡|sec⁡θ+tan⁡θ|+Cln⁡|tan(θ2+π4)|+C This formula is useful for evaluating various trigonometric integrals. In particular, it can be used to evaluate the integral of the secant cubed, which, though seemingly special, comes up rather frequently in applications. The definite integral of the secant function starting from 0 is the inverse Gudermannian function, gd−1. For numerical applications, all of the above expressions result in loss of significance for some arguments. An alternative expression in terms of the inverse hyperbolic sine arsinh is numerically well behaved for real arguments |ϕ|<12π:

gd−1ϕ=∫0ϕsec⁡θdθ=arsinh⁡(tan⁡ϕ). The integral of the secant function was historically one of the first integrals of its type ever evaluated, before most of the development of integral calculus. It is important because it is the vertical coordinate of the Mercator projection, used for marine navigation with constant compass bearing.

Proof that the different antiderivatives are equivalent

Trigonometric forms Three common expressions for the integral of the secant,

∫sec⁡θdθ=12ln⁡1+sin⁡θ1−sin⁡θ+C=ln⁡|sec⁡θ+tan⁡θ|+C=ln⁡|tan(θ2+π4)|+C, are equivalent because

1+sin⁡θ1−sin⁡θ=|sec⁡θ+tan⁡θ|=|tan(θ2+π4)|. Proof: we can separately apply the tangent half-angle substitution t=tan⁡12θ to each of the three forms, and show them equivalent to the same expression in terms of t. Under this substitution cos⁡θ=(1−t2)/(1+t2) and sin⁡θ=2t/(1+t2). First,

1+sin⁡θ1−sin⁡θ=1+2t1+t21−2t1+t2=1+t2+2t1+t2−2t=(1+t)2(1−t)2=|1+t1−t|. Second,

|sec⁡θ+tan⁡θ|=|1cos⁡θ+sin⁡θcos⁡θ|=|1+t21−t2+2t1−t2|=|(1+t)2(1+t)(1−t)|=|1+t1−t|. Third, using the tangent addition identity tan⁡(ϕ+ψ)=(tan⁡ϕ+tan⁡ψ)/(1−tan⁡ϕtan⁡ψ),

|tan(θ2+π4)|=|tan⁡12θ+tan⁡14π1−tan⁡12θtan⁡14π|=|t+11−t⋅1|=|1+t1−t|. So all three expressions describe the same quantity. The conventional solution for the Mercator projection ordinate may be written without the absolute value signs since the latitude φ lies between −12π and 12π,

y=ln⁡tan(φ2+π4).

Hyperbolic forms Let

ψ=ln⁡(sec⁡θ+tan⁡θ),eψ=sec⁡θ+tan⁡θ,sinh⁡ψ=eψ−e−ψ2=tan⁡θ,cosh⁡ψ=1+sinh2ψ=|sec⁡θ|,tanh⁡ψ=sin⁡θ. Therefore,

∫sec⁡θdθ=artanh⁡(sin⁡θ)+C=sgn⁡(cos⁡θ)arsinh⁡(tan⁡θ)+C=sgn⁡(sin⁡θ)arcosh⁡|sec⁡θ|+C.

History

The integral of the secant function was one of the "outstanding open problems of the mid-seventeenth century", solved in 1668 by James Gregory. He applied his result to a problem concerning nautical tables. In 1599, Edward Wright evaluated the integral by numerical methods – what today we would call Riemann sums. He wanted the solution for the purposes of cartography – specifically for constructing an accurate Mercator projection. In the 1640s, Henry Bond, a teacher of navigation, surveying, and other mathematical topics, compared Wright's numerically computed table of values of the integral of the secant with a table of logarithms of the tangent function, and consequently conjectured that

∫0φsec⁡θdθ=ln⁡tan⁡(φ2+π4). This conjecture became widely known, and in 1665, Isaac Newton was aware of it.

Evaluations

By a standard substitution (Gregory's approach) A standard method of evaluating the secant integral presented in various references involves multiplying the numerator and denominator by sec θ + tan θ and then using the substitution u = sec θ + tan θ. This substitution can be obtained from the derivatives of secant and tangent added together, which have secant as a common factor. Starting with

ddθsec⁡θ=sec⁡θtan⁡θandddθtan⁡θ=sec2θ, adding them gives

ddθ(sec⁡θ+tan⁡θ)=sec⁡θtan⁡θ+sec2θ=sec⁡θ(tan⁡θ+sec⁡θ). The derivative of the sum is thus equal to the sum multiplied by sec θ. This enables multiplying sec θ by sec θ + tan θ in the numerator and denominator and performing the following substitutions:

u=sec⁡θ+tan⁡θdu=(sec⁡θtan⁡θ+sec2θ)dθ. The integral is evaluated as follows:

∫sec⁡θdθ=∫sec⁡θ(sec⁡θ+tan⁡θ)sec⁡θ+tan⁡θdθ=∫sec2θ+sec⁡θtan⁡θsec⁡θ+tan⁡θdθu=sec⁡θ+tan⁡θ=∫1ududu=(sec⁡θtan⁡θ+sec2θ)dθ=ln⁡|u|+C=ln⁡|sec⁡θ+tan⁡θ|+C, as claimed. This was the formula discovered by James Gregory.

By partial fractions and a substitution (Barrow's approach) Although Gregory proved the conjecture in 1668 in his Exercitationes Geometricae, the proof was presented in a form that renders it nearly impossible for modern readers to comprehend; Isaac Barrow, in his Lectiones Geometricae of 1670, gave the first "intelligible" proof, though even that was "couched in the geometric idiom of the day." Barrow's proof of the result was the earliest use of partial fractions in integration. Adapted to modern notation, Barrow's proof began as follows:

∫sec⁡θdθ=∫1cos⁡θdθ=∫cos⁡θcos2θdθ=∫cos⁡θ1−sin2θdθ Substituting u = sin θ, du = cos θ dθ, reduces the integral to

∫11−u2du=∫1(1+u)(1−u)du=∫12(11+u+11−u)dupartial fraction decomposition=12(ln⁡|1+u|−ln⁡|1−u|)+C=12ln⁡|1+u1−u|+C Therefore,

∫sec⁡θdθ=12ln⁡1+sin⁡θ1−sin⁡θ+C, as expected. Taking the absolute value is not necessary because 1+sin⁡θ and 1−sin⁡θ are always non-negative for real values of θ.

By the tangent half-angle substitution

Standard Under the tangent half-angle substitution t=tan⁡12θ,

sin⁡θ=2t1+t2,cos⁡θ=1−t21+t2,dθ=21+t2dt,tan⁡θ=sin⁡θcos⁡θ=2t1−t2,sec⁡θ=1cos⁡θ=1+t21−t2,sec⁡θ+tan⁡θ=1+2t+t21−t2=1+t1−t. Therefore the integral of the secant function is

∫sec⁡θdθ=∫(1+t21−t2)(21+t2)dtt=tan⁡θ2=∫2(1−t)(1+t)dt=∫(11+t+11−t)dtpartial fraction decomposition=ln⁡|1+t|−ln⁡|1−t|+C=ln⁡|1+t1−t|+C=ln⁡|sec⁡θ+tan⁡θ|+C, as before.

Non-standard The integral can also be derived by using a somewhat non-standard version of the tangent half-angle substitution, which is simpler in the case of this particular integral, published in 2013, is as follows:

x=tan⁡(π4+θ2)2x1+x2=2tan⁡(π4+θ2)sec2(π4+θ2)=2sin⁡(π4+θ2)cos⁡(π4+θ2)=sin⁡(π2+θ)=cos⁡θby the double-angle formuladx=12sec2(π4+θ2)dθ=12(1+x2)dθdθ=21+x2dx. Substituting:

∫sec⁡θdθ=∫1cos⁡θdθ=∫1+x22x⋅21+x2dx=∫1xdx=ln⁡|x|+C=ln⁡|tan⁡(π4+θ2)|+C.

By two successive substitutions The integral can also be solved by manipulating the integrand and substituting twice. Using the definition sec θ = ⁠1/cos θ⁠ and the identity cos2 θ + sin2 θ = 1, the integral can be rewritten as

∫sec⁡θdθ=∫1cos⁡θdθ=∫cos⁡θcos2θdθ=∫cos⁡θ1−sin2θdθ. Substituting u = sin θ, du = cos θ dθ reduces the integral to

… excerpt ends here. Continue reading the full article.

Illustrations

Integral of the secant function: A graph of the secant function (red) and its antiderivative (blue)
A graph of the secant function (red) and its antiderivative (blue)
Integral of the secant function: The Gudermannian function relates the area of a circular sector to the area of a hyperbolic sector, via a common stereographic projection. If twice the area of the blue hyperbolic sector is ψ, then twice the area of the red circular sector is ϕ = gd ψ. Twice the area of the purple triangle is the stereographic projection s = tan ⁠1/2⁠ϕ = tanh ⁠1/2⁠ψ. The blue point has coordinates (cosh ψ, sinh ψ). The red point has coordinates (cos ϕ, sin ϕ). The purple point has coordinates (0, s).
The Gudermannian function relates the area of a circular sector to the area of a hyperbolic sector, via a common stereographic projection. If twice the area of the blue hyperbolic sector is ψ, then twice the area of the red circular sector is ϕ = gd ψ. Twice the area of the purple triangle is the stereographic projection s = tan ⁠1/2⁠ϕ = tanh ⁠1/2⁠ψ. The blue point has coordinates (cosh ψ, sinh ψ). The red point has coordinates (cos ϕ, sin ϕ). The purple point has coordinates (0, s).

Worked examples

Example 1 — a first encounter with Integral of the secant function

Start with the simplest possible case. Write down what Integral of the secant function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Integral of the secant function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Integral of the secant function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Integral of the secant function

In research
Integral of the secant function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Integral of the secant function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Integral of the secant function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Integral calculus, so understanding it makes those chapters shorter.
In everyday life
Look for Integral of the secant function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Integral of the secant function” →

How to study Integral of the secant function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Integral of the secant function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Integral of the secant function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Integral of the secant function in simple terms?

In calculus, the integral of the secant function can be evaluated using a variety of methods and there are multiple ways of expressing the antiderivative, all of which can be shown to be equivalent via trigonometric identities, ∫sec⁡θdθ={12ln⁡1+sin⁡θ1−sin⁡θ+Cln⁡|sec⁡θ+tan⁡θ|+Cln⁡|tan(θ2+π4)|+C This…

Why does Integral of the secant function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Integral of the secant function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Integral of the secant function.

Tags

  • Integral calculus

Keep exploring