# Elliptic integral

In integral calculus, an **elliptic integral** is one of a number of related functions defined as the value of certain integrals. Originally, they arose in connection with the problem of finding the arc length of an ellipse and were first studied by Giulio Fagnano and Leonhard Euler (c. 1750). Modern mathematics defines an "elliptic integral" as any function *f* which can be expressed in the form

where *R* is a rational function of its two arguments, *P* is a polynomial of degree 3 or 4 with no repeated roots, and *c* is a constant.

In general, integrals in this form cannot be expressed in terms of elementary functions. Exceptions to this general rule are when *P* has repeated roots, or when *R*(*x*,*y*) contains no odd powers of *y*. However, with the appropriate reduction formula, every elliptic integral can be brought into a form that involves integrals over rational functions and the three Legendre canonical forms (i.e. the elliptic integrals of the first, second and third kind).

Besides the Legendre form given below, the elliptic integrals may also be expressed in Carlson symmetric form. Additional insight into the theory of the elliptic integral may be gained through the study of the Schwarz–Christoffel mapping. Historically, elliptic functions were discovered as inverse functions of elliptic integrals.

## Argument notation

*Incomplete elliptic integrals* are functions of two arguments; *complete elliptic integrals* are functions of a single argument. These arguments are expressed in a variety of different but equivalent ways (they give the same elliptic integral). Most texts adhere to a canonical naming scheme, using the following naming conventions.

For expressing one argument:

*α*, the*modular angle**k*= sin*α*, the*elliptic modulus*or*eccentricity**m*=*k*^{2}= sin^{2}*α*,*the parameter*

Each of the above three quantities is completely determined by any of the others (given that they are non-negative). Thus, they can be used interchangeably.

The other argument can likewise be expressed as *φ*, the *amplitude*, or as *x* or *u*, where *x* = sin *φ* = sn *u* and sn is one of the Jacobian elliptic functions.

Specifying the value of any one of these quantities determines the others. Note that *u* also depends on *m*. Some additional relationships involving *u* include

The latter is sometimes called the *delta amplitude* and written as Δ(*φ*) = dn *u*. Sometimes the literature also refers to the *complementary parameter*, the *complementary modulus,* or the *complementary modular angle*. These are further defined in the article on quarter periods.

## Incomplete elliptic integral of the first kind

The **incomplete elliptic integral of the first kind** F is defined as

This is the trigonometric form of the integral; substituting *t* = sin *θ* and *x* = sin *φ*, one obtains the Legendre normal form:

Equivalently, in terms of the amplitude and modular angle one has:

In this notation, the use of a vertical bar as delimiter indicates that the argument following it is the "parameter" (as defined above), while the backslash indicates that it is the modular angle. The use of a semicolon implies that the argument preceding it is the sine of the amplitude:

This potentially confusing use of different argument delimiters is traditional in elliptic integrals and much of the notation is compatible with that used in the reference book by Abramowitz and Stegun and that used in the integral tables by Gradshteyn and Ryzhik.

With *x* = sn(*u*, *k*) one has:

thus, the Jacobian elliptic functions are inverses to the elliptic integrals.

The incomplete elliptic integral of the first kind has following addition theorem:

The elliptic modulus can be transformed that way:

#### Notational variants

There are still other conventions for the notation of elliptic integrals employed in the literature. The notation with interchanged arguments, *F*(*k*,*φ*), is often encountered; and similarly *E*(*k*,*φ*) for the integral of the second kind. Abramowitz and Stegun substitute the integral of the first kind, *F*(*φ*,*k*), for the argument φ in their definition of the integrals of the second and third kinds, unless this argument is followed by a vertical bar: i.e. *E*(*F*(*φ*,*k*) | *k*^{2}) for *E*(*φ* | *k*^{2}). Moreover, their complete integrals employ the *parameter* *k*^{2} as argument in place of the modulus *k*, i.e. *K*(*k*^{2}) rather than *K*(*k*). And the integral of the third kind defined by Gradshteyn and Ryzhik, Π(*φ*,*n*,*k*), puts the amplitude φ first and not the "characteristic" n.

Thus one must be careful with the notation when using these functions, because various reputable references and software packages use different conventions in the definitions of the elliptic functions. For example, some references, and Wolfram's Mathematica software and Wolfram Alpha, define the complete elliptic integral of the first kind in terms of the parameter *m*, instead of the elliptic modulus *k*.

## Incomplete elliptic integral of the second kind

The **incomplete elliptic integral of the second kind** *E* in trigonometric form is

Substituting *t* = sin *θ* and *x* = sin *φ*, one obtains the Legendre normal form:

Equivalently, in terms of the amplitude and modular angle:

Relations with the Jacobi elliptic functions include

The meridian arc length from the equator to latitude *φ* is written in terms of *E*:

where *a* is the semi-major axis, and *e* is the eccentricity.

The incomplete elliptic integral of the second kind has following addition theorem:

The elliptic modulus can be transformed that way:

## Incomplete elliptic integral of the third kind

The **incomplete elliptic integral of the third kind** Π is

or

The number *n* is called the **characteristic** and can take on any value, independently of the other arguments. Note though that the value Π(1; π/2 | *m*) is infinite, for any *m*.

A relation with the Jacobian elliptic functions is

The meridian arc length from the equator to latitude *φ* is also related to a special case of Π:

## Complete elliptic integral of the first kind

Elliptic Integrals are said to be 'complete' when the amplitude *φ* = π/2 and therefore *x* = 1. The **complete elliptic integral of the first kind** *K* may thus be defined as

or more compactly in terms of the incomplete integral of the first kind as

It can be expressed as a power series

where *P*_{n} is the Legendre polynomials, which is equivalent to

where *n*!! denotes the double factorial. In terms of the Gauss hypergeometric function, the complete elliptic integral of the first kind can be expressed as

The complete elliptic integral of the first kind is sometimes called the quarter period. It can be computed very efficiently in terms of the arithmetic–geometric mean:

See Carlson (2010, 19.8) for details.

Therefore the modulus can be transformed that way:

This expression is valid for all n ∈ ℕ and 0 ≤ k ≤ 1:

#### Relation to Jacobi theta function

The relation to Jacobi's theta function is given by

where the nome *q* is

#### Asymptotic expressions

This approximation has a relative precision better than 3×10^{−4} for *k* < 1/2. Keeping only the first two terms is correct to 0.01 precision for *k* < 1/2.^{[citation needed]}

#### Differential equation

The differential equation for the elliptic integral of the first kind is

A second solution to this equation is . This solution satisfies the relation

#### Continued fraction

A continued fraction expansion is:[1]

where the nome is *q* = *q*(*k*).

## Complete elliptic integral of the second kind

The **complete elliptic integral of the second kind** *E* is defined as

or more compactly in terms of the incomplete integral of the second kind *E*(*φ*,*k*) as

For an ellipse with semi-major axis *a* and semi-minor axis *b* and eccentricity *e* = √1 − *b*^{2}/*a*^{2}, the complete elliptic integral of the second kind *E*(*e*) is equal to one quarter of the circumference *c* of the ellipse measured in units of the semi-major axis *a*. In other words:

The complete elliptic integral of the second kind can be expressed as a power series^{[citation needed]}

which is equivalent to

In terms of the Gauss hypergeometric function, the complete elliptic integral of the second kind can be expressed as

The modulus can be transformed that way:

#### Computation

Like the integral of the first kind, the complete elliptic integral of the second kind can be computed very efficiently using the arithmetic–geometric mean (Carlson 2010, 19.8).

Define sequences and , where , and the recurrence relations , hold. Furthermore, define . By definition,

- .

Also, . Then

In practice, the arithmetic-geometric mean would simply be computed up to some limit. This formula converges quadratically for all . To speed up computation further, the relation can be used.

#### Derivative and differential equation

A second solution to this equation is *E*(√1 − *k*^{2}) − *K*(√1 − *k*^{2}).

## Complete elliptic integral of the third kind

The **complete elliptic integral of the third kind** Π can be defined as

Note that sometimes the elliptic integral of the third kind is defined with an inverse sign for the *characteristic* *n*,

Just like the complete elliptic integrals of the first and second kind, the complete elliptic integral of the third kind can be computed very efficiently using the arithmetic-geometric mean (Carlson 2010, 19.8).

#### Partial derivatives

## Functional relations

## See also

## References

- N.Bagis,L.Glasser.(2015)"Evaluations of a Continued fraction of Ramanujan". Rend.Sem.Mat.Univ.Padova, Vol.133 pp 1-10

- Abramowitz, Milton; Stegun, Irene Ann, eds. (1983) [June 1964]. "Chapter 17".
*Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables*. Applied Mathematics Series.**55**(Ninth reprint with additional corrections of tenth original printing with corrections (December 1972); first ed.). Washington D.C.; New York: United States Department of Commerce, National Bureau of Standards; Dover Publications. p. 587. ISBN 978-0-486-61272-0. LCCN 64-60036. MR 0167642. LCCN 65-12253. - Byrd, P. F.; Friedman, M.D. (1971).
*Handbook of Elliptic Integrals for Engineers and Scientists*(2nd ed.). New York: Springer-Verlag. ISBN 0-387-05318-2. - Carlson, B. C. (1995). "Numerical Computation of Real or Complex Elliptic Integrals".
*Numerical Algorithms*.**10**(1): 13–26. arXiv:math/9409227. Bibcode:1995NuAlg..10...13C. doi:10.1007/BF02198293. - Carlson, B. C. (2010), "Elliptic integral", in Olver, Frank W. J.; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.),
*NIST Handbook of Mathematical Functions*, Cambridge University Press, ISBN 978-0-521-19225-5, MR 2723248 - Erdélyi, Arthur; Magnus, Wilhelm; Oberhettinger, Fritz; Tricomi, Francesco G. (1953).
*Higher transcendental functions. Vol II*(PDF). McGraw-Hill Book Company, Inc., New York-Toronto-London. MR 0058756. - Gradshteyn, Izrail Solomonovich; Ryzhik, Iosif Moiseevich; Geronimus, Yuri Veniaminovich; Tseytlin, Michail Yulyevich; Jeffrey, Alan (2015) [October 2014]. "8.1.". In Zwillinger, Daniel; Moll, Victor Hugo (eds.).
*Table of Integrals, Series, and Products*. Translated by Scripta Technica, Inc. (8 ed.). Academic Press, Inc. ISBN 978-0-12-384933-5. LCCN 2014010276. - Greenhill, Alfred George (1892).
*The applications of elliptic functions*. New York: Macmillan. - Hancock, Harris (1910).
*Lectures on the Theory of Elliptic Functions*. New York: J. Wiley & sons. - King, Louis V. (1924).
*On The Direct Numerical Calculation Of Elliptic Functions And Integrals*. Cambridge University Press. - Press, W. H.; Teukolsky, S. A.; Vetterling, W. T.; Flannery, B. P. (2007), "Section 6.12. Elliptic Integrals and Jacobian Elliptic Functions",
*Numerical Recipes: The Art of Scientific Computing*(3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8