1 Introduction
Throughout this work,
$q=e^{\pi i\tau }$
, where the imaginary part of
$\tau $
is positive. The Jacobi theta functions are defined by
Let N a positive integer such that
$N\equiv 3\pmod {4}$
and let
It is known that
This identity can be proved by splitting (1.1) into two sums according to the parity of n. Recently, Yang [Reference Yang9] discovered that for
$N\equiv 3 \pmod {4}$
,
Although (1.2) involves only
$\vartheta _2(0|\tau )\vartheta _2(0|N\tau )$
and
$\vartheta _3(0|\tau )\vartheta _3(0|N\tau )$
, Yang’s identity for
$a_N^2(q^2)$
involves not only the square of
$\vartheta _2(0|\tau )\vartheta _2(0|N\tau )$
and
$\vartheta _3(0|\tau )\vartheta _3(0|N\tau )$
, but also the square of
$\vartheta _4(0|\tau )\vartheta _4(0|N\tau )$
.
We show that (1.3) holds not only for
$N\equiv 3 \pmod {4}$
, but also for all odd positive integers N. We present two proofs of (1.3). In Section 2, we prove (1.3) using only Jacobi’s theta functions of one variable. We define permanent modular equations and show that (1.3) is indeed a permanent modular equation of composite degrees
$1, 2, \ell $
and
$2\ell $
. In Section 3, we present a generalisation of (1.3) which involves Jacobi’s theta functions of two variables. We also present several analogues of (1.3). In Section 4, we present a generalisation of an identity [Reference Chan, Chan, Liu and Zudilin2, Theorem 5.1] found recently by Chan et al. Our discovery is motivated by the method presented in Section 3.
2 A first proof of (1.3) and a permanent modular equation
We begin with some well-known identities associated with
$\vartheta _j(0|\tau )$
,
$j=2,3,4$
.
Lemma 2.1. The following identities hold:
Identities (2.1)–(2.4) play important roles in the study of the Gauss–Brent–Salamin algorithm and Ramanujan’s series for
$1/\pi $
. (For more details, see [Reference Chan1].) Their proofs can be found in [Reference Chan1, page 58, (5.70)], [Reference Chan1, page 22, (2.26)], [Reference Chan1, page 22, (2.27)] and [Reference Chan1, Lemma 2.3], respectively.
Proof of (1.3).
By (1.2),
after two applications of (2.1). Applying (2.2) twice, the sum of the first two products in (2.5) is given by
after applying (2.4) twice. Substituting (2.6) back into (2.5), we obtain (1.3) and this completes the proof.
Let
A modular equation of degree s associated with
$\lambda (\tau )$
is an algebraic relation satisfied by
$\beta _1$
and
$\beta _s$
. For example, the identity [Reference Chan1, Theorem 2.6]
is a modular equation of degree 2. A modular equation of composite degrees 1,m,n,mn associated with
$\lambda (\tau )$
is an algebraic relation involving
$\beta _1, \beta _m,\beta _n$
and
$\beta _{mn}.$
An example of a modular equation of composite degrees
$1, 3, 13, 39$
, given by Ramanujan in his second letter to Hardy [Reference Ramanujan, Hardy, Aiyar and Wilson7, page xxix, (21)], is
A modular equation of degree s, or of composite degrees
$1,m,n,mn$
, is called a permanent modular equation if the same relation is satisfied by more than one value of s, or by more than one pair of values
$(m,n)$
, respectively. For example, in the same letter mentioned above, Ramanujan asserted that (2.8) is also true for
$(m,n) = (5,11)$
and
$(7, 9).$
We end this section by indicating that (2.6) can be interpreted as a permanent modular equation of composite degrees
$1,2, \ell , 2\ell $
by using [Reference Chan1, (8.53)]
The permanent modular equation is given by
Identity (2.9) can be transformed to a relation involving only
$\beta _1$
and
$\beta _\ell $
by using the modular equation (2.7) of degree 2 to eliminate
$\beta _2$
and
$\beta _{2\ell }$
. This results in a ‘trivial’ relation which is essentially the identity
3 Second proof of (1.3)
Our main theorem in this section is the following result.
Theorem 3.1. Let
where
$\alpha $
and
$\beta $
are integers satisfying
$0<\alpha <4\beta $
, so that the double sum converges. Then, for any integer M and even integer N satisfying
$0< M < N$
,
Corollary 3.2. Identity (1.3) is true for all odd positive integers N.
Proof. First, we observe that the quadratic form
$2(m^2+mn+((N+1)/4)n^2)$
may be written as
$2m^2+2mn+ ((N+1)/2)n^2$
. So, we may let
$M=1$
and replace N by
$N+1$
after setting
$u=v=w=x=0$
in (3.2). Since
$\vartheta _1(0|\tau )$
is zero, identity (1.3) follows immediately.
In addition to establishing (1.3), Theorem 3.1 also leads to other analogues of (1.3). We give a sample of such identities as follows:
We next prove Theorem 3.1. To establish Theorem 3.1, we need several identities involving Jacobi’s theta functions defined in Section 1. These identities are extensions of identities in Lemma 2.1 and they can all be found in [Reference Lawden6, Ch. 1].
Lemma 3.3. The following identities hold:
Proof. Identities (3.3)–(3.6) are identities (1.4.7), (1.4.9), (1.4.10) and (1.4.12) in [Reference Lawden6], respectively. Identity (3.7) follows immediately after combining (3.5) and (3.6). This completes the proof of Lemma 3.3.
We are now ready to prove Theorem 3.1.
Proof of Theorem 3.1.
From [Reference Chan, Chan, Liu and Zudilin2, (5.7)] and the proof of [Reference Chan, Chan, Liu and Zudilin2, Theorem 5.2],
Therefore,
where
Further, let
Then, by two applications of (3.5), the sum of the first two products in (3.9) becomes
after applying (3.7) twice.
For the sum of the next two products in (3.9), we find that
after two applications each of (3.3) and (3.4). Substituting (3.10) and (3.11) back into (3.9), we obtain (3.2) and this completes the proof of Theorem 3.1.
4 A generalisation of an identity of Chan, Chua and Solé
In [Reference Chan, Chua and Solé5, Theorem 1.1], Chan, Chua and Solé discovered the identity
and gave a proof by considering 7-modular lattices from codes over
$\mathbf F_2\times \mathbf F_2.$
Shortly after the discovery of (4.1), they [Reference Chan, Chua and Solé4, Lemma 2.2(ii)] found an infinite family of identities, parametrised by d, extending (4.1), given by
Recently, motivated by the study of 15-modular lattices, Chan et al. [Reference Chan, Chan and Solé3] discovered the identity
They proved (4.3) by establishing an infinite family of identities [Reference Chan, Chan and Solé3, Theorem 1.1], parametrised by b and d, extending (4.3), given by
where
$1\leq b\leq d-1$
. Motivated by (4.4), they further generalised (4.2) by introducing another family of identities depending on the parameters b and d [Reference Chan, Chan and Solé3, (1.6)], given by
Both (4.4) and (4.5) turn out to admit two variable extensions [Reference Chan, Chan, Liu and Zudilin2, Theorems 5.1 and 5.2]. For example, the two variable extension of (4.5) is given by
where
$A_{\alpha ,\beta }(u,v|\tau )$
is defined in (3.1) and
The discovery of (4.6) was motivated by the generalisation of Borweins’ cubic theta function identity discovered by Schultz [Reference Schultz8, Corollary 4.3], [Reference Chan, Chan, Liu and Zudilin2, (1.4)]. We now present a two variable extension of (4.6).
Theorem 4.1. Let
${A}_{\alpha ,\beta }(u,v|\tau )$
and
${C}_{\alpha , \beta }(u,v|\tau )$
be defined in (3.1) and (4.7), respectively. Suppose
$0<\alpha <4\beta $
, so that the double series converge. Then,
Proof. Since the proof is a straightforward computation, we omit the details and present only the key steps.
Identity (3.8) allows us to express
$A_{\alpha ,\beta }(u,v|\tau )$
in terms of
$\vartheta _2(\cdot |\tau )$
and
$\vartheta _3(\cdot |\tau )$
. Together with the easy facts that
one can show that
Next, from [Reference Chan, Chan, Liu and Zudilin2, (5.7)] and the proof of [Reference Chan, Chan, Liu and Zudilin2, Theorem 5.2], we see that
This, together with (4.9), then enables one to show that
takes the same form as the right-hand side of (4.10). Thus, we obtain (4.8) and this completes the proof of the theorem.
Acknowledgement
This work was finalised during the first author's visit to the Max Planck Institute for Mathematics (MPIM) in Spring 2026. He wishes to thank the MPIM, especially P. Moree and W. Zudilin for their hospitality.


