Origin of rapidly converging sequence for $e^\pi$

Solution 1:

As mentioned in comments (to the question) from Jack d'Aurizio this is related to elliptic integrals. And based on the feedback received in comments to this answer I provide some background in the theory of elliptic integrals and theta functions. The details along with proofs are available in the linked blog posts.


Let $k\in(0,1)$ be the elliptic modulus and then we define complementary modulus $k'=\sqrt{1-k^{2}}$. Further the complete elliptic integrals of the first kind are defined by $$K(k)=\int_{0}^{\pi/2}\frac{dx}{\sqrt{1-k^{2}\sin^{2}x}},\, K'(k)=K(k')\tag{1}$$ By the way the use of prime $(') $ here does not denote derivative.

Starting with a modulus $k$ we define a new modulus $l$ via ascending Landen transformation $$l=\frac{2\sqrt{k}}{1+k},\,k=\frac{1-l'}{1+l'},\, l>k\tag{2}$$ where $l'$ is complementary to $l$ ie $l'=\sqrt{1-l^{2}}$. It can be proved with some effort that $$K(l)=(1+k) K(k)$$ Using a little amount of algebra it can be seen that the relation between $l$ and $k$ is same as the relation between $k'$ and $l'$ and hence from the above equation we get $$K'(k) =(1+l') K'(l)=\frac{2K'(l)}{1+k}$$ and therefore from the last two equations we get $$\frac{K'(k)} {K(k)} =2\cdot\frac{K'(l)}{K(l)}\tag{3}$$ Corresponding to elliptic modulus $k$ we have another variable $q$ called nome defined by $q=\exp(-\pi K'(k) /K(k)) $ and it is possible to get an expression for $k$ in terms of $q$ via the use of theta functions. We have $$k=\frac{\vartheta_{2}^{2}(q)}{\vartheta_{3}^{2}(q)}\tag{4}$$ where $$\vartheta_{2}(q)=2q^{1/4}\sum_{n=0}^{\infty}q^{n(n+1)},\,\vartheta_{3}(q)=1+2\sum_{n=1}^{\infty}q^{n^{2}}\tag{5}$$


The sequence $k_{n} $ in question is descending Landen sequence of elliptic moduli and using equation $(3)$ we have $$\frac{K'(k_{n+1})}{K(k_{n+1})}=2\cdot\frac{K'(k_{n})}{K(k_{n})},\, K'(k_{0})=K(k_{0})\tag{6}$$ The corresponding nomes $q_{n} =\exp(-\pi K'(k_{n}) /K(k_{n})) $ have a relation between them as $q_{n+1}=q_{n}^{2}$. Thus we can see that $$e^{-\pi}=q_{0}=(q_{n})^{2^{-n}}\tag{7}$$ Next also note that $q_{n} \to 0, k_{n} \to 0$ as $n\to \infty$ and using $(4)$ we have the relation $$\lim_{n\to\infty}\frac{k_{n}^{2}}{16q_{n}}= 1\tag{8}$$ (the above equation can also be proved without using the theory of theta function via the fundamental asymptotic $K'(k) =\log(4/k)+o(1)$ as $k\to 0^{+}$). The desired relation follows easily from $(7)$ and $(8)$ and the relation $k_{n} ^{2}=4k_{n+1}/(1+k_{n+1})^{2}$.