Processing math: 100%
Press "Enter" to skip to content

Month: June 2021

Landen transformation of complete elliptic integrals

John Landen manuscript (1719-1770)
John Landen manuscript (1764)

This post is devoted to some aspects of the Landen transformation, essentially x(1x)/(1+x) or x4x/(1+x)2, used for certain special functions. It was introduced by John Landen (1719 -- 1790) for expressing a hyperbolic arc in terms of two elliptic arcs. It is useful for numerical evaluation. Since its invention, the infinitesimal calculus was systematically used in order to compute geometric quantities such as for instance the length of an arc of ellipse and in particular the circumference of an ellipse. There is no closed formula like in the special case of the circle, and this leads to integrals known as elliptic integrals. Nowadays, they belong to the vast zoo of special functions.

Complete elliptic integrals of first and second kind. Given, for ρ[0,1], by

K(ρ):=π20dθ1ρsin2(θ)=10dt1ρt21t2

and

E(ρ):=π201ρsin2(θ)dθ=101ρt21t2dt.

The incomplete elliptic integrals are given by the same formula after replacing π2 by an arbitrary angle. The inverse of incomplete elliptic integrals are known as elliptic functions. Geometrically, the length of the arc of an ellipse can be expressed using the elliptic integral of the second kind, while the surface measure of an ellipsoid involves a combination of elliptic integrals of first and second kind. Elliptic integrals and functions appear at many places in mathematics, physics, and engineering, and were studied by several mathematicians, including historically, among others, Leonhard Euler (1707 -- 1783), Adrien-Marie Legendre (1752 -- 1833), Johann Carl Friedrich Gauss (1777 -- 1855), Niels Henrik Abel (1802 -- 1829), Carl Gustav Jacob Jacobi (1804 -- 1851), Karl Weierstrass (1815 -- 1897), and Arthur Cayley (1821 -- 1895). Elliptic integrals and functions, are, as most classical special functions, very well known by software packages specialized in mathematics such as Maple and Mathematica.

Landen transformation. For all x[0,1],

K((1x1+x)2)=1+x2K(1x2)

and

E((1x1+x)2)=11+xE(1x2)+2x(1+x)2K((1x1+x)2).

Reformulation. If x1:=1x1+x then 1+x1=21+x and 4x1(1+x1)2=1x2, and we get

K(4x1(1+x1)2)=(1+x1)K(x21).

Note that x1 runs over [0,1] when x runs over [0,1]. Similarly we get

E(4x1(1+x1)2)=21+x1E(x21)(1x1)K(x21).

For all x1, the identity 4x(1+x)2=4x1(1+x1)2 allows to express K and E at 4x(1+x)2 for all x1.

Ivory derivation via hypergeometric series. It is possible to derive the formulas by using powerful change of variables, presented later on in this post, which remain valid for more general formulas for incomplete elliptic integrals. Nevertheless, following James Ivory (1765 -- 1842), for complete elliptic integrals, it is more efficient to proceed by using a hypergeometric series expansion. Namely, by using the trick

1+2xcos(α)+x2=(1+xeiα)(1+xeiα)

and the Newton binomial theorem

1(1z)α=n=0(α)nn!zn,

where (α)n:=α(α+1)(α+n1) is the rising factorial, we get, for 0x<1,

K(4x(1+x)2)=12π0((14x(1+x)2sin2(θ))1/2dθ=12π0((12x(1+x)2(1cos(2θ)))1/2dθ=1+x2π0(1+x2+2xcos(2θ))1/2dθ=1+x2π0(1+xe2iθ)1/2(1+xe2iθ)1/2dθ=1+x2m=0(12)m(x)mm!n=0(12)n(x)nn!π0e2i(mn)θdθ=π2(1+x)n=0(12)2nx2nn!2=(1+x)π2F2,1(12,12;1;x2)=(1+x)K(x2).

This can be seen as a formula for hypergeometric series: if 0x<1 then

F2,1(12,12;1;4x(1+x)2)=(1+x)F2,1(12,12;1;x2).

Similarly, using in the last step

K(x2)=F2,1(12,12;1;x2)andE(x2)=F2,1(12,12;1;x2),

we get

(1+x)E(4x(1+x)2)=1+x2π0(14x(1+x)2sin2(θ))1/2dθ=1+x2π0((12x(1+x)2(1cos(2θ)))1/2dθ=12π0(1+x2+2xcos(2θ))1/2dθ=12π0(1+xe2iθ)1/2(1+xe2iθ)1/2dθ=12m=0(12)m(x)mm!n=0(12)n(x)nn!π0e2i(mn)θdθ=π2n=0(12)2nx2nn!2=π2F2,1(12,12;1;x2)=π2(2F2,1(12,12;1;x2)(1x2)F2,1(12,12;1;x2))=2E(x2)(1x2)K(x2).

This corresponds to the hypergeometric identity

(1+x)F2,1(12,12;1;4x(1+x)2)=F2,1(12,12;1;x2)=2F2,1(12,12;1;x2)(1x2)F2,1(12,12;1;x2).

Invariance of Cayley elliptic integral. For all a,b>0, the Cayley elliptic integral

I(a,b):=π201a2cos2(θ)+b2sin2(θ)dθ

is left unchanged if we replace a,b by their arithmetic and geometric means, namely

I(a,b)=I(a+b2,ab).

Similarly if we define

J(a,b):=π20a2cos2(θ)+b2sin2(θ)dθ

then

2J(a+b2,ab)=J(a,b)+abI(a,b)

Link with Landen transformation for K. If a>b>0 then

I(a,b)=π201a2(a2b2)sin2(θ)dθ=1aK(a2b2a2)

and

I(a+b2,ab)=1a+b2K((a+b2)2b2(a+b2)2)=2a+bK((a+b)24b2(a+b)2)=2a+bK((aba+b)2),

and thus, by the invariance of Cayley elliptic integrals,

K((aba+b)2)=a+b2aK(a2b2a2).

Setting x:=aba+b we get 1+x=2aa+b, 4x(1+x)2=a2b2, and, when a=1,

(1+x)K(x2)=K(4x(1+x)2).

We have thus obtained, from the invariance formula for the Cayley integral I(a,b), an alternative proof of the Landen transform formula involving K. Similarly, the invariance formula for J(a,b) leads to the Landen transform formula involving E and K.

Link with arithmetic-geometric mean. If we define a0:=a, b0=b, and

an+1:=an+bn2andbn+1:=anbn

for all n0, then it can be shown that

b=b0b1bn+1an+1a1a0=a

and that actually both sequences converge as n to a common limit, the arithmetic-geometric mean (AGM) M(a,b). Indeed, if cn:=a2nb2n then

cn+1=anbn2andc2n=(anbn)(an+bn)=4cn+1an+1,

hence cn decreases to 0 as n and

M(a,b):=limnan=limnbn.

Using the invariance of Cayley integrals and observing that (a,b)I(a,b) is continuous and I(c,c)=π2c for all c, we get

I(a,b)=I(M(a,b),M(a,b))=π2M(a,b).

Moreover since I(a,b)=1aK(a2b2a2) we get

M(a,b)=aπK(a2b2a2).

If we set x:=a2b2a then using

M(a,b)=a2M(1,ba)=M(1,1x2)=M(1x,1+x)

we get

M(1x,1+x)=π2K(x2).

Proof of the invariance of Cayley elliptic integrals. The change of variable

btanθ=x

gives dθ=cos2(θ)bdx, and since cos2(θ)=b2x2+b2,

I(a,b)=01cos2(θ)(a2+x2)bx2+b2dx=01(a2+x2)(x2+b2)dx.

The further substitution x=t+t2+ab satisfies

dx=(1+tt2+ab)dt=xt2+abdt,

and the identity

(x2+a2)(x2+b2)=2xt2+(a+b2)2,

which can be checked using the simpler identity x2=2tx+ab, gives

I(a,b)=121t2+(a+b2)2t2+abdt=01(t2+(a+b2)2)(t2+ab2)dt

which is equal to I(a+b2,ab) according to the preceding formula with a+b2,ab instead of a,b. Alternatively, following Jean-Pierre Demailly (1957 --), using the change of variable

φ=θ+arctan(batan(θ))

which is an increasing bijection from [0,π/2) to [0,π), we have

dφdθ=1+ba(1+tan2(θ))1+b2a2tan2(θ)=(a+b)(acos2(θ)+bsin2(θ))a2cos2(θ)+b2sin2(θ).

On the other hand

φ=θ+αwhereα:=arctan(batan(θ))[0,π/2).

We have tan(α)=batan(θ) and since

cos(α)=11tan2(α)andsin(α)=tan(α)1+tan2(α)

we get

cos(φ)=cos(θ)cos(α)sin(θ)sin(α)=cos(θ)11+(ba)2tan2(θ)sin(θ)batan(θ)1+(ba)2tan2(θ)=acos2(θ)bsin2(θ)a2cos2(θ)+b2sin2(θ)

and

sin(φ)=sin(θ)cos(α)+cos(θ)sin(α)=sin(θ)11+(ba)2tan2(θ)+cos(θ)batan(θ)1+(ba)2tan2(θ)=(a+b)sin(θ)cos(θ)a2cos2(θ)+b2sin2(θ).

This gives

a21cos2(φ)+b21sin2(φ)=(a+b2)2(cos2(φ)+4ab(a+b)2sin2(φ))=(a+b2)2(acos2(θ)bsin2(θ))2+4absin2(t)cos2(t)a2cos2(θ)+b2sin2(θ)=(a+b2)2(acos2(θ)+bsin2(θ))2a2cos2(θ)+b2sin2(θ).

In other words, setting Δ(θ):=a2cos2(θ)+b2sin2(θ), we get

Δ1(φ):=a21cos2(φ)+b21sin2(φ)=a+b2acos2(φ)+bsin2(θ)a2cos2(θ)+b2sin2(θ)=a+b2acos2(θ)+bsin2(θ)Δ(θ)

and thus, combining this with a formula above for dφ/dθ we obtain

12dφΔ1(φ)=12dφa21cos2(φ)+b21sin2(φ)=dθa2cos2(θ)+b2sin2(θ)=dθΔ(θ)

hence finally

I(a+b2,ab)=I(a,b).

Next, for the formula concerning J, we observe that

Δ1(φ)+ab2cos(φ)=a2cos2(θ)+b2sin2(θ)a2sin2(θ)+b2cos2(θ)=Δ(θ)

and

Δ1(φ)ab2cos(φ)=abcos2(θ)+absin2(θ)a2sin2(θ)+b2cos2(θ)=abΔ(θ),

hence

2Δ1(φ)=Δ(θ)+abΔ(θ),

while a formula above reads dφ=2Δ1(φ)Δ(θ)dθ hence

Δ1(φ)dφ+ab2cos(φ)dφ=Δ(θ)dφ=2Δ1(φ)dθ=(Δ(θ)+abΔ(θ))dθ.

Finally, since 2π0cos(θ)dθ=0 we get as expected

2J(a1,b1)=J(a,b)+abI(a,b).

Historical proof by change of variable due to Landen. This proof works also for incomplete elliptic integrals, and admits a geometrical interpretation. Let

x[0,1],x=1x2,x1=1x1+x.

We start from the formula

2K(x21)=π0dθ11x21sin2(θ1).

We would like to set x1sin(θ1)=sin(α) in such a way that x21sin2(θ1)=sin2(α). But it turns out that it is better to use another change of variable, namely replace θ1 by θ with

2θ=θ1+α=θ1+arcsin(x1sin(θ1))

where arcsin takes its values in [0,π/2]. Then θ runs over [0,π/2] when θ1 runs over [0,π], the derivative of the formula with respect to θ1 is 1+cos(θ1)/1x21sin2(θ1), which vanishes only for θ1=π. The crucial point now is the identity

(1+x1)1x2sin2(θ)=1x21sin2(θ1)+x1cos(θ1)

Now we get

(1+x1)x2sin(θ)cos(θ)1x2sin2(θ)dθ=(x21sin(θ1)cos(θ1)1x21sin2(θ1)+x1sin(θ1))dθ1

hence

1+x12x1x2sin(2θ)1x2sin2(θ)dθ=(x1sin(θ1)cos(θ1)+sin(θ1)1x21sin2(θ1)1x21sin2(θ1))dθ1

hence

(1+x)sin(2θ)1x2sin2(θ)dθ=(sin(α)cos(θ1)+sin(θ1)cos(α)1x21sin2(θ1))dθ1

hence

(1+x)sin(2θ)1x2sin2(θ)dθ=(sin(α+θ1)1x21sin2(θ1))dθ1

and finally

(1+x)11x2sin2(θ)dθ=11x21sin2(θ1)dθ1.

Integrating over the range of θ and θ1 we obtain

(1+x)π20dθ1x2sin2(θ)=π0dθ11x21sin2(θ1)

which gives (1+x)K(x2)=2K(x21), in other words (1+x)K(1x2)=2K(x21) which is the desired formula with x instead of x. To get the formula involving E, we write

1x2sin2(θ)=1x21cos(2θ)2=1x22+x22cos(2θ),

and since

cos(2θ)=cos(θ1)cos(α)sin(θ1)sin(α)=cos(θ1)1x21sin2(θ1)x1sin2(θ1)

we get

1x2sin2(θ)=1x22x22x1+x22cos(θ1)1x21sin(θ1)+x22x1(1x21sin2(θ1)).

Now since x22x1=(1+x)22 and 1x22x22x1=x we obtain

1x2sin2(θ)=x+x22cos(θ1)1x21sin(θ1)+(1+x)22(1x21sin2(θ1)).

Combining this identity with a previous identity we obtain

(1+x)π201x2sin2(θ)dθ=π0x+x22cos(θ1)1x21sin(θ1)+(1+x)22(1x21sin2(θ1))1x21sin2(θ1)dθ1,

hence (1+x)E(x2)=2xK(x21)+0+(1+x)222E(x21) which rewrites as 11+xE(1x2)=2x(1+x)2K(x21)+E(x21) which is the desired formula with x instead of x.

Alternative expression of the change of variable. It reads

tan(α)=x1sin(θ1)1x21sin2(θ1)=x1sin(2θ)1+x1cos(2θ).

Indeed, we have

cos(2θ)=cos(θ1)cos(α)sin(θ1)sin(α)=cos(θ1)1x21sin2(θ1)x1sin2(θ1)

thus

1+x1cos(2θ)=1x21sin2(θ1)(x1cos(θ1)+1x21sin2(θ1))

and therefore

1x21sin2(θ1)=1+x1cos(2θ)x1cos(θ1)+1x21sin2(θ1)=1+x1cos(2θ)(1+x1)1x2sin2(θ).

Similarly we get

sin(2θ)=sin(θ1)cos(α)+cos(θ1)sin(α)=sin(θ1)1x21sin2(θ1)+x1sin(θ1)cos(θ1)

and therefore

x1sin(θ1)=x1sin(2θ)1x21sin2(θ1)+x1cos(θ1)=x1sin(2θ)(1+x1)1x2sin2(θ)

Finally writing tan(α)=sin(α)cos(α)=x1sin(α)1x21sin2(θ) leads to the desired expression.

Further reading.

Final words. A famous quotes says Be careful about reading health books. You may die of a misprint''. We could say the same about books on elliptic integrals!

Leave a Comment
Syntax · Style · .