Integral of the secant function

From testwiki
Jump to navigation Jump to search

Template:Short description

A graph of the secant function (red) and its antiderivative (blue)

Script error: No such module "sidebar". 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.[1]

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 Template:Math is numerically well behaved for real arguments Template:Nobr

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

Template:Broader The integral of the secant function was one of the "outstanding open problems of the mid-seventeenth century", solved in 1668 by James Gregory.[2] He applied his result to a problem concerning nautical tables.[1] In 1599, Edward Wright evaluated the integral by numerical methods – what today we would call Riemann sums.[3] He wanted the solution for the purposes of cartography – specifically for constructing an accurate Mercator projection.[2] 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[2]

∫0φsec⁡θdθ=ln⁡tan⁡(φ2+π4).

This conjecture became widely known, and in 1665, Isaac Newton was aware of it.[4]

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 Template:Math and then using the substitution Template:Math. This substitution can be obtained from the derivatives of secant and tangent added together, which have secant as a common factor.[5]

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 Template:Math. This enables multiplying Template:Math by Template:Math 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.[1]

By partial fractions and a substitution (Barrow's approach)

Although Gregory proved the conjecture in 1668 in his Exercitationes Geometricae,[6] 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,[7] gave the first "intelligible" proof, though even that was "couched in the geometric idiom of the day."[2] Barrow's proof of the result was the earliest use of partial fractions in integration.[2] Adapted to modern notation, Barrow's proof began as follows:

∫sec⁡θdθ=∫1cos⁡θdθ=∫cos⁡θcos2θdθ=∫cos⁡θ1−sin2θdθ

Substituting Template:Math, Template:Math, 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θ,[8]

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,[9] 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 Template:Math and the identity Template:Math, the integral can be rewritten as

∫sec⁡θdθ=∫1cos⁡θdθ=∫cos⁡θcos2θdθ=∫cos⁡θ1−sin2θdθ.

Substituting Template:Math, Template:Math reduces the integral to

∫11−u2du.

The reduced integral can be evaluated by substituting Template:Math, Template:Math, and then using the identity Template:Math.

∫sech2t1−tanh2tdt=∫sech2tsech2tdt=∫dt.

The integral is now reduced to a simple integral, and back-substituting gives

∫dt=t+C=artanh⁡u+C=artanh⁡(sin⁡θ)+C,

which is one of the hyperbolic forms of the integral.

A similar strategy can be used to integrate the cosecant, hyperbolic secant, and hyperbolic cosecant functions.

Other hyperbolic forms

It is also possible to find the other two hyperbolic forms directly, by again multiplying and dividing by a convenient term:

∫sec⁡θdθ=∫sec2θsec⁡θdθ=∫sec2θ±1+tan2θdθ,

where ± stands for sgn⁡(cos⁡θ) because 1+tan2θ=|sec⁡θ|. Substituting Template:Math, Template:Math, reduces to a standard integral:

∫1±1+u2du=±arsinh⁡u+C=sgn⁡(cos⁡θ)arsinh⁡(tan⁡θ)+C,

where Template:Math is the sign function.

Likewise:

∫sec⁡θdθ=∫sec⁡θtan⁡θtan⁡θdθ=∫sec⁡θtan⁡θ±sec2θ−1dθ.

Substituting Template:Math, Template:Math, reduces to a standard integral:

∫1±u2−1du=±arcosh⁡u+C=sgn⁡(sin⁡θ)arcosh⁡|sec⁡θ|+C.

Using complex exponential form

Under the substitution z=eiθ,

θ=−iln⁡z,dθ=−izdz,cos⁡θ=z+z−12,sin⁡θ=z−z−12i,sec⁡θ=2z+z−1,tan⁡θ=−iz−z−1z+z−1,sec⁡θ+tan⁡θ=−i2i+z−z−1z+z−1=−i(z+i)(1+iz−1)(z−i)(1+iz−1)=−iz+iz−i

So the integral can be solved as:

∫sec⁡θdθ=∫2z+z−1−izdzz=eiθ=∫−2iz2+1dz=∫1z+i−1z−idzpartial fraction decomposition=ln⁡(z+i)−ln⁡(z−i)+C=ln⁡z+iz−i+C=ln⁡(i(sec⁡θ+tan⁡θ))+C=ln⁡(sec⁡θ+tan⁡θ)+ln⁡i+C

Because the constant of integration can be anything, the additional constant term can be absorbed into it. Finally, if theta is real-valued, we can indicate this with absolute value brackets in order to get the equation into its most familiar form:

∫sec⁡θdθ=ln⁡|tan⁡θ+sec⁡θ|+C

Gudermannian and Lambertian

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 Template:Math, then twice the area of the red circular sector is Template:Math. Twice the area of the purple triangle is the stereographic projection Template:Math The blue point has coordinates Template:Math. The red point has coordinates Template:Math The purple point has coordinates Template:Math

The integral of the hyperbolic secant function defines the Gudermannian function:

∫0ψsech⁡udu=gd⁡ψ.

The integral of the secant function defines the Lambertian function, which is the inverse of the Gudermannian function:

∫0φsec⁡tdt=lam⁡φ=gd−1φ.

These functions are encountered in the theory of map projections: the Mercator projection of a point on the sphere with longitude Template:Mvar and latitude Template:Mvar may be written[10] as:

(x,y)=(λ,lam⁡φ).

See also

Template:Portal

Template:Clear

Notes

Template:Reflist

References

Template:Calculus topics

  1. ↑ 1.0 1.1 1.2 Cite error: Invalid <ref> tag; no text was provided for refs named "stewart".
  2. ↑ 2.0 2.1 2.2 2.3 2.4 Cite error: Invalid <ref> tag; no text was provided for refs named "rickey-tuchinsky".
  3. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "wright".
  4. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "newton".
  5. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "handouts".
  6. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "gregory".
  7. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "barrow".
  8. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "stewart2".
  9. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "hardy".
  10. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named "lee".