Wolfram MathWorld defines the “elliptic logarithm” as follows (rearranged a bit for clarity):
which resembles the defining expression for the Carlson symmetric elliptic integral of the first kind :
To segue a bit, as noted in the MathWorld entry, it is rather annoying that the corresponding function EllipticLog in Mathematica has a superfluous second parameter that merely serves to change the sign of the output in the real case.
However, I note here that the phrase “complicated form involving incomplete elliptic integrals of the first kind with complex parameters” in the MathWorld entry is true only if one sticks to using the Legendre incomplete elliptic integral of the first kind , as shown in this Wolfram Functions entry. If one uses the Carlson form instead, the expression is only a bit more complicated.
After making the substitution in the defining integral for the elliptic logarithm, one simply factors the denominator expression into
where and are the roots of the polynomial .
At this point, you the reader might ask why I chose not to use the quadratic formula directly here. The problem is that naïvely applying the formula
can result in one of the roots being computed inaccurately whenever b is tiny relative to a (computing one of the roots then requires the subtraction of two nearly equal numbers, which is always a bad thing to do in numerical work). The right way to go about it is to choose the sign of the square root such that , after which the two roots are
Thus, the elliptic logarithm and the Carlson symmetric elliptic integral have the following relation:
where of course the three arguments of can be permuted as appropriate due to symmetry.
The only limitation for this relation is that is only defined when all of its arguments lie in the complex plane cut along the negative real axis; thus, for instance, one cannot use this relation when z is a negative real. One might be able to use the homogeneity relation for , but I still have to investigate the proper way of going about it.