Integral of the secant function

From testwiki
Revision as of 07:36, 15 October 2024 by imported>Jacobolus (also down here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description

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

{{#invoke:sidebar|collapsible | class = plainlist | titlestyle = padding-bottom:0.25em; | pretitle = Part of a series of articles about | title = Calculus | image = abf(t)dt=f(b)f(a) | listtitlestyle = text-align:center; | liststyle = border-top:1px solid #aaa;padding-top:0.15em;border-bottom:1px solid #aaa; | expanded = integral | abovestyle = padding:0.15em 0.25em 0.3em;font-weight:normal; | above =

Template:Startflatlist

Template:EndflatlistTemplate:Startflatlist

Template:Endflatlist

| list2name = differential | list2titlestyle = display:block;margin-top:0.65em; | list2title = Template:Bigger | list2 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Definitions
 | content1 =
 | heading2 = Concepts
 | content2 =
 | heading3 = Rules and identities
 | content3 =
}}

| list3name = integral | list3title = Template:Bigger | list3 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =

| heading2 = Definitions

 | content2 =
 | heading3 = Integration by
 | content3 =
}}

| list4name = series | list4title = Template:Bigger | list4 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Convergence tests
 | content2 =
}}

| list5name = vector | list5title = Template:Bigger | list5 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Theorems
 | content2 =
}}

| list6name = multivariable | list6title = Template:Bigger | list6 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Formalisms
 | content1 =
 | heading2 = Definitions
 | content2 =
}}

| list7name = advanced | list7title = Template:Bigger | list7 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
}}

| list8name = specialized | list8title = Template:Bigger | list8 =

| list9name = miscellanea | list9title = Template:Bigger | list9 =

}} 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θ={12ln1+sinθ1sinθ+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, gd1. 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

gd1ϕ=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θ=12ln1+sinθ1sinθ+C=ln|secθ+tanθ|+C=ln|tan(θ2+π4)|+C,

are equivalent because

1+sinθ1sinθ=|secθ+tanθ|=|tan(θ2+π4)|.

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

First,

1+sinθ1sinθ=1+2t1+t212t1+t2=1+t2+2t1+t22t=(1+t)2(1t)2=|1+t1t|.

Second,

|secθ+tanθ|=|1cosθ+sinθcosθ|=|1+t21t2+2t1t2|=|(1+t)2(1+t)(1t)|=|1+t1t|.

Third, using the tangent addition identity tan(ϕ+ψ)=(tanϕ+tanψ)/(1tanϕtanψ),

|tan(θ2+π4)|=|tan12θ+tan14π1tan12θtan14π|=|t+11t1|=|1+t1t|.

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=lntan(φ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θ=lntan(φ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θ1sin2θdθ

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

11u2du=1(1+u)(1u)du=12(11+u+11u)dupartial fraction decomposition=12(ln|1+u|ln|1u|)+C=12ln|1+u1u|+C

Therefore,

secθdθ=12ln1+sinθ1sinθ+C,

as expected. Taking the absolute value is not necessary because 1+sinθ and 1sinθ are always non-negative for real values of θ.

By the tangent half-angle substitution

Standard

Under the tangent half-angle substitution t=tan12θ,[8]

sinθ=2t1+t2,cosθ=1t21+t2,dθ=21+t2dt,tanθ=sinθcosθ=2t1t2,secθ=1cosθ=1+t21t2,secθ+tanθ=1+2t+t21t2=1+t1t.

Therefore the integral of the secant function is

secθdθ=(1+t21t2)(21+t2)dtt=tanθ2=2(1t)(1+t)dt=(11+t+11t)dtpartial fraction decomposition=ln|1+t|ln|1t|+C=ln|1+t1t|+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+x22x21+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θ1sin2θdθ.

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

11u2du.

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

sech2t1tanh2tdt=sech2tsech2tdt=dt.

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

dt=t+C=artanhu+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=±arsinhu+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±u21du=±arcoshu+C=sgn(sinθ)arcosh|secθ|+C.

Using complex exponential form

Under the substitution z=eiθ,

θ=ilnz,dθ=izdz,cosθ=z+z12,sinθ=zz12i,secθ=2z+z1,tanθ=izz1z+z1,secθ+tanθ=i2i+zz1z+z1=i(z+i)(1+iz1)(zi)(1+iz1)=iz+izi

So the integral can be solved as:

secθdθ=2z+z1izdzz=eiθ=2iz2+1dz=1z+i1zidzpartial fraction decomposition=ln(z+i)ln(zi)+C=lnz+izi+C=ln(i(secθ+tanθ))+C=ln(secθ+tanθ)+lni+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ψsechudu=gdψ.

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

0φsectdt=lamφ=gd1φ.

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