Elliptic and the Jacobi elliptic functions

16:00 Wednesday 7th February 2018, Room 1503, MUIC

Michael A. Allen

Physics Department, Mahidol University, Bangkok

We review the definitions, basic properties, and some applications of the Legendre elliptic integrals and the Jacobi elliptic functions. For instance, the perimeter of an is most simply expressed in terms of the complete Legendre elliptic of the second kind, and is why the functions are so named. The Jacobi elliptic functions are functions of two variables, one of which, known as the modulus, k, is normally taken as a parameter. They can be regarded as generalizations of the trigonometric and hyperbolic functions since as k → 0 (k → 1) they tend to the former (latter). A classic example of their application is the expression of the solution of the equation θ¨ + ω2 sin θ = 0 in closed form.

1 Outline

• Perimeter of an ellipse

• Surface area of an

• Properties of elliptic integrals

• Solution of problems in electromagnetism

• Jacobi elliptic functions: snine, cnine, dnine, etc

• Solution of the pendulum equation

• Evaluation of integrals in terms of elliptic functions

• Solution of nonlinear wave equations: cnoidal waves

2 Perimeter of the ellipse x2/a2 + y2/b2 = 1 with a > b

Using the parameterization, x = a sin θ, y = b cos θ, the from (x, y) = (0, b) to (a sin φ, b cos φ) is given by s Z Z φ  2   2  p 2 2 b 2 b dx + dy = a 1 − 1 − 2 sin θ dθ = aE φ 1 − 2 0 a a

R φ p 2 where E(φ|m) = 0 1 − m sin θ dθ is Legendre’s (incomplete) elliptic integral of the 2nd kind. m ≡ k2 where k is called the modulus. 1 Legendre’s complete elliptic integral of the 2nd kind, E(m) ≡ E( 2 π|m). Thus π E(0) = ,E(1) = 1. 2

The perimeter is 4aE(1 − b2/a2) which reduces to 2πa when m = 0 (a circle) and 4a when m = 1 (an infinitely thin ellipse).

3 Legendre’s elliptic integrals (1825)

1st kind (incomplete and complete):

Z φ dθ F (φ|m) = ,K(m) = F ( 1 π|m) p 2 2 0 1 − m sin θ

2nd kind (incomplete and complete): Z φ p 2 1 E(φ|m) = 1 − m sin θ dθ, E(m) = E( 2 π|m) 0 3rd kind (incomplete and complete):

Z φ dθ Π(n; φ|m) = , Π(n|m) = Π(n; 1 π|m) 2 p 2 2 0 (1 − n sin θ) 1 − m sin θ

4 in nature: Haumea

Discovered in 2004, 35–51 AU from the Sun (Pluto-Sun distance is 30–49 AU), it has 2 moons and a ring system, and is the most rapidly rotating body in the solar system: rotation period is 4 hours; from its light curve it is thought to be a 1920 km×1540 km×990 km ellipsoid.

Minimum energy configurations of a self-gravitating rotating fluid body as angular momentum increases from 0: sphere → Maclaurin (oblate) spheroid → Jacobi ellipsoid → ...

5 Surface area of the ellipsoid x2/a2 + y2/b2 + z2/c2 = 1 with a > b > c

2πab 2πc2 + F (φ|m) cos2 φ + E(φ|m) sin2 φ sin φ where cos φ = c/a and m = a2(b2 − c2)/[b2(a2 − c2)].

6 The complete integrals: alternative definitions

Z π/2 dθ Z π/2 dθ˜ K(m) = = p 2 p 0 1 − m sin θ 0 1 − m cos2 θ˜ Z 1 dx = p 2 2 0 (1 − x )(1 − mx ) Z π/2p Z π/2q E(m) = 1 − m sin2 θ dθ = 1 − m cos2 θ˜ dθ˜ 0 0 Z 1 r1 − mx2 = 2 dx 0 1 − x

θ˜ = π/2 − θ; x = sin θ.

7 The complete integrals: special values and limits

3 K(m) 2 E(m) 1

m 0.2 0.4 0.6 0.8 1

π 4 K(0) = E(0) = K(m) ∼ log √ as m → 1− E(1) = 1 2 1 − m

8 The complete integrals: derivatives

dE(m) E(m) − K(m) = dm 2m To show this, apply ∂/∂b to

Z π/2p √ b − m sin2 θ dθ = bE(m/b) 0 and set b = 1. dK(m) E(m) K(m) = − dm 2(1 − m)m 2m

9 Related useful integrals (Good 2001)

For b > 1: Z π dφ 2  2  √ = √ K 0 b ± cos φ b + 1 b + 1 Z π √  2  pb ± cos φ dφ = 2 b + 1 E 0 b + 1

(φ = 2θ and then use cos 2θ = 1 − 2 sin2 θ = 2 cos2 θ − 1.)

... and many more via differentiating under the integral.

10 Example: potential from a circular loop of radius a (Good 2001) Potential at a distance r from a point particle, ‘charge’ q, with inverse square law:

V (r) = κq/r. [In electrostatics, q is charge, κ = 1/4πε0.]

For a circular loop at the origin in the plane z = 0 with charge per unit length λ, I λ dl V (ρ, z) = κ . r c = pa2 + ρ2 − 2aρ cos φ

Z π λa dφ r2a Z π dφ V (ρ, z) = 2κ = κλ √ p 2 2 2 0 z + a + ρ − 2aρ cos φ ρ 0 b − cos φ s 8a  2  z2 + a2 + ρ2 = κλ K , b = . ρ(b + 1) b + 1 2aρ

11 Inverse elliptic integrals and the Jacobi elliptic , snine - sn

Z φ dθ Z u=sin φ dy F (φ|m) = = p 2 p 2 2 0 1 − m sin θ 0 (1 − y )(1 − my ) Given F (φ|m), what is φ? Answer: φ = am(F (φ|m)|m), the amplitude of F (φ|m). [Thus am(u|0) = u and am(nK(m)|m) = nπ/2, n ∈ Z.] The Jacobi sn (“snine”) is defined as follows:

sn(x|m) := sin(am(x|m)) ⇒ sin φ = sn(F (φ|m)|m) ! Z u dy ⇒ u = sn m p 2 2 0 (1 − y )(1 − my ) Z u dy Z u dy sn−1(u|m) = cf. sin−1 u = p 2 2 p 2 0 (1 − y )(1 − my ) 0 1 − y

−1 R u 2 −1 and sn (u|m = 1) = 0 dy/(1 − y ) = tanh u.

12 The other Jacobi elliptic functions: cnine - cn, dnine - dn, etc. We already have sn(x|m) := sin(am(x|m)), so we define its partner similarly: cn(x|m) := cos(am(x|m)) ⇒ sn2(x|m) + cn2(x|m) = 1, cn(x|0) = cos x, and cn(x|1) = sech x. We also need dn(x|m) := p1 − m sn2(x|m) ⇒ dn(x|0) = 1, dn(x|1) = sech x

1 Period of sn, cn is 4K(m). They dn 0.5 also have imaginary periods of 2iK0 sn and 4iK0, respectively, where K0 = -7.5 -5 -2.5 2.5 5 7.5 x -0.5 cn K(1 − m). sn, cn, dn for m = 0.81: -1 d d d sn(x|m) = cn dn, cn(x|m) = − sn dn, dn(x|m) = −m sn cn dx dx dx

12 functions in total: e.g., sc(x|m) ≡ sn(x|m)/ cn(x|m), nd(x) ≡ 1/ dn(x).

13 Solution of the simple pendulum equation θ¨ + ω2 sin θ = 0 ˙ ˙ p Multiply by θ and integrate to give θ = ω 2(cos θ − cos θm) where the constant ˙ of integration has been chosen so that θ = 0 when θ = θm, the amplitude. 1 Z θ dθ 1 Z θ dθ t = √ √ = q . 2ω cos θ − cos θm 2ω 2 1 2 1 sin 2 θm − sin 2 θ

1 1 Let sin 2 θ = k sin φ where k = sin 2 θm. Then

−1 −1 1 Z sin [k sin 2 θ] 1 dφ 1 −1 −1 1 2 t = = sn (k sin θ|k ) + t0 ω p1 − k2 sin φ ω 2 −1 2 2 θ = 2 sin [k sn(ω(t − t0)|k )] period 4K(k )/ω

1 As θm → 0, k ∼ 2 θm and sn ∼ sin. Then

θ = θm sin ω(t − t0) period 2π/ω

14 Simple pendulum equation solutions (ω = 2π) 0.2 0.1 t k = 0.1 0.5 1 1.5 2 -0.1 -0.2 1.5 1 √ 0.5 t k = 1/ 2 0.5 1 1.5 2 -0.5 -1 -1.5 3 2 1 t k = 0.99 0.5 1 1.5 2 -1 -2 -3

15 Evaluation of integrals p Any integral of a of x and P (x) where P (x) is a cubic or quartic with distinct roots is known as an elliptic integral. Such an integral can be written in terms of Legendre’s (3 kinds) of elliptic integrals. These can often be more conveniently expressed in terms of the Jacobi elliptic functions.

16 Application: cnoidal waves

Finding a travelling wave solution of a nonlinear PDE sometimes reduces to solving the equation q dq p Z dy = ± G(q) ⇒ z − z0 = ± dz pG(y) where z0 is a constant. If G(q) is a cubic or quartic with distinct roots at least two of which are real, and G(q) is positive between those roots, then there will be a periodic nonlinear wave solution expressible in terms of elliptic functions. Such nonlinear waves are known as cnoidal waves.

17

Cases for having cnoidal waves when G(q) is a cubic

´ µ

´ µ

´aµ ´bµ

The integrals required to solve cases (a) and (b) are, respectively, Z q r  dy 1 −1 q − c b − c p = sn , c (a − y)(b − y)(y − c) η b − c a − c Z a r  dy 1 −1 a − q a − b p = sn , q (a − y)(y − b)(y − c) η a − b a − c

1 √ where η = 2 a − c.

18 Example: the Korteweg-de Vries (KdV) equation

ut + uux + uxxx = 0 [subscripts denote differentiation] Transform to a moving frame z = x − V t and look for time-independent solutions:

(u − V )uz + uzzz = 0

Let q = u − V so qqz + qzzz. Integrate w.r.t. z:

1 2 1 2 q + qzz = 2 B

Multiply by 2qz and integrate again:

2 1 3 qz = C + Bq − 3 q = G(q)

So for suitable C and B, it is of type (b).

19 solutions of the KdV equation

√ Z q r  3 dy 1 −1 a − q z − z0 = ∓ p = ∓ sn m a (a − y)(y − b)(y − c) η a − b p in which η = (a − c)/12 and m = (a − b)/(a − c) and so a − b = 12η2m. Rearranging and using sn2 + cn2 = 1 gives

2 q = b + (a − b) cn (η(z − z0)|m)

Coefficient of q2 in G(q) is zero so a + b + c = 0. Using this to get an expression for b in terms of η and m gives

2 2 2 u(x, t) = V − 4η (2m − 1) + 12η m cn (η(x − x0 − V t)|m)

The aperiodic (solitary wave/soliton) solution is obtained when m = 1:

2 2 2 u(x, t) = V − 4η + 12η sech (η(x − x0 − V t))

20 References

• Good RH (2001) “Elliptic integrals, the forgotten functions”. European Journal of Physics, 22(2), 119–26.

• Meyer KR (2001) “Jacobi elliptic functions from a dynamical systems point of view”. American Mathematical Monthly, 108, 729–37.

• Byrd PF, Friedman MD (1954) Handbook of Elliptic Integrals for Engineers and Physicists, Springer. [Contains >3000 integrals related to elliptic integrals and functions.]

THANK YOU FOR YOUR ATTENTION

21