Evaluate Complete Elliptic Integrals

Elliptic integrals are special functions that arise in many areas of mathematics and physics. In general, these functions cannot be written in terms of elementary functions. In this article, we evaluate the complete elliptic integrals of the first and second kinds in terms of power series.

It is recommended that you understand the Integrate Using the Beta Function and its related functions before proceeding.

Preliminaries

  • The complete elliptic integral of the first kind <math>K(k)</math> arises when finding the period of a pendulum without the small-angle approximation. Note that some authors may choose to define it in terms of a modulus <math>m = k^{2}.</math>
    • <math>K(k) = \int_{0}^{1}\frac{\mathrm{d}t}{\sqrt{(1 - t^{2})(1 - k^{2}t^{2})}} = \int_{0}^{\pi/2}\frac{\mathrm{d}\phi}{\sqrt{1 - k^{2}\sin^{2}\phi}}</math>
  • The complete elliptic integral of the second kind <math>E(k)</math> arises when finding the arc length of an ellipse.
    • <math>E(k) = \int_{0}^{1}\sqrt{\frac{1 - k^{2}t^{2}}{1 - t^{2}}}\mathrm{d}t = \int_{0}^{\pi/2}\sqrt{1 - k^{2}\sin^{2}\phi}\mathrm{d}\phi</math>

Steps

  1. Set up the integral to be evaluated. We evaluate the complete elliptic integral of the first kind first; the second kind is not much different and uses the same techniques. We shall evaluate the trigonometric form, but note that Jacobi's form is a completely equivalent way of writing it.
    • <math>K(k) = \int_{0}^{\pi/2}\frac{\mathrm{d}\phi}{\sqrt{1 - k^{2}\sin^{2}\phi}}</math>
  2. Write the integral in terms of the binomial series.
    • The binomial series is the Taylor expansion for the expression <math>(1 + x)^{\alpha}</math> for any real number <math>\alpha.</math>
      • <math>(1 + x)^{\alpha} = \sum_{m = 0}^{\infty}{\alpha \choose m}x^{m}</math>
    • We can then write the integrand as such by identifying <math>x</math> and <math>\alpha,</math> making sure to pull out any terms that are not dependent on <math>\phi.</math>
      • <math>\begin{align}K(k) &= \int_{0}^{\pi/2}\frac{\mathrm{d}\phi}{\sqrt{1 - k^{2}\sin^{2}\phi}} \\

&= \int_{0}^{\pi/2}\sum_{m=0}^{\infty}{-1/2 \choose m}(-1)^{m}k^{2m}\sin^{2m}\phi\mathrm{d}\phi \\ &= \sum_{m=0}^{\infty}{-1/2 \choose m}(-1)^{m}k^{2m}\int_{0}^{\pi/2}\sin^{2m}\phi\mathrm{d}\phi\end{align}</math>

    • Notice that we are evaluating this integral term-by-term.
  1. Evaluate the integral using the Beta function.
    • First, expand the binomial coefficients in terms of the Gamma function if necessary. Otherwise, leave it in terms of factorials. Remember that <math>m! = \Gamma(m + 1).</math>
      • <math>{-1/2 \choose m} = \frac{\Gamma(1/2)}{m!\,\Gamma(1/2 - m)}</math>
    • Second, recall the definition of the Beta function in terms of trigonometric functions.
      • <math>\frac{\Gamma(\alpha)\Gamma(\beta)}{2\,\Gamma(\alpha + \beta)} =
\int_{0}^{\pi/2}\cos^{2\alpha - 1}\phi\sin^{2\beta - 1}\phi\mathrm{d}\phi</math>
    • We identify <math>\alpha = 1/2</math> and <math>\beta = m + 1/2.</math>
      • <math>K(k) = \sum_{m=0}^{\infty}\frac{(-1)^{m}\Gamma(1/2)}{m!\,\Gamma(1/2-m)}\frac{\Gamma(1/2)\Gamma(1/2+m)}{2\,m!}k^{2m}</math>
  1. Use Euler's reflection identity and the fact that <math>\Gamma(1/2) = \sqrt{\pi}</math>.
    • Euler's reflection identity is stated below.
      • <math>\Gamma(z)\Gamma(1 - z) = \frac{\pi}{\sin(\pi z)}</math>
    • We can simplify our series using this formula if we let <math>z = 1/2 + m.</math>
      • <math>\Gamma(1/2 + m)\Gamma(1/2 - m) = \frac{\pi}{\sin(\pi(1/2 + m))}</math>
    • We simplify further by making the observation that <math>(-1)^{m}\sin(\pi(1/2 + m))
= 1</math> for all <math>m.</math>
      • <math>K(k) = \frac{\pi}{2}\sum_{m=0}^{\infty}\frac{\Gamma^{2}(1/2+m)}{\pi (m!)^{2}}k^{2m}</math>
  1. Use the double factorial identity.
    • The double factorial identity can be related to the Gamma function in the following manner.
      • <math>(2m - 1)!! = \frac{2^{m}\Gamma(1/2 + m)}{\sqrt{\pi}}</math>
    • We can then simplify this series like so.
      • <math>K(k) = \frac{\pi}{2}\sum_{m=0}^{\infty}\left[\frac{(2m-1)!!}{2^{m}m!}\right]^{2}k^{2m}</math>
    • This series can also be written only with double factorials when making use of the identity <math>(2m)!! = 2^{m}m!,</math> which is sometimes encountered in the literature as well.
      • <math>K(k) = \frac{\pi}{2}\sum_{m=0}^{\infty}\left[\frac{(2m-1)!!}{(2m)!!}\right]^{2}k^{2m}</math>
  2. Expand the series.
    • <math>K(k) = \frac{\pi}{2}\left[1 + \left(\frac{1}{2}\right)^{2}k^{2} + \left(\frac{1\cdot 3}{2\cdot 4}\right)^{2}k^{4} + \left(\frac{1\cdot 3\cdot 5}{2\cdot 4\cdot 6}\right)^{2}k^{6} + \cdots\right]</math>
    • The series has a few properties that immediately stand out. First, we can see that for small <math>k,</math> the higher-order terms are suppressed, mainly due to the factorials. This is the justification for the small-angle approximation when analyzing a pendulum.
    • Second, its region of convergence is <math>|k| < 1.</math> When <math>k = 1,</math> the integral diverges because the factorials cancel each other out in the large <math>m</math> limit, although this divergence is very slow - <math>K(0.9999) \approx 5.645,</math> for example.
    • A physical example of when <math>k = 1</math> is when a pendulum is released from an angle of 180°, denoting an unstable equilibrium point. The period, being written in terms of this elliptic integral, then diverges, for the pendulum never falls down.
  3. Verify the series for the complete elliptic integral of the second kind. Using the techniques presented in this article, the power series for this integral can also be found.
    • <math>E(k) = \frac{\pi}{2}\sum_{m = 0}^{\infty}\left[\frac{(2m - 1)!!}{(2m)!!}\right]^{2}\frac{k^{2m}}{1 - 2m}</math>
    • <math>E(k) = \frac{\pi}{2}\left[1 - \left(\frac{1}{2}\right)^{2}\frac{k^{2}}{1} - \left(\frac{1\cdot 3}{2\cdot 4}\right)^{2}\frac{k^{4}}{3} - \left(\frac{1\cdot 3\cdot 5}{2\cdot 4\cdot 6}\right)^{2}\frac{k^{6}}{5} - \cdots\right]</math>