7

I have always tried to work with elliptic integrals with modulus $k\in(0,1)$ to avoid the issues related to complex variables.

In what follows I have tried to link the integral of modulus greater than $1$ with those of modulus less than $1$.

Let $k>1$ and consider $$K(k) =\int_{0}^{1}\frac{dx}{\sqrt {(1-x^2)(1-k^2x^2)}} $$ Splitting the range of integration into $[0,1/k]$ and $[1/k,1]$ we get $$K(k) =\frac{1}{k}K\left(\frac{1}{k}\right)-i\int_{1/k}^{1}\frac{dx}{\sqrt{(1-x^2)(k^2x^2-1)}}\tag{1}$$ and let $x=1/\sqrt{1-k'^2y^2}$ then we have $$dx=\frac{k'^2y\,dy}{(1-k'^2y^2)^{3/2}}$$ and $$1-x^2=-\frac{k'^2y^2}{1-k'^2y^2}$$ and $$k^2x^2-1=-\frac {k'^2(1-y^2)}{1-k'^2y^2}$$ and hence we arrive at the relation $$K(k) =\frac{1}{k}\left\{K\left(\frac{1}{k}\right)-ikK\left(k' \right) \right\} $$ Here $k'=i\sqrt{k^2-1}$ is purely imaginary and with some manipulation one can show that $$K(k') =\frac{1}{k}K\left(\frac {\sqrt{k^2-1}}{k}\right)$$ and thus we arrive at $$K(k) =\frac{1}{k}\left\{K\left(\frac {1}{k}\right)-iK\left(\frac{\sqrt{k^2-1}}{k}\right)\right\}$$ where $k>1$. Replacing $k$ with $1/k$ we get the typical representation of the above formula as $$K(1/k)=k(K(k)-iK(k'))\tag{2}$$ where $0<k<1$.

My question is about the choice of $i$ in equation $(1)$. We could equally well have used $-i$ instead of $i$. How does one choose the correct sign of $i$?

The DLMF reference (equation 19.7.2) gives the rule that the sign of $i$ is opposite to that of imaginary part of $k^2$. But that does not help here as $k^2$ is real.

The derivation above was more to confirm that my calculations are correct and one does not need to get bogged down into them.

  • This question has been very helpful for me, but I'm stuck on the manipulation to rewrite $K(k')$. Do you remember if this was purely algebraic, a change of variables, or using a property of elliptic integrals? Thank you in advanced! – ThePiper Mar 11 '21 at 01:59

1 Answers1

1

$K$ has a branch cut on $[1,\infty)$:

(The above plot is actually that of $K(m)$, with the parameter, but $k>1\implies m>1$.)

So either sign of the imaginary part is equally valid. Most implementations of $K$, however, take the principal branch of the square root in the defining integral. This leads to the reciprocal of the principal square root of a negative number, a number of the form $\frac1{ix}=-i\cdot\frac1x$ where $x>0$. Therefore $K$ has negative imaginary part if $k>1$.

Parcly Taxel
  • 103,344